0

when I restart my computer, it boots to ubuntu 18.10 on sda4. I don't want that. I want to boot to 18.04 on sda2. I can do this by selecting from the list of oses during the boot process, but if i have a power outage, it boots to the wrong os. What to do?

Model: ATA WDC WD1001FALS-0 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  538MB   537MB   fat32        EFI System Partition  boot, esp
 2      538MB   537GB   536GB   ext4
 3      537GB   537GB   1049kB                                     bios_grub
 4      537GB   1000GB  464GB   ext4

jcg@jcg-hp:/boot$ sudo dpkg-reconfigure grub-efi-amd64
[sudo] password for jcg: 
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-041500rc6-generic
Found initrd image: /boot/initrd.img-4.15.0-041500rc6-generic
Found linux image: /boot/vmlinuz-4.15.0-72-generic
Found initrd image: /boot/initrd.img-4.15.0-72-generic
Found linux image: /boot/vmlinuz-4.15.0-70-generic
Found initrd image: /boot/initrd.img-4.15.0-70-generic
Found linux image: /boot/vmlinuz-4.13.0-37-generic
Found initrd image: /boot/initrd.img-4.13.0-37-generic
Found linux image: /boot/vmlinuz-4.13.0-36-generic
Found initrd image: /boot/initrd.img-4.13.0-36-generic
Found linux image: /boot/vmlinuz-4.13.0-31-generic
Found initrd image: /boot/initrd.img-4.13.0-31-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 18.10 (18.10) on /dev/sda4
done
Processing triggers for shim-signed (1.37~18.04.3+15+1533136590.3beb971-0ubuntu1) ...
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
jcg@jcg-hp:/boot$ 

0 Answers0