Re: Switching to another boot device on failure

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 20.11.2014 15:38, Venkata Subbarao wrote: > Once again Thank you Andrei. > Modified the grub source and added grub_exit (). After this BIOS booted > from next device. > > I am now working on a solution where if the UUID present in the grub.cfg > goes bad. > One way I am thinking is to check the

Re: Switching to another boot device on failure

2014-11-21 Thread Venkata Subbarao
I purposefully modified grub.cfg and changed the UUID in the line starts with "linux /boot/vmlinuz.. root=UUID=" Ended up in the (initramfs) prompt because such partition is not present. Hence, I was thinking of checking CRC. Thanks and Regards, Subbarao On Thu, Nov 20, 2014 at 10:53 PM,

Re: Switching to another boot device on failure

2014-11-20 Thread Venkata Subbarao
Once again Thank you Andrei. Modified the grub source and added grub_exit (). After this BIOS booted from next device. I am now working on a solution where if the UUID present in the grub.cfg goes bad. One way I am thinking is to check the CRC of the grub.cfg and other image files required for boo

Re: Switching to another boot device on failure

2014-11-19 Thread Arbiel Perlacremaz
Switching to the next boot device should not be done without advertising the user, so that he or she has the opportunity to fix the primary device's booting process. By the way, how is the "recordfail" environment variable reset ? And wouldn't it be possible to implement a "next_boot_device" envi

Re: Switching to another boot device on failure

2014-11-18 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 10:51:00 + (UTC) Venkata Subbarao пишет: > Hi All, > > I am working on a task on XUbuntu OS in which due to any reason if booting > fails I would like to switch to another boot device by zeroing the MBR of > current boot disk. Is this possible ? > > For example instead of