[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem mounting custom boot disk



David Kanter wrote:
> 
> Last night I compiled a new kernel and had it sent to a boot floppy instead of the hard drive (using the standard Debian tools for compiling a new kernel). Booting from the floppy is fine. However, I'd like to mount the floppy and get the kernel image off of it, move it to /boot, and then re-configure LILO to run it.
> 
> I've tried multiple variations of mount: -t vfat, -t msdos, and nothing at all (i.e., ext2). Each time I get a message that I have either chosen the wrong file system, or a couple other problems.
> 
> What should I do?
> 

You won't be able to mount the floppy since "make zdisk" does not create
a file system on the floppy.

Try dd if=/dev/fd0 of=/zImage where the first parameter is your floppy
drive and the second is the path and filename where you want the image
copied.

Normally you would boot off the floppy to test the new kernel and then
if looks good, copy it from 
/usr/src/linux/arch/i386/boot/zImage to /boot and then run lilo to make
it bootable.  It must be named as specified in lilo.conf


Reply to: