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 1OoueR-0003uV-H3 for garchives@archives.gentoo.org; Fri, 27 Aug 2010 08:51:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71A7FE095E; Fri, 27 Aug 2010 08:50:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5556EE095E for ; Fri, 27 Aug 2010 08:50:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0CF4D1B405F for ; Fri, 27 Aug 2010 08:50:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.918 X-Spam-Level: X-Spam-Status: No, score=-2.918 required=5.5 tests=[AWL=-0.319, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ooDcJdwOaHhe for ; Fri, 27 Aug 2010 08:50:13 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 2A7101B4011 for ; Fri, 27 Aug 2010 08:50:10 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OoudS-0007J6-3s for gentoo-user@gentoo.org; Fri, 27 Aug 2010 10:50:06 +0200 Received: from athedsl-374048.home.otenet.gr ([79.131.13.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Aug 2010 10:50:06 +0200 Received: from realnc by athedsl-374048.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Aug 2010 10:50:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers Date: Fri, 27 Aug 2010 11:50:08 +0300 Organization: Lucas Barks Message-ID: References: <4C776B2A.4040201@gmail.com> 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-374048.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Thunderbird/3.1.2 In-Reply-To: <4C776B2A.4040201@gmail.com> X-Archives-Salt: 4bf4f8af-2bf2-451b-a9eb-d45b1559533c X-Archives-Hash: 80b560b0998c5ade6587ed0ff6d6d6f0 On 08/27/2010 10:37 AM, Dale wrote: > I been putting this off but it looks like the newer kernels are going 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. 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 e2label utility (it's in the sys-fs/e2fsprogs package and installed by default, 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/fstab 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/DriveLabel" and that's it.