linux boot CD creation problems

From: lin user (linuxuser100_at_yahoo.com)
Date: 08/27/03


Date: 27 Aug 2003 08:35:53 -0700

Hi all,

I have a dual boot machine (XP + RH 7.3). I have not installed any
boot loaders and get into linux thru a boot floppy. (My boot sequence
is floppy, CDROM, hard drive, so if I put a linux floppy, I boot to
linux and if there is no floppy, I get into XP).

Reecently, my floppy died and I managed to get into linux thru the
installation CD, then created a new boot floppy. At that time, I
researched of creating a boot CD, instead of the floppy, for better
durability.

I went thru the bootable CD FAQ and CD burning FAQ but was unable to
create the boot CD. (Eventually, I went into XP and created a boot CD
thru Nero Express. It booted fine from the CD).

Here are the steps I followed in linux:

cdrecord -scanbus -> I noted the 3 numbers for dev option of cdrecord

Then I made an image of the boot floppy
cd ~/
mkdir boot
cd boot
dd if=/dev/fd0 of=boot.img bs=10k count=144

Then I made an iso fs

mkisofs -r -b boot.img -c boot.catalog -o bootcd.iso .

Then I tested the iso by mounting onto cdrom

mount -t iso9660 -o ro,loop=/dev/loop0 bootcd.iso /cdrom

When I examined the contents of the /cdrom, it had boot.img and
boot.catalog, wheras my boot floppy has vmlinuz, initrd.img etc. So I
had my doubts if the CD image is going to work.

I burned the image onto CD (CDRW) anyway by the following:

cdrecord -v speed=2 dev=0,0,0 -data bootcd.iso

This also completed w/o errors.

However, the machine did not boot thru the CD.

(I burned the image from the floppy on the same medium (after erase)
thru Nero, and that worked OK ie the machine recognized the bootable
CD at startup and took me to the boot: prompt)

I am still curious to get it working in linux. Any hints as to what
might have gone wrong?

regards
murli



Relevant Pages

  • Re: Windows multiboot (aaargh!)
    ... I've done that with my DOS floppy. ... > seems that creating a Linux boot disk is a rather more complex procedure. ... >> FDISK showing partitions swapped, ...
    (Debian-User)
  • Re: Help! Safe Mode Loop - Cannot Login
    ... boot in safe mode and my user account and password were not accepted. ... Boot your computer (with either Floppy or CDROM) using a program ... NTFS4DOS will mount the c:\ drive that contains boot.ini ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: The Microsoft stranglehold on its users....
    ... loadlin to boot up linux manually by hand from DOS. ... LILO had bugs and it was a trap because to uninstall LILO you had to get a successful boot into Linux and uninstall it from the utility. ... The latest Red Hat Workstation Linux just loads everything on your box with little or no choices and then around version 7 they started to include CDROM drivers for the new, not the old CDROM drives. ... And, I tried the trick of using the old Linux install to mount the new OS software CDROM disk, copy the whole disk to a different partition, then run the install and that would not work either. ...
    (sci.research.careers)
  • Re: Windows multiboot (aaargh!)
    ... >> The Linux boot floppy is a bit more tricky. ... So I tried adding cfdisk to a spare Debian Woody boot ... > I reduced all the partition sizes by a third. ...
    (Debian-User)
  • Read your message about Mitsumi cd-rom drive under Linux
    ... Re: Fw: Mitsumi FX001D CD-ROM drv. ... > But if I let the system boot up using MSDOS, ... > Bootable linux ... meaning the correct way to type it in fro a MCD type CDROM ...
    (Debian-User)