LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 06:21 PM   #31
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0

I don't understand why I Firefox is unaffected in the current distressful situation. Aren't there things in the home directory, now lost, that it needs to function even marginally?
 
Old 09-28-2011, 06:21 PM   #32
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
What exactly is mounting?
What mounting does is to make something accessible. An example would be if you have a Linux operating system on sda1 and you install another operating system on sda5, you can mount sda5 from the original system (sda1) and if done properly, you will be able to access, read, write, copy, delete or whatever files/directories on sda5. It doesn't have to be another operating system on sda5. It can be just a data partition or it can be a flash drive or an external hard drive. Accessibility is the word.

Before you can mount anything, you need a mount point. In my above example, you would first need to create a mount point (directory) usually in the /mnt directory for sda5 and the simplest and least confusing thing to name it is, sda5 but it is not necessary.

I didn't read over your entire thread but before you start deleting things in the /mnt directory, it might be a good idea to post what you have there so someone can give you advice.

ls -l /mnt
 
Old 09-28-2011, 06:31 PM   #33
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Quote:
before you start deleting things in the /mnt directory, it might be a good idea to post what you have there so someone can give you advice.
I certainly see your point.

Here is the output from your code:

[user@localhost home]$ ls -l /mnt
total 64
drwxr-xr-x 2 root root 4096 2008-03-19 15:45 cdrom
drwxr-xr-x 2 root root 4096 2008-03-28 08:26 cdrom1
drwxr-xr-x 2 root root 4096 2008-03-28 08:26 cdrom2
drwxr-xr-x 2 root root 4096 2008-03-28 08:26 disk
drwxr-xr-x 2 root root 4096 2008-03-28 08:26 floppy
drwxr-xr-x 2 user user 4096 2011-09-28 18:04 home
drwxr-xr-x 2 root root 4096 2008-05-21 22:14 local
drwxr-xr-x 2 root root 4096 2008-03-28 08:26 res
drwxr-xr-x 2 root root 4096 2008-03-19 03:34 sda2
drwxr-xr-x 2 root root 4096 2008-03-19 03:34 sda5
drwxr-xr-x 2 root root 4096 2008-03-19 03:34 sda6
drwxr-xr-x 2 root root 4096 2008-03-24 15:00 sda7
drwxr-xr-x 3 root root 4096 2008-03-26 15:07 sda9
drwxr-xr-x 2 root root 4096 2008-03-20 17:34 sdb1
drwxr-xr-x 2 root root 4096 2008-04-17 00:24 usb
drwxr-xr-x 2 root root 4096 2008-03-28 08:26 windows
[user@localhost home]$

Before I deleted it, home was 3 GB.
 
Old 09-28-2011, 06:43 PM   #34
snooly
Member
 
Registered: Sep 2011
Posts: 124

Rep: Reputation: Disabled
Try the command "mount" by itself. It will list all the mounted thingies on your system.

In a unix-type system, all the filesystems are connected together into a tree. This is a computer science term for things that are connected together from a root point, and there are sub-trees from each part of the tree.

So for example, the root directory is called "/", and it is considered to be a tree. Subdirectories are also trees. You might have a home directory which is at /home/glenellynboy. You can see that / is the root, then /home is where the home directories are often kept, and /home/glenellynboy is maybe your personal home directory. These are connected together by the named directories such as "home" and "glenellynboy", and the ".." directories. That's why it's called a tree.

The relationship to telescopes is like this. You might have a tripod which has a place to connect a telescope. This special place might be called a "telescope mount point". If there is no telescope mounted, the mount point will be empty. Once you connect a telescope to the mount point, then there will be a telescope on the mount point. Clearly if you try to use a tripod which has no telescope mounted on it for looking at the moon, you won't get the results you want.

Similarly, if you think you have mounted a filesystem (such as a backup drive) to a mount point, you might try to copy some files to the backup drive. But if the backup drive isn't mounted, you won't get the results you want.

To check what is mounted, you can use the "mount" command. If you try to mount a backup drive to /mnt/backup for example, you can change directory to /mnt/backup and make sure it worked:

cd /mnt/backup
df .

If there is no backup drive mounted there, the df command will tell you that the "filesystem" is your root file system (eg: /dev/sda3), and the "mounted on" will say "/".

Once you have mounted your backup drive, the "filesystem" will change to indicate that your backup drive is there, so for example, it might say /dev/sdb7. And "mounted on" will change to "/mnt/backup".

If you do "cd" to your mounted backup drive, you can't unmount it until you "cd" to somewhere that is not on that filesystem. So you would need to "cd", "cd ~", "cd $HOME", or "cd /home/glenellynboy", which all might do pretty much the same thing, depending on your system setup.

