24.12.2020 20:53, Andrei Borzenkov пишет:
24.12.2020 20:08, Istvan Gabor пишет:
Hello:
I would like to set up a Leap 15.1 system that boots from a md raid1 array.
I have a sample configuration from a working debian system that boots from raid1 array. However there are 2 things in the sample configuration I don't understand.
The working debian grub.cfg has this:
### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os { load_video insmod gzio insmod raid insmod mdraid1x insmod part_msdos insmod part_msdos insmod ext2 set root='(mduuid/4245........a8)' search --no-floppy --fs-uuid --set=root 68b........26e echo 'Loading Linux 3.2.0-4-686-pae ...' linux /boot/vmlinuz-3.2.0-4-686-pae root=UUID=68b........26e ro nomodeset quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.2.0-4-686-pae }
My questions:
...
What occurs if the the fs-uuid of the mduuid device's file system is not equal to the one given in the search command?
The value of "root" variable does not change.
That's not quite correct. If fs-uuid in search command is found on some other device than mduuid device then "root" variable will be set to refer to this other device. If fs-uuid in search command is not found anywhere, the value if "root" variable does not change.