Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
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.
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.
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.