[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954718: grub-installer: update templates for UEFI and other media than hard disks



Hi,

Steve McIntyre <steve@einval.com> wrote:
> On Sun, Mar 22, 2020 at 04:09:53PM +0100, John Paul Adrian Glaubitz wrote:
> >On 3/22/20 3:59 PM, Holger Wansing wrote:
> >> - MBR is outdated -> UEFI came as a successor;
> >
> >What about the boot mechanisms of all other architectures?
> >
> >Open-Firmware machines use GRUB as well and they have a boot sector.
> >
> >Other architectures use GRUB via chainloading with uboot, so you need
> >to include this well if you want to be comprehensive. And s390x
> >supports GRUB as well.
> >
> >Do you want to include all these, too?
> 
> ACK. Probably worth using more generic terminology if we can. Instead
> of talking about MBR or UEFI at all, maybe just aim for "primary
> drive" or similar?
> 
> >> - hard disks are no longer the only/mainly used storage media (depending on
> >>   architecture); these days we are installing OS'es on SD cards or USB 
> >>   thumbdrives for example.
> >
> >What about virtual devices? Is "drive" appropriate in these cases or should
> >it be "disk image"?
> 
> It's not always easy to tell reliably if you're installing to a
> virtual device. It's still a "drive" as far as most people are
> concerned, so I'd just stick with that.

I have attached an updated patch, which might be considered.


Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
diff --git a/debian/changelog b/debian/changelog
index c151656f..073d591a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+grub-installer (1.170) UNRELEASED; urgency=medium
+
+  * Update templates, to make them fit for UEFI systems and new sorts of
+    system storage media.
+
+ -- Holger Wansing <hwansing@mailbox.org>  Sun, 22 Mar 2020 15:53:18 +0100
+
 grub-installer (1.169) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/grub-installer.templates b/debian/grub-installer.templates
index a7a0f385..7d9d3083 100644
--- a/debian/grub-installer.templates
+++ b/debian/grub-installer.templates
@@ -2,28 +2,27 @@ Template: grub-installer/with_other_os
 Type: boolean
 Default: true
 # :sl1:
-_Description: Install the GRUB boot loader to the master boot record?
+_Description: Install the GRUB boot loader to your primary drive?
  The following other operating systems have been detected on this
  computer: ${OS_LIST}
  .
  If all of your operating systems are listed above, then it should be safe to
- install the boot loader to the master boot record of your first hard
- drive. When your computer boots, you will be able to choose to load one of
- these operating systems or the newly installed Debian system.
+ install the boot loader to your primary drive (UEFI partition/boot record).
+ When your computer boots, you will be able to choose to load one of these
+ operating systems or the newly installed Debian system.
 
 Template: grub-installer/only_debian
 Type: boolean
 Default: true
 # :sl1:
-_Description: Install the GRUB boot loader to the master boot record?
+_Description: Install the GRUB boot loader to your primary drive?
  It seems that this new installation is the only operating system
  on this computer. If so, it should be safe to install the GRUB boot loader
- to the master boot record of your first hard drive.
+ to your primary drive (UEFI partition/boot record).
  .
- Warning: If the installer failed to detect another operating system that
- is present on your computer, modifying the master boot record will make
- that operating system temporarily unbootable, though GRUB can be manually
- configured later to boot it.
+ Warning: If your computer has another operating system that the installer
+ failed to detect, this will make that operating system temporarily
+ unbootable, though GRUB can be manually configured later to boot it.
 
 Template: grub-installer/sataraid
 Type: boolean
@@ -73,17 +72,16 @@ Type: string
 _Description: Device for boot loader installation:
  You need to make the newly installed system bootable, by installing
  the GRUB boot loader on a bootable device. The usual way to do this is to
- install GRUB on the master boot record of your first hard drive. If you
- prefer, you can install GRUB elsewhere on the drive, or to another drive,
- or even to a floppy.
+ install GRUB to your primary drive (UEFI partition/boot record). You may
+ instead install GRUB to a different drive (or partition), or to removable
+ media.
  .
- The device should be specified as a device in /dev. Below are some
+ The device notation should be specified as a device in /dev. Below are some
  examples:
-  - "/dev/sda" will install GRUB to the master boot record of your first
-    hard drive;
-  - "/dev/sda2" will use the second partition of your first hard drive;
-  - "/dev/sdc5" will use the first extended partition of your third hard
-    drive;
+  - "/dev/sda" will install GRUB to your primary drive (UEFI partition/boot
+    record);
+  - "/dev/sdb" will install GRUB to a second drive (which may for instance
+    be a thumbdrive);
   - "/dev/fd0" will install GRUB to a floppy.
 
 Template: grub-installer/choose_bootdev
@@ -95,9 +93,9 @@ __Choices: Enter device manually, ${DESCRIPTIONS}
 _Description: Device for boot loader installation:
  You need to make the newly installed system bootable, by installing
  the GRUB boot loader on a bootable device. The usual way to do this is to
- install GRUB on the master boot record of your first hard drive. If you
- prefer, you can install GRUB elsewhere on the drive, or to another drive,
- or even to a floppy.
+ install GRUB to your primary drive (UEFI partition/boot record). You may
+ instead install GRUB to a different drive (or partition), or to removable
+ media.
 
 Template: grub-installer/password
 Type: password
@@ -229,7 +227,7 @@ Type: text
 #  Main menu item
 #  Translators: keep below 55 columns
 # :sl1:
-_Description: Install the GRUB boot loader on a hard disk
+_Description: Install the GRUB boot loader
 
 Template: rescue/menu/grub-reinstall
 Type: text

Reply to: