Linux will not start - probably a mounting problem.
I am newbie with Linux.
I did a terrible mistake and I hope it can be fixed easily without losing any data. I installed FC5 and worked with it for few months. I have the last kernel 2.6.18 I have an IDE HD (hdc1) Few days ago I've installed a new SATA HD (I think marked as hds1). I've created a new partition, a new logical volume and mount it. I set the mounting point to "/" ;( The day after when I try to open the computer, the Linux boot halt at the middle with some errors "...FC5 cannot touch /var/lock/subsys/kudzu Read-only". I tried to use the DVD in order to "upgrade" the OS. At some point I've got that its cannot find the "/" and I might have a problem with the stable file. I am almost sure that I need to remove the new mounting point in order to make it work. Can someone help me with that. I have no idea what to do. Please write the required steps in detail. Many thanks, Shay |
Just try it out with a live cd and edit your fstab. This might help you.
-- Prasanta |
I used the installation DVD in order to get to rescue mode.
I could not find the fstab file at /etc/fstab |
Mount the partition where you have your linux installed. chroot to the partition and then edit the fstab.
-- Prasanta |
Quote:
I am newbie with Linux ;) |
After you have booted with the help of the live, open a terminal and go to the root prompt. Do a fdisk -l, which will list all the partitions. Mount the partitions using the mount command. chroot to the patition where you have your / partition. As an example,
Code:
root@foobar:~$ fdisk -l -- Prasanta |
I followed your instructions.
However, when I type chroot I get Quote:
|
Anyone?
Please..... |
copy the output of your fdisk -l here so we can see what you have got
then if you can see /etc/fstab when you have mounted the drive copy the output of that to here (use cat /etc/fstab to view the contents |
This is what I get:
Code:
I see the grub folder. |
mount hdc1 and post a ls -lh of /
|
This is what I get:
Code:
root@slax:/mnt/hdc1# ls BTW, you don't see the SATA HD because the I have a mother board chip that required kernel 2.6.18 to support it. The live CD has an older kernel version. In any case the OS was installed on the first HD (IDE) |
Still looking for your help.
Pleas.... |
how many sub partitions have you got in the LVM partition /dev/hdc2?
|
I guess some...
How can I see that. The hdc2 is not mount (I dont know how to mount LVM) |
All times are GMT -5. The time now is 09:26 AM. |