LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 01: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, 05:10 AM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
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, 08: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



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 05:45 PM
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 07:01 PM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01: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 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 PM.

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
Open Source Consulting | Domain Registration