Results 1 to 5 of 5
Hi,
I use gentoo linux and I added a line in /etc/fstab for my usb flash drive but forgot to put a newline at the end of the file.
Now ...
- 04-17-2004 #1Just Joined!
- Join Date
- Apr 2004
- Posts
- 20
Editing /etc/fstab during startup
Hi,
I use gentoo linux and I added a line in /etc/fstab for my usb flash drive but forgot to put a newline at the end of the file.
Now during startup while the system is mounting proc, i get a message saying [mtent] warning: no final newline at the end of /etc/fstab. Then it asks me to log in as root. After I edit /etc/fstab using GNU nano, I reaslise that i cannot save it since for some reason it is a read-only filesystem. I also try to press Cntl-D but realise it just reboots my laptop and the same message appears.
Can somebody please tell me what to do?
- 04-18-2004 #2
do you have a bootable CD that you can get some sort of Linux up with, then mount the hard disk, then edit the (unused) /etc/fstab ?
Nerderello
Use Suse 10.1 and occasionally play with Kubuntu
Also have Windows 98SE and BeOS
- 04-18-2004 #3
- 04-19-2004 #4Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
Yes if you read the error message I beleive it tells you howto remount the root filesystem rw
I beleive the commands:
umount -a
and then mount -w -a
will remount the fs rw and you can edit the fstab and put that trailing line in:)Proud to be a GNU/Gentoo Linux user!
- 04-21-2004 #5Just Joined!
- Join Date
- Apr 2004
- Posts
- 20
Thanx guys. I got it


Reply With Quote
