  | | | boot after kernel panic | boot after kernel panic 2007-02-12 - By Rick Stevens
Back 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
|
|
 |