LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-26-2003, 02:20 PM   #1
jimieee
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Rep: Reputation: 15
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~
 
Old 12-26-2003, 02:32 PM   #2
jimieee
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Original Poster
Rep: Reputation: 15
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~
 
Old 12-26-2003, 05:15 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,508

Rep: Reputation: 176Reputation: 176
"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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can I move the /usr directory to another partition? walterbyrd Linux - Newbie 4 07-10-2005 07:24 PM
denied access to move files into /usr/src directory Larry O Linux - Newbie 4 01-17-2005 11:14 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 03:04 AM
How to move /usr???? billkris Linux - Hardware 5 02-02-2003 01:50 PM


All times are GMT -5. The time now is 02:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration