LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 12-19-2004, 09:01 PM   #1
sunwj82
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Rep: Reputation: 0
Unhappy fstab is not found


when i restart my computer , it's display:

/etc/fstab is not found

what should i do?help me
 
Old 12-19-2004, 09:05 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Without wanting to state the obvious (well, I guess that's a bit tricky) but, you did of course type something along the lines of
Code:
ls -lh /etc/fstab
If so, then what was the last thing that you did before it disappeared ?

Last edited by mjrich; 12-19-2004 at 09:06 PM.
 
Old 12-19-2004, 09:39 PM   #3
sunwj82
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
If I inputed "rm -f /etc/fstab" finally
should I how do?
I can't be normal to start now, can't enter the system
can't enter single
when i enter rescue,it didn't check linux system in my scsi disk!
 
Old 12-20-2004, 02:47 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Blimey, what on earth prompted you to type that...

Just boot up using a rescue disk (the first disk of any linux distro will probably work, a copy of of Knoppix, or a rescue floppy), mount your old system, and re-create a minimal /etc/fstab...
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc           /proc           proc    defaults        0       0
/dev/xxx       /               ext3    defaults,errors=remount-ro 0       1
/dev/yyy       none            swap    sw              0       0
/dev/hdc       /media/cdrom0   iso9660 ro,user,noauto  0       0
Replace xxx and yyy with the appropritate partition abbreviations - sda1 and sda2 possibly, if you are using SCSI, or hda1 and hda2 for IDE disks.

Good luck !

mj
 
Old 12-20-2004, 05:57 PM   #5
sunwj82
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
thanks mjrich!

Use your method, I solved problem!thanks
 
Old 12-20-2004, 06:00 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Great to hear

Cheers,

mj
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
found two lines extra in my fstab amer_58 Linux - Newbie 3 08-20-2005 07:56 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
PDC 20276 - Promise Fasttrack 133 found but still not found.. FransE Linux - Hardware 3 02-16-2004 07:44 AM


All times are GMT -5. The time now is 03:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration