LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-21-2011, 04:19 AM   #1
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Rep: Reputation: 2
How best to partition my drive?


my hard drive is i a right state, so fairly soon i intend to back all my stuff up and repartition it completely; but i have a couple questions about this:

1) is this layout possible/ sensible?

250 gig sda-
sda1- /boot

sda2- extended with 4 partitions: Linux / partition 1
Linux / partition 2
etc up to probably 4 partitions

sda7-/home will be backed up automatically
sda8 6 gigs of swap

2) do i need boot? and if so some pointers on how to set it up?

3) erm any tips/newbie smashing/great wisdom
 
Old 05-21-2011, 05:41 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,412
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
Seems reasonable to me. I never use /boot and have no problems with that. You may need a /boot if you intend to install on a RAID or LVM, but I am not sure about that.
 
Old 05-21-2011, 05:51 AM   #3
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Original Poster
Rep: Reputation: 2
so i just need to install grub to sda's mbr?

or will it get grub from the first OS's partition?
 
Old 05-21-2011, 07:02 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,046
Blog Entries: 1

Rep: Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370
Hi,

Quote:
Originally Posted by origami-sheep View Post
my hard drive is i a right state, so fairly soon i intend to back all my stuff up and repartition it completely; but i have a couple questions about this:

1) is this layout possible/ sensible?

250 gig sda-
sda1- /boot

sda2- extended with 4 partitions: Linux / partition 1
Linux / partition 2
etc up to probably 4 partitions

sda7-/home will be backed up automatically
sda8 6 gigs of swap

2) do i need boot? and if so some pointers on how to set it up?

3) erm any tips/newbie smashing/great wisdom
I would not place '/etc' on a separate partition. You would be asking for issues/problems.
Why so much 'swap'?

The advantages of having a separate '/boot' are not what they were when we had '1024' limitations. The only exception now would be 'grub2' and ext4, LVM or XFS filesystems. I would check that though since 'grub2' is not my choice for a bootloader.

Remember that you will be allowed too have 4 primary partitions. One of which can be a extended that can contain your logical partitions. Linux File System section has several good links to help you to understand the Linux filesystem. Disk Partitioning defined, plus look at Linux Partition HOWTO to help in partitioning.
 
Old 05-21-2011, 08:48 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by origami-sheep View Post
so i just need to install grub to sda's mbr?

or will it get grub from the first OS's partition?
Install grub to the MBR.
 
Old 05-21-2011, 04:17 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 11,105

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
I just let the disto do what it wants. I don't even partition unless it asks to.
 
Old 05-22-2011, 04:30 AM   #7
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Original Poster
Rep: Reputation: 2
thanks guys: i chose to stick with ext4 and install grub to the mbr and all is working great
 
  


Reply

Tags
boot loader, home, partioning


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 11: Cannot mount partition on Seagate FreeAgent Drive's secondary partition Erik Anderson Linux - Newbie 5 06-25-2009 01:10 AM
eepc 900: sees internal drive as two different drives Want to partition as one drive. tate1615 Linux - General 8 07-24-2008 12:36 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
linux only recognizes one partition on a dual-partition thumb drive Jyneo Linux - Hardware 1 09-26-2007 03:12 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM


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