My configuration - dual boot system
- SSD-1TB (Ubuntu 16.04)
- SSD-250G (Ubuntu 16.04)
Because of insufficient space I replaced the SSD-1TB disk with a new SSD-2TB disk. I installed Ubuntu 16.04 on it from USB stick with the SSD-250G disk disconnected before installation.
After the installation completed I reconnected the SSD-250G disk, but I can't boot from it, it's always booting from the new SSD-2TB disk. Finally, unless I disconnected the cable of the new SSD-2TB disk.
Then I ran boot-repair and this is my boot summary.
sudo fdisk -l Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 999423 997376 487M 83 Linux /dev/sdb2 1001470 488396799 487395330 232.4G 5 Extended /dev/sdb5 1001472 488396799 487395328 232.4G 8e Linux LVM
add follow to /etc/grub.d/40_custom menuentry "Install on sdb" { set root=(sdb) linux /vmlinuz root=/dev/sdb ro quiet splash initrd /initrd.img }
Edit grub to turn off os-prober
Still failed only booting SSD-2TB
– user108763 Sep 25 '19 at 23:43Cancel all entries on; /etc/default/grub
/etc/grub.d/40_custom
sudo cp -a /boot/grub/grub.cfg.backup /boot/grub/grub.cfg
sudo update-grub
Still only booting SSD-2TB disk
– user108763 Sep 25 '19 at 23:55On the boot-loader page following line popup on top; GNU GRUB Version 2.02~beta2-36ubuntu3.22
Does it matter ?
– user108763 Sep 26 '19 at 05:19