Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-08-2004, 07:34 AM
|
#1
|
LQ Newbie
Registered: May 2004
Posts: 6
Rep:
|
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
|
|
|
05-08-2004, 08:25 AM
|
#2
|
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014
Rep:
|
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'
|
|
|
05-09-2004, 05:44 AM
|
#3
|
LQ Newbie
Registered: May 2004
Posts: 6
Original Poster
Rep:
|
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
|
|
|
05-09-2004, 09:17 AM
|
#4
|
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014
Rep:
|
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'
|
|
|
05-09-2004, 10:22 AM
|
#5
|
LQ Newbie
Registered: May 2004
Posts: 6
Original Poster
Rep:
|
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
|
|
|
05-09-2004, 10:49 AM
|
#6
|
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014
Rep:
|
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'
|
|
|
05-09-2004, 11:07 PM
|
#7
|
LQ Newbie
Registered: May 2004
Posts: 6
Original Poster
Rep:
|
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
|
|
|
05-10-2004, 07:47 AM
|
#8
|
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014
Rep:
|
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'
|
|
|
05-10-2004, 11:27 PM
|
#9
|
LQ Newbie
Registered: May 2004
Posts: 6
Original Poster
Rep:
|
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 07:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|