LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Bootmenu with Live CD Images on Disc? (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/bootmenu-with-live-cd-images-on-disc-274517/)

linjection 01-06-2005 04:45 AM

Bootmenu with Live CD Images on Disc?
 
Hi,

Just want to ask you if it works:

I have a Laptop and want to make a bootmenu where i can switch between some LiveCD Images. The LiveCD images (knoppix, knoppix-std, gentoo LiveCD....) are saved in one partition at one place. Is it possible to make this bootmenu? And when yes, could someone tell me a way to reach this?

Maybee the bootmenu should look like this:
Linux (installed)
Linux FB (installed)
Rescue (installed)
Knoppix (livecd)
Knoppix-std (livecd)
....

Thanks

Lini

Valindar 01-06-2005 05:07 AM

I'm not sure if this is possible but I believe you could try extracting the iso image into seperate directories on a partition, then booting with the kernel out of that directory... but then again I'm not sure if you can specify a directory out of a partition for the root (/) of the boot.
As in, you could extract knoppix to /somepartition/knoppix then create a lilo boot like so:
Code:

image = /somepartition/knoppix/kernel
  initrd = /somepartition/knoppix/initrd.gz
  root = /somepartition/knoppix            #part i'm not sure about
  label = knoppix
  read-only
  append="whatever you put in here on your system"

As I said, I'm not sure if you can specify a directory instead of a device (ie. /dev/hdb1) as 'root'.
Of course, you will need to specify the correct 'image' and 'initrd' (if it has an initrd).

I know this works with feather-linux off my flash stick (I copied the kernel and initrd off it) by using the following:
Code:

image = /boot/linux24
  initrd = /boot/minirt24.gz
  root = /dev/sda1
  label = Feather-Flash
  read-only
  append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet BOOT_IMAGE=knoppix"

/dev/sda1 = first partition on my flash stick.

Good luck, let me know what else you figure out.


All times are GMT -5. The time now is 01:28 AM.