Re: [gentoo-user] Hello All

2010-07-19 Thread alex
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 16.07.2010 20:18, schrieb Neal Hogan:
 I'd start a new thread ;-)


Thank you, and that me now what to me? xD

Greeting

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMQ/xxAAoJEB8n+SuWCkjv6uEIAM0RciZGtp30y1s7DRaVctpk
5j0zu7ce53mdpKazTNlFDt8S8j3Bjr/mZdxPP4IfqmNxg9h1NKHio1453idQ5rfZ
k4S5Yx/56UuZJjlgTJs/dJRCqyR8u1si7F4uLGpry779sCJSAwikVd8wEZHkFLkf
qJ79h1C4MYvndlOVNFUEYUgSSvuYgxyGjuY33hW7iD9bNxXa8jixvZuFB3RvX+s4
sWUwK04gCu/ZlKQXiKtab5t7zq2Bu62ngB8xmIGEfcfwrpoSI4S7msNtzsFVTp9n
zCDQzWLQmNkssP/prKCVeN5ZTN+GzmpKe05n3XQIQ+5yS8JKiMMZflq45JbvLqE=
=FBA0
-END PGP SIGNATURE-
--
Sourcegarden GmbH HR: B-104357
Steuernummer: 37/167/21214 USt-ID: DE814784953
Geschaeftsfuehrer: Mario Scheliga, Rene Otto
Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
Schoenhauser Allee 51, 10437 Berlin



Re: [gentoo-user] Hello All

2010-07-19 Thread Neal Hogan
On Mon, Jul 19, 2010 at 2:19 AM, alex a...@sourcegarden.de wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am 16.07.2010 20:18, schrieb Neal Hogan:
 I'd start a new thread ;-)


 Thank you, and that me now what to me? xD


Is that a joke?



[gentoo-user] unmounting /usr in single user mode

2010-07-19 Thread Allan Gottlieb
I am unable to umount /usr in single user mode on an old system.
I believe the system is baselayout-1 and is amd64.
The trouble is open files, at least some of which appear to be related
to bash and locale (see the files below).

I use grub.  On the kernel line can I specify sh instead of bash?
I know sh is linked to bash, but hope that it will not use locale.

I need to umount /usr so that I can resize it (I use lvm and have
already extended the logical volume).  Specifically i want to execute
umount /usr
resize2fs /dev/vg/usr
mount /usr

(I realize I will probably need an e2fsck).

On my new system (baselayout-2), this was easy as /usr is not mounted
when rebooting into single user mode.

thanks,
allan

output of lsof | grep usr

bash  1907 root  mem   REG  254,0  1772320 245830 
/usr/lib64/locale/locale-archive
bash  1907 root  mem   REG  254,026050 230642 
/usr/lib64/gconv/gconv-modules.cache
bash  2125 root  mem   REG  254,0  1772320 245830 
/usr/lib64/locale/locale-archive
bash  2125 root  mem   REG  254,026050 230642 
/usr/lib64/gconv/gconv-modules.cache
lsof  2149 root  txt   REG  254,0   131144  92097 
/usr/bin/lsof
lsof  2149 root  mem   REG  254,0  1772320 245830 
/usr/lib64/locale/locale-archive
grep  2150 root  mem   REG  254,0  1772320 245830 
/usr/lib64/locale/locale-archive
grep  2150 root  mem   REG  254,026050 230642 
/usr/lib64/gconv/gconv-modules.cache
lsof  2151 root  txt   REG  254,0   131144  92097 
/usr/bin/lsof
lsof  2151 root  mem   REG  254,0  1772320 245830 
/usr/lib64/locale/locale-archive


output of fuser /usr/lib64/locale/locale-archive

  1907  2125

and 1907 was /bin/bash



Re: [gentoo-user] unmounting /usr in single user mode

2010-07-19 Thread Alex Schuster
Allan Gottlieb writes:

 I am unable to umount /usr in single user mode on an old system.
 I believe the system is baselayout-1 and is amd64.
 The trouble is open files, at least some of which appear to be related
 to bash and locale (see the files below).
 
 I use grub.  On the kernel line can I specify sh instead of bash?
 I know sh is linked to bash, but hope that it will not use locale.

Why not use a live-cd?

 I need to umount /usr so that I can resize it (I use lvm and have
 already extended the logical volume).  Specifically i want to execute
 umount /usr
 resize2fs /dev/vg/usr
 mount /usr

As long as you extend the size, resizing works online, without the need to 
unmount a partition. That's only necessary when reducing the size. Hooray!

 (I realize I will probably need an e2fsck).

True if the partition is unmounted.

Wonko



Re: [gentoo-user] unmounting /usr in single user mode

