From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q9xKN-0007Kk-5j for garchives@archives.gentoo.org; Wed, 13 Apr 2011 10:29:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBD2F1C095; Wed, 13 Apr 2011 10:28:01 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) by pigeon.gentoo.org (Postfix) with ESMTP id 59FB51C095 for ; Wed, 13 Apr 2011 10:28:01 +0000 (UTC) Received: (qmail 82445 invoked by uid 3782); 13 Apr 2011 10:28:00 -0000 Received: from acm.muc.de (pD9557AC6.dip.t-dialin.net [217.85.122.198]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 13 Apr 2011 12:27:59 +0200 Received: (qmail 1423 invoked by uid 1000); 13 Apr 2011 10:45:20 -0000 Date: Wed, 13 Apr 2011 10:45:20 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] RAID1 + LVM2 booting screwed up. Help, please! Message-ID: <20110413104520.GB1177@muc.de> References: <20110410211134.GC936@muc.de> <201104102333.13211.alan.mckinnon@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201104102333.13211.alan.mckinnon@gmail.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: X-Archives-Hash: 10873aec44175df0debe1e3a7bfcbaee 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).