Comment 95 for bug 1922342

Revision history for this message
Thomas Schmitt (scdbackup) wrote :

Hi,

sudodus wrote:
> # tweak 3: search by UUID
> sed -i '/set isofile/'a" search --set=root --fs-uuid $uid3" "$targ1"/boot/grub/grub.cfg
> sed -i 's/(hd0,3)/($root)/' "$targ1"/boot/grub/grub.cfg

Where does the grub.cfg come from, in which you find "set isofile"
and "(hd0,3)" ?

I looked into /boot/grub/grub.cfg of ubuntu-22.04-desktop-amd64.iso and
of ubuntu-20.04.1-live-server-amd64.iso . Nothing to see of above search
texts.

Have a nice day :)

Thomas