public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] RAID1 + LVM2 booting screwed up.  Help, please!
Date: Wed, 13 Apr 2011 10:45:20 +0000	[thread overview]
Message-ID: <20110413104520.GB1177@muc.de> (raw)
In-Reply-To: <201104102333.13211.alan.mckinnon@gmail.com>

Hi, Alan.

On Sun, Apr 10, 2011 at 11:33:13PM +0200, Alan McKinnon wrote:
> Apparently, though unproven, at 23:11 on Sunday 10 April 2011, Alan Mackenzie 
> did opine thusly:

> > Hi, Gentoo.

> > My new(ish) amd64 system has two 1TB HDDs in a (software) RAID1, and
> > practically the entire system is under an LVM2.

> > I rather unwisely made this addition to the startup stuff:

> >     ls -s /usr/bin/svscanboot /etc/init.d/
> >     rc-update add svscanboot default

> > , and now the box hangs during boot up.

> > On the same box, I also have a "trial" installation which boots and I
> > still have the installation CD from about a year ago.

> > Would somebody please help me get into my system sufficiently to
> > correct my mistake on the boot scripts.  Pointing me in the direction
> > of a fine manual section would be regarded as help.

> Boot the trial installation which does boot.
> vgchange -ay
> find and mount your lvm volumes somewhere
> now you can access that dodgy symlink to delete it

> Maybe there's other steps (like loading kernel modules), but I'm
> assuming you know your way around to find and detect those.

It turns out I panicked needlessly, since my root partition is on
/dev/sdb1.  I didn't manage to figure out how to get / onto the LVM2 way
back when.  I'm glad I didn't delete the "trial" installation, which I'm
renaming to "rescue" :-).

Thanks for the tip.  I've a feeling I'll be needing vgchange sometime or
other.

> -- 
> alan dot mckinnon at gmail dot com

-- 
Alan Mackenzie (Nuremberg, Germany).



      parent reply	other threads:[~2011-04-13 10:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10 21:11 [gentoo-user] RAID1 + LVM2 booting screwed up. Help, please! Alan Mackenzie
2011-04-10 21:33 ` Alan McKinnon
2011-04-10 22:18   ` Mark Shields
2011-04-13 10:45   ` Alan Mackenzie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110413104520.GB1177@muc.de \
    --to=acm@muc.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox