LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   1st time boot error (https://www.linuxquestions.org/questions/linux-software-2/1st-time-boot-error-3462/)

monster_robots 06-16-2001 09:46 PM

I just installed SOHO server 2.1 ( redhat ) for the first time. I get the following error:
kernel panic: VFS: unable to mount root fs on 03:02

any help would be appreciated

Jason

linuxcool 06-16-2001 10:20 PM

'03:02' is referring to ' hda2 ' as your root partition. Have you tried your boot disk that you made during installation?

If that doesn't work, do you know if ' hda2 ' is your root partition? If it isn't, you'll have to provide it on boot up. I believe the parameter is ' root=/dev/hdXY '. You replace the ' X ' with the correct drive letter and ' Y ' with the partition number of the root partition. Enter this at the lilo prompt. You'll probably have to edit your lilo.conf file and rerun lilo.

[Edited by linuxcool on 06-16-2001 at 11:23 PM]

monster_robots 06-17-2001 11:44 AM

boot disk
 
The installation was completely automated and did not give the option of making a boot disk. Is there a way of making one after the fact?

linuxcool 06-17-2001 05:17 PM

Yes, you can make a boot disk after the fact, but you need to get access to your root partition or get it to boot up into your linux installation. What version of red hat do you have?

This method will allow you to get access to your root partition. You can usually boot up into rescue mode from the cd install disk or the floppy install disk and then you can mount your root partition and fix the problem. This page here describes how to enter rescue mode for red hat 7.0. After you get your root partition mounted, then you can create the boot disk.

I have another idea. I have never tried this so it may or may not work. If you get a lilo prompt when you boot up, you could enter in the line ' root=/dev/hdXY '. Replace ' X ' with your hard drive letter. If your drive is the primary master, then it would be ' hdaY '. If primary slave, then ' hdbY '. Then try different numbers for ' Y ' until it boots up. Example: hda1, hda2, hda3, ... You'll have to reboot after each try.

With luck, you'll get in and then you can make a boot disk.

With either of these methods, you'll want to make sure that your root partition is properly entered in your lilo.conf file before you create a new boot disk.

chaoscl 06-18-2001 12:56 AM

i got that error last week installing mandrake 8.0, it ended up being that my harddrive was dead. it crashed the next day. its possible thats not the problem, just what happened to me


All times are GMT -5. The time now is 12:23 AM.