On Saturday 27 October 2007 23:04:42 Bryen wrote: > On Sat, 2007-10-27 at 23:49 +0100, Clive Rogers wrote: > > Finally got grub on a CD to boot my friends Kubuntu. > > If anyone is interested I can tell you how it was done. > > > > -- > > Kindest regards, > > > > Clive > > Yes, I'd like to hear your solution. Can you post it for us? > > > ---Bryen---
Here is what I did in Kubuntu to get Kubuntu to boot from a CD. # make directory iso. mkdir iso # make further diretories inside iso. mkdir -p iso/boot/grub # copy stage2_eltorito from /usr/lib/grub etc to home directory iso/boot/grub. cp /usr/lib/grub/i386-pc/stage2_eltorito iso/boot/grub # copy the menu.lst again to the iso/boot/grub. cp /boot/grub/menu.lst iso/boot/grub kwrite iso/boot/grub/menu.lst Ignore any errors you see. This will open the file menu.lst in kwrite. Now make the changes then save it. ################## start menu.lst ################################# # Don't change this line. default 0 # This you can change to suite your self. Commenting it out just makes it sit # there waiting for you to hit enter. 1 makes it work so that you hardly # notice it. timeout 1 # This you can change to suite your self. # Pretty colours color cyan/blue white/blue # Here you have to take note of which kernel you are using. Tell it where the # root (hd0,6) is. # Note I have also told it which hard drive partition it is after the # kernel /boot/vmlinuz line with root=/dev/sda7 # Without this it just sits there waitng for root file system to settle for 5 # mins then quits to the command line. # Notice I have also taken out the UID number which is something like 20 chars # long. title Ubuntu, kernel 2.6.20-16-generic root (hd0,6) kernel /boot/vmlinuz-2.6.20-16-generic root=/dev/sda7 ro quiet splash initrd /boot/initrd.img-2.6.20-16-generic boot ############## end menu.lst ######################################### # build the iso by putting this all on one line. mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso iso Now burn iso with favourite burning software like k3b (this is what I used on the laptop. Hope this helps. This I sent to my friend via e-mail so please excuse it if it sounds condescending as he and I are not Linux gurus. -- Kindest regards, Clive http://homepage.ntlworld.com/c.rogers/ Fighting for darker skies. From 52:26ºN 01:27ºW (Coventry, UK) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
