From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OovYn-00089d-IW for garchives@archives.gentoo.org; Fri, 27 Aug 2010 09:49:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 095FAE084E; Fri, 27 Aug 2010 09:49:04 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id E2454E084E for ; Fri, 27 Aug 2010 09:49:03 +0000 (UTC) Received: by ywp4 with SMTP id 4so1585961ywp.40 for ; Fri, 27 Aug 2010 02:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=twQCDqqTGhdzw4bXW6ghWFpROaQmHFkwseYSlSUKANQ=; b=JhpTchKnTt52NajURyicKk1qMO0W2ApFIpjbdHbWPNTOXWiTo5f5RPyiqTUy9NwgE6 H8mdlLgzOUf6FnVFaM1KFEzmgPc7sTtEUO5fb9VPGwwOcjHmDD/UE23XIYqsHu/ux/ym B1f6Q0oCbUFGL75tPmRiSgIeYMVYak9XkmEyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=woEsVFe0bYdF3D7tW4wn/vThqSf0VReXHqh24Kn0NIy31KyJTkJzWVYctasApymHUd rk5XW468jnX1f6swBzDKfrAz5Eb4TvwGuRNl1e/zSc1srOb1WKnib024xH1qOC7jCKtv RFDaUKRFM7RcF+FzC6gcRpqXxjDxuPAtFkZUY= Received: by 10.100.173.12 with SMTP id v12mr564571ane.145.1282902543474; Fri, 27 Aug 2010 02:49:03 -0700 (PDT) Received: from [192.168.1.2] (adsl-95-152-165.jan.bellsouth.net [98.95.152.165]) by mx.google.com with ESMTPS id w10sm1006787ank.34.2010.08.27.02.49.01 (version=SSLv3 cipher=RC4-MD5); Fri, 27 Aug 2010 02:49:02 -0700 (PDT) Message-ID: <4C778A0C.6080201@gmail.com> Date: Fri, 27 Aug 2010 04:49:00 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100801 Gentoo/2.0.6 SeaMonkey/2.0.6 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers References: <4C776B2A.4040201@gmail.com> <201008271137.05263.joost@antarean.org> In-Reply-To: <201008271137.05263.joost@antarean.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 2e90bf24-85cf-4274-b30a-f30b42e1ab19 X-Archives-Hash: 49c4f68629be8bd8e7aa667f7abc30d6 J. Roeleveld wrote: > On Friday 27 August 2010 11:00:58 Jes=C3=BAs J. Guerrero Botella wrote: > =20 >> 2010/8/27 Nikos Chantziaras: >> =20 >>> On 08/27/2010 10:37 AM, Dale wrote: >>> =20 >>>> I been putting this off but it looks like the newer kernels are goin= g to >>>> push me to changing this real soon. I have a older system, Abit NF7 = 2.0 >>>> motherboard with the older IDE drives. I'm still using the older IDE >>>> drivers. This is what I have currently: >>>> >>>> hda Actual hard drive OS on this >>>> hdb Actual hard drive Not in use >>>> hdc Actual hard drive home partition >>>> hdd DVD burner Duh! It's a burner. >>>> sda Actual hard drive connected through a SATA PCI card. Misc stuff. >>>> =20 >>> The advice by the other posters to label your disks is a good one. I= 'm >>> using labels too. Not sure why I didn't think to mention it :P >>> >>> Applying labels to your filesystems is trivial. Simply use the e2lab= el >>> utility (it's in the sys-fs/e2fsprogs package and installed by defaul= t, >>> so there's nothing new to emerge). For example, if your hda1 is your >>> root partition and your hda2 your swap, you can label them like this: >>> >>> e2label /dev/hda1 GentooRoot >>> e2label /dev/hda2 GentooSwap >>> >>> Note: hda1, not just hda. You are labeling the filesystem on a >>> partition, not the whole drive. >>> >>> After you label all your filesystems, you simply modify your /etc/fst= ab >>> like this: >>> >>> Before: >>> /dev/hda1 / ext4 noatime 0 1 >>> /dev/hda2 none swap sw 0 0 >>> >>> After: >>> /dev/disk/by-label/GentooRoot / ext4 noatime 0 1 >>> /dev/disk/by-label/GentooSwap none swap sw 0 0 >>> >>> That is, you simply change "/dev/blah" to "/dev/disk/by-label/DriveLa= bel" >>> and that's it. >>> =20 >> Or you can do it by uuid, all the info you need can be picked from thi= s >> output: >> >> $ ls /dev/disk/by-uuid/ -l >> >> Then just add lines to fstab like this: >> >> UUID=3D"6ea2b219-0bcc-4c90-9960-82a9659e6d0e" / ext4 noatime 0 1 >> =20 > True, except that for mere mortals, Labels are slightly easier to read = and > understand :) > > And that, I find, is less prone to mistakes. > > -- > Joost > > > =20 Hmmm, I use resierfs for my file systems, most of them anyway. I still=20 use e2fsprogs to change those? Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA=20 drivers? That way I can boot it and see exactly how it will name them=20 and what drive is what without actually changing anything at all. Is=20 there a boot option "noide" or some other switch I can use? Dale :-) :-)