LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 01-04-2012, 11:19 PM   #1
euro007
LQ Newbie
 
Registered: Dec 2011
Posts: 7

Rep: Reputation: Disabled
Confusion about partition system in linux


Hi Everyone !
I have a HD of 20GB
I have created
100 Mb (boot)
1024 Mb (Swap)
&
10 Gb (/)
Now I want to create other partitions like (D & E in Windows).
Where my D & E like partition will create ???

Regards,
Tipu Pasha

Last edited by euro007; 01-04-2012 at 11:21 PM.
 
Old 01-05-2012, 12:21 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

Linux is very different from Windows in various things. The way Linux handles disks and file systems is one of those differences. It's very important to know how this all works when you start out with Linux so have a look at this article, it describes it pretty well in easy to understand terms.

Kind regards,

Eric
 
Old 01-05-2012, 12:42 AM   #3
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Squeeze
Posts: 585

Rep: Reputation: 118Reputation: 118
Have you already created the additional partitions? If so, did you also format them and what filesystem(s) did you place on them?

In Linux, any partitions except those that host the system, must be mounted manually, or if you want to do it at boot, the partitions must be listed in /etc/fstab.

To manually mount a partition, enter the following command in a terminal window:

Code:
mount -t fstype something somewhere
where fstype is the filesystem type on the device
something is the device containing the filesystem to mount, eg: For HD: /dev/sda1, /dev/sda2 etc, CDROM/ /dev/sr0 etc.
somewhere is the directory where you it mounted to. This must already exist.

If you need to do this one step at a time, please post the output from the following commands:

Depending your distro:
Code:
sudo blkid
or
Code:
su -c blkid
And the contents of you /etc/fstab file:
Code:
cat /etc/fstab
 
Old 01-05-2012, 05:15 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,901

Rep: Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775
Quote:
Originally Posted by euro007 View Post
Now I want to create other partitions like (D & E in Windows).
Where my D & E like partition will create ???
I really don't understand what that means at all, so whatever I write will have to ignore that:

Quote:
Originally Posted by euro007 View Post
I have a HD of 20GB
I have created
100 Mb (boot)
1024 Mb (Swap)
&
10 Gb (/)
Depends a bit on what you intend to do with the system; if you intend to have lots of (big) media files, then you would want more room for those, if you want to install lots of software that would point you in another direction.

The easiest way forward from where you are now would be to allocate the rest of the room on your hard disk for a home directory (where the personal files for all users are stored). If you want to install lots of software, you'd probably argue that this division of space gave a little too much to /home, and that you'd have been better if the 10 G '/' partition had been, say, 12 G.

To avoid this problem of having to 'pre-decide' how to split this space, then using a single partition for '/' (no separate /home partition) would have been better, but the separate '/home' partition does have other advantages when it comes to upgrade time.

With today's technology and today's expectations of what a computer can do, your 20G drive is on the slightly small side; do-able, but you may have to compromise in ways that you might not have to consider with a larger hard drive (or a second drive, of course...that size sounds like a PATA hard drive, and PATA hard drives ought to be available, secondhand, for very little money, these days).
 
Old 01-05-2012, 12:23 PM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,067

Rep: Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788Reputation: 788
With only 20GB you don't want to waste any space!

You don't need more than 10GB for the root partition. I've got that on this computer, but with quite a few programs installed, I'm only using 4.3BG. Ultimate Edition Linux installs 4 browsers and 6 video players (don't ask why) but only asks for 8GB.

It's a very good idea to have a /home partition, so that you can re-install Linux without affecting your personal files.

You need to set up partitions when you install (it can be a bit messy doing it later). So
/dev/sda1 used for /boot
/dev/sda2 used for /
/dev/sda3 used for /home
/dev/sda4 used for swap
 
  


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
[SOLVED] Confusion Between Samba and Swap Partition hitmen Linux - Newbie 7 09-24-2011 06:48 AM
Confusion about the partition and its space zaeem Linux - Newbie 7 06-08-2011 07:48 AM
tricky backup of Linux system to NTFS partition to increase partition size Pandarsson Linux - General 5 07-09-2008 02:35 PM
Partition Encryption - Errors and Confusion? orbit Slackware 3 06-05-2008 11:21 PM
Partition Confusion Controlpanel Linux - Newbie 3 09-11-2007 08:01 PM


All times are GMT -5. The time now is 09:18 AM.

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