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 1Oq8iw-0000n8-Er for garchives@archives.gentoo.org; Mon, 30 Aug 2010 18:04:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64843E10B0 for ; Mon, 30 Aug 2010 18:04:47 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 99716E0FF8 for ; Mon, 30 Aug 2010 17:54:05 +0000 (UTC) Received: by wyf28 with SMTP id 28so8048020wyf.40 for ; Mon, 30 Aug 2010 10:54:05 -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=VQ9lvJfOGsjjOctsGnbT8KYC1CPC7NdFUph6T0158C4=; b=DETq6BK28R/po7WJyJi+5aiF1mGfgM42bRTOIEF63wHtlzTVfmpyStYwjcbASzI7Op qApAqvwJBhx2TkIykNkY02CWmwHlOYZqSc2Sy+GlUM8xjwauhbEAGbl4pD6r+9xk7utf s3o0pHYpPggfCDt4WifU0xOaPk+m6E+zweeJc= 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=O9WXgE74Th6XdmfvwuoWc6goerr7ysFK+QfawAyypNoOOaoBXvUB+Vmga1czQ21seq hPf6/syIdfgzK2FYGcmz3wOwFpTgAnSvi3+AG3mmYHLllYtWtMNM1DBb3pH6v5cgJUL2 0Vmwq6hxdbd5oYImdPB2Xprz7tCYYRWffenvM= Received: by 10.227.156.67 with SMTP id v3mr5256308wbw.147.1283190844976; Mon, 30 Aug 2010 10:54:04 -0700 (PDT) Received: from [192.168.1.2] (adsl-95-133-232.jan.bellsouth.net [98.95.133.232]) by mx.google.com with ESMTPS id k46sm4632663weq.34.2010.08.30.10.54.03 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 10:54:04 -0700 (PDT) Message-ID: <4C7BF039.1070701@gmail.com> Date: Mon, 30 Aug 2010 12:54:01 -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> <4C786EC5.90807@gentoo.org> <201008301832.23227.alan.mckinnon@gmail.com> In-Reply-To: <201008301832.23227.alan.mckinnon@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: cb5b9e53-e57f-43c8-8e11-5f605b1a67ef X-Archives-Hash: c7d601f77b92c027c87e68cbf9d17db8 Alan McKinnon wrote: > Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Hartman > did opine thusly: > > >> On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier wrote: >> >>> Nikos Chantziaras schrieb am 27.08.2010 18:06: >>> >>>> On 08/27/2010 07:02 PM, J. Roeleveld wrote: >>>> >>>>> Actually, you can: >>>>> http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm >>>>> l >>>>> >>>>> (Read the section below "Use a label"): >>>>> >>>>> fstab: >>>>> LABEL=ROOT / ext3 defaults 1 1 >>>>> LABEL=BOOT /boot ext3 defaults 1 2 >>>>> LABEL=SWAP swap swap defaults 0 0 >>>>> LABEL=HOME /home ext3 nosuid,auto 1 2 >>>>> >>>> This syntax never worked here. Always resulted in an unbootable system. >>>> Only the /dev/disk/by-label/ syntax works reliably. >>>> >>> Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in >>> your grub.conf/menu.lst you also need an initrd. I think with GRUB 2 >>> (1.98) it is possible without. You don't need an initrd for LABEL/UUID >>> in /etc/fstab for both cases. >>> >> FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and >> no initrd. My kernel has EFI_PARTITION compiled in (no module). >> >> My fstab looks like this: >> >> LABEL=swap none swap sw 0 0 >> LABEL=boot /boot ext2 defaults,noatime 1 2 >> LABEL=root / ext4 defaults,noatime 0 1 >> LABEL=home /home ext4 defaults,noatime 0 1 >> >> My kernel boot commandline still specified root by device name >> /dev/sda2 but otherwise my system works normally so far. :) >> > Don't listen to nay-sayers. Your fstab will work just fine and there's nothing > wrong with it. > > The LABEL= sysntax has also worked for years and years now on all grub- > supported filesystems that support volume labels. I don't know where a > previous poster got the idea from that it is not supported, or you need an > initrd - I have never used an initrd on Gentoo and have used that syntax since > forever. > > Similar for claims of unreliability by someone else. The only cause I can > think of is using weird grub patches or some combination of insane flags. > > So I don't have to have the complete path in fstab like this: /dev/disk/by-label/boot /boot ext2 noatime 1 2 /dev/disk/by-label/root / reiserfs defaults 0 1 /dev/disk/by-label/swap none swap sw 0 0 /dev/disk/by-label/portage /usr/portage ext3 defaults 0 1 /dev/disk/by-label/home /home reiserfs defaults 1 1 Can you post a grub.conf file that uses labels? Sort of a example to look at and go by. Dale :-) :-)