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


Groups > alt.os.linux > #60907

Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices

From Soviet_Mario <SovietMario@CCCP.MIR>
Newsgroups alt.os.linux
Subject Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices
Date 2019-11-28 17:34 +0100
Organization A noiseless patient Spider
Message-ID <qrosul$7mb$1@dont-email.me> (permalink)
References <qrodte$ra7$1@dont-email.me> <slrnqtvg4v.bjk.BitTwister@wb.home.test>

Show all headers | View raw


On 28/11/2019 13:42, Bit Twister wrote:
> On Thu, 28 Nov 2019 13:17:45 +0100, Soviet_Mario wrote:
>>
>> a question about the subject.
>>
>>
>> The said order, is "distro-dependent" (that is, devices
>> number are assigned locally and arbitrarily) or is it
>> absolute (bios-dependent) and in turn depending on which
>> connectors the disks are attached to the motherboard ?
>>
>>
>> The question arises from this uncertainty
>>
>> would NECESSARILY a /dev/sda1  mounted in OS1  be the same
>> physical device as  /dev/sda1  mounted in OS2, 3 etc ?
> 
> Systemd went with UUID. /dev/xxxx was found to be unreliable with newer
> systems. Order of io address probed, cable pin selection not available
> on usb drives, slow drive spin up, and other sundry udev problems made
> the UUID the preferred identification method.

don't understand this reply ... in FSTAB the informations 
are BOTH used and linked togheter, not only is UUIDs used. 
The UUIDs (or labels or else) are bount to a 
general/particular device path

> 
> 
>> I am asking this in case of manual editing of FSTAB of
>> "another distro" from a different one.
> 
> Well, if you "clone" a partition/dive, you have the problem of
> duplicate UUID/label/partitionname.  :(

I'll check the situation after GParted is done and before 
try to reboot.
I'll edit FSTAB manually as to the UUIDs, but I still have 
to understand what to do with /dev/sdXXX voices

> 
> 
>> I am also assuming (but correct me if i'm wrong !) that
>> UUIDs (and labels if supported) are absolute,
> 
> Not if you "clone" it. UUIDS, labels, partition names would be duplicated.
> 
>> that is stored phisically on the disks.
> 
> Well, it does have to be stored somewhere.

and also /dev/sdXXX are stored, or they are defined in the 
order (predictable ?) the system detects disks ?

> 
> partition name is stored in the GPT drive partition header, and is not
> destroyed during partition formatting. UUID and label are destroyed
> during formatting and needs replacing after formatting if used by
> /etc/fstab, scripts, initrd generation,...
> 
> 
>> But before relying on "constant" (distro-independent)
>> associations among UUIDs and /dev/sdXXX items, I also need
>> to know if the second items are absolute or relative
> 
> UUIDS and labels are "constant" until partition is formatted.
> /dev/sdXXX depend on hardware and software, be it bios or system OS.

bios or OS are very different in "predictability", as the 
bios is the same for all present and future distro, while 
different OSes could do what they prefer each :\

> 


-- 
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
Soviet_Mario - (aka Gatto_Vizzato)

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

About the "order" any bootable OS of a multi-boot PC sees the physical devices Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-28 13:17 +0100
  Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Bit Twister <BitTwister@mouse-potato.com> - 2019-11-28 06:42 -0600
    Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-11-28 14:58 +0100
    Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-28 17:34 +0100
      Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Bit Twister <BitTwister@mouse-potato.com> - 2019-11-28 11:28 -0600
        Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Bit Twister <BitTwister@mouse-potato.com> - 2019-11-28 11:34 -0600
      Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-11-28 20:07 +0100
  Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-11-28 15:01 +0100
    Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-28 17:36 +0100
      Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-11-28 20:02 +0100
      Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Aragorn <thorongil@telenet.be> - 2019-11-28 23:31 +0100
        Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-29 00:01 +0100
        Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-11-29 22:40 +0100
          Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-11-30 15:03 +0100
            Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-11-30 17:17 +0100
              Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-11-30 20:20 +0100
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-01 20:18 +0100
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 04:52 +0100
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-02 19:49 +0100
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:17 +0100
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-02 23:22 +0100
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 14:40 +0100
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-03 09:36 -0500
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 19:52 +0100
                Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-03 20:30 +0100
  Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-28 17:54 +0100
    Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Bit Twister <BitTwister@mouse-potato.com> - 2019-11-28 11:23 -0600
  Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Jasen Betts <jasen@xnet.co.nz> - 2019-11-29 04:14 +0000
    Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-29 14:20 +0100
      Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Jasen Betts <jasen@xnet.co.nz> - 2019-11-29 19:54 +0000
        Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-11-29 15:21 -0500
        Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-11-29 22:50 +0100
    Re: About the "order" any bootable OS of a multi-boot PC sees the physical devices Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-11-29 22:44 +0100

csiph-web