Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unmountying a live system

Status
Not open for further replies.

svar

Programmer
Aug 12, 2001
349
GR
After a HW problem on one disk, I copied

/dev/sda6 (=/) to /dev/sdb6 (=/tmproot)
/dev/sda7(=/var) to /dev/sdb7 (=/tmpvar)
/dev/sda8(=/home) to /dev/sdb8 (=/tmphome)
with a view to unmounting the first disk and remounting
it as the second disk.

Now all these fs s are in /etc/fstab
and all I need to do (I hope ) is to

unmount /home,/var and /
mount /tmphome, /tmpvar and /tmproot
as /home, /var and / respectively
and modify /etc/fstab appropriately
However, I cannot unmount /var from root(fs in use). How do I achieve that?

Thanks, svar


 
I haven't used Linux in a while but maybe try umount -F Mise Le Meas,

Mighty :)
 
Thanks, no the solution was to change lilo.conf
to boot from the new disk and also the new /etc/fstab accordingly...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top