Problems with mounting /usr/share
Daniel B. Thurman
dant at cdkkt.com
Wed Dec 19 00:00:14 UTC 2007
I am having a bit of a problem with getting a normal boot up
sequence when trying to split out /usr/share into a different
partition due to my /usr space running out of room.
Here is what I did:
/dev/sda1 = /boot
/dev/sda2 = /
/dev/sda3 = swap
/dev/sdb1 = /share (new)
/dev/sdb2 = /app1
/dev/sdb3 = /app2
1: mkdir /usr2
2: cd /usr2
3: tar-copied /usr into /usr2 (excepting /usr/share)
4: restorecon -R .
5: e2label /dev/sdb1 /share
6: updated /etc/fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/share /share ext3 defaults 1 2
LABEL=/app1 /app1 ext3 defaults 1 2
LABEL=/app2 /app2 ext3 defaults 1 2
LABEL=swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5;mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
7: reboot in rescue CD
8: mount /dev/sda2(/) /mnt
9: cd /usr
10: mv share share-old
11: ln -s ../share/share share
12: umount /mnt; reboot and remove rescue CD
When rebooted I see:
1: normal bios stuff
2: udev
3: fsck file checks
4: <do not see the gui screen showing services being loaded>
5: Immediately see the GDM greeter (Login screen)
6: Login as normal user and my services and network is disabled.
I checked /usr/share and it is correctly symlinked to /share/share
Do I have the fstab order right i.e. should I put the
/share ahead of /boot or does it matter?
Any advice?
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date: 12/17/2007 2:13 PM
More information about the fedora-list
mailing list