help-grub
[Top][All Lists]
Advanced

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

Re: Is GRUB2 customizeable enough?


From: Richard Owlett
Subject: Re: Is GRUB2 customizeable enough?
Date: Sun, 24 Jul 2016 13:53:59 -0500
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

On 7/22/2016 11:42 AM, Andrei Borzenkov wrote:
22.07.2016 18:21, Richard Owlett пишет:
I will be experimenting with multiple Linux installs on different
partitions of the same hard disk. [initially various tweaks to Debian
Jessie from the same physical set of distribution DVDs]

The boot menu display *SHALL*:
   1. display in partition number order.

GRUB does not provide sort tools on CLI level. You can enumerate
partitions by simply using (*,*) but due to internal implementation they
are in reversed order.

Are we talking past each other?
I have exactly one hard drive.
Due to BIOS choices I have made, that *WILL BE* the boot device.
[have option to boot from CD or flash but those effectively disabled]
Debian refers to my hard drive partitions as sda1 thru sdaN [1<n<MAX]
Though new to *nix, my hardware experience goes back to 60's ;/

What I *REQUIRE* is that GRUB2's menu list available OS monotonically by partition number. For reasons of logic and sanity the menu items should be in the order of
sda1, sda2, ..., sdaMAX. I could work with sdaMAX, ..., sda2, sda1 .

The purpose AND rationale SHALL be that the default OS choice *SHALL BE* the first OS installed.

WHY?
No matter how badly I mess up, a "hard reset/cold boot" shall *ALWAYS* boot to a known working OS.

That should take care of your other questions.


Implementing sorting is certainly possible. It is simply nobody needed
it so far.

   2. display the correct partition number.

Define "correct".

   3. display the partition *LABEL*

Define "partition label".

      a. set during install
                          OR
      b. set during subsequent run of gparted

The above *SHALL NOT* be changed by *ANY* run of "update grub".






reply via email to

[Prev in Thread] Current Thread [Next in Thread]