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


Groups > linux.debian.user > #204216

Re: /dev/disk/by-id/ in testing

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: /dev/disk/by-id/ in testing
Date 2019-01-08 20:20 +0100
Message-ID <xe54R-si-1@gated-at.bofh.it> (permalink)
References (1 earlier) <xde0y-1gs-19@gated-at.bofh.it> <xdE4G-ur-11@gated-at.bofh.it> <xdExI-EG-35@gated-at.bofh.it> <xdHvz-2Hv-1@gated-at.bofh.it> <xdYd4-4vj-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 08/01/2019 à 12:51, Johan en Katrien Dewaele a écrit :
> 
> Only the location of my boot-disk is identified by "ID" in lilo, seems
> it is not possible to do this by UUID in lilo.

I wrote previously in this thread :

This is because the UUID is only part of filesystem metadata and cannot 
be used to specify a device not containing a filesystem, such as a whole 
partitioned disk. Whole partitioned disks are not present in 
/dev/disk/by-{label,uuid}/.

If LILO's boot sector was located in a primary partition boot record 
(PBR) instead of the disk MBR, you could use the partition's filesystem 
UUID in lilo.conf. Of course this requires to write a standard boot 
program in the MBR and set the partition boot flag.

>Thinking of switching to grub2 to avoid these problems.

I also wrote previously in this thread :

This issue is not specific to lilo. It would affect grub-pc updates too, 
because the boot device is specified by device id.

For example on my system :
$ debconf-show grub-pc
(...)
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD1200BEVE-00WZT0_...

The issue would be happen less often - only when updating the grub-pc 
package instead of on any kernel update - but it would still happen.

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


Thread

/dev/disk/by-id/ in testing Johan en Katrien Dewaele <jenkdewaele2@yahoo.com> - 2019-01-06 11:40 +0100
  Re: /dev/disk/by-id/ in testing songbird <songbird@anthive.com> - 2019-01-06 14:40 +0100
    Re: /dev/disk/by-id/ in testing Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-06 15:50 +0100
    Re: /dev/disk/by-id/ in testing Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-06 16:10 +0100
  Re: /dev/disk/by-id/ in testing David Wright <deblis@lionunicorn.co.uk> - 2019-01-07 15:30 +0100
    Re: /dev/disk/by-id/ in testing songbird <songbird@anthive.com> - 2019-01-07 16:00 +0100
      Re: /dev/disk/by-id/ in testing deloptes <deloptes@gmail.com> - 2019-01-07 19:10 +0100
        Re: /dev/disk/by-id/ in testing Johan en Katrien Dewaele <jenkdewaele2@yahoo.com> - 2019-01-08 13:00 +0100
          Re: /dev/disk/by-id/ in testing deloptes <deloptes@gmail.com> - 2019-01-08 18:40 +0100
          Re: /dev/disk/by-id/ in testing Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-08 20:20 +0100
            Re: /dev/disk/by-id/ in testing Vincent Lefevre <vincent@vinc17.net> - 2019-01-14 11:10 +0100
              Re: /dev/disk/by-id/ in testing Vincent Lefevre <vincent@vinc17.net> - 2019-01-14 11:20 +0100
                Re: /dev/disk/by-id/ in testing Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-14 20:30 +0100
                Re: /dev/disk/by-id/ in testing Vincent Lefevre <vincent@vinc17.net> - 2019-01-15 19:50 +0100
  Re: /dev/disk/by-id/ in testing Vincent Lefevre <vincent@vinc17.net> - 2019-01-14 11:10 +0100

csiph-web