Hi Mark,

Thanks for your email.

I tried to rescue my system without success. I am currently
doing re-installation.


>Shi-Ping wrote:
>
>> I have a big problem with my RH7.2. It will not reboot. It always
>> hangs after the following line:
>
>>        Setting hostname mycomputer.mydomain.com:     [OK]
>
>> I tried to boot in single user mode without success. However, I can boot
>> the system with the emergency mode. Now, how I can recover the system?
>
>Ok, I just checked my /var/log/messages (have you done that, and your 
>dmesg?), and I see that hostname is set just before the fsck on / runs. 
>Therefore, I suspect a disk or filesystem problem.

Yes, the file system appeared to be damaged.


>Now, the first thing you need to do is umount /dev/hda2. This will unmount 
>the partition that fsck is warning you about - you should *not* run fsck on a 
>partition mounted read/write. You should also do it *not* in parallel.
>
>Is this a dual-boot system, or do you have /boot on one partition, and / on 
>/dev/hda2?  I see, from your posted fstab, that you don't show what 
>partitions are what, other than swap, 

Yes, it is a Linux/Win2000 dual boot system (and my Win2000 is OK).

I did "#cat /etc/fstab" and that was what I got. But on my RH7.2 this
command gave me information on all /dev/hda* mappings. I don't know why.


>So, *^¿assuming* that it is not,  then check the filesystem, after making sure 
>that you're not on the filesystem being checked, this way:
>*if* you are somewhat comfortable in responding to filesystem repair prompts, 
>use -r *instead* of the -a I show below; if you have no clue what I'm talking 
>about, use -a, which will automagically attempt to repair your filesystem. 
>This is like, if you're familiar with M$ scandisk, letting it stop and ask 
>you what it should do, when it finds a problem, versus setting the switch 
>that says, "you know all this better than I do, fix it all, and don't ask" 
><g>.
>  $  umount /dev/hda1
>  $ fsck -a /dev/hda1 
>  $  umount /dev/hda2
>  $ fsck -a /dev/hda2
>
>Hopefully, this will fix it. It usually does, unless your physical hard drive 
>is hosed.

Yes, I tried these ....
I booted in the rescue mode with RH7.2 installation disks and invoked the
following commands:

        sh-2.05# chroot /mnt/sysimage
        /# umount /dev/hda2
        /# fsck   /dev/hda2
        /# umount /dev/hda3
        /# fsck   /dev/hda3

I rebooted the system. The booting proess past the filesystem checks with 
the yellow "Pass" flags, but it hang at the following line:

        Bringing up interface lo

Thanks for your help.

Shi-Ping



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to