It is currently Wed Apr 23, 2014 3:55 am

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Dual Boot Linux Mint / Vista
PostPosted: Tue May 18, 2010 7:44 pm 
Offline

Joined: Tue May 18, 2010 7:35 pm
Posts: 2
Was looking for some help regarding an issue that just started up with dual booting between linux mint and Vista.

Linux Mint was installed on seperate partion (x:\) and vista on (c:\). Long story short the x:\ drive was reformatted to NTFS and upon reboot the following error occurs.

GRUB Loadibng stage1.5.
GRUB loading, please wait
Error 17

I've downloaded, UBCD and have been able to go through the menu using Super Grub from the boot management tools and have Vista load to my desktop. What I would like to do is set the mbr back to the default as if Vista was the only OS installed.

Can anyone provide a little guidance on how I can restore the mbr for vista? It appears you can make default through Super GRUB but it didn't have Vista as an option, so I wasn't sure if Windows 2000, XP and 2003 would provide the same functionality and fix it.

thanks,


Top
 Profile  
 
 Post subject: Re: Dual Boot Linux Mint / Vista
PostPosted: Wed May 19, 2010 10:05 am 
Offline

Joined: Tue Sep 09, 2008 4:37 pm
Posts: 454
Location: California, USA
domesnturf wrote:
Was looking for some help regarding an issue that just started up with dual booting between linux mint and Vista.

Linux Mint was installed on seperate partion (x:\) and vista on (c:\). Long story short the x:\ drive was reformatted to NTFS and upon reboot the following error occurs.

GRUB Loadibng stage1.5.
GRUB loading, please wait
Error 17

I've downloaded, UBCD and have been able to go through the menu using Super Grub from the boot management tools and have Vista load to my desktop. What I would like to do is set the mbr back to the default as if Vista was the only OS installed.

Can anyone provide a little guidance on how I can restore the mbr for vista? It appears you can make default through Super GRUB but it didn't have Vista as an option, so I wasn't sure if Windows 2000, XP and 2003 would provide the same functionality and fix it.

thanks,


I actually boot Linux Mint 64bit AND Windows 7 64bit. So you're in luck. EDIT: You may want to take a look at this too (regarding the error 17): http://ubuntuforums.org/showthread.php?t=708374

You will have to use the vista installation dvd to repair the mbr. You boot from it and select REPAIR as the option, and then it gives you options to repair your system, one of them being reinstall Vista MBR.

After Vista boots, if you are still interested in Linux Mint, then depending on the version you have installed, you have to run the grub install command to reinstall grub so you can dual boot. You will have to boot from the live CD of the version of linux mint you are using.

Linux Mint 9(latest as of this post and the version I am using): This will work for Grub2

* Boot your live CD
* Open a terminal - Applications, Accessories, Terminal.
* Determine your normal system partition - `sudo fdisk -l` (That is a lowercase L)
* If you aren't sure, run `df -Th`. Look for the correct disk size and ext3 or ext4 format.
* Mount your normal system partition:

Code:
sudo mount /dev/sda1 /mnt


- Example: sudo mount /dev/sda1 /mnt
- Note: substitue the correct partition: sda1, sdb5, etc.
- Note: GRUB 2 counts the first drive (X) as "0", but the first partition (Y) as "1"

* >>Only if you have a separate boot partition:

Code:
sudo mount /dev/sdXY /mnt/boot


- with sdXY being your /boot partition designation.

* Reinstall GRUB 2:

Code:
sudo grub-install --root-directory=/mnt /dev/sdX


- Example: sudo grub-install --root-directory=/mnt /dev/sda
- Note: Substitute the correct device - sda, sdb, etc. Do ''not'' specify a partition number.

* Unmount the partition:

Code:
sudo umount /mnt

* Reboot.


Linux Mint 8 and below: Open Terminal and type these commands out (I am going to give you the commands and then I will explain them later):
Code:
sudo grub
find /boot/grub/stage1
boot (hdX,X)
setup (hdX)
quit

The find command will find the "hdX,X" numbers you are looking for and you will use that and fill in the X's accordingly.

Example this is what Mine used to look like when I have Linux Mint 8 (linux being installed on same drive as windows and linux is first partition, windows was second):
Code:
sudo grub
boot (hd0,1)
setup (hd0)
quit

_________________
~Just StopSpazzing~

Visit the UBCD Wiki: http://wiki.ultimatebootcd.com
Please check your UBCD ISO MD5 Hash Sum; May prevent issues later on by not having an exact copy.

Currently Working on Common Issues and Repair Tips on the Wiki.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 19, 2010 11:03 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
You can also write a new MBR with testdisk.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group