View previous topic :: View next topic |
Author |
Message |
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Thu Jul 04, 2002 4:30 pm Post subject: messed up fstab |
|
|
I edited fstab to add scd links for my cdr, on reboot, i get this error:
* Mounting /proc [oops]
* The mount command failed with error:
Warning, no newline at end of /etc/fstab
Since critical task, start cannot continue
I tried to edit fstab in maintenance mode, but / is read only
Any ideas?[/i] |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Thu Jul 04, 2002 4:57 pm Post subject: |
|
|
Still have the Gentoo Install CD? Boot using it, mount your filesystems rw, then edit, unmount and reboot. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
headly n00b
Joined: 21 Jun 2002 Posts: 46
|
Posted: Thu Jul 04, 2002 9:37 pm Post subject: / is readonly in maintenance mode |
|
|
Then remount it read only with
mount -n -o remount,rw /
and then fix the fstab.
NB if you are using nano (ugh) to edit, do not forget to start it as
nano -w
to prevent the lines from wrapping around. |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jul 04, 2002 10:10 pm Post subject: |
|
|
Uhh... if the root filesystem is readonly, how are you supposed to write the new fstab?
Try this. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
headly n00b
Joined: 21 Jun 2002 Posts: 46
|
Posted: Thu Jul 04, 2002 10:22 pm Post subject: |
|
|
Notice carefully the -o switch reads
-o remount,rw
the rw remounts the filesystem read-write mode |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jul 04, 2002 11:04 pm Post subject: |
|
|
headly wrote: | the rw remounts the filesystem read-write mode |
Right, I know, but you said:
headly wrote: | Then remount it read only with |
And it would probably already be mounted rw, anyway. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Fri Jul 05, 2002 12:16 am Post subject: |
|
|
Hey guys
its sorted
thnx
GOD! this gentoo thing jus so..................!
amazing
Baz |
|
Back to top |
|
|
headly n00b
Joined: 21 Jun 2002 Posts: 46
|
Posted: Fri Jul 05, 2002 5:46 am Post subject: my bad |
|
|
indeed I should have said
remount read-write
|
|
Back to top |
|
|
|