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 1Oq9fF-0004eT-8l for garchives@archives.gentoo.org; Mon, 30 Aug 2010 19:05:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E048FE10C0 for ; Mon, 30 Aug 2010 19:05:04 +0000 (UTC) Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 5E583E0FC2 for ; Mon, 30 Aug 2010 18:19:57 +0000 (UTC) Received: by ewy3 with SMTP id 3so450292ewy.40 for ; Mon, 30 Aug 2010 11:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type; bh=P9XYoipe4eNCWBucOOkX//vrfXc1Vjult0c7sXit/S8=; b=BoE+4hPJauSR3k888Ueh8JY30hdpCQGLG4n9vTDSs6H1SUxRFOswnGpgLYMJ2eXzXF FthYIQ5YqcoMU8nKo960QXNlJcMc2dzFchGWiBNqSt8nnFEp/RG2LInsW/3Y9BNgGYFQ SAxpQD7qsQVsVj6cCv83O9Zx69WMju4zoP4QU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type; b=jl+Iqi67fQB5P7sdcslEE9TrBb0Ns2fM9vx+rDZXuUJgnTNs376/+UNFGYGbN+dSgW msOJ0XFG5vFzW6a6VXIa1pnELzPU1XRfHO+a1o7yorTdMHVgFRbVoRK2SpW7fbQoXy65 9I51geActlUamxGGPFtMiocgVtdZi9mWRuNp8= Received: by 10.213.63.142 with SMTP id b14mr8845124ebi.33.1283192396661; Mon, 30 Aug 2010 11:19:56 -0700 (PDT) Received: from [192.168.0.2] ([188.104.253.206]) by mx.google.com with ESMTPS id v59sm12485553eeh.16.2010.08.30.11.19.54 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 11:19:55 -0700 (PDT) Sender: Daniel Pielmeier Message-ID: <4C7BF645.4030704@gentoo.org> Date: Mon, 30 Aug 2010 20:19:49 +0200 From: Daniel Pielmeier User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100723 Lightning/1.0b2 Thunderbird/3.1.1 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> X-Enigmail-Version: 1.1.2 OpenPGP: id=215AD14D Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD17807DA4762C211D806B1C0" X-Archives-Salt: caae81a6-eb8b-4f7e-8d78-48d9c5669759 X-Archives-Hash: 5ab6fc3ccc85f746b95f899f50401adb This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD17807DA4762C211D806B1C0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Alan McKinnon schrieb am 30.08.2010 18:32: > Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Ha= rtman=20 > did opine thusly: >=20 >> On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier = wrote: >>> 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/UUI= D >>> 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=3Dswap none swap sw 0 0= >> LABEL=3Dboot /boot ext2 defaults,noatime 1 2= >> LABEL=3Droot / ext4 defaults,noatime 0 1= >> LABEL=3Dhome /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. :) >=20 > Don't listen to nay-sayers. Your fstab will work just fine and there's = nothing=20 > wrong with it. >=20 > The LABEL=3D sysntax has also worked for years and years now on all gru= b- > 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=20 > initrd - I have never used an initrd on Gentoo and have used that synta= x since=20 > forever. >=20 > Similar for claims of unreliability by someone else. The only cause I c= an=20 > think of is using weird grub patches or some combination of insane flag= s. If you are referring to my post please read again my statements. I am not a native speaker so I probably did not make this clear. I did not say that LABEL/UUID does not work within /etc/fstab. Specifying the root device by using the LABEL/UUID syntax in grub.conf/menu.lst however wont work without a proper initrd. I must confess I did not test it before but I was sure it does not work. I did some tests now (with sys-boot/grub-0.97-r10) and only the following syntax for the grub.conf kernel command-lines works. kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=3D/dev/sda3 All the others below need an initrd if you use GRUB LEGACY. Also the GRUB LEGACY manual [1] does not mention LABEL or UUID at all. With GRUB 2 it will probably work by using the --search menu entry [1]. kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=3DLABEL=3Droot kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=3D/dev/disk/by-label/roo= t kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=3D/dev/disk/by-uuid/ab24cad5-ae0b-45d7-82f4-68357d5b6ff4 [1] http://www.gnu.org/software/grub/manual/legacy/grub.html [2] http://www.gnu.org/software/grub/manual/grub.html#search --=20 Daniel Pielmeier --------------enigD17807DA4762C211D806B1C0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkx79kkACgkQlcuUeyFa0U3qyACgucMIqJmVpFlpOUuSY1aGnV2e lgEAoM1tlunEecJsUG9H1q7CLKDCbwmv =ulZ9 -----END PGP SIGNATURE----- --------------enigD17807DA4762C211D806B1C0--