LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-14-2012, 02:14 AM   #1
bheemamahesh
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Rep: Reputation: 0
Exclamation need Help in Boot Loader


Hello Every one

i ve installed Windows 7 in Primary and created "/" and "swap" in logical for backbox after that i accidentally selected the drive where i installed windows 7 for boot loader

now backbox is working fine and windows is not opening for me

pls help me out from this
 
Old 05-14-2012, 06:10 AM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 244

Rep: Reputation: 51
Hi,

Well I think you have to use the Windows CD to restore the boot partition for the Windows boot.
Windows "likes" sitting in the first partition therfore you can't move it to anywhere else.

Here is a step-by-step guide to restore the boot on Windows: http://www.howtogeek.com/howto/32523...ader-problems/

After you restored it then the Linux wont boot. So you will need to update the grub on the Linux box too.
If the Linux installed on the first disk you can run this command:
Code:
# grub-install /dev/hda
It will install the grub boot loader into /dev/sda master boot record then you will be able to boot into Windows and Linux too.
 
1 members found this post helpful.
Old 05-15-2012, 09:20 AM   #3
bheemamahesh
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Wink

Quote:
Originally Posted by okcomputer44 View Post
Hi,

Well I think you have to use the Windows CD to restore the boot partition for the Windows boot.
Windows "likes" sitting in the first partition therfore you can't move it to anywhere else.

Here is a step-by-step guide to restore the boot on Windows: http://www.howtogeek.com/howto/32523...ader-problems/

After you restored it then the Linux wont boot. So you will need to update the grub on the Linux box too.
If the Linux installed on the first disk you can run this command:
Code:
# grub-install /dev/hda
It will install the grub boot loader into /dev/sda master boot record then you will be able to boot into Windows and Linux too.
thnX for ur support
i fixed it with help of other forum
after fixing windows we ve to do chroot and the #grub-install /dev/sda
without chroot grub-install /dev/sda makes no sense as we r using linux by live cd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 06:45 PM
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 08:01 PM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 02:47 PM
Create a boot CD (start up disc) to reinstall boot loader Red Hat 9 johnnylinux Linux - Laptop and Netbook 2 08-03-2006 11:19 AM


All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration