Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Promise 378 controller
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
boot after kernel panic

boot after kernel panic

2007-02-12       - By Rick Stevens

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On Mon, 2007-02-12 at 18:19 -0600, Luis Rodr??guez wrote:
> i check the options you tell me...
>
> about fsck
>
> i rescue boot and the filesystem put in /mnt/sysimage
>
> so
>
> is safe to ran fsck /mnt/sysimage/root
>
> or need to umount and ran fsck over dev hd?

Take note of what's mounted as /mnt/sysimage, then unmount it and run
fsck against it.  Your fsck should look like:

  fsck -y /dev/hda1

The "hda1" may be "hda2" or some other name.  If it checks out, reboot
again in rescue mode and let the volume mount again.  You need to know
what kernel version you're running and you'll need to run the following
commands:

  # chroot /mnt/sysimage
  # cd /boot
  # mkinitrd -f -v initrd-(kernel-version).img (kernel-version)
  # exit
  # exit

Replace "(kernel-version)" with the version of the kernel you normally
run on that machine.  The first "exit" will exit the chroot environment,
the second exits the rescue mode.  Pop out the CD and see if it'll boot.

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-                 All generalizations are false.                     -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --


__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe