Am Dienstag, 28. Februar 2006 06:01 schrieb ext Zac Slade: > On Monday 27 February 2006 00:48, Dirk Heinrichs wrote: > > Wrong. Switch to runlevel 1 (using "telinit 1"), which is for > > maintenance. In RL 1, no user processes are running and you can umount > > everything except /. > > Partially right. Gentoo has several gotchas in runlevel 1. If /usr is a > seperate filesystem you have to be careful. Bash by default is not > statically linked and requires readline (which is installed in /usr/lib). > ls will require libgpm which is also in /usr/lib. So you have to be > careful. One of the best things you can do for yourself is install an all > in one shell for maintenece like busybox or nash. Also lvm is not > statically linked and can require libraries out of /usr/lib also. So be > careful and understand what you are doing. You just might need a livecd > in some cases for shrinking.
Oops, you're right, telinit 1 doesn't work as expected in Gentoo (are there any bugreports about it?). However, I can reboot into RL 1 just fine and umount /usr w/o problems. I can also use ls just fine with /usr unmounted, all fs maintenance tools should also work. However, after trying it out, it seems that even telinit 3 (when booted into RL 1) doesn't work properly, so using a LiveCD indeed looks to be the better option for the moment. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Hambornerstraße 55 | Web: http://www.capgemini.com D-40472 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net
pgpkmy6rGJKJn.pgp
Description: PGP signature