LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-13-2004, 07:23 PM   #1
mrgrieves
Member
 
Registered: Apr 2004
Location: north of 52, south of 54
Distribution: slackware 10.0
Posts: 108

Rep: Reputation: 15
Bootloader for liveCD: Is this possible?


I was thinking...Since some liveCD & other distro's are so tiny, it might be possible to put 4, 5 or more on a single disc. If so, is there some way to install a bootloader like lilo onto the CD to choose which 'track' of the CD to load?

I think this it'd be pretty handy to have slax, damn small, peanut linux, bonzai & others on a single 900 meg CD. And with the new DVD technology, why not have 4 major distro's, plus all of these tiny ones. LinuxCD.org could sell them much more cheaply for example if they just did that instead of having a 22cd pack.
 
Old 05-13-2004, 07:47 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I have used the GRUB which is already on the RIP linux cdrom to make a multi-boot cdrom. I noticed the Knoppix V3.4 also has this grub directory but I haven't tried it with knoppix yet.

Below is my /boot/grub/menu.lst

color light-gray/blue black/light-gray
title *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* R.I.P. *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
root (hd0)
title RIP V7.8
kernel /boot/kernel3
initrd=/boot/initrd3.gz vga=normal devfs=nomount load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 root=/dev/ram0 rw
title Rescue CD V0.2.10
kernel /boot/vmlinuz1 video=i810fb:xres=800 acpi=off root=/dev/ram0 init=/linuxrc nokeymap
initrd=/boot/initrd1
title Feather Linux V0.3.7
kernel /boot/memdisk
initrd=/images/knoppix.img
Puppy Linux V0.8.4
kernel /boot/vmlinuz root=/dev/ram0 ramdisk_size=55296 initrd_archive=ext2 PFILE=pup080-none-262144
initrd=/boot/image.gz
title Slax Linux V4.0.1
kernel /boot/vmlinuz2 max_loop=255 init=linuxrc livecd_subdir=/ load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=7777 root=/dev/ram0 rw
initrd=/boot/initrd2.gz
title Mulinux V14r0
kernel /boot/mulinuz root=/dev/ram0 ramdisk_size=4600 vga=normal max_scsi_luns=1
initrd=/boot/root.gz
title Freedos V9
kernel /boot/memdisk
initrd=/images/freedos.img
title Tomsrtbt Linux
kernel /boot/memdisk
initrd=/images/tomsrtbt.img
title Ranish Tool V2.44
kernel /boot/memdisk
initrd=/images/ranish.img
title Memtest
kernel /boot/memdisk
initrd=/boo/memtest.bin

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/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


Last edited by homey; 05-13-2004 at 10:05 PM.
 
Old 05-13-2004, 08:10 PM   #3
mrgrieves
Member
 
Registered: Apr 2004
Location: north of 52, south of 54
Distribution: slackware 10.0
Posts: 108

Original Poster
Rep: Reputation: 15
Thanks!! That's just the info I was looking for
 
Old 05-13-2004, 08:28 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Your Welcome!

I went a step further and borrowed an idea from the Ultimate Boot CD. They have an images directory which is full of extra programs. I made the images directory and filled it up with various tools using the .img file extension.
Then I use one of the grub menu items to access any of those programs. I use the grub edit feature at boot up....

Go to a menu item and press e

kernel /boot/memdisk
initrd=/images/ranish.img

Go down to the initrd line and press e

Change the line to reflect which program you want to boot.

For example....

initrd=/images/hdclone.img

Then arrow up the the kernel line and press b to boot that selection.
 
Old 05-13-2004, 08:58 PM   #5
mrgrieves
Member
 
Registered: Apr 2004
Location: north of 52, south of 54
Distribution: slackware 10.0
Posts: 108

Original Poster
Rep: Reputation: 15
Thanks again This should make a great project
 
  


Reply


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
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
have livecd of 'Linux Gentoo' how do i get past the "livecd root #" command line? randell6564 Linux - Distributions 11 11-20-2005 12:31 PM
LiveCD? rleesBSD Linux - Distributions 4 11-17-2005 07:20 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
I need create bootloader. How make bootloader? swipple Fedora - Installation 3 01-23-2005 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration