ghostal
January 16th, 2017, 11:16 PM
Hi, first post here - hello everyone!
I have a machine with Windows 7 and Ubuntu installed. Each OS is on a separate physical disk. The motherboard is an Asus X99 Deluxe.
These are the steps I went through to reach this point.
Machine starts with one SSD with Windows 7 installed.
I added a second (identical) SSD to the machine, and unplugged the first.
I installed Ubuntu 16.04 from a USB on the second SSD.
Once installed, I plugged the first disk back in.
The situation now is this:
Ubuntu seems to boot without issue, although I don't see any grub menu during boot.
I can boot Windows 7 (or Ubuntu, in fact) without issue by entering the UEFI BIOS and picking a partition to boot from (which pleasantly surprised me the first time!). Once I pick one, any restart will cause that OS to be booted again after a restart, until I go into the BIOS again and pick another.
However, I can't see options for the first (Windows 7) disk in the boot priority listing.
Some while ago when BIOS all looked ugly and blue and text-based I could understand stuff like boot order, but now it seems like I'm completely lost.
My goal is to have grub installed on the second (Ubuntu) disk, and have it deal with booting both operating systems. However, I would also like to have the option of removing the Ubuntu disk, and have the machine boot up as it was before the second disk was added and Ubuntu was installed.
However, grub doesn't seem to be able to detect the Windows 7 installation (although the Windows partition is mounted and files are accessible from within Ubuntu). Here is what I have tried so far:
$ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-59-generic
Found initrd image: /boot/initrd.img-4.4.0-59-generic
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Adding boot menu entry for EFI firmware configuration
done
$ sudo os-prober
$
As you can see, grub doesn't detect the Windows 7 install, and os-prober provides no output.
I think tried the boot-repair tool, but the automatic repair option generates the following error:
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.
The boot info summary generated by boot-repair is here: http://paste2.org/cAYLgLKz
I have a machine with Windows 7 and Ubuntu installed. Each OS is on a separate physical disk. The motherboard is an Asus X99 Deluxe.
These are the steps I went through to reach this point.
Machine starts with one SSD with Windows 7 installed.
I added a second (identical) SSD to the machine, and unplugged the first.
I installed Ubuntu 16.04 from a USB on the second SSD.
Once installed, I plugged the first disk back in.
The situation now is this:
Ubuntu seems to boot without issue, although I don't see any grub menu during boot.
I can boot Windows 7 (or Ubuntu, in fact) without issue by entering the UEFI BIOS and picking a partition to boot from (which pleasantly surprised me the first time!). Once I pick one, any restart will cause that OS to be booted again after a restart, until I go into the BIOS again and pick another.
However, I can't see options for the first (Windows 7) disk in the boot priority listing.
Some while ago when BIOS all looked ugly and blue and text-based I could understand stuff like boot order, but now it seems like I'm completely lost.
My goal is to have grub installed on the second (Ubuntu) disk, and have it deal with booting both operating systems. However, I would also like to have the option of removing the Ubuntu disk, and have the machine boot up as it was before the second disk was added and Ubuntu was installed.
However, grub doesn't seem to be able to detect the Windows 7 installation (although the Windows partition is mounted and files are accessible from within Ubuntu). Here is what I have tried so far:
$ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-59-generic
Found initrd image: /boot/initrd.img-4.4.0-59-generic
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Adding boot menu entry for EFI firmware configuration
done
$ sudo os-prober
$
As you can see, grub doesn't detect the Windows 7 install, and os-prober provides no output.
I think tried the boot-repair tool, but the automatic repair option generates the following error:
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.
The boot info summary generated by boot-repair is here: http://paste2.org/cAYLgLKz