Re: Maxtor ATA133 controller and boot problems

From: Jhueklklaen (munakeskus_at_email.com)
Date: 09/18/03


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
> least.
>
>
>>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:
>>/dev/hde1
>>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
>>backup?
>
>
> 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
>>this again.
>
>
> 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.
>
> Sybren

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/hdhX
_________________________________
/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



Relevant Pages

  • Re: mount.cifs?
    ... Sybren Stuvel wrote: ... > In fstab you need to put commas between the options, ... > explicitly tell 'mount' which filesystem you want to use. ... user is Toshi ...
    (alt.os.linux)
  • Re: mount.cifs?
    ... > Sybren Stuvel wrote: ... >> In fstab you need to put commas between the options, ... >> explicitly tell 'mount' which filesystem you want to use. ...
    (alt.os.linux)
  • Re: [opensuse] Cant boot 10.3 after 11.0 install - explanation for Patrick
    ... On Tuesday 02 September 2008 21:56:34 Patrick Shanahan wrote: ... I shutdown and then did an fsck on the entire filesystem. ... new 11.0 boot OK and every fstab is exactly the same. ... Whatever os was booted seemed to find it's own partitions to ...
    (SuSE)
  • Re: moving /home
    ... From man fstab: ... >> or xfs) filesystem that is to be mounted by its UUID or volume label ... adding or removing a SCSI disk changes the disk ... time to wrap the concepts around my brain of the Linux file systems and how ...
    (Fedora)
  • Re: fstab
    ... it says mount point rw does not exist ... i actually don't have a backup of fstab in another place but i can edit the ... > to repair filesystem but i can seem to overwrite the fstab manually....it ... This message has been scanned for viruses and dangerous content by Email Virus Scanner, and is believed to be clean. ...
    (RedHat)