Maurice
2016-08-22 17:08:31 UTC
If you look in https://bugs.mageia.org/show_bug.cgi?id=15153
you will see an approach to booting on UEFI systems that would avoid the
use
of Grub (to the extent that Grub can be uninstalled).
I've been trying this out on a HP Probook 450 (UEFI/GPT) with Mageia-5
installed, and have got to the stage where - after switching on the
laptop -
I can go put the kettle on and return to find the Mageia-5 login awaiting
my
password, having been booted via the easily-installed (free) rEFInd boot
manager.
Furthermore, the fact that rEFInd boots straight into the /boot partition
of
an installed Linux distro (Grub not involved) means that, after a new
install - whatever happens during the installation - on 1st reboot any
pre-existing installs can still be booted.
[rEFInd automatically scans for any distro .efi boot files (including
Windows) and dynamically constructs a boot menu with entries for
all of them.
All one has to do is persuade the UEFI BIOS to boot rEFInd first!
(That should be straightforward, but not with the HP 450!)
My reason for posting this is that there is one requirement for rEFInd
Grubless booting which some help from the Installer would facilitate
(though
in my case I found rEFInd had automatically generated a default version).
In an install's /boot, you need to create a small text file that
specifies
the boot command line parameters needed (similar to what you would find
in a
grub.conf file). For example:
# cat /boot/refind_linux.conf
"linux" "root=UUID=dce17b8c-5313-4793-b329-2a3ee80d0cf0 splash quiet
noiswmd"
"failsafe" "root=UUID=dce17b8c-5313-4793-b329-2a3ee80d0cf0 failsafe
noiswmd"
If you don't have this file, rEFInd will attempt to guess suitable
parameters, but it can't always get this right (e.g. if you need an
option like nokmsboot).
Some patches to allow drakboot to create this file for you have been
designed
(see https://bugs.mageia.org/show_bug.cgi?id=15153 ).
Note that the latest patches in that bug report are for Mageia 6 -
older
versions are for Mageia 5, but as demand is difficult to measure, it
probably
won't happen any time soon unless some support for the facility is shown.
So, the reason for this posting is simply to show what is possible, and
hopefully stir up enough support for the Installer enhancement in 15153
by
adding comments to it.
you will see an approach to booting on UEFI systems that would avoid the
use
of Grub (to the extent that Grub can be uninstalled).
I've been trying this out on a HP Probook 450 (UEFI/GPT) with Mageia-5
installed, and have got to the stage where - after switching on the
laptop -
I can go put the kettle on and return to find the Mageia-5 login awaiting
my
password, having been booted via the easily-installed (free) rEFInd boot
manager.
Furthermore, the fact that rEFInd boots straight into the /boot partition
of
an installed Linux distro (Grub not involved) means that, after a new
install - whatever happens during the installation - on 1st reboot any
pre-existing installs can still be booted.
[rEFInd automatically scans for any distro .efi boot files (including
Windows) and dynamically constructs a boot menu with entries for
all of them.
All one has to do is persuade the UEFI BIOS to boot rEFInd first!
(That should be straightforward, but not with the HP 450!)
My reason for posting this is that there is one requirement for rEFInd
Grubless booting which some help from the Installer would facilitate
(though
in my case I found rEFInd had automatically generated a default version).
In an install's /boot, you need to create a small text file that
specifies
the boot command line parameters needed (similar to what you would find
in a
grub.conf file). For example:
# cat /boot/refind_linux.conf
"linux" "root=UUID=dce17b8c-5313-4793-b329-2a3ee80d0cf0 splash quiet
noiswmd"
"failsafe" "root=UUID=dce17b8c-5313-4793-b329-2a3ee80d0cf0 failsafe
noiswmd"
If you don't have this file, rEFInd will attempt to guess suitable
parameters, but it can't always get this right (e.g. if you need an
option like nokmsboot).
Some patches to allow drakboot to create this file for you have been
designed
(see https://bugs.mageia.org/show_bug.cgi?id=15153 ).
Note that the latest patches in that bug report are for Mageia 6 -
older
versions are for Mageia 5, but as demand is difficult to measure, it
probably
won't happen any time soon unless some support for the facility is shown.
So, the reason for this posting is simply to show what is possible, and
hopefully stir up enough support for the Installer enhancement in 15153
by
adding comments to it.
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)