On Wed, 2002-01-16 at 21:05, Phil Deane wrote:
> 
> Hi Folks
> 
> Sorry for yet another inane question
> 
> When i installed mandrake, it asked me if i wanted to make a boot disk, which 
> i did, and it made the disk and it boots perfectly. The problem is I want to 
> make another one and cant. If i go into the control Manager and tell it to 
> make a boot disk, it installed what appears to be lilo. And when it boots it 
> says it cannot find initrd.img, which is on the disk but has a 0 size and 
> seems to be their in name only. I have searched the hard disk looking for 
> this file to copy it across but have not been able to find it. The original 
> disk is a grub disk, and it seems to be empty at least it doesn't;' list any 
> files when i do  a ls -a.

If you want the same boot disk as the first one....

put first disk into first floppy drive

# dd if=/dev/fd0 of=./bootdisk.bin 

then remove disk. insert new disk (it will totally wipe the disk so
don't put in anything important like your boss's sales figures)

then to make a physical copy

# dd if=./bootdisk.bin of=/dev/fd0

dd (can't remember what it stands for something like data dump  or words
to that effect) reads the input file (if)(if can be any file, which can
be a device file in /dev which after all is just a clever fifo buffer(i
think) which you can read and write to) and then writes the input file
to the output file (of) which in the first instance is bootdisk.bin
which is an exact copy bit for bit of your floppy  disk. You can mount
it as a loopback device in such a way mount -o loop ./bootdisk.bin
/mnt/floppy and if it contains a valid file system and you have
permissions etc you can browse it just as it where a real floppy disk. 
anyway. Then what  you do is dd that file back onto the floppy drive
which makes the actual copy. You can keep the bootdisk.bin on your
computer and write it to disk everytime you need to make a new boot
disk.

HTH

David

> 
> I am wanting to recompile the kernel( to support my AWE 32) so want to use a 
> back up so i can revert to that when i mess it up (dead cert)
> 
> TIA
> -- 
> 
> Phil Deane
> http://www.MiracleExpress.force9.co.uk
> 
> --------------------------------------------------------------------
> http://www.lug.org.uk                   http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
> --------------------------------------------------------------------


--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to