From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8C05A139083 for ; Tue, 5 Dec 2017 03:39:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A52C6E0F6F; Tue, 5 Dec 2017 03:39:45 +0000 (UTC) Received: from mail-pg0-x236.google.com (mail-pg0-x236.google.com [IPv6:2607:f8b0:400e:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E7FEE0F56 for ; Tue, 5 Dec 2017 03:39:45 +0000 (UTC) Received: by mail-pg0-x236.google.com with SMTP id k134so9771906pga.3 for ; Mon, 04 Dec 2017 19:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=wHEXxZRFQqV+Myjmdey4N/KWwnQC58aAFugjQZxDZD4=; b=BjNF6EOCVAQ827DzGKKV8zB4YAXlI4bCsi8Hh6m+GuE8nZBHxVsJa63q9M7l6EcqiW bx04ay9zgooISDK83eBGyYSLJg1MYWcU1Ns5suQ3KXljEa21TyJ6tPs3eqhEgElE/14E GObPbzmoKdDvcBIrCs7zates7+5FUQDxn9Fi3Yfyt0fuJHa6R6dxJkOVjjw3hxxHI+9K itNV/BSIJpewzwVWapHrmSyrYMeDT4hV76ojpOcBUxrpqq8kkcC6EfSDQckkFf3otrvR hJn3Oj9Av21imzGEDnRfrTV4DwBGAQrISc9Y6dYMliEVmN/pbNAvDSTNt+bo2jtpId99 yLaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wHEXxZRFQqV+Myjmdey4N/KWwnQC58aAFugjQZxDZD4=; b=k0RiH9QmACgj/DxTGQ+ZtHxYTFzEaTsoohCMFcX/AZatbzL+RiXbp6JR9ealz03FRc Dneoh6YXFtC3HbMa6VmYXi4/tNfRx5CDoQFK4qV0Fg2Y+9yb9IMYT5GDlf8tN5kaFtiG +vMTxfXiUmGFsDVGbcWASUCwpgXuQvP4wHLkjL+hmhAJeigkuirSJiS6YQPBKfulu9vJ dI0XZXMIqbBwj8bX+qOHVMpp1g1/DnVDPFJMcpqE9lYkICGTu6DS/Za6zkbugyAjCbCx hEYCDSznF9D7ZbY1eLUQbNAa+ap4GVyK1zfMhrdkfvzduVgSj1LUX+Yr12YMwq5TthOn XiAg== X-Gm-Message-State: AJaThX42VXBSHKMiNXBj9ruI6bSyWBp6HTI9x/o8n/3xYveXDtrB7VKI jN17D6RbT02KFLfSxnB9+ng2uSbT X-Google-Smtp-Source: AGs4zMadk2aToh8KGHV+aOQXiAUPT1C9kxxk+E4xwF05JkGDVqd7YYNZeizS+zDkTY9d7AMe+UWSLw== X-Received: by 10.101.82.76 with SMTP id q12mr15924871pgp.65.1512445183635; Mon, 04 Dec 2017 19:39:43 -0800 (PST) Received: from [192.168.247.60] (d75-155-153-147.bchsia.telus.net. [75.155.153.147]) by smtp.gmail.com with ESMTPSA id e127sm25976907pfc.185.2017.12.04.19.39.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 19:39:42 -0800 (PST) Subject: Re: [gentoo-user] grub-0.97-r16 and profile 17.0 change To: gentoo-user@lists.gentoo.org References: <1955971.eH3XJlyHHK@dell_xps> <75632409.quWH5ZCll1@peak> <20171203151221.GB18985@dell_xps.STUDY> <48a56eed-833e-cfaa-45d6-2a489970e6df@gmail.com> From: Daniel Frey Message-ID: Date: Mon, 4 Dec 2017 19:39:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: 5fd92e2f-bb20-4944-a358-b06732e1bf6a X-Archives-Hash: 4584d2ee598caf8b78186a122045421e On 12/04/17 18:15, Michael Orlitzky wrote: > On 12/04/2017 09:13 PM, Daniel Frey wrote: >> >> Well, it copies from /usr/share/grub and /lib/grub to /boot/grub, and >> the sum of those directories are 270M without any kernels, etc >> installed. I guess I'm going to have to tarball everything up, >> repartition, and untar it. >> >> I guess I'll have to remember to use 500M+ /boot partitions now. Sigh. >> > > Before you do all that, some people on the bug have reported that the > larger binaries are busted and won't boot. > > > I can confirm that: right after I posted, I rebooted and all hell broke loose. I just got booted up again (I'd already removed gcc-5) using grub2. I was genuinely annoyed with grub2 due to its update and massive config files, so I never upgraded to it. I usually had multiple kernel versions and grub2 helpfully labeled them all "Linux" so I couldn't tell them apart. I figured out you can still write your own grub2 files, and it wasn't that difficult, other than its numbering is different now (no base-0 partitions... argh.) Below is an example of a simple grub.cfg that starts two separate kernels (I use a different kernel/partition for MythTV) and a chainloader for Windows 7. It took a few iterations for me to get everything to boot. My partitions are as follows: /dev/sda1: Windows tiny partition, the bootable one /dev/sda2: Windows 7 /dev/sda3: /boot As you can see, there's no base-0 counted partitions in the config, that messed me up more than once. I also used PARTUUID for the root= parameter, you can get this by using `blkid /dev/sdaX`. Also, don't encapsulate your PARTUUID in quotes, that didn't work for me. I simply had (as an example) root=PARTUUID=abcdef33-01 and it boots fine. It was simple enough to convert (and grub-2.02 actually compiles fine with gcc-6 and the new profile) and figured others were probably like me and avoiding the grub2 config mess. At least now I know how to configure grub2 manually and simply, so I won't avoid it any more. Dan ------grub.cfg------ timeout=10 default=0 menuentry 'Gentoo 4.1.43-r1' { root=hd0,3 linux /boot/kernel-4.1.43-gentoo-r1 root=PARTUUID= quiet rootfstype=ext4 } menuentry 'Gentoo - MythTV' { root=hd0,3 linux /boot/kernel-4.1.43-gentoo-r1-mythtv root=PARTUUID= quiet rootfstype=ext4 } menuentry "Windows 7" { set root=(hd0,1) chainloader +1 boot } --------------------