Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
/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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.