Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ext2 filesystem problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jerome187
Guru
Guru


Joined: 29 Apr 2003
Posts: 584

PostPosted: Wed Oct 27, 2004 6:01 pm    Post subject: ext2 filesystem problems Reply with quote

Heres the error I get on boot

Code:
fsck.ext2: No such file or directory while trying to open /dev/hdb1


it then asks for the root password for mantainance mode. When I get in none of my hard disks are reconigzed in /dev, so theres not /dev/hdb1 or anything at all. But I do get onto the filesystem cause all my stuff in /home is still there and everything else. :?:

I dont really know where to go from there
_________________
Some stuff I made:

http://apps.facebook.com/video-phone/
http://apps.facebook.com/bluemoon/
http://jerome.newskoolsoftware.com
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Wed Oct 27, 2004 6:13 pm    Post subject: Reply with quote

can you print out /etc/fstab ?
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Wed Oct 27, 2004 6:27 pm    Post subject: Reply with quote

You wouldn't be running ~x86 and you wouldn't recently have updated baselayout, would you?

I've heard there were some errors in a recent ~x86 version of baselayout, there's a newer version witch should fix that problem... So if you can get that to install...
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Wed Oct 27, 2004 7:08 pm    Post subject: Reply with quote

I just tried reïnstalling my system with x86 as opposed to ~x86 and I have the same problem again.

Now I'm really out of ideas...

Anybody got some advice?

The partitions are in order, I can mount the perfectly from the livecd, I've checked them with reiserfsck and they're alright, but I can't get past this bloody error...
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Wed Oct 27, 2004 7:16 pm    Post subject: Reply with quote

theBlackDragon wrote:
I just tried reïnstalling my system with x86 as opposed to ~x86 and I have the same problem again.

Now I'm really out of ideas...

Anybody got some advice?

The partitions are in order, I can mount the perfectly from the livecd, I've checked them with reiserfsck and they're alright, but I can't get past this bloody error...


made sure /etc/fstab is intact ?
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Wed Oct 27, 2004 7:25 pm    Post subject: Reply with quote

fennec wrote:
theBlackDragon wrote:
I just tried reïnstalling my system with x86 as opposed to ~x86 and I have the same problem again.

Now I'm really out of ideas...

Anybody got some advice?

The partitions are in order, I can mount the perfectly from the livecd, I've checked them with reiserfsck and they're alright, but I can't get past this bloody error...


made sure /etc/fstab is intact ?


It is, both on my new and on the old install.
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Thu Oct 28, 2004 6:54 pm    Post subject: Reply with quote

Anybody? This is really urgent as I can't get my system to boot properly in this way...

Installing on another partition didn't work as it just gives the same error... :cry:
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
jerome187
Guru
Guru


Joined: 29 Apr 2003
Posts: 584

PostPosted: Sun Oct 31, 2004 1:31 am    Post subject: Reply with quote

yes I would really like to get this fixed, I have lots of important things on there, and its on a software raid, so it might be difficult to get the stuff off of there.
_________________
Some stuff I made:

http://apps.facebook.com/video-phone/
http://apps.facebook.com/bluemoon/
http://jerome.newskoolsoftware.com
Back to top
View user's profile Send private message
blippy
n00b
n00b


Joined: 23 May 2004
Posts: 42

PostPosted: Sun Oct 31, 2004 4:32 am    Post subject: Reply with quote

i have this same error now, and i don't really know how to fix it.

Since I dual boot, I decided i'd go into windows and use LTOOLS to view at my fstab. I click /dec/hdb3 and then try to view the files in the /etc/ directory. ALL I see are these huge red X's, like LTOOLS can't read the files.
All the entries are in this format

-rw-r--r-- 0 0 205 Sat Oct 30 06:38:56 2004 shells
-rw-r--r-- 0 0 1551 Sat Oct 30 06:38:56 2004 inittab
..............

it seems to say the file name at the end of each line.

the ONLY exception to that is my fstab file

?--------- 0 0 0 Thu Jan 01 01:00:00 1970 fstab

so apparantly, it was made in 1970.......wonderful

Any ideas anyone?

-blip
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Sun Oct 31, 2004 9:44 am    Post subject: Reply with quote

I managed to figure this out, apparently my /dev files weren't created on boot, when I logged in with recovery console there were no /dev/hdx's around, but when I listed the contents from the livecd there were...

What I did was to mount the partitions directly by using things like this:

Code:
/dev/ide/host0/bus0/target0/lun0/part1  /boot   ext3            noauto,noatime1 1
/dev/ide/host0/bus0/target1/lun0/part2  /       reiserfs        noatime 0 0


I strongly suspect a script from the baselayout package, namely /etc/runlevels/boot/checkroot , I have updated the script but I haven't actually tested if it fixes this behavior, it workds fine with the above fix and I don't feel like breaking it again atm...

hth
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
blippy
n00b
n00b


Joined: 23 May 2004
Posts: 42

PostPosted: Sun Oct 31, 2004 4:18 pm    Post subject: Reply with quote

where did you end up typing that? When you log in and it says give root for maintenace?
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Mon Nov 01, 2004 8:24 am    Post subject: Reply with quote

blippy wrote:
where did you end up typing that? When you log in and it says give root for maintenace?


Sorry, forget to mention that, these are two lines from my /etc/fstab, it now looks like this:

Code:
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.12 2003/03/11 02:50:53 azarah Exp $
#
# noatime turns of atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>             <mountpoint>    <type>     <opts>               <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/hda1      /boot      ext3      noauto,noatime         1 1
/dev/ide/host0/bus0/target0/lun0/part1   /boot   ext3      noauto,noatime         1 1
/dev/ide/host0/bus0/target1/lun0/part2   /   reiserfs   noatime            0 0
#/dev/hdb2      /      reiserfs   noatime            0 0
#/dev/hdb5      none      swap      sw            0 0
/dev/ide/host0/bus0/target1/lun0/part5   none   swap   sw            0 0
/dev/hda2      /mnt/winC   ntfs      users,umask=000         0 0
/dev/hda5      /mnt/winD   vfat      users,umask=000         0 0
/dev/hda6      /mnt/other   reiserfs   noatime,exec,rw         1 1

/dev/fd0      /mnt/floppy   vfat      noauto,users,sync      0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro,users         0 0
/dev/sda      /mnt/usbstick   vfat      noauto,users,sync      0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults         0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none         /dev/shm   tmpfs      defaults         0 0

_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum