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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a bit confuse with this Linux partition. In Windows, if we have two partitions and when we try to open the My Computer we can see it immediately the two partitions. In Linux, when we open the Computer under the Places menu, all we can see are the CD/DVD drive, floppy drive and the FileSystem. We can't see any partitions appear in the Computer. I know that there's no drive letters in Linux.
My question is:
1. Where can I find the two partitions?
so if you have for example a IDE Harddrive attached as master on the primary IDE Channel
So in Linux "everything is a file" there are devices in our case it would be
/dev/hda
on this device we create a primary partition and an extended partition including 3 logical partitions using fdisk
then we've got for e.g.
/dev/hda1
/dev/hda5
/dev/hda6
/dev/hda7
now we need also a mountpoint on those and a filesystem as well after we created that
to list your partition you can either use a gui like gparted or fdisk or have a look in the /proc filesystem wich is kind of a virtual "live" system.
cat /proc/partitions
or
fdisk -l
So on the "/" in our setup you'll find folders like var, opt, usr and so on.
The best option for you would be to take a look at google: wiki linux filesystem
or google: wiki linux fhs
I guess some more people will replay to your thread so watch out.
I'm a bit confuse with this Linux partition. In Windows, if we have two partitions and when we try to open the My Computer we can see it immediately the two partitions. In Linux, when we open the Computer under the Places menu, all we can see are the CD/DVD drive, floppy drive and the FileSystem. We can't see any partitions appear in the Computer. I know that there's no drive letters in Linux.
My question is:
1. Where can I find the two partitions?
Thanks and God bless.
Welcome to LQ!!
I suggest that you not try to make exact comparisons between Linux and Windows. Not every version of Linux has a folder called "My Computer". Further, Linux may not automatically mount every partition that it finds. (Again, it depends on the distribution).
That fastest way to see what is happening is in a terminal:
enter "su" to get root powers
"fdisk -l" to see all the available partitions
"mount" to see what is mounted
cd /mnt; ls
OR
cd /media; ls
To see what mount points might be already set up
One aspect of the "everything is a file" idea is that the locations of partitions are fluid and basically transparent to the directory structure. You can have everything on a single partition, or every one of the main subfolders on a different partition, and the file tree would look exactly the same to the system and its users. Indeed, the drives don't even have to be in the same computer; networked drives can be mounted in the same way as physically-connected ones.
And you can move a partition around on the tree as easily as running a new mount command. Of course this can have ramifications if there are important system files on that partition, but if, for example, I have a dedicated drive full of mp3 files on /mnt/multimedia, and I don't like it there, I can move it to /mnt/sharedmp3s instead. Or /media/music, or /home/david/my_music_drive, or nowhere (making the files inaccessible) or even to all of them at once (using the "bind" mount option). The flexibility is mind-boggling compared to the fixed "drive letter" structure of a Windows system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.