[gentoo] umount /usr - device busy
Hi.
I', currently installing my gentoo system, and I want to resize the /usr partition. It's formatted as reiserfs. After returning to single user mode, I wasn't able to "umount /usr". It says, device busy, but this is the output from fuser -v: Code:
USER PID ACCESS COMMAND |
this may sound dumb, but you arent in the /usr directory when you are trying to unmount it?
also, have you tried rebooting and then resizing the partition? |
No... you can't just not be in it, a lot of programs run from there.
It used to be that *nix didn't need usr to function, and usr was mostly glitter, but now a lot of the core programs are in usr If you really want to try it's like this.. fuser -k -m /usr You should definitely not be in X when doing this.. and make sure any program you want is compiled without dependancies to libc, and.. that you have all the library files you need. |
you have of course still got your gentoo live cd.... you can always just boot to that...
|
i have purchaced gentoo 1.2 not very experianced so how is it at installing
|
Its like going to the dentist but afterwards instead of getting a lollipop you get an ice cream sundae!
|
ha ha ha wow i never got it to work rthough i am not very good with the commands
|
www.gento.org i think!! doent really help me
|
Thank you for all the replies. :) I'm a little amazed. thanks.
Quote:
Quote:
Quote:
@8nasmith: you could install gentoo from mandrake (while your system is running). emerging all packages from the chroot. If gentoo is completely working (and enabled in your boot manager), you could choose to make gentoo your default OS. I've found the installation howto very helpfull, and the rest of the howto's too. The screen command is very useful to keep your machine compiling while you logoff.. but I have to agree.., you need to work in the console a lot, but it's a great way to learn it :) |
Yes.. supposed to
use strace to find out if the programs you need depend on libs from /usr info strace Or.. ltrace, not sure which is better for this case :P |
I've been able to solve my problem :)
"fuser -v -m" showed that /bin/login was using the /usr partition. The /bin/login program keeps running after a login, something that I didn't see with slackware before (as far as I can remember) However, the most odd problem: If I reboot the machine without /usr being mounted, /bin/login still works. I can login to a shell, the profile gets some problems because /usr/bin/whoami can't be found, etc.. but it's working. I can even mount and unmount /usr/ After some experiments I've discovered that it was possible to kill the running login process. a new agetty will be spawned, but it shares the terminal with the shell (which is also running at that time), this makes it impossible to type new input. But something like this seams to work: Code:
killall login; sleep 0.2; umount /usr; exit perhaps I should submit this problem to the gentoo developers :confused: I find this problem very weird, and I can't believe this is intentional :P |
thanks that a brill site gentoo is great got it working and running thanks loads
|
All times are GMT -5. The time now is 09:29 AM. |