Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions
Date: Fri, 02 May 2008 17:06:35
Message-Id: 200805021906.03331.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Laptop dual-boot rebuild - disk partition questions by Mark Knecht
1 On Friday 02 May 2008, Mark Knecht wrote:
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 All of this is mostly my own viewpoint from experience. There may be
18 other ways:
19
20
21 Other way round. Windows operating systems have a nasty habit of
22 assuming they are the only system on the machine and merrily trash
23 everything in sight for their own nefarious purposes. Then they
24 overwrite any existing bootloader. I do this:
25
26 Install XP. If you can get it to limit the partition size it uses, so
27 much the better
28 Resize windows partition downwards with Linux LiveCD. Most recent ones
29 support this.
30 Install Linux and set up a chainloader as normal in grub to boot windows
31 Finally boot Windows and let it do what it wants with the partitions
32 that need checking. This is expected behaviour caused by the downward
33 resize
34
35 > 2) What recommendations do folks have about splitting an 80GB drive
36 > up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP
37 > using 20-30GB at the end of the drive. Partitions? I'm considering:
38 >
39 > sda1 -> /boot = 50MB
40 > sda2 -> swap (unsure whether I should dedicate 4GB to this. That's 5%
41 > of my drive and I won't likely ever use all of 2GB or RAM.)
42 > sda3 -> /var = 2GB
43 > sda4 ==extended
44 > sda5 -> / balance of Linux side, say 55GB
45 > sda6 == Windows drive C:
46
47 Again, you have to take account of windows brain-deadedness and the even
48 greater braindeadedness of windows "administrators". They don't expect
49 boot partitions....
50
51 I would allocate as little as possible for windows itself. Say 10G,
52 which allows for the OS plus it's virtual memory file plus other cache
53 stuff
54
55 From sda2 onwards, lay out your partitions as for a regular Linux
56 installation. Use your own preferences for swap, lvm, filesystems etc.
57 Being able to share data between both OSes is useful, so leave the most
58 space possible for data: You have two options:
59
60 FAT32. This is gross and gives you no security. It's also the easiest as
61 both OSes support it out the box.
62 Ext3/ReiserFS: Better solution security-wise but requires some setup.
63 You have to download and install windows drivers from sourceforge.
64
65 There's a third option - use the ntfs-ng driver in Linux. It seems just
66 silly to use this for your main data storage though.
67
68
69
70 --
71 Alan McKinnon
72 alan dot mckinnon at gmail dot com
73
74 --
75 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions Sandro Hannemann <shannemann@×××××.com>
Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions Mark Knecht <markknecht@×××××.com>