LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2009, 01:22 AM   #1
kishore15
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
Boot loader issues suse and vista


HI all
previously i had vista in my laptop harddisk
yesterday i installed suse10.3 in my usb harddisk
after installing suse10.3 im unable to enter into the vista even when the usb hdd is removed,
i want to boot using vista's boot loader rather than suse boot loader
so how can i bring back the windows boot loader
any help regarding this ASAP will be greatly appreciated.....
 
Old 03-20-2009, 01:47 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
I'll guess that you opted for updating the main MBR instead of the MBR of the usb hdd. First with the usb hdd plugged in, boot up in SuSE and look in the /boot/ directory for the backup MBR. It should be a copy of the original MBR and only 440 bytes long. This is the area that contains the boot strap loader. If you find it you can restore this file with
sudo dd if=/boot/<filename> of=/dev/sda bs=440 count=1. But first, make a backup of this MBR that will boot up into SuSE. Saving it to a pendrive would be a good idea.
Assuming a pendrive is mounted on /media/disk/:
sudo dd if=/dev/sda of=/media/disk/opensuse103 bs=440 count=1


If the file is only 440 bytes long, you don't need the "bs=440 count=1". I included it so that you wouldn't go over your drives partition table.

Now try booting into Vista again. If it doesn't work, you may have done something else. Make sure the vista partition is present.

---

If you get on google for "linux nt mbr" you will find a number of pages with instructions on using the Windows BOOT.INI file to chainload Linux. If you save the "opensuse103" file saved from the old mbr, you can use that ( I think ).
You will find out that Vista doesn't have a C:\BOOT.INI file. However, if you create one, and save it on the C:\ drive (with hidden, system attributes), Vista will use it just as XP did.

You may need to boot into rescue mode (openSuSE install disk) and update grub to your external drive, and cut out the 440 bytes from that instead. Or if your computer has a quick boot option, you could rely on that.
 
Old 03-23-2009, 10:40 AM   #3
kishore15
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
It worked out thanq u lot buddy
 
  


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
Boot loader change - Vista & Fedora 9? JimmyTaylor Linux - Laptop and Netbook 15 06-14-2009 09:56 PM
Dual boot linux/vista issues metalfiiish Linux - Newbie 3 07-07-2008 08:59 PM
10.2 and Vista dual boot issues Firebar SUSE / openSUSE 14 04-30-2007 06:05 PM
Boot Loader Issues esj Linux - Newbie 6 01-21-2004 03:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:34 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