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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB7EC158089 for ; Thu, 19 Oct 2023 14:45:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EC7B2BC09F; Thu, 19 Oct 2023 14:45:13 +0000 (UTC) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB9492BC08E for ; Thu, 19 Oct 2023 14:45:12 +0000 (UTC) Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3b2e308a751so468227b6e.0 for ; Thu, 19 Oct 2023 07:45:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697726712; x=1698331512; darn=lists.gentoo.org; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:from:to:cc:subject :date:message-id:reply-to; bh=9nQ8/iV91Oe552K7mfhEAijgi4DsBhqvlv2/gEU6wBc=; b=MWl6llTexWVGEJ+rc+gwhrapfQynNXIctnyT3FaCGoHVp3fkcYWqBbYe5KOaXg1U2E 37aT6vrlf8gzMrX9Od+6Hl7MkwH3Jjg4h4/oqUZ54Xm6WA5gZLDDY8BEU/Saw57BZFFO WEA/2uwGnoqriq1x/XOYIeSAwpL7L1W+Lzb0uW3zABC5sGsT7azkKpRL/SqYB42B6w6f BjwzBz2rizWow1oK4KimOI5nR/858BAIcl2+etTYXy7JJ405BKlnOw6nogV7ruaXZrv9 1O9N6cqMozgUK2aToxB+NcdUw+V1feP4ibPk0bmBy5WrxZqzQ8uWXxcMWz8Dn54LszDo HrHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697726712; x=1698331512; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9nQ8/iV91Oe552K7mfhEAijgi4DsBhqvlv2/gEU6wBc=; b=gZ3ljOUJ2ZvLdRxMROX6q8OeoYAbD8v4YyMPPtEEH0lgG/eqkq40azCA6Wh7h9iqgp VC6B73MfdcNHRJRBwPZCiwDcofvPeKdf+jTdCCbSx6Lx/FiTt3bOvcrcCQJvc0+pQZPd WdZ2LL7LQDfa5qf5VSw/onlBCspa2Cy5BxPm7iLeE4zyQsXvowaN806pKlbnieyY0xNB bUcTnN60EdTpRfPQ3KsAmo4vG4Z7kF+t2UyBn7nLAiODaCyoMIVoGrlwVXZQ9CmjI/9k hA2otCW8Vd7XiPsVaZ0ybIuG0ibz2ZH42ylju+oWyaNj7kt7J8ZmtHaWmGfQjKeNzLQg YC/A== X-Gm-Message-State: AOJu0YyMAa/0DyvXSCvg3ohhSYXCvJdU/MsQILjenazM7cQ+3PWT0aSV ElzpKcSnVSNC10ZjGyGBA3s= X-Google-Smtp-Source: AGHT+IGyxh9oASDlQGPvqDdGDsxMddxSXZpnT+1GQydbdoo5TljQPF7VkTIcLHONyL02Cu9z6SuZ+A== X-Received: by 2002:a05:6808:1306:b0:3b2:e379:c11d with SMTP id y6-20020a056808130600b003b2e379c11dmr1330365oiv.22.1697726711909; Thu, 19 Oct 2023 07:45:11 -0700 (PDT) Received: from [10.8.8.4] ([37.19.221.85]) by smtp.gmail.com with ESMTPSA id g8-20020a056830308800b006bf0f95f702sm1065510ots.64.2023.10.19.07.45.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Oct 2023 07:45:11 -0700 (PDT) Subject: Re: [gentoo-user] Re: OFF TOPIC Need Ubuntu network help: boot loader info To: gentoo-user@lists.gentoo.org References: <17dbcf2a-13c7-b8c0-69f1-a09e5288cfd5@gmail.com> <20231019000643.44bf5a62@digimed.co.uk> <21ad1989-913f-893d-8cb9-b5537100668a@gmail.com> <8327681.NyiUUSuA9g@rogueboard> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJy8gAKC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QAM/CDfKvTtvgGWpqtCL2raq/mQoJEU Message-ID: <0bab54aa-879f-929f-cf2c-edc41b85af26@gmail.com> Date: Thu, 19 Oct 2023 09:45:10 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.17.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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <8327681.NyiUUSuA9g@rogueboard> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 54011730-83ec-4339-b60b-250962dae910 X-Archives-Hash: 79cf60c5da6025d5f57a816d1a6641ff Michael wrote: > On Thursday, 19 October 2023 05:49:25 BST Dale wrote: >> Neil Bothwick wrote: >>> On Wed, 18 Oct 2023 17:27:28 -0500, Dale wrote: >>>> I used cgdisk and GPT for my disk even tho it is small, only 300GBs or >>>> so, mostly out of habit. The grub install failed and I did a search. I >>>> found this and it worked. >>>> >>>> >>>> >>>> grub-install fails with "grub-install: warning: this GPT partition label >>>> contains no BIOS Boot Partition; embedding won't be possible." > If you are booting a BIOS MoBo, or an EFI MoBo in 'BIOS Legacy' mode, from a > disk which contains a GPT partitioning scheme, then you will need a separate > partition created as type 'BIOS Boot Partition' for GRUB to install its > core.img: > > GRUB's Stage 1 boot.img is still installed in sector 0 on a GPT disk, same as > on a disk with an MBR partition table. However, on a GPT disk GRUB's Stage > 1.5 core.img with all its filesystem drivers has to be installed in a > partition of its own, because unlike an MBR disk sectors 1 to 62 are not empty > but contain the GPT header and the GPT partition list. Without its filesystem > drivers GRUB won't be able to access its modules in its Stage 2 filesystem, > which is stored in the OS /boot/ partition, or its grubx64.efi UEFI > executable. > > It helps to get straight before you start an installation what combo of MoBo > and type of disk partition tables you intend to use: > > BIOS Vs EFI > MBR Vs GPT > When I did the install on the old 770T, I used GPT, out of habit to be honest.  I have very few small drives here.  Heck, I'm up to buying 18TB drives now.  Anyway, grub gave me a error when I tried to install it.  I searched and found the sequence of commands that I posted in another reply.  It uses parted.  Anyway, it worked after that.  Thing is, by the time you get to the part about installing grub, you have also installed most of the OS.  Going back and using MBR means reinstalling.  I plan to check into those parted commands and see what it does and if I can grasp it.  :/ >>> Simple answer, don't use GRUB :-) >>> >>> Seriously, GRUB is a bootloader, EFI is a bootloader. You are using one >>> bootloader to load another bootloader before booting the system. >>> >>> rEFIind and systemd-boot are both boot managers, they work with the EFI >>> bootloader - or you can boot a kernel directly without a boot manager, >>> but I prefer not to do that as it gives no opportunity to edit options >>> when booting. > I like rEFIind, but I recall it needs/needed a separate /boot partition if you > are running LVM/RAID. > I have /boot on ext2, / on ext4 and rest on LVM on my main system.  On the 770T rig, I have /boot on ext2 I think and everything else on ext4.  I don't think I used LVM on it.  I even put /usr and /var on the / partition.  I didn't get fancy or anything.  I did put /home on its own partition.  I'm not sure why really.  I'll look into rEFIind then.  If you like it, it has to be good.  ;-)  >>> If you like simple, here is a config file I use with systemd-boot >>> >>> version 6.1.57-gentoo >>> linux /vmlinuz-6.1.57-gentoo >>> options root=/dev/sda3 panic=10 net.ifnames=0 i915.enable_ips=0 >>> >>> That's it! There is a separate file for each menu entry, but they are >>> this simple. There's also a global loader.conf, that runs to a massive 2 >>> lines here! >> Right now, I'm still using BIOS type boot. I've read where you and a >> couple others use something else and they do sound good but I just >> haven't got the nerve up to switch. When I build a new rig, I'll likely >> get into some other boot manager. In a way I kinda dread it but on the >> other hand, I just might like it. You and several others make the other >> options sound really good. >> >> That config kinda reminds me of the old grub. A title line, location of >> kernel and then options. Sounds easy enough. The new grub config is >> almost impossible to config by hand. They had to make a tool to do it. >> That says a lot there. ;-) > Not really, the GRUB developers were trying to make maintaining a boot manager > simpler by scripting the process and offering to hook it up from binary > distros' kernel install scripts. Anyway, you can still write the > configuration by hand if you follow the GRUB2 syntax. You do not need to run > GRUB's grub-mkconfig script to automatically update the grub.cfg file if you > prefer to do it manually, but it is certainly simpler to use it since it is > already there for you. > The one thing I like about the new grub, if the kernel is named wrong, the init thingy is named wrong or some other problem with the config, it will tell you when you run the script.  I always check to make sure it finds both the kernel and init thingy in sets.  I have three kernels I think and one init thingy for each.  They should list in pairs.  If I name one wrong, it will miss it.  With the old grub, you found out you messed up when you rebooted and it fails to load.  I need to search youtube and check into some of this new stuff.  Dale :-)  :-)