LinuxQuestions.org
Visit Jeremy's Blog.
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 09-28-2011, 09:47 AM   #16
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0

I issued these commands:

cd /
du -s * | sort -n

and got a long list of "permission denied" I believe it was, and finally some sorted directories, the bulk of which was this:

0 sys
4 backup
4 misc
4 net
4 RPM
4 srv
20 selinux
40 initrd
60 dev
136 media
312 root
4952 tmp
5268 bin
6348 boot
8464 sbin
26396 etc
29820 lib
40516 var
178352 opt
2250656 usr
3041548 home
3043392 mnt
[user@localhost /]$


I am wondering if the 3.04 GB listing called mnt is the one. Could mnt stand for mint? 3 GB is large, though. I would think it would be the size of the Downloaded Mint, 700 MB. Or does unetbootin make it larger? Also, I don't know where mnt is. It seems not to be within the home directory. How can I investigate this directory further to be sure it's the one that needs to be deleted?
 
Old 09-28-2011, 10:19 AM   #17
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,989

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
I am wondering if the 3.04 GB listing called mnt is the one. Could mnt stand for mint?
No. The mnt directory is usually where different partitions/filesystems are mounted. In most Linux distributions if you insert/attach a USB or flash drive, it will show up either in /mnt or /media. To see what files/directories are actually there, open a terminal and type: ls /mnt. If you have somehow copied Mint files/directories there accidentally, they should show.

Using unetbooting, when you open it you should see Diskimage with a radio button to the left of it in the lower part of your screen. Have that radio button checked. To the right of Diskimage is a drop down box which should have ISO in it. Leave it. To the right of this is an empty box and to the right of that is a tab with several dots. Click the tab with the dots and a new window opens and you can navigate to the Downloads file where you say your Mint iso is. In the extreme lower left should be the word Type with a drop down box to its right. You should have USB in that box. When you have done that, click OK and it should run for 10-15 minutes depending upon your computer hardware.
 
Old 09-28-2011, 12:19 PM   #18
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I'm thinking that when I install mint it will delete everything presently on the hard drive so this renegade file will delete. So long as I have enough capacity for the rest of the process this should be ok, right? There's about 500 MB available.
 
Old 09-28-2011, 12:33 PM   #19
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
The same thing happened before once--copying into the hard drive instead of the stick. Then I was directed to use a remove command--rm. It worked, and I think it used only the name of the file.
 
Old 09-28-2011, 12:42 PM   #20
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
My network connection is fickle and I have to reset it from time to time. I needed to do it during update of yum and it ended the process. Can I repeat "yum update" and expect updating to restart where it left off?
 
Old 09-28-2011, 12:52 PM   #21
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Here is that code that removed the renegade files:

sudo rm -rfv /media/Lexar

The device brand name, Lexar, would be replaced by SanDisk.

Is it safe to try this? Do you think it will work again?

Last edited by glenellynboy; 09-28-2011 at 01:35 PM.
 
Old 09-28-2011, 01:42 PM   #22
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Quote:
Originally Posted by glenellynboy View Post
Here is that code that removed the renegade files:

sudo rm -rfv /media/Lexar

The device brand name, Lexar, would be replaced by SanDisk.

Is it safe to try this?
Yes, as long as you have not put in a drive with that name and you have not any important files in that directory.

Quote:
Do you think it will work again?
No, since you have big files in /mnt and not in /media it won't help.
To see where the big files are in /mnt have a look at that directory:
Code:
ls -lh /mnt
It will show you where the space is used. Then, if you are sure that you have found the directory, use the command with that path. So for example, if the directory that has all the unwanted files in it is /mnt/disk do:
Code:
sudo rm -rvf /mnt/disk/*
 
Old 09-28-2011, 03:47 PM   #23
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Quote:
Do you think it will work again?
No, since you have big files in /mnt and not in /media it won't help.
But it did work before. From what I hear you saying it should not have worked. Since it did work I was thinking that wherever it had been stored it must have given it the name /media/Lexar, even though it wasn't located on the media device. And since I had removed the stick there was no possibility of ambiguity.
 
Old 09-28-2011, 04:00 PM   #24
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
According to the output you gave before, the space on your disk is occupied in /mnt, not in /media. So deleting anything in /media will not solve that problem. If it worked before then before the space was occupied in /media, now it is occupied in /mnt, so simply adapt the command.
 
Old 09-28-2011, 04:11 PM   #25
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Quote:
now it is occupied in /mnt, so simply adapt the command.
But there is a lot of other stuff in /mnt and I'm assuming it was there before and needs to stay there. In identifying which of the stuff is the renegade file or directory I need to see either the names of files that I got on the stick, such as syslinux.cfg, or a file size matching the full download of 726 MB. (When they cite sizes in bytes the numbers are a little bigger than when they cite them in megabytes. I'm not sure what the reason for this is.)
 
Old 09-28-2011, 04:17 PM   #26
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Use
Code:
du -sh /mnt/*
to see the amount of space each directory uses, then go further from there.
 
Old 09-28-2011, 04:48 PM   #27
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I found that the entire contents of home was duplicated in mnt and deleted it. I thought it would solve my problem but now I need to restore home with my backup on a flashdrive. It's fairly up to date.

home was in two places. I thought that was unnecessary but now I'm not sure. Anyway, it's a new situation and I'll need some assistance in restoring my home files via backup drive.

But now I've lost unetbootin and the downloaded mint 11 lxde.

I still don't understand why home was in two places all of a sudden nor do I understand why removing the one in mnt also removed it from user.

I'm still not clear on just how had this is. Could be pretty bad.
 
Old 09-28-2011, 04:58 PM   #28
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
I would think the easiest solution for your problem is to ask a friend with a Windows computer if you can use unetbootin on his machine to setup the USB drive with Mint and then do the install on your netbook.
After that you will have a real and up to date distro that will work as intended.
 
1 members found this post helpful.
Old 09-28-2011, 06:44 PM   #29
snooly
Member
 
Registered: Sep 2011
Posts: 124

Rep: Reputation: Disabled
/mnt is the directory where you can mount things. In general, if nothing is mounted there, it should be fairly empty. It might have a few directories for mount points. Like for example, maybe you mount a windows partition on /mnt/windows. But it won't have 3GB of files sitting in there.

What probably happened is that you thought you had mounted something on /mnt or a sub-directory of /mnt. Then you copied a bunch of files to /mnt/something. But in reality, nothing was mounted there. So the files all ended up in the / (root) partition instead. If there was something mounted there, like a flash drive for example, the files would have been copied to the flash drive, not to your main root directory.
 
Old 09-28-2011, 07:08 PM   #30
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
What exactly is mounting? I see that it can relate to a USB flash drive, but I don't see the analogy to its use to describe a physical platform, such as a telescope mount. Does it just mean an association of some kind?
 
  


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
Unetbootin Failing to create bootable drive TheDerf Linux - Software 4 09-24-2010 05:29 PM
Creating bootable CDROM from a bootable USB drive seaquesttr Linux - Desktop 2 08-01-2010 12:57 PM
Which Flash drive works best when creating bootable linux images? dv502 Linux - Hardware 5 07-30-2010 04:47 PM
using flash drive/portable hard drive on BOTH Linux and Windows yankeegirl Linux - Hardware 2 10-07-2009 09:22 AM
Removed bad hard drive from computer, now flash drive won't mount. checkmate3001 Linux - Hardware 6 08-15-2008 01:03 AM


All times are GMT -5. The time now is 07:07 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