Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Rep:
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:
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
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..
However I still have a boot disk which was created at the installation stage and that works .... And i really want to make a boot disk
Since you have one boot disk that works (?) I assume you mean you want a backup copy?
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.
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.