LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2008, 11:10 PM   #1
nirjharoberoi
LQ Newbie
 
Registered: Nov 2007
Location: India
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 15

Rep: Reputation: 0
Question How make partitions on Linux?


Hi

I want to know how to make partitions on Linux. Like in Windows we have C: D: E: and so on.. how can we have similar partitions on Linux? I know there are basic 3 partitions i.e. Root "/", Boot "/boot", Swap "/swap". where the partitions will be created..

also can you point me to a location where I can get to know what each directory in Linux is supposed to contain, what i mean to say is what are the directories and what are the type of files they contain??

Please help me. I would also like to encrypt the partition..

Thank you.
 
Old 01-17-2008, 11:20 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"/" and "/boot" are not partitions--they are directory nodes. They can both associated with one partition--or 2 different ones. If you have a system all set up, issue the "mount" command with no arguments to see what partitions are mounted to those nodes.

There are many partitioning tools on Linux: GParted, QTParted, fdisk, cfdisk, etc.

For the filesystem, take a look at the Filesystem Hierarchy Standard. I think it is on tldp.org

I don't know what it means to encrypt a partition....
 
Old 01-17-2008, 11:25 PM   #3
smbell100
Member
 
Registered: Sep 2007
Location: Shetland, UK
Distribution: Slackware, Mandrake, LFS
Posts: 59

Rep: Reputation: 16
To answer the second part first, the Linux Filesystem Hierarchy, at http://tldp.org/LDP/Linux-Filesystem...Hierarchy.html, will tell you what should be where.

Some methods of encrypting filesystems are covered at http://tldp.org/HOWTO/Cryptoloop-HOWTO/index.html and http://tldp.org/HOWTO/Disk-Encryption-HOWTO/index.html.

Making partitions is normally covered in installation instruction for your distribution. Have a look at http://tldp.org/HOWTO/HOWTO-INDEX/os.html#OSGS and http://tldp.org/LDP/lfs/LFS-BOOK-6.1.1-HTML/index.html, especially part II.

Hope this helps
 
Old 01-18-2008, 12:30 AM   #4
smbell100
Member
 
Registered: Sep 2007
Location: Shetland, UK
Distribution: Slackware, Mandrake, LFS
Posts: 59

Rep: Reputation: 16
Also, read this document. Should have all the information you need.
 
Old 01-18-2008, 12:40 AM   #5
smbell100
Member
 
Registered: Sep 2007
Location: Shetland, UK
Distribution: Slackware, Mandrake, LFS
Posts: 59

Rep: Reputation: 16
Sorry, this document

http://www.linuxquestions.org/linux/...a_Linux_System
 
Old 01-18-2008, 01:37 AM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
learn how to use the fdisk program or the cfdisk programs in linux.
 
Old 01-18-2008, 09:26 AM   #7
nirjharoberoi
LQ Newbie
 
Registered: Nov 2007
Location: India
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you guys. It worked now I have two partitions thanks...
 
Old 01-18-2008, 09:29 AM   #8
nirjharoberoi
LQ Newbie
 
Registered: Nov 2007
Location: India
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 15

Original Poster
Rep: Reputation: 0
This material is awesome.. thank's smbell100 u a pal!!
 
  


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
How can i make NTFS partitions work on linux? maciuka Mandriva 4 04-04-2007 06:11 PM
how to make linux(centOS) use more than 1 partitions lnthai2002 Linux - General 4 02-08-2006 05:52 PM
Linux partitions make Windows 2000 very slow to boot sungki Linux - General 5 09-05-2002 05:50 PM
Vmware + Win98 (Make windows see Linux partitions) Madmanator Linux - General 2 01-25-2002 08:23 AM
Can't make partitions for linux Yuuzhan Vong General 6 06-01-2001 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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