Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2007-06-25 23:12:09
Size: 728
Editor: ?maximilianattems
Comment: initial commit
Revision 6 as of 2007-06-25 23:18:52
Size: 1051
Editor: ?maximilianattems
Comment: more info
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:


== Boot ==

Boot with {{{rootdelay=9}}} to shorten the time of waiting for the root device to come up. Also it adds time to scsi device to settle before calling mdadm or lvm thus excluding potential races.
Line 5: Line 10:
 Ok now you landed in the initramfs debug shell. The following steps should help to narrow down the problem.
Line 7: Line 14:
 {{{ ls -l /dev/[hs]da* }}}  {{{
ls -l /dev/[hs]da*
}}}
Line 13: Line 22:
 {{{ cat /proc/cmdline }}}  {{{
cat /proc/cmdline
}}}
Line 17: Line 28:
  {{{
      /lib/udev/vol_id -t /dev/sda1
      fstype /dev/sda1
  }}}
 {{{
 /lib/udev/vol_id -t /dev/sda1
 fstype /dev/sda1
 }}}
Line 26: Line 37:
   {{{ cat /proc/modules }}}  {{{
cat /proc/modules
}}}

?wiki:initramfs-tools is used in Debian to build the initramfs that contains the early userspace and the needed kernel modules to be able to mount any possible root.

Boot

Boot with rootdelay=9 to shorten the time of waiting for the root device to come up. Also it adds time to scsi device to settle before calling mdadm or lvm thus excluding potential races.

Debug Howto

  • Ok now you landed in the initramfs debug shell. The following steps should help to narrow down the problem.
  • Check root device existance
     ls -l /dev/[hs]da*
  • Check root boot argument
    • It needs to be the same than aboves root device
     cat /proc/cmdline
  • Check correct fs recognition
     /lib/udev/vol_id -t /dev/sda1
     fstype /dev/sda1
    • If the output of aboves command differ, your partition was not cleanly formated. For example mkfs.ext2 does not clear all sectors when formating a partition.
  • Check if the ata/ide/scsi driver is loaded
     cat /proc/modules