public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] RAID1 + LVM2 booting screwed up.  Help, please!
@ 2011-04-10 21:11 Alan Mackenzie
  2011-04-10 21:33 ` Alan McKinnon
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2011-04-10 21:11 UTC (permalink / raw
  To: gentoo-user

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.

I feel Dale's reservations in a most painful fashion.

Thanks in advance for the help.

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] RAID1 + LVM2 booting screwed up.  Help, please!
  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
  0 siblings, 2 replies; 4+ messages in thread
From: Alan McKinnon @ 2011-04-10 21:33 UTC (permalink / raw
  To: gentoo-user

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.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] RAID1 + LVM2 booting screwed up. Help, please!
  2011-04-10 21:33 ` Alan McKinnon
@ 2011-04-10 22:18   ` Mark Shields
  2011-04-13 10:45   ` Alan Mackenzie
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Shields @ 2011-04-10 22:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]

On Sun, Apr 10, 2011 at 4:33 PM, Alan McKinnon <alan.mckinnon@gmail.com>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.
>
> --
> alan dot mckinnon at gmail dot com
>
>
He should be able to just do an interactive startup.  Press "i" when
prompted, and you should be able to bypass the bad startup item;
alternatively, if you have access to grub boot, you can also try booting
into single user mode.

[-- Attachment #2: Type: text/html, Size: 1924 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] RAID1 + LVM2 booting screwed up.  Help, please!
  2011-04-10 21:33 ` Alan McKinnon
  2011-04-10 22:18   ` Mark Shields
@ 2011-04-13 10:45   ` Alan Mackenzie
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2011-04-13 10:45 UTC (permalink / raw
  To: gentoo-user

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).



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-13 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox