failed record in recovery partition will be copy to created iso.
Closed this issue · 2 comments
alex-tu-cc commented
reproduce step:
- do recovery from usb disk and select chinese language
- after 1. finished execute 'dell-recovery' to do recovery again.
- after 2. finished , execute 'dell-recovery' to create recovery iso.
- use the created iso to do recovery again and get red error grub menu.
Because of #47, the environment in 2 have ${recovery-partition}/factory/grubenv with error bit. So, the ISO generated by 3 will also have it. So that introduce the error in 4.
dell-recovery should stop process and warn user if current environment is not correct. ex. ${recovery-partition}/factory/grubenv should not be there, otherwise the red grub menu will confuse user because there are no error in creating iso.