Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions
Date: Fri, 02 May 2008 17:07:37
Message-Id: 200805021906.32178.dirk.heinrichs@online.de
In Reply to: [gentoo-user] Laptop dual-boot rebuild - disk partition questions by Mark Knecht
1 Am Freitag, 2. Mai 2008 schrieb Mark Knecht:
2 > My Windows Vista laptop ate the big one from M$ and died under the
3 > weight of Windows Update. The hardware seems to check out fine
4 > overnight so I'm going to finally do dual boot on this machine like I
5 > wanted to when I bought it.
6 >
7 > Data:
8 >
9 > 80GB hard drive
10 > 2GB DRAM
11 >
12 > Questions:
13 >
14 > 1) What's the recommended order to install dual boot today. I prefer
15 > to go Gentoo first, XP second. Any issues?
16
17 Dunno. All machines I ever setup as dual boot had Windows pre-installed, so I
18 can only say: There are no issues when installing Windows first.
19
20 > 2) What recommendations do folks have about splitting an 80GB drive
21 > up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP using
22 > 20-30GB at the end of the drive. Partitions? I'm considering:
23 >
24 > sda1 -> /boot = 50MB
25 > sda2 -> swap (unsure whether I should dedicate 4GB to this. That's 5%
26 > of my drive and I won't likely ever use all of 2GB or RAM.)
27 > sda3 -> /var = 2GB
28 > sda4 ==extended
29 > sda5 -> / balance of Linux side, say 55GB
30 > sda6 == Windows drive C:
31 >
32 > Any and all comments and ideas welcomed.
33
34 Here they are: I mostly keep 20G for Windows, but it could well be 10 :-)
35
36 My setup:
37 sda1 -> Windows
38 sda2 -> /boot, ext2, 32m.
39 sda3 -> /, xfs, 256m (Setting up this way frees you from using initramfs)
40 sda4 -> LVM, for everything else.
41
42 LVM Setup (one volume group having the machine name in its name, like
43 /dev/<machine-name>_vg00/<volume>, with <volume> being:
44 usr -> /usr, xfs, starting with 3G, growing on demand
45 var -> /var, xfs, 1G
46 opt -> /opt, xfs, 1G
47 johndoe -> /home/johndoe, xfs, size depends
48 overlays -> /gentoo/overlays, xfs, 1G (portage tree and overlays)
49 build -> /gentoo/build, xfs, size depends (up to 6G if you want to build OOo)
50 distfiles -> /gentoo/distfiles, xfs, 2G
51 swap -> swap, swap, 2G (optional)
52 whatever you need in addition.
53
54 You wrote this is a laptop, so if you consider encrypting the volumes
55 (incl. /) you need an initramfs anyway, which means you could also put / on a
56 logical volume (in which case the above would change to: sda3 -> LVM and
57 root -> /, xfs, 256m).
58
59 HTH...
60
61 Dirk

Attachments

File name MIME type
signature.asc application/pgp-signature