From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 02A9813800E for ; Fri, 10 Aug 2012 19:24:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0929E055B; Fri, 10 Aug 2012 19:24:38 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 40560E04CB for ; Fri, 10 Aug 2012 19:23:05 +0000 (UTC) Received: by wibhm2 with SMTP id hm2so1227213wib.10 for ; Fri, 10 Aug 2012 12:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=n79kf9vAsp/bHU6tgaPyI5cdanZV5qSzNMKUJdR2wME=; b=f8bnbhi0SgBXa2/ftqpjCaUPdwHXNU9GblEDNbPx41x3R6u7ydbfuxe0QkYmq/NC3N I3nCbhkZQrFmVP6aZdbdcjj9mBPMBR1ofY0X14ezE/av51g7uTGi20ilDVsQgK9jxDCu 4ortSM3uZmWsAnCJK8rawNw9FsCsqJzF3tRL/208RIkvjVQHprCmxMoimlNKprtv2tea hIooLujOZi82ceT75vcpSGWYG3ArvE5lPG6E7hzC3kJyqn5yscgP5Sl/4cyA3MGfl0XN x/foqNZKf1thUULKTH+H4BZgi6OSOOjwZoF5Eb3oIJYyChPTaJzl/RXo3anw9JZd0uzt qZnQ== Received: by 10.180.109.129 with SMTP id hs1mr8366859wib.0.1344626585399; Fri, 10 Aug 2012 12:23:05 -0700 (PDT) Received: from khamul.example.com (196-210-183-133.dynamic.isadsl.co.za. [196.210.183.133]) by mx.google.com with ESMTPS id eu4sm158579wib.2.2012.08.10.12.23.01 (version=SSLv3 cipher=OTHER); Fri, 10 Aug 2012 12:23:03 -0700 (PDT) Date: Fri, 10 Aug 2012 21:22:13 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Cc: gottlieb@nyu.edu Subject: Re: [gentoo-user] new installation (ssd, new udev, grub2) Message-ID: <20120810212213.0ce6e810@khamul.example.com> In-Reply-To: References: Organization: Internet Solutions X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.11; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 23c46700-d5e4-4889-ac0d-26852bfe7aae X-Archives-Hash: 26f7e46c454c2a9ed90e8085f8c5a89d On Fri, 10 Aug 2012 10:25:51 -0400 Allan Gottlieb wrote: > I am getting a new laptop from dell that will dual boot windows (in > case I need dell maintenance) and gentoo (real work). I have done > this often, but there are three new aspects this time. > > 1. ssd. > 2. new udev (/usr part of boot partition?) > 3. grub2. I have one of those. But I decided to stick with traditional DOS partitioning style and grub instead of GPT and grub2. > My plan 1s to have / + /usr one partition and boot from it. All else > (/tmp, /var, /home, /opt) would be lvm2. dracut would not be used. That's OK. Lately I put /usr on / anyway, I figure 1980 was 32 years ago and I don't *actually* need ultra-minimal rescue systems anymore. I keep /opt on / too for the same reasons, and that the stuff I use in /opt never changes. > > The laptop will have a 256GB ssd. Can I partition it the same as I > would have for an hd? Are there extra alignment considerations? I don't know of any special partition considerations. Just start at the 1M mark and align on 4096 like you would for spinning disks. What you will need is TRIM support and for that you use ext4. Just add "discard" to the mount options for the ext4 volumes. You also don't need an IO scheduler - ssd access is random like RAM, no heads moving in and out so no sector ordering to worry about. Configure the scheduler as NOOP in kernel config if all drives are ssd's > The gentoo-wiki page for grub2 mentions an "official article" for > grub2 (dev.gentoo.org/~scarabeus/grub-2-guide.xml) that > describes both mbr- and efi-based systems. Using efi and gpt have > advantages but the configuration described involves an efi partition > /boot having a FAT format. I was hoping to avoid dracut and have all > of / + /usr on the boot partition. Does this mean I should use the > mbr-based installation? Unless I'm mistaken, Windows still does not boot from GPT disks (maybe 8 is different). If that is indeed the case, then you do need to stik with mbr for now. Check what Google finds about your chosen Windows version's boot needs. That will tell you what you need to od. -- Alan McKinnon alan.mckinnon@gmail.com