Filesystem fscked?

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Filesystem fscked?

Post by Trogdor »

This is on a Pro installation, totally up-to-date in all software, applicable config files, and magic patches. Here's how it went: I started up Gentoox, and at one point during the bootup, it gives me this message:

Code: Select all

* Checking root filesystem...
Reiserfs super block in block 16 on 0x700 of format 3.6 with standard journal
Blocks (total/free): 760000/483749 by 4096 bytes
Filesystem is NOT cleanly unmounted
Partition /dev/loop/0 is mounted with write permissions, cannot check it
*Filesystem couldn't be fixed :( [ !! ]

Give root password for maintenance
(or type Control-D for normal startup):_
Now I knew that I didn't do a hard shutdown, and that ReiserFS is pretty solid, so I hit Control-D on my usb keyboard. No responce. I entered root password. No responce. I tap the numlock key. No light. I can't SSH in, because sshd hasn't been started yet! Am I going to have to reinstall?
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
Taily
Adept
Posts: 63
Joined: Tue Jun 15, 2004 11:46 am

Post by Taily »

Would it be possible for you to throw the drive into a computer and mount it from linux, or a live cd linux?
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

can you fix it with sparkle?
If you keep an open mind, will your brain fall out?
Taily
Adept
Posts: 63
Joined: Tue Jun 15, 2004 11:46 am

Post by Taily »

nobspangle wrote:can you fix it with sparkle?
I thougt you only used sparkle for rootfs?
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Post by Trogdor »

nobspangle wrote:can you fix it with sparkle?
Damn it! This is why I shouldn't be allowed intenet access. I've been busy in school, and have barely used gentoox since 2.0 home, before the days of sparkle. Thanks for reminding me. :wink:
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Post by Trogdor »

Taily wrote:
nobspangle wrote:can you fix it with sparkle?
I thougt you only used sparkle for rootfs?
I 'spect that it is rootfs that has gone bad. /me can't wait till reiser4.
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Post by Trogdor »

Reiserfsck returned no errors, but still, no change in problem.
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
winterborne
Pro
Posts: 93
Joined: Mon Nov 17, 2003 9:45 am
Location: Canada

Post by winterborne »

Similar thing happened to me a few months ago: I didn't have a working burner, or usb keyboard at the time so I FTP'd rootfs back to my main PC and fscked it... returned no errors. This probably isn't the sort of reply you're looking for but I wound up just reinstalling from scratch, then backing up rootfs onto my pc when I'd updated everything.
Taily
Adept
Posts: 63
Joined: Tue Jun 15, 2004 11:46 am

Post by Taily »

Perhaps something like your /etc/fstab file is wrong?
you could try mounting rootfs and editing it or something..
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

The problem is that you ran etc-update and replaced /etc/init.d/checkroot. http://gentoox.shallax.com/patch-files/uhoh.tbz2 << get that and somehow replace your checkroot with the one in there.
The original Xbox adaptation of Gentoo
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Post by Trogdor »

ShALLaX wrote:The problem is that you ran etc-update and replaced /etc/init.d/checkroot. http://gentoox.shallax.com/patch-files/uhoh.tbz2 << get that and somehow replace your checkroot with the one in there.
I know! I'll make another install, for the sole purpose of mounting the rootfs and putting czechroot on it. But that sounds like work. :( If only there was an xbox linux live-cd . . . made with xbox-catilyst . . .

well . . . if I put live compression on rootfs, and put on livecd-typish things . . . . . . . . . . . .

EDIT: ooh, /me just found dyne:bolic...
EDIT #2: damn, looks like dyne:bolic isn't an xbe...
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

Heres an idea... put stardust in.. ssh.. ctrl-c, mkdir /mnt/blah && mount -o loop /mnt/e/rootfs /mnt/blah && cd /mnt/blah/tmp && wget http://gentoox.shallax.com/patch-files/uhoh.tbz2 && tar -jxvf ./uhoh.tbz2 && cp ./checkroot /mnt/blah/etc/init.d/ && chmod 755 /mnt/blah/etc/init.d/checkroot && reboot

Or something like that... :o
The original Xbox adaptation of Gentoo
Trogdor
Gentoox Guru!
Posts: 553
Joined: Tue Oct 07, 2003 9:57 pm
Location: MOUNT TAPE U1439 ON B3, NO RING

Post by Trogdor »

Too late . . . already d/led Pro 1.3, and am emerging mysql apache mod_php. :)
MOUNT TAPE U1439 ON B3, NO RING

Q: HOW DO I RUN MAGIC ??
A: You run magic by not typing in capital letters.
Post Reply