LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-12-2003, 07:44 PM   #1
zenji
LQ Newbie
 
Registered: Dec 2003
Location: maui
Distribution: slackware 9.0
Posts: 11

Rep: Reputation: 0
cant find /etc/fstab thus cant boot


Greetings all,

I need some advice:

This is the layout of my 40GB harddrive on my thinkpad 600
hda1 - / 5G
hda2 FAT32 13 G
hda3 /home 20G
hda4 /swap 700M (roughly)
these are primary partitions made in fdisk- nothing extended


It boots up into lilo manager- for linux(slackware 9.0) or win98se
try to load linux and get following errors:
swapon: cannot open etc/fstab: no such file or directory
/etc/rc.d/rc.S: line 23: Testing filesystem status: Read-only file
system
Checking root filsystem:
fsck 1.32
Warning: couldn't open /etc/fstab: No such File/Dir
/sbin/e2fsck: Is a directory while trying to open /
/:
The Superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the uperblock
is corrupt, and you might try running e2fsck with an alternate
superblock:
e2fsck -b 8193 <device>

An error occured during the root filesystem check
you will now be given a chance to log into the system in a single-user
mode to fix the problem.
If you are using the ext2 filesystem, running 'e2fsck -v -y
<partition>'might help.....



okay what should i do to get this thing rolling?
is etx2 an extended partition? I know i used only primary ones
I typed in the command: swapon /dev/hda4
and it said: Adding Swap: 827336k swap-space (priority -1)
should this be added to some configuration file?
whats the deal with etc/fstab?
im at the root@none:/# looking confused. all i can see is thes strange
aquatic bird....

e2fsck -v -y /dev/hda1 resultsin>> /dev/hda1: clean, 137807/1281280
files, 525175/1281175 blocks

allthanks to the inspired linux guru whose favor shines upon i!
 
Old 12-12-2003, 07:58 PM   #2
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
ext2 is a file system type. From what I see it's basically telling you it can't read the fstab, so it tries to read a disk partition, assumes it is ext2 formatted. It either isn't formatted with the ext2 file system, or there was some sort of an error during the making of the file system. Two questions -

Can you still boot win 98?
Has this machine EVER booted into Linux?
 
Old 12-12-2003, 08:15 PM   #3
zenji
LQ Newbie
 
Registered: Dec 2003
Location: maui
Distribution: slackware 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
nope this is first time bootup on slackware....win98 runs fine....
 
Old 12-12-2003, 08:24 PM   #4
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
Unfortunatly, the best thing I can think of at this point would be to re-install Slackware, paying special attention to the file system formatting (hint, choose reiserfs) and kernel selection.
 
Old 12-12-2003, 08:30 PM   #5
zenji
LQ Newbie
 
Registered: Dec 2003
Location: maui
Distribution: slackware 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
what kernel should i select? I just chose the standard off of the install disk, i did notice there was an ibm specific....?
 
Old 12-12-2003, 09:22 PM   #6
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Bare.i is the usual one to get started with.
 
Old 12-12-2003, 11:44 PM   #7
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
I'd say go with the standard again, unless you have some odd hardware like pcmcia scsi adapters ect.
 
  


Reply



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
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab timalan SUSE / openSUSE 24 08-20-2005 09:41 AM
boot ignoring my fstab? Feminista Slackware 1 02-11-2005 12:20 AM
fstab can't find a file system fdisk can rharvey@cox Linux - Hardware 1 06-02-2004 08:36 PM
fstab warning on boot rogleale Linux - Newbie 3 07-20-2002 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:27 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