Hi guys
While installing OpenSUse i created a seperate drive for my personal files. Instead of mounting it to /home i mounted it to /usr/…please tell me how to mount it back to /home user so that it has my files only.
Thank You
Please post the result of this from a terminal
cat /etc/fstab
Here is an example of how
https://www.youtube.com/watch?v=7ds_njZ5I6s)
linux-q0xx:/home/muhammad/winpartition/Docs…PDF n all # cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD5000BEVT-22A0RT0_WD-WXF1A50H6024-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD5000BEVT-22A0RT0_WD-WXF1A50H6024-part6 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD5000BEVT-22A0RT0_WD-WXF1A50H6024-part7 /usr ext4 acl,user_xattr 1 2
/dev/disk/by-id/ata-WDC_WD5000BEVT-22A0RT0_WD-WXF1A50H6024-part2 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-WDC_WD5000BEVT-22A0RT0_WD-WXF1A50H6024-part3 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
If you set this up while installing the system then you cannot unmount /usr without making the system unusable.
If fact if you tried to do this while running the system, it would probably not let you, or if it did, stop working immediately.
It is possible to fix it with a rescue CD and doing some copying between the partitions and editing of fstab. But you may not be up to it.
If you do not have much in your home directories, I reckon the most straightforward way is to back up your personal files, reinstall and restore your personal files.
So you did
It might be easier to re-install as a fix is kind of complicated.
/usr is a system location
The installer will have written to it.
thanx guys
I installed it a couple of days back so i dont have much in the home directory. ill reinstall the os.
thanx for the help
I see @ken_yap and I crossed paths
Sorry about that.
At some point - whatever you decide. You will probably want to remove the folder /usr from that partition if it’s for your personal files.
During the install, at custom partitioning
The mount options listed are system options
You can manually type one in
See for example this image of adding /home
http://dl.dropbox.com/u/10573557/11.2%20slideshow/pic17-adding%20home.png
Instead of using the drop down and selecting /home orwhatever…
Just put the cursor in the field and type Eg: /My_Files
You must put the /
Choose to format or NOT
If you don’t have anything in /home or /usr then reinstall is recommended.
Otherwise backup /usr, then edit /etc/fstab and change /usr on part7 to /home on part7 and reboot, then as SU or sudo mkdir /usr on / (root) on part6, copy files from /home on part7 to /usr on / (root) on part6.