Results 1 to 5 of 5
Thread: Show Windows7 in GRUB loader
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
08-07-2014 #1
- Join Date
- Aug 2014
- Posts
- 4
Show Windows7 in GRUB loader
As I recall I have:
sda1: Windows7
sda2: ...
sda3: Debian
And I installed the loader on sda2. How can I please restore my Windows in the loader options?
-
08-08-2014 #2
- Join Date
- Jun 2014
- Posts
- 134
install debian to sda3 and install grub to sda the master boot record..this allows boot option of debian or win7, assuming that sda2 is the win7 default recovery partition.
-
08-08-2014 #3
- Join Date
- Aug 2014
- Posts
- 4
I reinstalled everything.. made some other mistakes (especialy because grub identified Win7 as Vista and got confused). But finally I understood a few ways that solve the problem: Option 1(EASY, BUT TAKES LONG TO INSTALL). you can reinstall debian and grub;
or my favorite:
Option 2(VERY EASY, just more text to describe steps).
Summary of steps: a) Reinstall grub; b)set root and new user (if necesary);
A) You can reinstall just grub from the boot CD/USB by going to the advanced options->rescue mode->select the partition where you installed Debian (sda3 in my case)->"Reinstall grub"(or something like that)->select Master(to make it the main loader). Then restart and grub should work.
B) My user was gone and root password changed, but that is very easy to fix by selecting Debian..(Recovery). You get instant acces to root and can use 'adduser' to add a user and 'passwd' to change root password.
-
08-08-2014 #4
- Join Date
- Jun 2014
- Posts
- 134
very good
yes other options, thanks for posting
reinstall takes longer but offers clean slate.
-
08-09-2014 #5
In Fedora using grub2 one would open a terminal as root and enter:
Code:grub2-mkconfig -o /boot/grub2/grub.cfg
Code:grep menuentry /boot/grub2/grub.cfg
phil