On Sun, 04 Aug 2002 11:48:14 -0400
Chuck Shirley <[EMAIL PROTECTED]> wrote:

> Hi Experts, 
> 
> I have a cooker machine, a laptop, that I want to make a fresh
> install on, but there is a problem, it has no floppy drive. 
> Rather than make a set of CDs, I want to put the hd.image on a
> cdr, and boot that.  The laptop is running a stale cooker
> distribution, and has a current mirror, but has nearly 500 stale
> packages installed.  I am not a cdrecord ninja, and when I tried
> to make the bootable disc with xcdroast, I failed even though I
> told it to make a bootable cd with the hd.img boot disk image.
> 
> Has anyone a clue how, or even if, this can be done?
> 
> THanks!
> 
> -Chuck


Chuck,
 
   Just tried this out and it worked.  mkdir and copy hd.img to
that dir. The cd to that directory. 

At the prompt type
mkisofs -r -b hd.img -c boot.cat -o hdboot.iso .

the -b means to make this the boot image
the -c means create the boot catalog for this disk
the -o means create an iso with this name
the trailing dot is needed because it means read from right here.

then at the prompt as root 

cdrecord -v speed=16 dev=0,0,0 -data hdboot.iso

in about 2 seconds you have a cd that boots looking for the rpms
etc on a hdd partition.  Note that speed and dev may change for
your box in the above command.


James

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to