[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Now won't boot (was: Re: Squeeze assembles one RAID array, at boot but not the other



Hendrik Boom wrote:
> Bob Proulx wrote:
> > And just noting for the archive readers that in addition to working
> > through the initrd busybox prompt it is also possible to use the
> > Debian install media as a rescue system in the case this happens and
> > can't make other progress.  The Debian installer image has a rescue
> > mode that will automatically assemble all of the autoraid partitions.
> > And from there you can chroot into the system and fix things.
> 
> Now downloading netinstall disk.  I haven't needed an install disk on 
> this system for years and years.  If the coffee shop gets tired of my
> dowload I should be able to boot my son's Ubuntu live CD and get 
> something running, anyway.

Here is the official documentation for it:

  http://www.debian.org/releases/stable/i386/ch08s07.html.en

But that is fairly terse.  Let me say that the rescue mode looks just
like the install mode initially.  It will ask you keyboard and locale
questions and you might wonder if you are rescuing or installing!  But
it will have "Rescue" in the corners so that you can tell and be
assured.  Get the tool set up with keyboard, locale, timezone, and
similar and eventually it will give you a menu with a list of actions.

  Advanced options...
  Rescue mode
  keyboard
  ...starts networking...
  hostname
  domainname
  ...apt update release files...
  ...loading additional components, Retrieving udebs...
  ...detecting disks...

Then eventually it will get to a menu "Enter rescue mode" that will
ask what device to use as a root file system.  It will list the
partitions that it has automatically detected.  One of the menu entry
items near the bottom will be "Assemble RAID array".  That will bring
up the next dialog menu asking for partitions to assemble.  Select the
appropriate for your system.  Then continue.  That should produce an
additional set of listings for the lvm volumes on your system
including the root logical volume.  Select it.  At that point it
presents a menu "Execute a shell in /dev/...".  That should get you a
shell on your system with the array mounted.

Hopefully that will get you back to a point where you can then debug
and recover your system fully.  It isn't done yet.  But it is in
recovery mode at that time.

Good luck!

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: