On Wed, Jun 1, 2011 at 8:15 PM, bsquared <[email protected]> wrote:
> Hello,
>
> Can anyone recommend some resources for troubleshooting a kernel panic.
>
> I have been built LFS 6.8 on a USB stick, and moved it to a disk
> partition using 'dd'.  I modified the grub.cfg file and rebooted.
> Then got a kernel panic.
>
> --
> Thank you,
> -Brian
> --

usually the reason it would panic in this case, is a wrong boot
device, or that the boot device is not yet loaded, or the driver is
not builtin.

One gotcha, is usually usb is detected later in the kernel boot.
(after the part it mounds /)

When debugging (or usb booting) I usually add rootwait, which waits
until the root device is avaliable.  (And a bonus feature, since it
has yet to panic, you can scroll up/down using shift pageup/down).
You can read the log and find out what is detected, and where.

other commands can be found at
/usr/src/linux-*/Documentation/kernel-parameters.txt [or just grab a
kernel and extract it].

-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to