One of my local file systems /dev/sda9 is not mounting
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.
One of my local file systems /dev/sda9 is not mounting
Hi,
One of my local file systems /dev/sda9 is not mounting
If I boot in emergency mode I am unable to modify
/etc/fstab and comment this file system.
If I boot in single user mode it tries to mount
the local file system and keeps spinning.
How do I get around this problem?
Have you succeed in mounting it by hand? If you can mount it manually, it's probably something wrong in /etc/fstab... We need to know more to help you to solve this.
I am not sure what you mean by mount by hand.
After booting in emergency mode
if I do the following
mount /oracle
I get the following message
EXT2-FS warning : mounting unchecked fs :running e2fsck is recommended
Yes, I meant that: when you type yourself the mount with its options. So it seems that your filesystem is not clean, so before mounting it you need to run e2fsck. Well as root, type the following:
e2fsck -a /dev/sda9
then retry to mount it (by hand)... to see if your filesystem is mounted, check /etc/mtab file, or type df...
Hope this help you
So if I've understood correctly your problem:
-when you boot, Linux checks /dev/sda9 for errors and never end...
-if you boot in emergency mode, only root partition is mounted, so it's fine but the problem is that you can't edit /etc/fstab
Well the solution is quite simple, run the e2fsck without -a option:
e2fsck /dev/sda9
It should prompt you about wrong inodes... and if you want to fix/clear this. Answer yes... then reboot and pray
Well a solution for the moment which won't solve your partition problem, is to run a linux floppy distro. From here, you can mount the disk partition which contains /etc/fstab and edit /etc/fstab in order not to mount /dev/sda9 anymore...
But if e2fsck does not work at all on your partition, I think that you have a serious problem with this part of your disk...
Thanks
I guess so.. I did the following
mount -u rw,unmount /
and managed to edit the /etc/fstab and startup
the machine but still not sure on what to do
with that partition
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.