Create boot disk from Linux
I normally used to create Linux bootdisks from DOS using the rawrite utility - now opting to use Linux and Linux only, I'm trying to do the same thing using linux.. I've read that I should be using the "mkboot" tool. So that's what I did - the prompt told me that that the boot disk was created successfully, but when I boot from the floppy, I get a kernel panic to try to define the root partition... But strangely enough, the lilo.conf residing in the floppy seems to be pretty in order:
lba32 boot = /dev/fd0 install = boot.b map = map compact prompt timeout = 50 read-only image = vmlinuz label = linux root = /dev/hda7 Can someone indicate me what I'm doing wrong? Thanks.. Ganninu. |
Quote:
Check "man dd" Usually: dd if="your disk image" of=/dev/fd0 |
Or, if you are using RedHat or Mandrake, you can use the mkbootdisk command.
Code:
mkbootdisk kernel_version |
Yes i recall I've used that utility, but I'm a debian user now :) I will checkout the 'dd' command...
|
I tried the 'dd' tool, but i'm getting the same error:
Kernel panic: VFS: Unable to mount root fs on XX:YY Is it because I'm trying to read from a non-mounted device? I also used the mkboot before and gets me to the same error - i booted with the CD and typed rescue, and i got the same error.... However I still have a boot disk which was created at the installation stage and that works. I cannot really understand the situation... And i really want to make a boot disk - you never know - a floppy disk is not a reliable medium, so having only one of it is not really reliable neither.. |
Quote:
With your working boot floppy in the drive (not mounted): dd if=/dev/fd0 of=mybootfloppy.img then, with a blank floppy in the drive: dd if=mybootfloppy.img of=/dev/fd0 Incorrect versions, partitions, parameters are some of the simple reasons for kernel panics. |
Sounds like you've got a corrupted image?
|
I will just use my CD if I were to do a rescue boot up :)) In the future I will learn in detail how to create a boot disk because I always get the same error, even when i download a pre-compiled disk image...
|
All times are GMT -5. The time now is 12:12 PM. |