LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 05-21-2010, 01:08 AM   #1
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Rep: Reputation: 18
Question Advise needed on partition layout for building Linux from Scratch


Hello People,

This my first attempt to make a Linux from Scratch.

Using cfdisk I will create the following partitions:

Code:
/boot (primary) (FAT32) 100 MB

/     (Logical) (ext3)  5900 MB
/usr  (Logical) (ext3)  8000 MB  
/home (Logical) (ext3)  3000 MB
/opt  (Logical) (ext3)  5000 MB
/tmp  (Logical) (ext3)  2000 MB
/var  (Logical) (ext3)  2000 MB

/swap (Logical) (swap)  2000 MB
Total amount of hard disk space required is 30000 MB (30 G)

I need some advise and feedback regrading the partition layout.. like which partition that I need to increase to decrease its size....

Thank you.
 
Old 05-21-2010, 03:00 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

1) Why is /boot a FAT32 FS?? Why not ext3 like the rest.
2) swap size depends on your total memory (a rule of thumb: 1.5 times physical memory, although nowadays swap isn't that "strict" anymore).

The rest looks ok, although /home seems a bit small.

Is there a specific reason why you want to split things up this way?

/opt might be too big, but that depends on your decision once you start installing Xorg (see BLFS Introduction to Xorg-7.2). You can decide to use /opt, but can also use /usr.

Hope this clears things up a bit.
 
1 members found this post helpful.
Old 05-21-2010, 07:20 AM   #3
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by druuna View Post
Hi,

1) Why is /boot a FAT32 FS?? Why not ext3 like the rest.
2) swap size depends on your total memory (a rule of thumb: 1.5 times physical memory, although nowadays swap isn't that "strict" anymore).

The rest looks ok, although /home seems a bit small.

Is there a specific reason why you want to split things up this way?

/opt might be too big, but that depends on your decision once you start installing Xorg (see BLFS Introduction to Xorg-7.2). You can decide to use /opt, but can also use /usr.

Hope this clears things up a bit.
I will increase the /home to 5000 MB (5 G) and decrease /opt to 3000 MB (3 G).

I just want to learn how to layout the partition in a correct manner so that it can be fully utilize.

Thank you.
 
Old 05-21-2010, 07:22 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

You're welcome
 
  


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
Steps for Building Linux from Scratch bladez99 Linux From Scratch 4 08-10-2009 12:29 AM
building linux from scratch on the asus eee jason87x Linux - Software 1 07-05-2009 07:19 AM
[advise needed] acer laptop which linux is the best SHRIKEE Linux - Laptop and Netbook 6 12-18-2006 09:22 AM
Building a Linux Box from scratch. fenice1976 Linux - General 4 05-16-2004 05:10 AM
Building Linux from scratch linuxcam Linux - Software 9 12-19-2001 09:25 PM


All times are GMT -5. The time now is 07:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration