Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #169864

Re: enumerating with Grub* (was: reasons to ditch LILO before...)

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: enumerating with Grub* (was: reasons to ditch LILO before...)
Date 2016-07-08 03:10 +0200
Message-ID <rSssN-6bs-5@gated-at.bofh.it> (permalink)
References <rRyJY-3nN-3@gated-at.bofh.it> <rSmGL-2kd-83@gated-at.bofh.it> <rSnjs-2Pm-25@gated-at.bofh.it> <rSqhk-4FB-47@gated-at.bofh.it> <rSrwJ-5BS-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> rhkramer@gmail.com composed on 2016-07-07 18:47 (UTC-0400):
> >The thing that always frustrated me about grub is that, iirc, they counted
> >disks / partitions different than lilo and the rest of Linux--they start
> >counting at 1 (like Windows, iirc), and lilo and Linux start counting at 0--is
> >that still the case?

I'm sorry that this causes perpetual frustration to you, particularly
as you say you really don't have an issue with grub. I'm not sure
whether the answer below will please you or not...

On Thu 07 Jul 2016 at 20:03:46 (-0400), Felix Miata wrote:
> Grub and Grub2 count drives starting with 0 (as a BIOS does).
> 
> Grub also counts partitions starting with 0.
> 
> Grub2 inexplicably counts partitions starting with 1.

I'm afraid I can't go back further than 1996 with Debian (but that was
the first release, 1.1 or buzz). At that time, Debian counted
partitions from 1, as did lilo. The old Grub definitely stood out
in starting from 0, which is why they spelled it out so carefully
in the docs, eg:
https://www.gnu.org/software/grub/manual/legacy/Naming-convention.html#Naming-convention

Now they have fallen into line, the Grub manual has to make sure you
realise it has been changed, eg
https://www.gnu.org/software/grub/manual/grub.html#Naming-convention

The most modern fdisk program I have is gdisk (for GPT disks) and it
counts partitions from 1. Is there some newfangled disk subsystem
that's passed me by which starts counting at zero?

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

reasons to ditch LILO before upgrading to jessie? Giovanni Gigante <giov-debian@deepsky.it> - 2016-07-05 15:40 +0200
  Re: reasons to ditch LILO before upgrading to jessie? Don Armstrong <don@debian.org> - 2016-07-05 19:20 +0200
    Re: reasons to ditch LILO before upgrading to jessie? Marc Shapiro <marcnshap@gmail.com> - 2016-07-05 21:00 +0200
      Re: reasons to ditch LILO before upgrading to jessie? Don Armstrong <don@debian.org> - 2016-07-05 23:50 +0200
        Re: reasons to ditch LILO before upgrading to jessie? Jonathan Dowland <jmtd@debian.org> - 2016-07-06 11:00 +0200
          Re: reasons to ditch LILO before upgrading to jessie? Don Armstrong <don@debian.org> - 2016-07-06 21:30 +0200
            Re: reasons to ditch LILO before upgrading to jessie? <tomas@tuxteam.de> - 2016-07-07 08:40 +0200
              Re: reasons to ditch LILO before upgrading to jessie? Lisi Reisz <lisi.reisz@gmail.com> - 2016-07-07 11:40 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-07 12:40 +0200
                Re: reasons to ditch LILO before upgrading to jessie? <tomas@tuxteam.de> - 2016-07-07 12:50 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-07 13:30 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Giovanni Gigante <giovanni.gigante@deepsky.it> - 2016-07-07 17:20 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Stephen Powell <zlinuxman@fastmail.com> - 2016-07-08 02:40 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Felix Miata <mrmazda@earthlink.net> - 2016-07-08 03:00 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Stephen Powell <zlinuxman@fastmail.com> - 2016-07-09 15:10 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Felix Miata <mrmazda@earthlink.net> - 2016-07-09 17:00 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Stephen Powell <zlinuxman@fastmail.com> - 2016-07-09 19:20 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-09 22:10 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Erwan David <erwan@rail.eu.org> - 2016-07-09 22:10 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Felix Miata <mrmazda@earthlink.net> - 2016-07-09 22:40 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-10 00:20 +0200
                Re: reasons to ditch LILO before upgrading to jessie? <tomas@tuxteam.de> - 2016-07-10 10:40 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-10 13:20 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Stephen Powell <zlinuxman@fastmail.com> - 2016-07-09 22:50 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-10 00:30 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Stephen Powell <zlinuxman@fastmail.com> - 2016-07-10 04:20 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-07-10 10:20 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Stephen Powell <zlinuxman@fastmail.com> - 2016-07-10 14:10 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Felix Miata <mrmazda@earthlink.net> - 2016-07-10 00:50 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-07-10 09:50 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Felix Miata <mrmazda@earthlink.net> - 2016-07-09 22:40 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Stephen Powell <zlinuxman@fastmail.com> - 2016-07-09 23:10 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Richard Owlett <rowlett@cloud85.net> - 2016-07-10 15:40 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-10 16:30 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Joel Roth <joelz@pobox.com> - 2016-07-10 08:40 +0200
                UEFI bootloaders (was: Re: reasons to ditch LILO before upgrading to  jessie?) Joel Roth <joelz@pobox.com> - 2016-07-10 23:20 +0200
                Re: UEFI bootloaders (was: Re: reasons to ditch LILO before upgrading to jessie?) "Byung-Hee HWANG (황병희)" <soyeomul@doraji.xyz> - 2016-07-11 01:20 +0200
              Re: reasons to ditch LILO before upgrading to jessie? David Wright <deblis@lionunicorn.co.uk> - 2016-07-07 20:30 +0200
  Re: reasons to ditch LILO before upgrading to jessie? Gary Dale <garydale@torfree.net> - 2016-07-07 20:50 +0200
    Re: reasons to ditch LILO before upgrading to jessie? David Wright <deblis@lionunicorn.co.uk> - 2016-07-07 21:00 +0200
      Re: reasons to ditch LILO before upgrading to jessie? Gary Dale <garydale@torfree.net> - 2016-07-07 21:20 +0200
        Re: reasons to ditch LILO before upgrading to jessie? David Wright <deblis@lionunicorn.co.uk> - 2016-07-07 21:40 +0200
        Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-07 23:20 +0200
          Re: reasons to ditch LILO before upgrading to jessie? Gary Dale <garydale@torfree.net> - 2016-07-08 05:40 +0200
            Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-08 20:20 +0200
              Re: reasons to ditch LILO before upgrading to jessie? Gary Dale <garydale@torfree.net> - 2016-07-08 21:10 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-08 22:00 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Gary Dale <garydale@torfree.net> - 2016-07-09 00:20 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-09 01:10 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Gary Dale <garydale@torfree.net> - 2016-07-09 05:30 +0200
              Re: reasons to ditch LILO before upgrading to jessie? David Wright <deblis@lionunicorn.co.uk> - 2016-07-08 21:30 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-08 22:20 +0200
                Re: reasons to ditch LILO before upgrading to jessie? David Wright <deblis@lionunicorn.co.uk> - 2016-07-09 00:10 +0200
                Re: reasons to ditch LILO before upgrading to jessie? Brian <ad44@cityscape.co.uk> - 2016-07-09 00:30 +0200
      Re: reasons to ditch LILO before upgrading to jessie? Michael Milliman <michael.e.milliman@gmail.com> - 2016-07-07 21:40 +0200
        Re: reasons to ditch LILO before upgrading to jessie? rhkramer@gmail.com - 2016-07-08 00:50 +0200
          Re: reasons to ditch LILO before upgrading to jessie? Michael Milliman <michael.e.milliman@gmail.com> - 2016-07-08 02:00 +0200
          Re: reasons to ditch LILO before upgrading to jessie? Michael Milliman <michael.e.milliman@gmail.com> - 2016-07-08 02:00 +0200
          Re: enumerating with Grub* (was: reasons to ditch LILO before...) Felix Miata <mrmazda@earthlink.net> - 2016-07-08 02:10 +0200
            Re: enumerating with Grub* (was: reasons to ditch LILO before...) David Wright <deblis@lionunicorn.co.uk> - 2016-07-08 03:10 +0200
              Re: enumerating with Grub* (was: reasons to ditch LILO before...) rhkramer@gmail.com - 2016-07-08 04:20 +0200
              Re: enumerating with Grub* Felix Miata <mrmazda@earthlink.net> - 2016-07-08 05:00 +0200
                Re: enumerating with Grub* David Wright <deblis@lionunicorn.co.uk> - 2016-07-08 07:20 +0200
                Re: enumerating with Grub* Felix Miata <mrmazda@earthlink.net> - 2016-07-08 07:50 +0200
                Re: enumerating with Grub* David Wright <deblis@lionunicorn.co.uk> - 2016-07-08 16:50 +0200
    Re: reasons to ditch LILO before upgrading to jessie? Felix Miata <mrmazda@earthlink.net> - 2016-07-08 06:10 +0200

csiph-web