LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2004, 04:49 PM   #1
fremath
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
lost files


Hi,

I copied an installation of Libranet 2.8.1 to my other pc, using Acronis deluxe. I set it up with smbfs, so I can access files on my windows pc across the network. Because my 'other' pc is a laptop, has a pcmcia cd rom only which I am not sure how to mount, and for laziness 'coz I don't want to have to swap cds in and out, I wanted to copy the .deb files over to the Libranet hard drive. Then I would set up apt to look for programs at the given location on the hard drive.

So I copied the .deb files from my cd to the windows pc. I mounted a windows partition (with plenty of room) on the libranet machine. Then with midnight commander, I attempted to copy all the .debs over to the libranet machine's windows partition. Everything seemed to be going according to plan, until the copying stopped because mc complained of lack of disk space.

I discovered that I'd made some mistake, and that the files appeared to have been copied to the linux partition, and not to the windows partition as planned.

I hastily learnt a bit about searching with find, and tried to find the .deb files so I could locate them on the linux partition and delete them, because they had filled it up to capacity . (I've since increased the size of the partition with Partition Magic so at least I can boot up.) But I can't find the space hogging deb files on the Linux partition. I also tried du on all the top directories to see if I could find a directory which was suspiciously large, which would be hiding these deb files, but no joy.

I was hoping to end up with a nice, tight, streamlined set up of Libranet 2.8.1, so it really bugs me that I now have 350mb of the partition wasted and taken up by missing files which I can't find and delete.

Can anybody give me any clues where I could look for these files so I can delete them?

tia,

Jonathan
 
Old 10-04-2004, 04:56 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
find / -name *.deb 2>/dev/null
Will take some time, but you'll get a list of all *.deb files in your system. 2>/dev/null means all error (permissions especially) are hidden.
 
Old 10-04-2004, 06:02 PM   #3
fremath
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the suggestion. But I only see the few deb files that i would be expecting to see anyway, viz. those previously installed from the web, and saved in /var/cache/apt/archives, and 5 or 6 more which I have saved in odd places for whatever reason.

To me it's as if the files have ended up in a non-searchable, Linux version of the recycle bin. And I would need to empty the recycle bin.

That's my windows analogy of my problem.
 
Old 10-05-2004, 05:16 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
One possibility is if you copied the files to a mount point when it was unmounted and later after mounting, you can't find the files.

For example, suppose you have a mount point at /mnt/windows which is where a windows share is mounted, but it wasn't mounted when you copied the files. Now if you mount this share, the files under that directory will not show up. So you need to unmount the directory to be able to see and delete the files.
 
Old 10-05-2004, 10:58 AM   #5
fremath
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
lost files - solution now given

Brilliant! I followed your advice, unmounted the windows partition, the .deb files appeared, and I have duly deleted them all. With satisfaction.

Previously I had (attempted to) mount the partition by hand - obviously unsuccessfully. Then I had set up fstab so the partition was mounting automatically at boot, hiding the files as you suggested.

df -h let me see that the partion is now slimmed down to the 650 mb I was expecting, for my minimal install plus one or two items to help me get going.

Thanks very much jschiwal - I was not relishing the prospect of starting from square one again, having already spent quite a lot of time configuring this installation.

Thanks also to mara for input previously.

I just wish libranet had an option to install from the hard disk, or by ftp, or nfs, as debian does. The only option is to install from (bootable) cdrom, or usb cdrom via floppy disks, neither of which is an option for my ibm tp 240. My attempts at work arounds have been somewhat challenging - for a relative beginner like me, anyway.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lost files herjoc Linux - General 6 09-29-2005 10:28 PM
Lost files gauge73 Linux - General 1 07-18-2005 04:57 PM
Lost files? ParadiseNZ Linux - Software 2 04-19-2005 11:11 PM
lost files when mv ewlnxnewB Linux - Newbie 3 11-20-2003 04:14 PM
lost files still there... acid_kewpie Linux - General 1 08-07-2001 08:54 PM


All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration