Hi folks!
I'm trying to install Ubuntu (focal) from a Live system using debootstrap with the attached bootstrap-ubuntu script.
This works fine when I manually confirm the dpkg dialogs and select /dev/sda.
However I'd like to run this completely unattended and when I replace the linux-generic install line with
, Grub won't be installed, at least not in a state that makes it boot the system.Code:DEBIAN_FRONTEND=noninteractive chroot /mnt apt-get install -yq linux-generic chroot /mnt grub-install /dev/sda chroot /mnt update-grub
Can anyone help me, please?
Bookmarks