| View previous topic :: View next topic |
| Author |
Message |
lowbatt Tux's lil' helper


Joined: 13 Jul 2002 Posts: 83
|
Posted: Mon Jul 15, 2002 7:04 am Post subject: how to change a mount location after boot. Safely! |
|
|
Ok so im a tard and mounted my /home and /var to the same HD partition and didnt notice till i just ran out of space
I need to point my /hom to the 18 gig part i made for it and can i jsut copy the old /home to the new one in some way? or am i forced to start over and reinstall? or will it even hurt much of anything? _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Mon Jul 15, 2002 7:06 am Post subject: |
|
|
You should be able to unmount them and then edit the /etc/fstab file, then remount them.
Your data should be on one of them. After they are properly mounted, I'd think you could
migrate the data to the appropriate location. _________________ lolgov. 'cause where we're going, you don't have civil liberties.
In Loving Memory
1787 - 2008 |
|
| Back to top |
|
 |
Pavan n00b

Joined: 28 Jun 2002 Posts: 25 Location: India
|
Posted: Mon Jul 15, 2002 7:09 am Post subject: |
|
|
It would be easier to just change /etc/fstab & then reboot. Because unmounting /var may cause troubles.
Next reboot - home should be mounted correctly. Now just copy/move all the files & everything should be ok.
Don't forget to use the -a option of cp. |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Mon Jul 15, 2002 7:10 am Post subject: |
|
|
| Pavan wrote: | | Because unmounting /var may cause troubles. | I was wondering about that. I've been trying to do things without rebooting since it is usually not required. _________________ lolgov. 'cause where we're going, you don't have civil liberties.
In Loving Memory
1787 - 2008 |
|
| Back to top |
|
 |
lowbatt Tux's lil' helper


Joined: 13 Jul 2002 Posts: 83
|
Posted: Mon Jul 15, 2002 7:13 am Post subject: |
|
|
well i dont need to unmount /var just home var is set right. home just contains the folders that match the uder names and thats all right? _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Mon Jul 15, 2002 7:17 am Post subject: |
|
|
| lowbatt wrote: | well i dont need to unmount /var just home var is set right. home just contains the folders that match the uder names and thats all right? | Usually, yes. _________________ lolgov. 'cause where we're going, you don't have civil liberties.
In Loving Memory
1787 - 2008 |
|
| Back to top |
|
 |
lowbatt Tux's lil' helper


Joined: 13 Jul 2002 Posts: 83
|
Posted: Mon Jul 15, 2002 7:20 am Post subject: |
|
|
one last thing. I got ahead of my self and deleted my only users folder before i made sure everything was coppied and when I start KDE it keeps popping up .DCOP.... error says it can't find it and sure its not install any where to get that folder i deleted back?> _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Mon Jul 15, 2002 7:29 am Post subject: |
|
|
I'd just delete the user and create it over. _________________ lolgov. 'cause where we're going, you don't have civil liberties.
In Loving Memory
1787 - 2008 |
|
| Back to top |
|
 |
Pavan n00b

Joined: 28 Jun 2002 Posts: 25 Location: India
|
Posted: Mon Jul 15, 2002 8:03 am Post subject: |
|
|
| lowbatt wrote: | | KDE it keeps popping up .DCOP.... error says it can't find it and sure its not install any where to get that folder i deleted back?> |
Just check the home directory's hidden files. Delete any bad links or just delete .DCOP*
HTH,
Pavan |
|
| Back to top |
|
 |
lowbatt Tux's lil' helper


Joined: 13 Jul 2002 Posts: 83
|
Posted: Mon Jul 15, 2002 8:20 am Post subject: |
|
|
I got it all fixed. thanks everyone for the quick reply's _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
| Back to top |
|
 |
|