13.09.2016 14:40, [email protected] пишет: > hi, > > i`m curious, what is the expected behaviour of the grub "search" > command? > > i.e. if i have > > search --no-floppy --fs-uuid --set=root <uuid> > > what should happen if uuid is NOT found ? >
Command terminates with error code, variable is not set. > i see my VM reboot (and as Xenserver detects that as "too early after > start and thinks it`s reboot-loop, it powers down the VM). > Why do you think it is related to this command? Add some delay and debug print to make sure where exactly it reboots. > i would expect that search just does not produce any result and grub > continues processing the config, at least it should spit out some > message "uuid not found, resetting..." > > i came across this after cloning a system and transforming the system > disk so that fs-uuid changed, but that should not matter at all, as > the kernel/initrd-statement does not refer to the fs-uuid for > booting.... > > regards roland > > > _______________________________________________ Help-grub mailing > list [email protected] > https://lists.gnu.org/mailman/listinfo/help-grub > _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