Last edited by snooly; 09-28-2011 at 06:46 PM.
 
1 members found this post helpful.
Old 09-28-2011, 07:04 PM   #35
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
So then anytime I create a mounting it is never assigned only to the device and its location, but always includes designation of a place in the tree to which the device is mounted. And so the analogy to a telescope is plain--a telescope that works includes a tripod, a mounting, and a telescope, not just a tripod or a telescope, plus a mounting.

If I am getting this right, then once a device is mounted it can only take commands that incorporate the place in the tree to which it is associated by the mounting, as well as the device itself--rather than leaving to subsequent commands to specify a place in the tree which will be involved with the device.
 
Old 09-28-2011, 07:10 PM   #36
snooly
Member
 
Registered: Sep 2011
Posts: 124

Rep: Reputation: Disabled
I think you're getting there. Look at your /etc/fstab file, which is where devices are mapped to mount points. The most important parts of /etc/fstab are the first four columns, "filesystem, mount point, type, options". You should be able to look at /etc/fstab and get some idea of how your system is laid out on the disks, such as where your root directory is mounted, where /home is, where backup drives might go, where the dvd drive is, that sort of thing.

The idea of connecting things into a tree makes the system easier to use. Compare to the DOS approach, where you put in a floppy disk, it might end up being called d:, e:, f: or anything really, depending on system setup. That makes it hard to use the system, because you don't know where things will end up being.

Using the unix approach, with mount and fstab, you can say exactly where something will be in your filesystem tree, so you can plan ahead much better.
 
Old 09-28-2011, 07:20 PM   #37
snooly
Member
 
Registered: Sep 2011
Posts: 124

Rep: Reputation: Disabled
Also you should probably try the "mount" command by itself, and post the output to this thread. I don't think that your real home directory would be mounted on /mnt/home. But it could be, it would be possible to set up a system like that.
 
Old 09-29-2011, 03:56 PM   #38
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 the output of mount:

[user@localhost ~]$ mount
/dev/sda1 on / type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /sys type sysfs (rw)
none on /mnt/home type aufs (rw,si=d6e32a80,xino=/home/user/.aufs.xino,create=mfs,dirs=/home/user=rw)
[user@localhost ~]$
 
Old 09-29-2011, 04:49 PM   #39
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I have lost the directories, Documents, Videos, Pictures, and Downloads. I saved a couple documents and they went straight into my home directory. Same with a download of UNetBootin. How do I run unetbootin now? I did it in root, with sudo, before, but what path should I use? The title bar of the file is "home" but the address window says "my disk".

Last edited by glenellynboy; 09-29-2011 at 05:01 PM.
 
Old 09-29-2011, 05:20 PM   #40
snooly
Member
 
Registered: Sep 2011
Posts: 124

Rep: Reputation: Disabled
Are you following the instructions?

http://sourceforge.net/apps/trac/unetbootin/wiki/guide
 
Old 09-29-2011, 05:58 PM   #41
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
What happens, from your mount output is that your linpus installation was made as an aufs disk image in your /home directory (/home/user/.aufs) and the disk image gets mounted in /mnt/home. When you deleted the contents of /mnt you also deleted /mnt/home.
 
Old 09-30-2011, 12:40 PM   #42
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I was given by TobiSGD the code:

mkfs -t vfat -F 32 /dev/sdXY

to format my flash drive as FAT. Do I need to add sudo at the beginning?
 
Old 09-30-2011, 12:49 PM   #43
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I was given by Snooly this code to install p7zip:

sudo su -
yum update
yum install p7zip

After "yum update" at the end it produced:

Transaction Check Error:
file /usr/share/desktop-directories/Internet.directory from install of gnome-menus-2.20.1-1.fc8 conflicts with file from package xfdesktop-acer-lp-1652.mcs_patched
file /usr/share/desktop-directories/Settings.directory from install of gnome-menus-2.20.1-1.fc8 conflicts with file from package xfdesktop-acer-lp-1652.mcs_patched

Error Summary


What does this mean?
 
Old 09-30-2011, 03:51 PM   #44
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I am trying to run unetbootin in root, so that the device name comes up in its proper place. I have formatted the flash drive as FAT. I have installed "p7zip". I have tried a number of different pathnames to unetbootin. My terminal currently has a title bar of "root@localhost:~". The file unetbootin-linux-555 is located in my home directory without intervening directories.

Any suggestions?
 
Old 09-30-2011, 05:28 PM   #45
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
What about my critical applications, such as contacts and calendar, switching from linpus to mint? Will the new mint equivalents--I assume there will be some--accept the back-up files from the old linpus system?
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 AM.

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
Open Source Consulting | Domain Registration