« technorati

Installing Ubuntu 8.10 on a USB drive messes up Windows MBR on main drive

11/27/08 | by admin [mail] | Categories: Linux

When I install Ubuntu 8.10 on a USB HD, it messes up my MBR. You can fix this directly from the Ubuntu terminal. You do not need to use the live CD if your Ubuntu system starts.

You need to install a little program called ms-sys. It will rewrite your Master boot record (http://ms-sys.sourceforge.net/). The ms-sys package you get directly from their site does not install on newer version of Ubuntu (apt-get install ms-sys). You will need to use the debian package http://packages.debian.org/etch/ms-sys

Once ms-sys is installed, you need to figure out on which partition is located Windows

sudo fdisk-l

this will list the hard drives installed. You are looking for a line with NTFS as system. Something like:

/dev/sda1 1 9327 74919096 83 NTFS

You need to replace /dev/sda in the following command line with your device Boot (without the number)

sudo ms-sys -m /dev/sda

that's it! You can refer to the following page for more information:
http://www.arsgeek.com/2008/01/15/how-to-fix-your-windows-mbr-with-an-ubuntu-livecd/

Trackback address for this post

Trackback URL (right click and copy shortcut/link location)

2 comments, 5 trackbacks

Comment from: ThePete [Visitor] Email · http://thetech.thepete.com
THANK YOU FOR THIS! It's the first thing that's worked since trying to get XP back on my eee after an Ubuntu install overwrote the MBR. Very annoying, but this saved the day. Thank you so much for sharing this info! I will blog about it as well and make sure to link back to this post.
01/13/09 @ 20:17
Trackback from: pmkjfdra [Visitor]
pmkjfdra
pmkjfdra
03/19/09 @ 20:16
Trackback from: Casino 1238912036 [Visitor]
Casino 1238912036
Casino 1238912036
04/04/09 @ 22:51
Trackback from: Casino 1241750984 [Visitor]
Casino 1241750984
Casino 1241750984
05/09/09 @ 02:42
Trackback from: Pamuklu Battaniye [Visitor]
Your article is great. Thank you.
09/06/09 @ 15:57
Thank you for writing this article. Very interesting.
09/07/09 @ 12:17

This post has 16236 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)

The purpose of this blog is to gather information about web mapping and GIS.

February 2012
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29        

Search

The requested Blog doesn't exist any more!

XML Feeds

powered by b2evolution