FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-15-2011, 09:29 PM
Sushil Mantri
 
Default how do i delete my home on root partition?

Hi,

I am using a new disk for my home, but i am not able to reclaim the
space my old home has on the root partition.

Thanks,
Sushil

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-15-2011, 10:07 PM
Ric Moore
 
Default how do i delete my home on root partition?

On 12/15/2011 05:29 PM, Sushil Mantri wrote:

Hi,

I am using a new disk for my home, but i am not able to reclaim the
space my old home has on the root partition.


You could delete your present /opt directory, which should be empty,
(please check first!) then rename the old /home directory to /opt


It's a useful place to put pet projects, tar and run files, especially
if it has it's own partition. That's where I store pictures, music and
video files. Then I create links, (Music, Videos, Documents)on my
home/username directory to there. Then if you need a clean install or
recover from a crash, just recreate the links and you're done. I always
keep a copy of xorg.conf there too.


My two cents, Ric


--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-15-2011, 11:01 PM
NoOp
 
Default how do i delete my home on root partition?

On 12/15/2011 03:07 PM, Ric Moore wrote:
> On 12/15/2011 05:29 PM, Sushil Mantri wrote:
>> Hi,
>>
>> I am using a new disk for my home, but i am not able to reclaim the
>> space my old home has on the root partition.
>
> You could delete your present /opt directory, which should be empty,
> (please check first!) then rename the old /home directory to /opt

What have you been smoking?

$ ls /opt
Adobe
BitDefender-scanner
cycas39
epson-inkjet-printer-escpr
epson-inkjet-printer-workforce-635-nx625-series
google
ibm
JMF-2.1.1e
jmf-2_1_1e-linux-i586.bin
jmf-2_1_1e-linux-i586GG.bin
jmf-2_1_1e-linux-i586GG.bin.bak
libreoffice
libreoffice3.4
libreoffice3.5
ooo-dev
ooo-dev3
openoffice.org
openoffice.org3
vmware
zimbra
...

@ Sushil: if you are absolutely positive that you have all the data you
need, and wish to delete the old home (Warning: this will delete all
data in that directory, *so be sure* before using):

$ sudo rm -R /home/<oldhome>



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-15-2011, 11:37 PM
Basil Chupin
 
Default how do i delete my home on root partition?

On 16/12/11 09:29, Sushil Mantri wrote:

Hi,

I am using a new disk for my home, but i am not able to reclaim the
space my old home has on the root partition.

Thanks,
Sushil


Open the console/terminal, login as root (su - , password), start mc
(Midnight Commander; if you don't have it installed, install it - it is
your Swiss Knife!) find your old home directory, high light it and press
F8, confirm that you want to delete it and..... old home directory gone
and you have your space back.


But before doing this make sure that there aren't any files sitting in
your old home directory which you keep. If there are then copy (F5 in
mc) them over to the new home directory. (HINT: mc comes up with 2
panels so get into the habit of always using one of them as the source
from which you copy and the other as the destination.)


One thing to firmly keep in mind is that when you delete files (or
directories) the deleted files do NOT end up in the Wastebin but are
immediately deleted and gone for ever. So, pay attention to what comes
up on the screen when you press F8.


BC

--
Diapers and politicians should be changed often; both for the same reason.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-16-2011, 01:16 AM
Rashkae
 
Default how do i delete my home on root partition?

On 12/15/2011 05:29 PM, Sushil Mantri wrote:

Hi,

I am using a new disk for my home, but i am not able to reclaim the
space my old home has on the root partition.

Thanks,
Sushil



I'm just another random stranger on the Internets, but first thing to
say, completely ignore the previous two replies to this query. (What
are people smoking?)


The easiest way to do this will be to boot from a Live CD (the Ubuntu
Desktop install cd should work fine), use the file manager to find and
open your root partition and delete the contents of home from here.
(Don't delete the home folder itself, you still need the /home on the
root partition as a mount point.)



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org