You are not logged in.

#1 2011-12-03 06:57:13

lunamystry
Member
From: South Africa
Registered: 2011-04-14
Posts: 23

[SOLVED] Problems after trying to move /usr to separate partition

I didn' t know that having /usr on a separate partition is not supported. https://bbs.archlinux.org/viewtopic.php?id=130500. This https://wiki.archlinux.org/index.php/Partitioning however  (to me) suggested its possible to move /usr.

I tried doing this and I ran into trouble and I moved it back into /. This caused permission problems I think because I couldn't use sudo until I changed ownership to of /usr/bin/sudo to root and root group and also change permission to 4111. That got sudo working.

The problem I have now is that non of my terminal programs work (sakura, konsole, urxvt). I can use the tty though. I am thinking the problem might be permissions again but I have  no idea how to solve this. I would appreciate any suggestions.

--
Sent from my Nokia E63 dumbphone

Last edited by lunamystry (2011-12-03 10:09:30)

Offline

#2 2011-12-03 10:07:29

lunamystry
Member
From: South Africa
Registered: 2011-04-14
Posts: 23

Re: [SOLVED] Problems after trying to move /usr to separate partition

so by my reasoning, the permissions in the /usr directory are set by the packages when they are installed, so reinstalling each package might work and it seems it does.

 
comm -23 <(pacman -Qeq) <(pacman -Qmq) > pkglist

pacman -S $(pkglist)

I basically generate a list of packages which I installed from official repos, I then install that list of packages. This seems to have solved the launch problem.

Hope this helps someone

Offline

Board footer

Powered by FluxBB