I have a system with two drives. One boots Jessie and the other Windows 7. Something happened to the Windows 7 drive, so I cleaned it and reinstalled. I also took advantage of the opportunity to format the drive for UEFI.
The Windows install is good, and when I disconnect my Debian disk, it boots and runs fine. Whatever entry i have in my GRUB is no longer valid, though, as when both disks are connected, I get an error when I try to boot to Windows.
When I run os-prober, nothing visible happens (I just get a prompt back). When I run fdisk -l, I get this:
Code: Select all
root@debian:/etc/grub.d# fdisk -l
Disk /dev/sdb: 59.6 GiB, 64023257088 bytes, 125045424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa6955aaf
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 119883775 119881728 57.2G 83 Linux
/dev/sdb2 119885822 125044735 5158914 2.5G 5 Extended
/dev/sdb5 119885824 125044735 5158912 2.5G 82 Linux swap / Solaris
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 582D05DC-E7BC-4C6B-8C5A-BBD9DD3DAEA3
Device Start End Sectors Size Type
/dev/sda1 2048 206847 204800 100M EFI System
/dev/sda2 206848 239615 32768 16M Microsoft reserved
/dev/sda3 239616 467836927 467597312 223G Microsoft basic data
/dev/sda4 467836928 468860927 1024000 500M Windows recovery environment
Code: Select all
root@debian:/etc/grub.d# update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
done
root@debian:/etc/grub.d#
Is this enough information for someone to tell me what I need to do to get GRUB working again? Thanks.