![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2005
Beans: 11
|
HOWTO: Make a Ubuntu Boot-CD (Like a boot floppy)
This will make a boot cd which is similar to a boot floppy. It bypasses grub, but still uses your partitions. Really only useful if you mess up grub, or copy your installation to a new hard drive and need to reinstall grub. It's not a full O/S on CD. Just the kernel. It's always nice to have in case something gets messed up.
( 1 ) Install syslinux (package). ( 2 ) make a directory called bootcd ( 3 ) copy /usr/lib/syslinux/isolinux.bin to bootcd ( 4 ) copy desired kernel image from /boot to bootcd/linux. Example: cp /boot/vmlinuz-2.6.10-4-386 bootcd/linux ( 5 ) copy desired initrd.img from /boot to bootcd/initrd.img. Example: cp /boot/initrd.img-2.6.10-4-386 bootcd/initrd.img ( 6 ) edit bootcd/isolinux.cfg and place the following line DEFAULT linux initrd=initrd.img ro root=<your-root-dev> Where, <your-root-dev> will be something like /dev/hda1. If you don't know your root device, look at your current grub config in /boot/grub/menu.lst. ( 7 ) make your iso image via (you should be one directory below bootcd). mkisofs -o bootcd.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -hide-rr-moved -R bootcd/ ( 8 ) burn the image to CD. ( 9 ) Test it. Hopefully this will work for you and be helpful to someone. It worked for me in hoary. You can burn the iso to CD by finding the iso in the directory viewer (nautilus). When you find your ISO, right click and hi-lite "Write To Disk". Follow instructions. Obviously you need a cd-burner. This is fairly easy, but figured it may help someone out at some point. |
|
|
|
|
|
#2 | |
|
Gee! These Aren't Roasted!
![]() |
Re: HOWTO: Make a Ubuntu Boot-CD (Like a boot floppy)
Quote:
I'll have to use when I'll format my windows partition and reinstall it. Cheers
__________________
------------------------------------- Ubuntu in Spanish is Ubuñtu! Running Aspire 9814 AMD64 & Extensa 5620 |
|
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2005
Location: Philippines
Beans: 6
|
Re: HOWTO: Make a Ubuntu Boot-CD (Like a boot floppy)
Will this boot an Ubuntu install from a USB HD?
I installed ubuntu to a USB 2.0 6GB HD. . . when i installed it ubuntu saw it as a scsi device, sda. What i want to do is pop a CD into the CD Rom and have it boot straight into ubuntu without installing grub or any kind of boot loader. Im still using windows XP. Im i making sense? lol thnx |
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2005
Beans: 15
|
Re: HOWTO: Make a Ubuntu Boot-CD (Like a boot floppy)
How do u change it so to allow booting of Windows from Cd as well
|
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() |
Re: HOWTO: Make a Ubuntu Boot-CD (Like a boot floppy)
doh - posted by mistake
|
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2007
Beans: 34
Ubuntu 7.04 Feisty Fawn
|
can an OS selection screen also be packed with this method??? can windows or other distros be selected at boot time?
further, i have this problem. I have my ubuntu FF installed on an external hard disk drive. At home, on my desktop machine, i have the option of booting from "USB EXTERNAL HARDDISK" in my BIOS...... BUT my laptop doesnt. this means that i can use this BOOTCD to boot into the ubuntu on my external drive, with my laptop. PROBLEM: on my desktop machine there are already two internal hard disks, so the external one is (hd2) (/dev/sdc3 on linux) while in my laptop there is only one hard disk. so this means that the external device will now be (hd1) and linux will be on (/dev/sdb3), right? SOLUTION: will changing the isolinux.cfg file to point to /dev/sdb3 instead of /dev/sdc3 solve the issue???? Last edited by Princegiri; December 17th, 2007 at 10:57 AM.. |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2008
Beans: 1
|
Re: HOWTO: Make a Ubuntu Boot-CD (Like a boot floppy)
Does this still work with more recent ubuntu distributions?
one section of my menu.lst looks like this title Ubuntu hardy (development branch), kernel 2.6.24-12-generic root (hd0,4) kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=b83661e5-2869-4ac8-ae8d-890fbc5d530b ro quiet splash initrd /boot/initrd.img-2.6.24-12-generic should I use root=UUID=b83661e5-2869-4ac8-ae8d-890fbc5d530b in the isolinux.cfg? |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|