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? Thnx Fairlie |
Hello,
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. Oliv' |
Hi,
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 |
Hello,
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 Oliv' |
Thanks Oliv,
On doing that it goes into a loop with all these weird messages being displayed. This is exactly what happens when it does a reboot It goes into a loop while running a check on /dev/sda9. So how do I reboot my machine without trying to mount /dev/sda9 (i.e get to a point where I can edit /etc/fstab) Thanks so far Fairlie |
Hi,
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 ;) Oliv' |
Thanks Olive,
But that doesn't help either. When I run e2fsck /dev/sda9 it does Pass1: Checking inodes... Foud duplicate blocks Pass2: Rescan for duplicate/bad blocks and then it goes into a loop Any other suggestions are welcome Fairlie |
Hello,
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... Oliv' |
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 Thanks Fairlie |
All times are GMT -5. The time now is 04:42 PM. |