Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 80106

Summary: Failure to mount sysfs resulted in inability to boot linux. I had to edit /sbin/rc to by pass the error I was recieving
Product: Gentoo Linux Reporter: John Gonzales <johnnyicon>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Gonzales 2005-01-30 10:54:30 UTC
I have just reinstalled gentoo linux with NPTL support. I went through and finished the guide provided on the forum, but when it came to boot time, I received this error:

.
.
.
Can't create lock file /etc/mtab~1385: Read-only file system (use -n flag to ovveride)
.
.
.
Checking root file system... 
Failed to open deveice '/dev/hda7': No such file or directory  
* File system couldn't be fixed

I had the option of logging in as root to do maintenance, or do CTRL-D to boot normally which would just reboot the system.

I went on #gentoo and recieved help from marienz.

We logged in as root and tried a few things. He was able to pinpoint that sysfs was not being mounted. Doing a normal mount, such as:

mount -t sysfs blueberries /sys

would yield:

Can't create lock file /etc/mtab~1385: Read-only file system (use -n flag to ovveride)

By adding the -n param:

mount -n -t sysfs blueberries /sys

things would work fine. Marienz instructed me to edit my /sbin/rc file at the pointer where it mounts the sysfs and add the -n param to its line.

I am able to boot into my Linux now.

Reproducible: Didn't try
Steps to Reproduce:




uname -a: 2.6.10-gentoo-r6 #1 SMP Sat Jan 29 22:41:@8 CST 2005 Intel(R)
Pentium(R) 4 CPU 3.00 GHz genuineintel GNU/lInux

For more information on my computer specs, visit:
http://search.hp.com/gwcaeng/redirect.html?type=REG&qt=HP+Pavilion+ZV5325CA&url=http%3A//www.hp.ca/products/static/consumer/Summer04/NT/Pavilion/zv5325ca.pdf&pos=1
Comment 1 SpanKY gentoo-dev 2005-01-30 10:57:01 UTC
already been fixed in baselayout-1.11.8