Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-23-2005, 04:00 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Live CD with more than one distro - how?


How can I make a Live CD with - let´s say - Feather Linux, Damn Small Linux and Insert on only one Live CD?
So when I boot with this CD, I can choose witch Distro should start.

Is that possible?

Old 02-23-2005, 07:40 PM   #2
LQ Newbie
Registered: Feb 2005
Location: Charleroi, PA 30 mi SE of Pgh
Distribution: RedHat, Fedora, Oracle
Posts: 18

Rep: Reputation: 0
Booting from CD, Floppy, HardDrive, USB, etc. is all basically the same. First thing is build a system on HD the way you want using either grub or lilo, configure for your multi boot, then create your CD providing the boot info. Exact commands I don't know. Check around on createing bootable CD's in linux. See the HOWTOS.
Old 02-24-2005, 06:46 PM   #3
Registered: Feb 2005
Posts: 42

Rep: Reputation: 15
Three distroes on one CD? =/

Unless the LiveCD ISO's of each of those OS's add up to 800 MB altogether (kinda unlikely) you're gonna have some trouble doing that...

Also, on the LiveCD you're trying to create, you'd have to make a script that prompts the user which OS to boot into from the LiveCD, which would then boot into it.

It's looking about 95% impossible...
Old 02-24-2005, 08:26 PM   #4
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
It's looking about 95% impossible...
I was going to leave it for searching till you said that. I use the grub iso9660_stage1_5 which can be found on the linux RIP livecd or even use the one which is now available on FC3 .

I make a directory and sub directories for each distro...
/home/distros ----> /feather
/home/distros ----> /rescue
/home/distros ----> /insert
/home/distros ----> /puppy
/home/distros ----> /rip
/home/distros ----> /slax

Then I make a working directory to place wanted parts of each distro....
mkdir /home/cdbase

For each distro, I look at the isolinux.cfg to see what my grub entry should look like.
For my hard drive based distro ( FC3 ) I link the current version of kernel to vmlinuz. That way, I don't have to reburn the cd every time the kernel changes. You do need to remake the link on the distro....

ln -s vmlinuz-2.6.10-1.766_FC3 vmlinuz
ln -s initrd-2.6.10-1.766_FC3.img initrd.img

If you have two distros with the same kernel and initrd name , you need to rename one set. For example: vmlinuz2 and initrd2.gz

In most cases, you can't have two versions of knoppix remaster distros as they are set to look for the /KNOPPIX directory. Insert linux is a nice exception to that as it uses /INSERT.

Here is what my current grub menu looks like..
	color light-gray/blue black/light-gray
title *=*=*=*=*=*=*=*=*=*=*=*=* CDROM BOOT MENU *=*=*=*=*=*=*=*=*=*=*=*=*=*=*
root (hd0)
title Windows
	rootnoverify (hd0,0)
	chainloader +1
title Fedora Core
	root (hd1,1)
	kernel /boot/vmlinuz ro root=/dev/hdb2 rhgb quiet
	initrd /boot/initrd.img
title Rescue CD V0.2.15
kernel /boot/vmlinuz1 acpi=off root=/dev/ram0 init=/linuxrc nokeymap vga=785
title Insert Linux V1.2.17
kernel /isolinux/vmlinuz ramdisk_size=100000 init=/etc/init lang=en apm=power-off hdc=scsi hdd=scsi vga=791 nomce quiet BOOT_IMAGE=insert
title RIP Linux V11.6
kernel /boot/kernel devfs=nomount vga=normal nokeymap init=/linuxrc root=/dev/ram0 rw
title Feather Linux V0.7.1
kernel /isolinux/linux24 ramdisk_size=100000 nodma init=/etc/init lang=us apm=power-off vga=791 nomce quiet BOOT_IMAGE=knoppix
title Slax Linux V4.2.0
kernel /boot/vmlinuz2 max_loop=255 init=linuxrc livecd_subdir=/ load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=9999 root=/dev/ram0 rw
title Puppy Linux V9.8
kernel /boot/vmlinuz3 root=/dev/ram0 PFILE=pup001-none-262144
title Freedos V9
kernel /boot/memdisk
title Ranish Tool V2.44
kernel /boot/memdisk

Once you have the systems loaded into the working directory ( cdbase ) and have the menu.lst setup, you can proceed as follows....
CD into the cdbase and type:
cdrecord dev=0,0,0 blank=fast

mkisofs -J -R -b boot/grub/iso9660_stage1_5 -c boot/ \
-o /home/bootcd.iso -no-emul-boot -boot-load-size 32 -boot-info-table .

cdrecord -v speed=4 dev=0,0,0 -data /home/bootcd.iso

Last edited by homey; 02-24-2005 at 08:27 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Live Distro that Could be used for DEV Zandrews Linux - Newbie 1 06-14-2005 01:25 PM
best live-cd distro? questionasker Linux - Distributions 42 06-02-2005 01:25 AM
Getting a live cd distro of knoppix mrobertson Linux - Distributions 9 06-01-2005 05:22 PM
live cd distro mrobertson Linux - Distributions 3 05-31-2005 06:35 PM
Wherever I May Roam Live Distro MSannihilator Linux - General 3 03-26-2005 05:49 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration