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 1OCJxk-0005Y4-6s for garchives@archives.gentoo.org; Wed, 12 May 2010 21:59:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70F55E07E3; Wed, 12 May 2010 21:59:11 +0000 (UTC) Received: from mail-pv0-f181.google.com (mail-pv0-f181.google.com [74.125.83.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 3004DE07E3 for ; Wed, 12 May 2010 21:59:11 +0000 (UTC) Received: by pvg2 with SMTP id 2so342432pvg.40 for ; Wed, 12 May 2010 14:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=wsvLMrMmahpjJPq+TCExHKV8caubOBREXByvGWSdBs0=; b=N4ErHPCharz0xVRSO0zrwN/Q5N6zA+e0Yz7uV7iHjaPx1+UAQJbaWoMkGaRT6t+0Ex ROhGfmea8QzNzyWQle92/0MeCqPCJEe7rXY2HeE7YBg8JaIpdi2Lsn8iVhCFj5qEnt/1 0ZjgpvDhajWn2xcAAX75cQLNVS4WtTa8DDYqg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=s9rmxJMF9ICQjnvAUM1y95hdIsuX2qNnsGGo6CEh6Ms9XfyVgoPuy+IZQu+gQtoAzf qaD815Nr9Y5f+1F4+Rhhjwa2GWWIfe+8hAtJ7NIWNPi8WlhbgYNgOaQkVVAXgOHZlps3 msHSNodGERB56jm/seegYCLZTZh0JrFqR1His= 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 Received: by 10.115.36.31 with SMTP id o31mr6376628waj.171.1273701549701; Wed, 12 May 2010 14:59:09 -0700 (PDT) Sender: paul.hartman@gmail.com Received: by 10.114.153.5 with HTTP; Wed, 12 May 2010 14:59:09 -0700 (PDT) In-Reply-To: <201005122247.15496.michaelkintzios@gmail.com> References: <201005122100.32143.michaelkintzios@gmail.com> <201005122247.15496.michaelkintzios@gmail.com> Date: Wed, 12 May 2010 16:59:09 -0500 X-Google-Sender-Auth: Z4wWFlELR4E3IVd_bF0hqZV4MlI Message-ID: Subject: Re: [gentoo-user] Boot gentoo with GTP Disk label From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: af1f6f60-9f3c-4d9a-8de7-e3628968fb0a X-Archives-Hash: 4ea61acbe7e617a7f29349fa41f4c14a On Wed, May 12, 2010 at 4:47 PM, Mick wrote: > On Wednesday 12 May 2010 21:47:41 Paul Hartman wrote: >> On Wed, May 12, 2010 at 3:00 PM, Mick wrote: >> > On Monday 10 May 2010 17:01:02 Paul Hartman wrote: >> >> On Sat, May 8, 2010 at 9:16 AM, claude ang=E9loz >> >> >> >> wrote: >> >> > Hello, >> >> > >> >> > I installed a gentoo on a very recent system (efi support) . AT th= e >> >> > reception of the laptop it was a disk label msdos, with a boot >> >> > partition w** installer ... I changed that against a GPt disk labe= l. >> >> > I can install without problem the gentoo , but now it doenst boot. >> >> > >> >> > I read some docs about gpt,mbr,boot principles and tried some tools >> >> > >> >> > - install the grub2 masked package and grub-install. >> >> > >> >> > - a special partion bios_grub as 1st bootable partition. >> >> > but actually no succesful... >> >> > but in the parted i did not see this "bios_grub" as flag... >> >> > >> >> > I found some tips from the web , but i guess that was only valid f= or >> >> > a macintel system, not a normal pc with a disk labeled gpt and an = efi >> >> > support. >> >> > >> >> > I know that it is not required an efi partiton to boot the os wit= h >> >> > pc/bios and gpt disk. Or is it false ? >> >> > >> >> > If anybody has an other idea. Or I must abandon the gpt disk label= ? >> >> > Is there an equivalent refitr in OS x86 ? >> >> >> >> I'm using GPT partitions and with the grub-0.97-r9 in Gentoo it has >> >> patches to boot from GPT disks. I just did normal grub install as >> >> usual and everything seems to work. I'm not using the partition label= , >> >> though, but only "root (hd0,0)" >> > >> > Interesting. Does grub install its bootloader into the MBR, or in a G= PT >> > boot partition? I am not at all familiar with this new way of booting >> > systems. >> >> I think basically GPT is a replacement for MBR, everything basically >> works the same way otherwise. GPT has features like redunancy, removes >> limits of MBR (no primary/logical designation anymore, no 2TB limit, >> etc). I think it has a somewhat MBR-compatible layout in the first >> sector so non-GPT-aware things can still partially recognize it. > > Am I right to assume that your 1st partition on the 1st disk is the GPT b= oot > partition and therefore its 1st sector is what would on a conventional di= sk be > the MBR? >From the standpoint of the fake MBR table, I think you are correct. To non-GPT-aware utils it'll look like GPT is a partition of some type but when using GPT-compatible things that is completely transparent. Wikipedia has a good description of how it all works under the hood, check out the LBA-0 section of the article here: http://en.wikipedia.org/wiki/GUID_Partition_Table >From a normal user's perspective, creating the partitions and installing grub was no different than with MBR, only I told parted to great GPT instead of MBR partition table on my new disks. Enabled EFI in kernel, used Gentoo's version of grub which has the GPT patches included, and everything just worked. Maybe I was lucky? :)