Installing Grub2/Grub after the fact
Hi, I am a new member in need of advice. I don't want to risk trial and error with this particular problem, so I'm seeking advice.
I built a new machine with Win7 installed on an SSD. I installed Linux Mint 10 on a second drive, giving it 100 gig space to partition as it saw fit. I've spent the last week learning, tweaking and sorting out bugs with both. My situation is, I need a boot manager. Right now I boot by switching the boot order in the bios. If Mint hadn't turned to to be such a nice experience, I could live with that. The fact is, I really want to work with this system a lot now and want easy access. Is there an approach to installing a boot manager at this stage of the game? Thanks, in advance, for any advice. |
If you can boot it from the BIOS, you've already got all you need. I'm surprised grub doesn't list Win7 as an (boot) option. Show us the output of these from a Mint terminal
Code:
sudo fdisk -l |
First, I should explain that I'm a newbie to Linux, so many things about Linux are still foreign to me. That out of the way, I'll continue.
First, I am not sure Grub was even installed. So, I met my first bugaboo trying to use the command string you suggested. sudo requires a password so, as I attempt to enter it (or anything else), my keyboard no longer functions. I'm not sure if it's me missing a basic in using terminal or what, but I'm stuck. Thanks |
The password won't display - that's a security feature. Simply type your (logon) password and hit <Enter>. Then enter the cat command.
|
Thanks for the help, it is appreciated. Here is what I got:
Quote:
|
It seems that Win7 didn't make it into that menu list.
from a terminal, type:- Code: sudo apt-get install os-prober sudo update-grub grep menuentry /boot/grub/grub.cfg reboot the machine, & post the output of that file, again. |
Ok, I hope I did this right. This is what I got first time:
Quote:
Quote:
|
That was "sudo fdisk -l" (lower case ell as in list, not the digit one).
Seems @pierre2is correct - os-prober is not recognising the Win7 on the SSD. Your options are to build a custom entry for it (see this for info), or to use the Win7 loader to chainload grub. Unfortunately this latter isn't as easy as it used to be - grub2 complains about being installed into a partition, and may fail unexpectedly at some point in the future. I haven't had this happen, but it might. |
I just want to say thanks to syg00 and pierre2 for the help. I'm going to put this task aside for a bit since it isn't critical. Actually, you helped me more then you know. One of my main reasons for installing Linux was to begin learning Linux commands and before I even pulled up a book, you helped me reach first base. That's big, because experience has taught me the first step is hardest. I'm not new to computers, just Linux and I'm way past due jumping in. I'll tackle this again in the near future after getting my feet wet a bit. I'll report back here on how I make out or if I hit a snag in understanding something.
Many Thanks! |
All times are GMT -5. The time now is 11:39 PM. |