View previous topic :: View next topic |
Author |
Message |
craig-gentoo Tux's lil' helper
Joined: 29 Sep 2004 Posts: 109 Location: nd
|
Posted: Wed Dec 01, 2004 8:11 pm Post subject: How do I recover: Superblock could not be read -RESOLVED- |
|
|
kernel 2.6.7.rc11
40 gig HD
boot : /dev/hdc1 file system ext2
swap: /dev/hdc2
root : /dev/hdc3 file system reiserfs
I've had the sytem off line for a couple of days and went to start it today. During the startup I'm told:
Quote: |
Checking all file systems....
no such file or directory while trying to open /dev/BOOT...
Superblock could not be read or does not describe a correct ext2 filesystem
try running < e2fsck > with a alternate superblock
superblock: e2fsck -b 8193 <<device >>
|
I could not log in as root or user
I ran my LiveCD and was able to chroot over to the installed system
I tried running < e2fsck -p /dev/hdc1> which reported to make sure that it was not mounted. I aborted and ran <unmount /dev/hdc1> which told me it wasn't mounted. I ran e2fask -p /dev/hdc1 > again which again reported to unmount what ever I was running e2fask on. I told it to go ahead and run. This did not seem to fix the problem. The same error is reported when I try to boot the system.
Is there a way to recover my system?
Last edited by craig-gentoo on Thu Dec 02, 2004 7:44 pm; edited 1 time in total |
|
Back to top |
|
|
br0mGreV Apprentice
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Wed Dec 01, 2004 8:25 pm Post subject: |
|
|
Hi,
Sounds wierd ? could you check your /etc/fstab (from your liveCD, in the chrooted environment)
Try the e2fsck from the live CD without any chroot. _________________ Rien n'est éternel, pas même les problèmes... |
|
Back to top |
|
|
craig-gentoo Tux's lil' helper
Joined: 29 Sep 2004 Posts: 109 Location: nd
|
Posted: Wed Dec 01, 2004 8:48 pm Post subject: |
|
|
I discovered that the fstab file was set back to defaults of ROOT BOOT and SWAP
I have been trying to get features added to the kernel....cups and had run a command < genkernel menuconfig all > Could this have rewritten the fstab fille... I thought I'v retstarted at least once siince do this but not a cold start.
Is this the difference it took to discover this?
I'm still faced with a system that will not accept my passwords for my root or user?
This may sound like a peculiar question but what is the Gentoo splashscreen like... This looks like a new splashscreen it just a block menu on a blank screen requesting my username and password with a large ICON within the menu..
I swtich between this another sytem and I'm not restarting the systems that much so I don't have much of a memory of what the Gentoo startup screen is or was?
Question is since it won't accept my password can I just go back to the liveCD and recreate the passwords... some how I don't think the LiveCd is going to allow me to fix these password issues |
|
Back to top |
|
|
br0mGreV Apprentice
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Wed Dec 01, 2004 9:20 pm Post subject: |
|
|
easy solution to recover the root passwords, and user passwords =>
chroot to your environmen from the live CD and type passwd will set the root password.
or without chrooting, editing the /etc/shadow file and remove the password hash (man shadow for more explaination)
EDIT : well the /mnt/gentoo/etc/shadow file exactly _________________ Rien n'est éternel, pas même les problèmes... |
|
Back to top |
|
|
craig-gentoo Tux's lil' helper
Joined: 29 Sep 2004 Posts: 109 Location: nd
|
Posted: Thu Dec 02, 2004 1:34 am Post subject: |
|
|
recovered from the password problem
now I know why things looked strange with the splash screen... I've lost the boot into GNOME it's booting into (i think) what's called xterm. ... a very basic graphics gui.
I checked /home/user and it is in tact... so I need to figure out how to get the system to boot into GNOME and why any of this happened to begin with.
thanks for the support |
|
Back to top |
|
|
gentoo_lan l33t
Joined: 08 Sep 2004 Posts: 891 Location: Charles Town, WV
|
Posted: Thu Dec 02, 2004 3:12 am Post subject: |
|
|
Have you checked your /etc/rc.conf file? Make sure your XSession is set to Gnome and your displaymanager is set to gdm. |
|
Back to top |
|
|
br0mGreV Apprentice
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Thu Dec 02, 2004 5:10 pm Post subject: |
|
|
Hmm, as a general answer, have you recently made a etc-update ? _________________ Rien n'est éternel, pas même les problèmes... |
|
Back to top |
|
|
craig-gentoo Tux's lil' helper
Joined: 29 Sep 2004 Posts: 109 Location: nd
|
Posted: Thu Dec 02, 2004 6:13 pm Post subject: |
|
|
Well I got back my GNOME interface
had to re establish my user account
but I'm left without connection to the internet via my eth0. I'm not sure what's up with this. I have to research what will tell me its status; if it's even installed.
I wonder what knocked the hell out of everything and all my settings
thanks |
|
Back to top |
|
|
craig-gentoo Tux's lil' helper
Joined: 29 Sep 2004 Posts: 109 Location: nd
|
Posted: Thu Dec 02, 2004 6:27 pm Post subject: |
|
|
br0mGreV wrote: | Hmm, as a general answer, have you recently made a etc-update ? |
YES!
I was just running through the accumulated commands in my terminal window and there it was !
#emerge x11-base/opengl-update
going futher back I also see I issued:
#emerge opengl-update-1.8.1
Last edited by craig-gentoo on Thu Dec 02, 2004 9:43 pm; edited 3 times in total |
|
Back to top |
|
|
craig-gentoo Tux's lil' helper
Joined: 29 Sep 2004 Posts: 109 Location: nd
|
Posted: Thu Dec 02, 2004 7:43 pm Post subject: |
|
|
back online with my gentoo system
#/sbin/dhcpcd eth0 was what reestablished connection... I'm not sure if that sets it permanently or not but at least I know now how to do it manually if it recurs |
|
Back to top |
|
|
|