I haven't quite figured out yet how to edit files on the internal drive from the live USB drive.
For example, some users have trouble accessing the GRUB menu. How can you edit your /etc/default/grub file from the live USB drive so that the GRUB menu appears when you subsequently boot Zorin normally?
Do you need chroot therefore, as described in this guide, to be able to run sudo update-grub as well?
In the guide are listed these commands:
Boot from live USB, then mount your system:
sudo mount /dev/sda2 /mnt
(Replace the partition /dev/sda2 with your root partition. You can find it with lsblk -f )
For UEFI systems mount the EFI partition:
sudo mount /dev/sda1 /mnt/boot/efi
For Legacy and UEFI systems then run:
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
Chroot into the system:
sudo chroot /mnt
Edit /etc/default/grub and regenerate:
nano /etc/default/grub
Change the lines you want. Move the cursor down with the arrow keys. To display the grub menu during boot change that lines to the following (the timeout is the time in seconds how long the grub menu is displayed, 10 is a good value):
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
Press ctrl+o to save, enter to confirm and ctrl+x to quit nano editor.
update-grub
exit
Unmount and reboot:
sudo umount -R /mnt
sudo reboot
Once the computer flickers off, pull the USB Stick from the port.
Is that the right procedure?
I've never used chroot so I'm not sure.