Re: mkboot w/ bzImage?
Debian User <punux@attbi.com> writes:
> I just recompiled my kernel under debian woody. I would like to make
> boot floppy for it. So.. I typed 'mkboot
> /usr/src/.../arch/i386/boot/bzImage'. It made the floppy, but when I
> reboot with floppy - it doesn't work. The kernel appears to load, but
> then the screen blanks out and the power cycles.
My first guess is "bad floppy"; it seems like the quality of floppy
disks has gone downhill a lot now that everybody has lots of storage
connected to the network and/or a CD burner.
My second guess, though, is that you just haven't told the floppy
where your root partition is. Try running 'rdev /dev/fd0 /dev/hda1'
or something equivalent as root; see rdev(8) for details.
> Should I be working with a 'vmlinuz' file instead of 'bzImage'. Could
> it be that the kernel I made is crap?
That seems unlikely. A compressed image should work fine here.
> I don't want run lilo of hard drive. Just off boot floppy.
You can generally install your boot loader on a floppy, too; this is
almost certainly less painful than maintaining a kernel on a floppy.
The GRUB manual has explicit instructions on how to do this, and I
know it's possible for LILO too.
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: