WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: frugal iso boot | can do? howto?  (Read 2834 times)

lmart

  • Guest
frugal iso boot | can do? howto?
« on: November 16, 2009, 01:17:40 PM »
Possible to boot tinycorelinux iso from menu.lst under grub4dos?

tried this on SliTaz and it worked.

title SliTaz cooking [ISO frugal install]
  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
  map --hook
  kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal
  initrd (hd1)/boot/rootfs.gz

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: frugal iso boot | can do? howto?
« Reply #1 on: November 16, 2009, 08:13:55 PM »
Look under Installation in the main page, point 6.  :)

Offline vitex

  • Full Member
  • ***
  • Posts: 113
Re: frugal iso boot | can do? howto?
« Reply #2 on: November 16, 2009, 08:26:10 PM »
I use the following type of grub4dos stanza to boot directly from Tinycore and Microcore ISOs:

Code: [Select]
title microcore
  find --set-root /microcore.iso
  map --mem /microcore.iso (hd32)
  map --hook
  map --status
  kernel (hd32)/boot/bzImage quiet ssh tce=hda1
  initrd (hd32)/boot/microcore.gz
  boot

The key parameter is --mem on the first map statement.  That parameter tells grub4dos to simulate a CD by loading the ISO image into (contiguous) memory.  Without that parameter, I do not believe that map will work unless the ISO image happens to be stored in contiguous blocks on disk, which is typically not the case.  The kernel and initrd commands can be replaced by "chainloader (hd32)" to boot to the menu on the ISO.

The "find --set-root" command is useful since it causes grub4dos to set as the root partition the partition on which grub4dos locates the specified file.  

« Last Edit: November 16, 2009, 09:36:55 PM by vitex »