Linux will not start - probably a mounting problem.
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.
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.
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
Disk /dev/hda: 255 heads, 63 sectors, 4870 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4839 38869236 83 Linux
/dev/hda2 4840 4870 249007+ 5 Extended
/dev/hda5 4840 4870 248976 82 Linux swap
root@foobar:~# mkdir /tmp/hda1
root@foobar:~# mount -t ext3 /dev/hda1 /tmp/hda1
root@foobar:~# cd /tmp/hda1
root@foobar:~# chroot .
root@tty[/]# nano etc/fstab
Disk /dev/hdc: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 13 104391 83 Linux
/dev/hdc2 14 5005 40098240 8e Linux LVM
root@slax:~#
root@slax:~#
Under hdc1 I dont see the fstab.
I see the grub folder.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.