View previous topic :: View next topic |
Author |
Message |
NewbieTim n00b
Joined: 18 Apr 2002 Posts: 57
|
Posted: Mon May 13, 2002 6:56 pm Post subject: I want my gentoo back (System crash) |
|
|
hi folks,
i really enjoyed working with gentoo. But today the electricity in my block broke down (no it wasn't me and now my gentoo doesn't start anymore There's something wrong with my xfs root filesystem.
Here you have the details:
ds: no socket drivers loaded!
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
XFS mounting filesystem ide0(3,7)
XFS: WARNING: recovery required on readonly filesystem
XFS: write access will bei enabled during mount
Starting XFS recovery on filesystem: ide0(3,7) (dev: 3/7)
xfs_inotbp(): xfs_imap() returned an error 22 on ide0(3,7). Returning error
xfs_iunlink_remove: xfs_inotobp returned an error 22 on ide0(3,7). Returning error
xfs_inactive: xfs_ifree() returned an error = 22 on ide0(3,7)
xfs_force_shutdown (ide0(3,7)0x1) called from line 1950 of file xfs_vnodeps.c
Fatal error on root filesystem
I/O error detected. Shutting down filesystem: ide0(3,7)
Please unmount the filesystem and rectify the problem(s)
Ending XFS recovery on filesystem: ide0(3,7) (dev: 3/7)
VFS: mounted root (xfs filesystem) readonly
Warning: unable to mount devfs, err=-2
Freeing unused kernel memory: 224k freed
Warning: unable to open an initial console
Kernel panic: Not init found. Try passing init= option to kernel
That are the error messages my system produces....how do i get my good old system back ??? |
|
Back to top |
|
|
svan9420 n00b
Joined: 24 Apr 2002 Posts: 51
|
Posted: Mon May 13, 2002 7:02 pm Post subject: oops |
|
|
Try chroot-ing back into your system from the gentoo installation cd using the installation instructions. Look at your system to determine where the problem might be. I am not up on my XFS but there should be some kind of XFS check utility.
Well, that is what I would do to get started. In any case, your system is not bootable right now, so using a chrooted boot disk is the best way I would think to fix your problem.
Good luck. I will look back to see what more experienced gentoo users have to say to help you out. _________________ svan9420 |
|
Back to top |
|
|
Guest
|
Posted: Mon May 13, 2002 7:14 pm Post subject: |
|
|
yes do a search....there was a thread i had read that this xfs-fsck was used and worked...but i am not sure of the correct command |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
|
Back to top |
|
|
NewbieTim n00b
Joined: 18 Apr 2002 Posts: 57
|
Posted: Mon May 13, 2002 7:40 pm Post subject: |
|
|
i also found this one....i tried it...but it doesn't work..i but from my stage 1 cd, and enter fsck.xfs ..nothing happens...the command is there...but it doesn't do anything...also tried "fsck.xfs /dev/hda7"...nothing happened...and "fsck.xfs -h" doesnt do anything either..
also found this link about fsck.xfs..seems like it doesn't do anything...
http://linux.uni-regensburg.de/cgi-bin/man2html?fsck.xfs+8
So should i run fsck ?? With what parameters ?? My root partition is /dev/hda7 |
|
Back to top |
|
|
NewbieTim n00b
Joined: 18 Apr 2002 Posts: 57
|
Posted: Tue May 14, 2002 3:11 pm Post subject: |
|
|
please help me...i really want my gentoo back.... |
|
Back to top |
|
|
Ender n00b
Joined: 12 May 2002 Posts: 5 Location: Paris
|
Posted: Wed May 15, 2002 5:19 pm Post subject: |
|
|
Check your /etc/fstab
you may have erase it with CONFIG_PROTECT="" during an upgrade
Last edited by Ender on Wed May 15, 2002 5:36 pm; edited 1 time in total |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Wed May 15, 2002 5:34 pm Post subject: |
|
|
NewbieTim wrote: | i also found this one....i tried it...but it doesn't work..i but from my stage 1 cd, and enter fsck.xfs ..nothing happens...the command is there...but it doesn't do anything...also tried "fsck.xfs /dev/hda7"...nothing happened...and "fsck.xfs -h" doesnt do anything either..
also found this link about fsck.xfs..seems like it doesn't do anything...
http://linux.uni-regensburg.de/cgi-bin/man2html?fsck.xfs+8
So should i run fsck ?? With what parameters ?? My root partition is /dev/hda7 |
it's xfs<something>... try tabbing two times to see whats available.
I don't have the xfs tools installed on my system right now, or else I'd tell you. |
|
Back to top |
|
|
NewbieTim n00b
Joined: 18 Apr 2002 Posts: 57
|
Posted: Wed May 15, 2002 8:15 pm Post subject: |
|
|
Just for completeness. I found the solution. Its named "xfs_repair". Took me about 5 seconds to repair the filesystem. Long live xfs |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Wed May 15, 2002 9:15 pm Post subject: |
|
|
NewbieTim wrote: | Just for completeness. I found the solution. Its named "xfs_repair". Took me about 5 seconds to repair the filesystem. Long live xfs |
Now if we could only find a way to shrink XFS filesystems |
|
Back to top |
|
|
Guest
|
Posted: Wed May 15, 2002 9:49 pm Post subject: |
|
|
awsome that you were able to get it running...feels good dont it...lol |
|
Back to top |
|
|
|