LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-20-2012, 03:23 AM   #1
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Rep: Reputation: Disabled
Ubuntu partition's


Hi,

I installed Ubuntu on my pc which is having 1TB HDD,
I created /,/home,/boot,swap,/opt, and /var partitions.
After completing of installation i checked with df -h command it gives output like this

/dev/sda1 184G 3.3G 171G 2% /
none 1.7G 268K 1.7G 1% /dev
none 1.7G 4.7M 1.7G 1% /dev/shm
none 1.7G 1.8M 1.7G 1% /var/run
none 1.7G 0 1.7G 0% /var/lock
none 1.7G 0 1.7G 0% /lib/init/rw[/B]
/dev/sda5 4.6G 198M 4.2G 5% /boot
/dev/sda6 161G 191M 153G 1% /home
/dev/sda8 92G 436M 87G 1% /opt
/dev/sda7 276G 21G 241G 8% /var

what's this none partitions and why these partitions created automatically, what data store here,
if we create partitions manually is these partitions are compulsary.
In linux we cant create only 2 or 3 partitions (like in windows C, and D) ?

Thanks
suresh
 
Old 04-20-2012, 03:30 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you can create only a couple of partitions, you only need / and /boot really, and if you're using LVM, you can make two partitions, one tiny one for /boot and then an LVM partition to contain all the other filesystems. The point is that it's better to use multiple filesystems in a well built system for all sorts of reasons.

the "none" ones are virtual filesystems where hardware devices and kernel hooks are mapped to filesystems. They do not exist on your disk at all.

and can I suggest you take time to ask yourself "What the F&*% is C:?? What?? and D:? That's rubbish!". The more you see UNIX filesystems, the more painful and arbitrary you're likely to think windows bizarre unquestioned and highly inflexible conventions really are.
 
Old 04-20-2012, 03:40 AM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
You actually only need / and SWAP. It is advisable to have /, SWAP, and /home.

I do all of mine with a 10GB /, 2 GB SWAP, and the rest as /home.
 
Old 04-20-2012, 03:46 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
k3lt01, I would suggest that that is a pretty poor layout if these are long term server installations. I'm only basing that on the word "all" though... and you don't actually *need* swap at all...
 
Old 04-20-2012, 05:25 AM   #5
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
@ acid_kewpie, this is posted in Linux newbie, the OP as far as I can see hasn't mentioned a server.

I'm not going to get into a picky discussion about this when all I was trying to do is help. Have a good day.
 
Old 04-20-2012, 06:59 AM   #6
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
you can create only a couple of partitions, you only need / and /boot really, and if you're using LVM, you can make two partitions, one tiny one for /boot and then an LVM partition to contain all the other filesystems. The point is that it's better to use multiple filesystems in a well built system for all sorts of reasons.

the "none" ones are virtual filesystems where hardware devices and kernel hooks are mapped to filesystems. They do not exist on your disk at all.

and can I suggest you take time to ask yourself "What the F&*% is C:?? What?? and D:? That's rubbish!". The more you see UNIX filesystems, the more painful and arbitrary you're likely to think windows bizarre unquestioned and highly inflexible conventions really are.
hey uuuu
what that language ur using........
R u dont understand what i mentioned,
Is that's the way u will give replay, if you dont understand post the replay but this is not fair.

Last edited by suresh.k; 04-20-2012 at 07:02 AM.
 
Old 04-20-2012, 02:45 PM   #7
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by suresh.k View Post
hey uuuu
what that language ur using........
R u dont understand what i mentioned,
Is that's the way u will give replay, if you dont understand post the replay but this is not fair.
To be fair to acid_kewpie he is using understandable English, which is very different to what you typed up. Please try your best in technical forums to use correct literary English instead of resorting to txt spk.
 
  


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
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 04:54 AM
Missing Ubuntu partition folder, cant load ubuntu bluewind Linux - Laptop and Netbook 7 03-14-2010 08:13 PM
Ubuntu 9.x install corrupted NTFS partition; repair corrupted TrueCrypt partition halfer Linux - General 1 06-30-2009 03:59 PM
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 07:11 PM


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