Re: Problem booting anfter reinstall...



On Thu, May 18, 2006 at 05:17:16PM +0100, Bob wrote:
Andrew Sackville-West wrote:

[snipped...]

you're being dropped into busybox, which is a limited shell, but you
CAN do some things. can you mount any of your disks from there? if so,
turn on boot logging: add or change /etc/default/bootlogd to say
BOOTLOGD_ENABLE=yes. Then you can read /var/log/boot after your next
boot and most of the messages will be there. Also, ctrl-s supposedly
will pause/un-pause the scrolling of boot messages, though I've not
done it. hopefully that will get you some more info.

I was just playing on that box and that the init command was there,
so did an "init 6" and I think I've found my problem:

ALERT! /dev/sda1 does not exist. Dropping to a shell!

most likely you don't have the right modules loaded. can you insmod
them from the busybox shell and then try init 6 (also, I think you
only need init 2 in debian, but you can check that by looking at
/etc/rc2.d).

Of course, reading back over this, my suggestion assumes you've got
modules on a readable disk and I bet you don't...

you could boot from a live-cd (knoppix) and chroot into your system
and rebuild the initrd to include the proper modules in the initrd. I
think its dpkg-reconfigure yaird or initrd-yaird. Others will know
this.

A

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: Problem booting RAID1/mdadm system when one disk is unplugged
    ... My System has 2x120GB IDE disks with the an up-to-date Sarge install, running kernel 2.6.8-3 and configured for mirroring. ... some friends of mine do not agree that my initrd is the problem because they point out that I can still boot when two disks are present. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Beige PowerMac G3/266 trouble
    ... you have to boot the kernel and load initrd. ... It is launched by init. ...
    (comp.os.linux.powerpc)
  • Re: boot/repair floppy or CD
    ... Having thought about your explanation of the boot ... no init found. ... So apparently Lilo looks for a local conf file, ... That would explain why lilo did not find initrd but still ...
    (comp.os.linux.misc)
  • Re: Beige PowerMac G3/266 trouble
    ... you have to boot the kernel and load initrd. ... It is launched by init. ...
    (comp.os.linux.powerpc)
  • Re: booting from ISO image on HD?
    ... I don't think you can predict every concievably thing a distro initrd can do. ... the only purpose of the initrd is to 1) find out what kernel modules are ... there is a hard disk where that iso image resides. ... The normal boot mechanism starts with the bios loading a boot loader ...
    (comp.os.linux.misc)