Can a GRUB2 boot to a second hard disk?

Can a GRUB2 boot to a second hard disk?

GRUB2 only boots to Ubuntu (on 1st hard disk, in my example). Issuing update-grub does not detect the operating system on the 2nd hard disk, but I know there is one.

How do I install GRUB2 on my computer?

If its a standard Debian install it should be GRUB2. Boot the computer with all disks containing bootable installations attached and powered. you need to open Root Terminal application to open a terminal as root, then enter these commands: if os-prober package is already installed, apt will let you know, without doing any changes to the system.

How can I Make my Debian system bootable?

To make your Debian GNU/Linux system bootable, set up your boot loader to load the installed kernel with your new root partition. Note that debootstrap does not install a boot loader, but you can use apt inside your Debian chroot to do so.

How to set up bootloader for Debian Linux?

Check info grub or man lilo.conf for instructions on setting up the bootloader. If you are keeping the system you used to install Debian, just add an entry for the Debian install to your existing grub2 grub.cfg or lilo.conf. For lilo.conf, you could also copy it to the new system and edit it there.

Is it possible to install Grub on multiple drives?

Do not run auto fix with Boot-Repair, as that installs grub everywhere. Or use Windows repair disk and run the Windows fixes (fixMBR) to restore Windows boot loader to MBR. If booted into Ubuntu you can directly install grub to MBR of external drive directly.

Can you have windows grub and Linux Grub?

As you have 2 disks, you can have 2 functional grub, the Windows grub in the MBR of your Windows disk, and the Linux grub in the MBR of your removable disk. You can use a live CD/USB (everyone should have one to fix bad things that happens to boot, more often than we think).

Can you install Grub on a spinning hard drive?

If you install the grub bootloader to the spinning hard drive then you would have to go into your bios setup and make your spinning hard drive first in the boot priority. Your grub installation on the spinning hard drive will automatically detect both your windows install and your linux install and give you the option of booting into either one.

How to repair boot menu in GRUB 2?

Update the GRUB config file. sudo update-grub. Reinstallation of Grub on the device: sudo grub-install /dev/sdX. This should be it for the rescue part and your system should be good and running. If not you can save all your trouble by using Boot Repair. This is the tool used to repair your complete boot menu.

What to do when Grub boot fails in rescue mode?

After the above commands you can go ahead and start the rest of the settings. (Selects the initrd image.) After Booting the system. Update the GRUB config file. This should be it for the rescue part and your system should be good and running. If not you can save all your trouble by using Boot Repair.

Why does ramdisk stop the system from booting?

Regardless of the kernel selected to boot (failsafe or default), a kernel panic stops the system from booting. RAMDISK: Couldn’t find a valid RAM disk image starting at 0.