Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo LVM Newbie Question
Date: Tue, 28 Feb 2006 09:15:47
Message-Id: 200602281003.16895.ext-dirk.heinrichs@nokia.com
In Reply to: Re: [gentoo-user] Gentoo LVM Newbie Question by Zac Slade
1 Am Dienstag, 28. Februar 2006 06:01 schrieb ext Zac Slade:
2 > On Monday 27 February 2006 00:48, Dirk Heinrichs wrote:
3 > > Wrong. Switch to runlevel 1 (using "telinit 1"), which is for
4 > > maintenance. In RL 1, no user processes are running and you can umount
5 > > everything except /.
6 >
7 > Partially right. Gentoo has several gotchas in runlevel 1. If /usr is a
8 > seperate filesystem you have to be careful. Bash by default is not
9 > statically linked and requires readline (which is installed in /usr/lib).
10 > ls will require libgpm which is also in /usr/lib. So you have to be
11 > careful. One of the best things you can do for yourself is install an all
12 > in one shell for maintenece like busybox or nash. Also lvm is not
13 > statically linked and can require libraries out of /usr/lib also. So be
14 > careful and understand what you are doing. You just might need a livecd
15 > in some cases for shrinking.
16
17 Oops, you're right, telinit 1 doesn't work as expected in Gentoo (are there
18 any bugreports about it?). However, I can reboot into RL 1 just fine and
19 umount /usr w/o problems. I can also use ls just fine with /usr unmounted,
20 all fs maintenance tools should also work.
21
22 However, after trying it out, it seems that even telinit 3 (when booted into
23 RL 1) doesn't work properly, so using a LiveCD indeed looks to be the
24 better option for the moment.
25
26 Bye...
27
28 Dirk
29 --
30 Dirk Heinrichs | Tel: +49 (0)162 234 3408
31 Configuration Manager | Fax: +49 (0)211 47068 111
32 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
33 Hambornerstraße 55 | Web: http://www.capgemini.com
34 D-40472 Düsseldorf | ICQ#: 110037733
35 GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Replies

Subject Author
Re: [gentoo-user] Gentoo LVM Newbie Question Zac Slade <krakrjak@××××××××××.net>