2010-07-19 Thread Kacper Kopczyński
Dnia 2010-07-19, o godz. 14:58:37
Allan Gottlieb gottl...@nyu.edu napisał(a):

 I am unable to umount /usr in single user mode on an old system.
 I believe the system is baselayout-1 and is amd64.
 The trouble is open files, at least some of which appear to be related
 to bash and locale (see the files below).
 
 I use grub.  On the kernel line can I specify sh instead of bash?
 I know sh is linked to bash, but hope that it will not use locale.
 
 I need to umount /usr so that I can resize it (I use lvm and have
 already extended the logical volume).  Specifically i want to execute
 umount /usr
 resize2fs /dev/vg/usr
 mount /usr
 
 (I realize I will probably need an e2fsck).
 
 On my new system (baselayout-2), this was easy as /usr is not mounted
 when rebooting into single user mode.
 
 thanks,
 allan
 
 output of lsof | grep usr
 
 bash  1907 root  mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive bash  1907 root
 mem   REG  254,026050
 230642 /usr/lib64/gconv/gconv-modules.cache bash  2125 root
 mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive bash  2125 root
 mem   REG  254,026050
 230642 /usr/lib64/gconv/gconv-modules.cache lsof  2149 root
 txt   REG  254,0   131144  92097 /usr/bin/lsof
 lsof  2149 root  mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive grep  2150 root
 mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive grep  2150 root
 mem   REG  254,026050
 230642 /usr/lib64/gconv/gconv-modules.cache lsof  2151 root
 txt   REG  254,0   131144  92097 /usr/bin/lsof
 lsof  2151 root  mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive
 
 
 output of fuser /usr/lib64/locale/locale-archive
 
   1907  2125
 
 and 1907 was /bin/bash
 

Because of /usr/lib I think you should use LiveCD.

If you really need to do this in single user mode try busybox and its
shell - create a link like:
cd /bin; ln -s /bin/busybox bsh

-- 
Kacper Kopczyński



Re: [gentoo-user] unmounting /usr in single user mode

2010-07-19 Thread Alan McKinnon
On Monday 19 July 2010 20:58:37 Allan Gottlieb wrote:
 I am unable to umount /usr in single user mode on an old system.
 I believe the system is baselayout-1 and is amd64.
 The trouble is open files, at least some of which appear to be related
 to bash and locale (see the files below).
 
 I use grub.  On the kernel line can I specify sh instead of bash?

Not directly. grub and init does not know about, or even care about, bash.

You can change root's shell in /etc/passwd to sh and bash should run in sh 
mode. Or you can append init=/bin/sh to the grub boot line and try that. You 
will of course have to run all the init scripts yourself as init will not run 
when you do this. And you can't reboot either - when you exit the shell in 
this mode you'll get a panic




 I know sh is linked to bash, but hope that it will not use locale.
 
 I need to umount /usr so that I can resize it (I use lvm and have
 already extended the logical volume).  Specifically i want to execute
 umount /usr
 resize2fs /dev/vg/usr
 mount /usr
 
 (I realize I will probably need an e2fsck).
 
 On my new system (baselayout-2), this was easy as /usr is not mounted
 when rebooting into single user mode.
 
 thanks,
 allan
 
 output of lsof | grep usr
 
 bash  1907 root  mem   REG  254,0  1772320 245830
 /usr/lib64/locale/locale-archive bash  1907 root  mem   REG   
   254,026050 230642 /usr/lib64/gconv/gconv-modules.cache bash 
 2125 root  mem   REG  254,0  1772320 245830
 /usr/lib64/locale/locale-archive bash  2125 root  mem   REG   
   254,026050 230642 /usr/lib64/gconv/gconv-modules.cache lsof 
 2149 root  txt   REG  254,0   131144  92097 /usr/bin/lsof
 lsof  2149 root  mem   REG  254,0  1772320 245830
 /usr/lib64/locale/locale-archive grep  2150 root  mem   REG   
   254,0  1772320 245830 /usr/lib64/locale/locale-archive grep 
 2150 root  mem   REG  254,026050 230642
 /usr/lib64/gconv/gconv-modules.cache lsof  2151 root  txt   REG   
   254,0   131144  92097 /usr/bin/lsof lsof  2151 root  mem
   REG  254,0  1772320 245830 /usr/lib64/locale/locale-archive
 
 
 output of fuser /usr/lib64/locale/locale-archive
 
   1907  2125
 
 and 1907 was /bin/bash

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] core i5

2010-07-19 Thread Stefan G. Weichinger
Am 26.06.2010 19:58, schrieb Mark Knecht:
 Yesterday afternoon I tried emerge -j5 -DuN @world on an
 i5-661 machine I also built for my dad. 

loose followup:

I consider buying a i5-661 on a DQ57TM board ---

S