You are not logged in.

#1 2007-07-26 14:04:59

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

shitshitshit /dev/sda4 has errors?

First thing it does, Arch checks my filesystem (/dev/sda4) and it has errors...Filesystem check fails, and it tells put password to log in as root or Ctrl+D to continue...I really need this HD because it has tons of family pictures, etc. no backup (THIS WAS MY BAKCUP WHAT THE H)
Worrisome is that when I drop into root /home/*username* doesn't exist. And mounting the samba server also fails...Do I have to take out the HD and make it an external now? Is it really dead? Or could this be a mistake. This was a default Arch installation, I dunno what /dev/sda4 is...

Offline

#2 2007-07-26 15:00:25

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: shitshitshit /dev/sda4 has errors?

Did you try to fsck it like it told you to? I'd tell you how but you didn't say what kind of fs it has.

Offline

#3 2007-07-26 19:08:46

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: shitshitshit /dev/sda4 has errors?

ext2, I think. The default?

Offline

#4 2007-07-27 02:16:01

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: shitshitshit /dev/sda4 has errors?

So, when you drop into root as you did, run "e2fsck -y /dev/sda4". Repeat until it tells you everything is ok, then reboot again.

Offline

#5 2007-07-27 03:36:54

hades646
Member
Registered: 2007-07-26
Posts: 2

Re: shitshitshit /dev/sda4 has errors?

I am not shure, but I think I once had the same problem. When the filesystem-checking daemon finds an error it stops and tells you that you have to fix it first. This could be happening because the filesystem was not properly unmounted before rebooting.

What you have to do is what ataraxia said before, but as I remember, when you enter the root password, if that drive is already mounted (which is the case of the root partition), you have to remount it read-only first. You can achieve this by typing:

mount -o remount,ro /dev/sda4

Then you can check the filesystem again with e2fsck as ataraxia said above. In the case you don't need to reboot Linux, you can remount the filesystem as read-write by typing:

mount -o remount,rw /dev/sda4

If it has errors, you probably will have to reboot, but maybe in the future, if you just want to check the filesystem for errors, this last command will be helpful.

Regards.

Offline

#6 2007-07-27 15:09:56

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: shitshitshit /dev/sda4 has errors?

It comes up read-only by default at this point in the boot process, it's safe to fsck here.

Offline

#7 2007-07-29 03:14:29

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: shitshitshit /dev/sda4 has errors?

first of all, its /dev/sda3.
I ran e2fsck fine, but then when I hit reboot, it didn't work. So I did init 6. THE PROBLEM, is that there was a ubuntu liveCD in the drive, so when it started up again, it took real long load, never actually did (I've had terrible experience with LiveCDs, every single one except puppy linux). Anyways, I had to hard reboot it. I know, stupid.

Now its telling me superblock could not be read or does not correctly describe ext2 filesystem. I'm not even sure /dev/sda3 is a real filesystem (it could be swap). In any case, grub still works so maybe I should use the fallback arch linux image?

Offline

#8 2007-07-29 03:16:14

nilsHaus
Member
Registered: 2007-06-22
Posts: 69

Re: shitshitshit /dev/sda4 has errors?

And now I can't even init 6 anymore

Offline

Board footer

Powered by FluxBB