unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter <sunspark@gmail.com>
To: Julien Lepiller <julien@lepiller.eu>
Cc: Josselin Poiret <dev@jpoiret.xyz>, 56582@debbugs.gnu.org
Subject: bug#56582: Installer does not detect or allow detection of other bootable partitions
Date: Sat, 16 Jul 2022 16:44:17 -0400	[thread overview]
Message-ID: <CAHaGoVOcsDLda8LCKFYezLibyzxHPt9grjEeotG_MfQBTgCJ0g@mail.gmail.com> (raw)
In-Reply-To: <E903228D-E2CF-4682-86D7-B415E165F6BA@lepiller.eu>

[-- Attachment #1: Type: text/plain, Size: 3647 bytes --]

Hi,

My concern is that what is written in the manual for bootloader-config and
invoking-guix-system does not clearly communicate what needs to be done for
those who have no exposure to either Guix or Scheme. I did actually view
those entries at first, but it seemed theoretical at first glance and I
kept moving because I was looking for an expected binary.

To expand on this, Guix installs GRUB. This is undeniable, and this is
where the problem begins.. over many years users are accustomed to GRUB
working in a certain way with specific tools.. when they encounter a grub
installation without grub-mkconfig, etc. they are at a loss, because it's a
binary they expected to find and it's just not present. I think an argument
could be made here that this behaviour breaks user space because it's
established software, but changed to function differently as opposed to
being something entirely new. It's like wearing your shoes on the opposite
foot. You can do it, but it feels wrong.

The way Debian and other distros manage Grub is via mkconfig, and the boot
menu presented is very similar to Guix's, the only difference is that
there's an extra row entry in the grub menu for the Windows bootloader to
be launched.

Personally, I dislike Grub because I feel it complicates things. I would
love to use only UEFI and use only the bios boot menu to switch, but for
whatever reason in a single internal drive system, this isn't easily done.
Giving an example, awhile back, I tried installing a distro to an external
usb drive.. it worked.. but the problem is that it installed grub to the
internal drive.. and if you removed the usb drive from the pc, things would
break because now a device it was expecting to see wasn't there. A
workaround suggested was to disconnect the internal drive, do the setup,
this way Grub would be on the external drive, then reconnect the internal
drive and then I guess use the bios uefi menu to switch between, a lot of
bother for a tightly sealed unit.

The way MS's bootloader works is nice because one of the menu options it
has is to pick a physical device so you can actually boot from a valid
bootable USB flash drive device and it launches that device directly.

Maybe the solution is just to create an EFI partition at the front of all
drives including external as Apple does and then it doesn't matter what
bootloader you use or do not use, because you could always just use the
UEFI menu to point to a device. Not using a bootloader would reduce
complexity of maintenance.. if MS's bootloader is there, people can use it
if they want to point to the device, and if it is not there, then they can
use the uefi bios menu. In theory.

MBR folks would still need to continue using a bootloader of course.

Best,
Peter


On Sat, Jul 16, 2022 at 6:32 AM Julien Lepiller <julien@lepiller.eu> wrote:

> If anything, you also need to chainload to boot on haiku, which is free
> software. So no reason not to implement it.
>
> Le 16 juillet 2022 11:59:29 GMT+02:00, Josselin Poiret <dev@jpoiret.xyz>
> a écrit :
>>
>> Hello both of you,
>>
>> Julien Lepiller <julien@lepiller.eu> writes:
>>
>>> Of course this is only a workaround I'm proposing, we should fix the installer to detect other OSs.
>>>
>> Just adding that we don't have any Guix bootloader entry field to
>> chainload into another bootloader, needed for some non-free system :)
>> this would need to be added as well.
>>
>> I personally don't mind, and use my UEFI boot menu instead if I want to
>> boot into said non-free OS.
>>
>> Best,
>> --
>> Josselin Poiret
>>
>>

[-- Attachment #2: Type: text/html, Size: 4558 bytes --]

  reply	other threads:[~2022-07-16 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 20:10 bug#56582: Installer does not detect or allow detection of other bootable partitions Peter
2022-07-16  5:46 ` Julien Lepiller
2022-07-16  9:59   ` Josselin Poiret via Bug reports for GNU Guix
2022-07-16 10:31     ` Julien Lepiller
2022-07-16 20:44       ` Peter [this message]
2022-07-21 16:01         ` Josselin Poiret via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHaGoVOcsDLda8LCKFYezLibyzxHPt9grjEeotG_MfQBTgCJ0g@mail.gmail.com \
    --to=sunspark@gmail.com \
    --cc=56582@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).