[TriLUG] Re: Kernel Panic - any takers?
Lance A. Brown
lance at bearcircle.net
Wed Nov 3 11:51:45 EST 2004
Byarlay, Wayne A. wrote:
> AHA! I used /dev/hda1 instead of /dev/hda and voila, it mounted... so
> now I just need to somehow... rebuild the initrd image for the kernel.
I usually do something like this:
boot rescue CD
- Mount root partition from hard drive on /mnt/root0
- cd /mnt/root
- mount other partitions from hard drive on their appropriate
locations in /mnt/root, so if you have a /boot, mount it to
/mnt/root/boot, etc.
- chroot /mnt/root
- Now you should be able to run mkinitrd as normal, since you are
effectively running off your install on the hard drive.
--[Lance]
>
> -----Original Message-----
> From: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org] On
> Behalf Of Byarlay, Wayne A.
> Sent: Wednesday, November 03, 2004 11:16 AM
> To: Triangle Linux Users Group discussion list
> Subject: RE: [TriLUG] Re: Kernel Panic - any takers?
>
> What would be the best way to go about Rebuilding using mkinitrd? Is my
> /dev/hda gone forever? If so, then I will abandon rebuild efforts and
> use the opportunity to reinstall a newer kernel & go RHE.
>
> I downloaded the "linux system recovery cd", and booted to it. If I try
> "mount -t ext3 /test /dev/hda" I get error.
> VFS: Can't find ext3 filesystem on ide0(3,0). (Could this be a clue?)
> mount: wrong fs type, bad option, bad superblock on /dev/hda, or too
> many mounted filesystems
>
> ~wab~
>
> -----Original Message-----
> From: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org] On
> Behalf Of Lance A. Brown
> Sent: Tuesday, November 02, 2004 5:36 PM
> To: Triangle Linux Users Group discussion list
> Subject: [TriLUG] Re: Kernel Panic - any takers?
>
> Byarlay, Wayne A. wrote:
>
>>
>>...Oh, and the error messages that occur upon an attempted boot are:
>>
>>Everything looks fine until:
>>.
>>.
>>.
>>.
>>Creating root device
>>mkrootedev: label / not found
>>mounting root filesystem
>>mount: error 2 mounting ext3
>>pivotroot: pivot_root(/sysroot, /sysroot/initrd) failed: 2 umount
>>/initrd/proc failed: 2 Freeing unused kernel memory: 132k freed Kernel
>
>
>>panic: no init found. Try passing blah blah blah...
>
>
>
> Boot a system rescue CD of some sort and make sure the initrd image for
> the kernel you are booting from the hard drive still exists. It may
> have been wiped out in the fsck. If it is gone, you'll have to rebuild
> it using mkinitrd.
>
> --[Lance]
>
> --
> Celebrate The Circle: http://www.celebratethecircle.org/
> Carolina Spirit Quest: http://www.carolinaspiritquest.org/
> My LiveJournal: http://www.livejournal.com/users/labrown/
> GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
--
Celebrate The Circle: http://www.celebratethecircle.org/
Carolina Spirit Quest: http://www.carolinaspiritquest.org/
My LiveJournal: http://www.livejournal.com/users/labrown/
GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
More information about the TriLUG
mailing list