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 219141381F4 for ; Sun, 12 Aug 2012 18:16:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CD7DE064B; Sun, 12 Aug 2012 18:15:55 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.49.97]) by pigeon.gentoo.org (Postfix) with ESMTP id D9A38E0525 for ; Sun, 12 Aug 2012 18:13:54 +0000 (UTC) Received: from ajglap.localdomain (ool-182de1a5.dyn.optonline.net [24.45.225.165]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.14.4) with ESMTP id q7CIDr9Y022954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 12 Aug 2012 14:13:53 -0400 (EDT) Received: by ajglap.localdomain (Postfix, from userid 1502) id 3982570076; Sun, 12 Aug 2012 14:11:37 -0400 (EDT) From: Allan Gottlieb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] new installation (ssd, new udev, grub2) References: <20120810212213.0ce6e810@khamul.example.com> CC: Alan McKinnon Date: Sun, 12 Aug 2012 14:11:37 -0400 In-Reply-To: <20120810212213.0ce6e810@khamul.example.com> (Alan McKinnon's message of "Fri, 10 Aug 2012 21:22:13 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) 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 X-Archives-Salt: ada91b13-c575-4434-8657-fc1aa2b36424 X-Archives-Hash: f4f8da5fc5e3d78d1e70e1dca3ec4d63 On Fri, Aug 10 2012, Alan McKinnon wrote: > 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. I am leaning toward traditional partitioning, but with grub2. Do those two not mix well? >> 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. Dell normally has a special partition of size > 40MB starting at sector 63. Presumably I ignore that one. I would then align the used-only-for-dell-diagnostics windows partition and all linux partitions at multiples of 4096 > What you will need is TRIM support and for that you use ext4. Just add > "discard" to the mount options for the ext4 volumes. Ah so I will now be using ext4. The mount man page says trim is off by default waiting for more testing. But I will try it. > 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 I believe dell with be "throwing in" a removable spinning disk that can be user swapped with the dvd so I should probably keep the I/O scheduler. thanks for the help, allan