LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   deleting old /usr directory after a move... (https://www.linuxquestions.org/questions/linux-general-1/deleting-old-usr-directory-after-a-move-129080/)

jimieee 12-26-2003 02:20 PM

deleting old /usr directory after a move...
 
Hi,

Recently I started to run out of space on my root partition and after a quick look I realised it was mainly because my root partition had my /usr directory on it. So off I went and made a new partition, copied my old /usr files accross, updated /etc/fstab and hooray! It worked first time :)

Now the problem is that I didn't delete my old /usr files (a - I wanted to be able to fall back to my old settings and b I wouldn't have been allowed anyway). How can I delete the old files? I was toying with the idea of using an old Suse live eval cd (one of the linux distros that boots and runs from a cd) to remove the files from the partition.

Problem is I use SCSI and the driver disk for my controller (it's a little known about tekram job) isn't available (i.e. it doesn't exist!)

Can anyone lend a suggestion?

Thanks!

~James~

jimieee 12-26-2003 02:32 PM

Wait figured it out! *duh* all I had to do was reboot with the old /usr, go into that and delete all the directories, pray there isn't a power cut at this precise moment, change the fstab back to use the new partition (.v important!!!) and reboot

Sorry to waste peoples time :)

~James~

jailbait 12-26-2003 05:15 PM

"I was toying with the idea of using an old Suse live eval cd (one of the linux distros that boots and runs from a cd) to remove the files from the partition.

Problem is I use SCSI and the driver disk for my controller (it's a little known about tekram job) isn't available (i.e. it doesn't exist!)

Can anyone lend a suggestion?"

Yes. You can use LifeBoat to create a rescue CD which is highly compatible with your system:

http://users.rcn.com/srstites/LifeBo...home.page.html
___________________________________
Steve Stites


All times are GMT -5. The time now is 07:45 PM.