Re: Maxtor ATA133 controller and boot problems
From: Jhueklklaen (munakeskus_at_email.com)
Date: Thu, 18 Sep 2003 01:09:01 +0300
Sybren Stuvel wrote:
> Jhueklklaen enlightened us with:
>>>Type the root password, press enter, get a root shell. Then run 'fsck
>>>/dev/hdh1' and manually repair.
>>Now I have tried:
>>(Repair filesystem) 1# fsck /dev/hde1
> Why not do as I suggested, and as your computer suggested, and try and
> repair /dev/hdh1 first? It'll be interesting to know what happens at
>>and it gives the following message:
>>fsck 1.33 (21-Apr-2003)
>>e2fsck 1.33 (21-Apr-2003)
>>/dev/hde1: clean, 25856/768544 files, 381441/1535932 blocks
>>(Repair filesystem) 2#
> This shouldn't happen. A good fsck ends with a newline, which would
> cause your prompt to be on it's own line. I suggest you boot from
> another disk (www.knoppix.org) and run fsck from there.
>>I then tried to write just /dev/hde1 on the command line and:
>>bash: /dev/hde1: Permission denied
>>Even if I gave my Root password in the beginning :(
> That is because /dev/hde1 isn't an executable.
>>What is wrong with this system?
> Filesystem corruption, probably.
>>Is it impossible to connect another drive to the system to make a
> Yes, but do boot from a Knoppix CD or something similar. Your backup
> software might be corrupted as well.
>>That was what caused this kernel panic at first. I will never do
> I've swapped harddisks plenty of times, and if you do it right (ie. no
> static discharges, etc) you won't cause any harm. Remember that static
> electricity can kill computer components while it is too weak to feel!
> You might think "I didn't feel anything so I didn't harm anything" but
> that's plain incorrect.
>>I'll use CDRW's hereafter.
> Wise choise. You can also use rsync and backup to another computer on
> a network.
I did what I thought you ment :)
Well the problem seems to be that my fstab has got the wrong location of
my harddrive. I'm now trying to edit it but without success. I'm not at
all used to vim-minimal but I have figured out how to edit and save. Now
my only problem is that i can't get permissions to write my fstab even
with Root login :( That's really weird to me. How can I get write
permissions with root for fstab?
Vim-minimal is the only editor I can access. Othewise I would use nano
or pico. Humm but this could be because /usr isn't mounted yet.
My fstab looks like this and it should contain /dev/hdeX instead of
/dev/hdh1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdh6 /home ext3 defaults 1 2
none /mnt/cdrw supermount
dev=/dev/scd0,fs=auto,ro,--,umask=0,codepage=850,iocharset=iso8859-1 0 0
none /mnt/dvd supermount
dev=/dev/hdc,fs=auto,ro,--,umask=0,codepage=850,iocharset=iso8859-1 0 0
none /mnt/floppy supermount
dev=/dev/fd0,fs=auto,--,umask=0,sync,codepage=850,iocharset=iso8859-1 0 0
none /proc proc defaults 0 0
/dev/hdh7 /usr ext3 defaults 1 2
/dev/hdh5 swap swap defaults 0 0
/dev/scsi/host1/bus0/target0/lun0/cd /cdwriter auto ro,noauto,user,exec 0 0
/dev/ide/host0/bus1/target0/lun0/cd /cdrom auto ro,noauto,user,exec 0 0