LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-16-2004, 06:36 PM   #1
DevlshOne
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 9
Posts: 14

Rep: Reputation: 0
Corrupted fstab


I recently installed GENTOO 1.4RC5 on an old UltraSparc station. After hours and hours of work, it was working fine. However, I made the mistake of trying the "auto" option in fstab and now it is corrupt. I boot into maintenance mode and try the "mount -n -o remount,rw /" command but all I get is a message that says "you must specify the filesystem type". When I try adding a "-t ext2" in there, all I get is the help menu. Can someone tell me how to fix my fstab? Another two-day install and kernel burn would really be aggravating.
 
Old 01-16-2004, 06:57 PM   #2
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
Try booting from the installaiton disk, mount the drive and then edit the fstab with nano.

Example:

1. Boot from the first CD.
2. mount /dev/hda3 /mnt/gentoo ( assuming /root is on /dev/hda3 )
3. cd /mnt/gentoo/etc; nano -w fstab
4. Do your editing.
5. umount //mnt/gentoo
6. Reboot the system and boot from hard drive

Good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help backup server corrupted /etc/fstab mahaila Linux - General 18 08-13-2005 01:02 PM
help backup server corrupted /etc/fstab mahaila Linux - General 2 08-12-2005 01:12 PM
fstab file corrupted LSEmpyrean Linux - General 2 09-07-2004 11:14 PM
Yet another corrupted /etc/fstab Dag Linux - General 2 06-08-2004 11:17 AM
Corrupted /etc/fstab nxny Linux - General 15 09-01-2003 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration