LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-10-2005, 01:54 PM   #1
Franz83
LQ Newbie
 
Registered: Apr 2005
Location: Italy
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
Grub on Cd


Hi guys!
I'd like to have two live distributions (for example, DSL and System Rescue) on the same multisession cd. Is there any way to make grub or lilo working on the cd, so that I can choose which live distribution using at startup?
Thanks!
 
Old 04-10-2005, 02:39 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Grub Based Multi Boot CDROM

I made a directory called bootcd and one called distros with a sub directory for each distro...
mkdir /home/bootcd
mkdir /home/distros
cd /home/distros
mkdir rescue rip slax puppy feather insert

Then I copied the livecd of each distro into the proper /home/distros/sub directory.
Then I copied the important parts of each distro into the /home/bootcd directory.
Note: If a distro has the same kernel and initrd, I changed the name of one set and also changed the grub entry for that distro. For example:
kernel /boot/vmlinuz3
initrd=/boot/image3.gz

For each distro, look at the isolinux.cfg to see what the kernel and initrd lines should look like.

You will need iso9660_stage1_5 for booting off from a cdrom. This comes with the RIP livecd or even with current distros.
I found that this type of setup doesn't allow any extras like "default=" or "timeout=" or even blank lines. Other wise things work quite well.

Below is my current /boot/grub/menu.lst
Code:
        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
initrd=/boot/initrd1
title Insert Linux V1.2.18
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
initrd=/isolinux/miniroot.gz
title RIP Linux V12.3
kernel /boot/kernel devfs=nomount vga=normal nokeymap init=/linuxrc root=/dev/ram0 rw
initrd=/boot/initrd.gz
title Feather Linux V0.7.4
kernel /isolinux/linux24 ramdisk_size=100000 nodma init=/etc/init lang=us apm=power-off vga=791 nomce quiet BOOT_IMAGE=knoppix
initrd=/isolinux/minirt24.gz
title Slax Linux V5.0.0
kernel /boot/vmlinuz2 max_loop=255 init=linuxrc livecd_subdir=/ load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw
initrd=/boot/initrd2.gz
title Puppy Linux V1.0.0
kernel /boot/vmlinuz3 root=/dev/ram0 PFILE=pup001-none-262144
initrd=/boot/image3.gz
title Freedos V9
kernel /boot/memdisk
initrd=/images/freedos.img
title Ranish Tool V2.44
kernel /boot/memdisk
initrd=/images/ranish.img
Once you have the systems loaded into the working directory ( bootcd ) and have the menu.lst setup, you can proceed as follows....

CD into the bootcd and type:
cdrecord dev=0,0,0 blank=fast

mkisofs -J -R -b boot/grub/iso9660_stage1_5 -c boot/boot.cat \
-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

I linked my Fedora kernel and initrd to vmlinuz and initrd.img so I wouldn't have to redo the cd everytime I get a new kernel.
 
Old 02-10-2010, 06:21 AM   #3
darkange
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Create Multi OS Installation Disc

Hi

Am new to Linux. I want to know how can i create a multi os installation disc for Linux.
I know how to do it for different versions of Windows but am having trouble in Linux.
Would request your help in creating one.
I want to install Fedora 12 & uBuntu 9.10 using one DVD and it should have the menu asking which one to install.

i have already tried to edit the isolinux.cfg file but things are not working out.

Regards
DarkAngel
 
  


Reply

Tags
cdrom, cdrw, dvd, linux, multiboot, multiple, partition, systems


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM


All times are GMT -5. The time now is 09:31 PM.

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