1 |
On Fri, 10 Aug 2012 10:25:51 -0400 |
2 |
Allan Gottlieb <gottlieb@×××.edu> wrote: |
3 |
|
4 |
> I am getting a new laptop from dell that will dual boot windows (in |
5 |
> case I need dell maintenance) and gentoo (real work). I have done |
6 |
> this often, but there are three new aspects this time. |
7 |
> |
8 |
> 1. ssd. |
9 |
> 2. new udev (/usr part of boot partition?) |
10 |
> 3. grub2. |
11 |
|
12 |
I have one of those. But I decided to stick with traditional DOS |
13 |
partitioning style and grub instead of GPT and grub2. |
14 |
|
15 |
> My plan 1s to have / + /usr one partition and boot from it. All else |
16 |
> (/tmp, /var, /home, /opt) would be lvm2. dracut would not be used. |
17 |
|
18 |
That's OK. Lately I put /usr on / anyway, I figure 1980 was 32 years |
19 |
ago and I don't *actually* need ultra-minimal rescue systems anymore. I |
20 |
keep /opt on / too for the same reasons, and that the stuff I use |
21 |
in /opt never changes. |
22 |
|
23 |
> |
24 |
> The laptop will have a 256GB ssd. Can I partition it the same as I |
25 |
> would have for an hd? Are there extra alignment considerations? |
26 |
|
27 |
I don't know of any special partition considerations. Just start at |
28 |
the 1M mark and align on 4096 like you would for spinning disks. |
29 |
|
30 |
What you will need is TRIM support and for that you use ext4. Just add |
31 |
"discard" to the mount options for the ext4 volumes. |
32 |
|
33 |
You also don't need an IO scheduler - ssd access is random like |
34 |
RAM, no heads moving in and out so no sector ordering to worry about. |
35 |
Configure the scheduler as NOOP in kernel config if all drives are ssd's |
36 |
|
37 |
|
38 |
|
39 |
> The gentoo-wiki page for grub2 mentions an "official article" for |
40 |
> grub2 (dev.gentoo.org/~scarabeus/grub-2-guide.xml) that |
41 |
> describes both mbr- and efi-based systems. Using efi and gpt have |
42 |
> advantages but the configuration described involves an efi partition |
43 |
> /boot having a FAT format. I was hoping to avoid dracut and have all |
44 |
> of / + /usr on the boot partition. Does this mean I should use the |
45 |
> mbr-based installation? |
46 |
|
47 |
Unless I'm mistaken, Windows still does not boot from GPT disks (maybe |
48 |
8 is different). If that is indeed the case, then you do need to stik |
49 |
with mbr for now. |
50 |
|
51 |
Check what Google finds about your chosen Windows version's boot needs. |
52 |
That will tell you what you need to od. |
53 |
|
54 |
|
55 |
-- |
56 |
Alan McKinnon |
57 |
alan.mckinnon@×××××.com |