Last active
August 29, 2015 14:03
-
-
Save patrickmmartin/7a2babf1a2a18f583daf to your computer and use it in GitHub Desktop.
restore the Windows boots on debian dual boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo os-prober | |
/dev/sda1:Windows Recovery Environment (loader):Windows:chain | |
/dev/sda2:Windows 8 (loader):Windows1:chain | |
$ sudo update-grub2 | |
Generating grub.cfg ... | |
Found background image: /usr/share/images/desktop-base/desktop-grub.png | |
Found linux image: /boot/vmlinuz-3.2.0-4-amd64 | |
Found initrd image: /boot/initrd.img-3.2.0-4-amd64 | |
Found Windows Recovery Environment (loader) on /dev/sda1 | |
Found Windows 8 (loader) on /dev/sda2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment