On 01/20/2011 08:02 AM, Matthias Fechner wrote:
> Dear list,
> 
> I switched now to a new mainboard and it seems that the drive numbering
> changed or my kernel does not detect any hard disks...
> If I try to boot my gentoo the kernel panic because it cannot find the
> root partition.
> 
> After the panic I cannot scroll up to check what drives are detected and
> which numbering is used. What must I do to be able to scroll up to see
> what is logged to the screen?
> (is there maybe a special key available, the shift+page-up and scroll is
> not working)

You didn't mention whether you were using lilo or grub to boot.

If you're using grub you can use the grub shell to figure that out.  At
least to the which are detected and numbering phase.

I had that problem or something similar some time ago when updating to
the new, at the time, pata drivers.  I ended up using a brute force
technique...  I booted grub to it's built in shell and used it's limited
tools to figure out which partition/drive was which and editing the
kernel/initrd lines to get the system to boot to init level 1 and then
make the changes permanent in grub and fstab.

Probably an easier method would be to use a livecd.  Just edit the grub
menu.lst file and fstab to match your new layout.  Or change the
device.map to match the old layout.

Reply via email to