Re: Problems with mounting /usr/share

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel B. Thurman wrote:
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?
mount /dev/sdb1 on /usr/share after /usr is mounted. Stuff the symlink.

You shouldn't need to use the rescue disk for this. You might need to do selinux stuff, it's outside my experience.




--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux