Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-30-2010, 07:31 PM
|
#1
|
|
LQ Newbie
Registered: May 2010
Distribution: Arch, Debian, Fedora
Posts: 7
Rep:
|
Grub and Windows 7
Hello. I accidentally removed the Windows 7 Bootloader when I installed Archlinux. My setup is:
/dev/sda This had the Bootloader. Now has Grub and Archlinux
/dev/sdb This has my Windows 7 installation.
Now, I'm wondering what options I need to add to menu.lst to be able to boot my Windows 7 install.
Thanks!
(Sorry if Windows related questions aren't allowed here. Just lemme know.)
I should probably add some additional information. Right now my Windows option in Grub looks like:
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
Selecting this gives me BOOTMGR is missing.
Last edited by Caram; 05-30-2010 at 09:00 PM.
Reason: Additional information.
|
|
|
|
05-30-2010, 07:50 PM
|
#2
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,236
|
Probably the wrong partition - recovery/vendor maybe. Let's see this from a root terminal "fdisk -l".
Win7 chainloads fine from grub - I lost hibernation (for Win7) though.
|
|
|
|
05-30-2010, 08:04 PM
|
#3
|
|
LQ Newbie
Registered: May 2010
Distribution: Arch, Debian, Fedora
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by syg00
Probably the wrong partition - recovery/vendor maybe. Let's see this from a root terminal "fdisk -l".
Win7 chainloads fine from grub - I lost hibernation (for Win7) though.
|
Here you go.
|
|
|
|
05-30-2010, 08:29 PM
|
#4
|
|
Member
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575
Rep:
|
Quote:
|
/dev/sda This had the Bootloader. Now has Grub and Archlinux
|
By "Bootloader" do you mean the windows bootloader? If so, I would disable /dev/sda (either in the BIOS or by physically detaching the cable) and use your windows install disk to reinstall the (windows) bootloader to /dev/sdb. Powerdown, re-enable /dev/sda and your grub chainloader entry (as it is now) should allow you to boot into windows again.
Last edited by brucehinrichs; 05-30-2010 at 08:31 PM.
|
|
|
1 members found this post helpful.
|
05-30-2010, 08:35 PM
|
#5
|
|
LQ Newbie
Registered: May 2010
Distribution: Arch, Debian, Fedora
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by brucehinrichs
By "Bootloader" do you mean the windows bootloader? If so, I would disable /dev/sda (either in the BIOS or by physically detaching the cable) and use your windows install disk to reinstall the (windows) bootloader to /dev/sdb. Powerdown, re-enable /dev/sda and your grub chainloader entry (as it is now) should allow you to boot into windows again.
|
Great, thanks. Will give it a go.
Super appreciated.
|
|
|
|
05-30-2010, 08:38 PM
|
#6
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,236
|
Let's see the menu.lst as well in that case (referring to the listing in post #3). And from the grub boot menu, get into command mode and let's see the output from
Code:
geometry (hd0)
geometry (hd1)
Last edited by syg00; 05-30-2010 at 08:47 PM.
Reason: added reference comment.
|
|
|
1 members found this post helpful.
|
05-30-2010, 08:59 PM
|
#7
|
|
LQ Newbie
Registered: May 2010
Distribution: Arch, Debian, Fedora
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by brucehinrichs
By "Bootloader" do you mean the windows bootloader? If so, I would disable /dev/sda (either in the BIOS or by physically detaching the cable) and use your windows install disk to reinstall the (windows) bootloader to /dev/sdb. Powerdown, re-enable /dev/sda and your grub chainloader entry (as it is now) should allow you to boot into windows again.
|
Awesome, absolutely brilliant. Did the trick just fine.
I was so afraid I would have to reinstall.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|