Tuesday, February 12, 2013

Mounting Home

I have installed Ubuntu 1010 and i have created partion" / " swap only is that possible to to mount /home or /opt

suggest me


Actually i want mount separately /home /opt /usr /etc. now the situation while i installing time i have just create " /" & swap part ion due to that /home /opt / usr are in / partion

so is there is any way to mount it separately as /home /opt


i dont want reinstall coz i have some data

kindly suggest me


Reply from Group Members

Yes you can be mount all direcorty in seprate.

just create new partition and mount.
for example:-

#mount /dev/sdx /home
after check df -kh

showing ur partition is mounted its temporary mounted if u want to permenent
mounting then go to fstab file put the entry in this way
/dev/sdx   /home  ext3    defaults   0 0

after u added entry in fstab file give this cmd for update for kernel

# mount -a

 

No comments:

Post a Comment