Google
  Web www.spinics.net

RE: boot after kernel panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-                 All generalizations are false.                     -
----------------------------------------------------------------------


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

[Home]     [Fedora Users]     [Red Hat General]     [Red Hat Watch List]     [Red Hat Development]     [Samba List]     [Kernel List]     [Kernel Newbies]     [Hot Springs]     [Yosemite News]

Powered by Linux