help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub search - reboot ?


From: Andrei Borzenkov
Subject: Re: grub search - reboot ?
Date: Wed, 14 Sep 2016 11:04:28 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

13.09.2016 14:40, address@hidden пишет:
> 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 address@hidden 
> https://lists.gnu.org/mailman/listinfo/help-grub
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]