How to fix your Windows MBR with an Ubuntu liveCD
Be cautious here - you’re working with your disks in a very direct manner. If you don’t have everything backed up or are unsure of anything, you may want to wait until you have a standard Windows CD/DVD.
Boot into your Ubuntu LiveCD on the offending machine. Once Ubuntu starts up, go to System -> Administration -> Software Sources and enable (by checking it off) the Universal repository.
Now, open a terminal session (Applications -> Accessories -> Terminal) and type the following:
sudo apt-get install ms-sys
ms-sys is a program used to write Microsoft compatible boot records.
Now you’ll need to figure out what partition is the one hosting your Windows operating system. Back in the command line, type:
sudo fdisk -l
That will list the available partitions. You’re looking for a partition that says something like
/dev/sda1 1 9327 74919096 83 NTFS
The two important bits are the ‘/dev/sda1‘ which is the partition itself and the ‘NTFS‘ which tells us it’s a Windows formatted partition. So your Windows partition exists on your drive sda and it’s partition 1. The MBR for drive sda (assuming you boot into windows using it’s native boot loader) is what you want to repair.
We want to fix the MBR on /dev/sda. To do so, type:
sudo ms-sys -m /dev/sda
You’ll want to change the ’sda’ bit if your results from ‘fdisk -l‘ are different. If for instance your windows install is on sdb or hda.
Once you do that, reboot the machine, removing the LiveCD from the drive and Windows should come back to you.
Sure, you could do this by inserting the correct Windows CD and booting into repair mode from it - but I find the Ubuntu way a bit faster and I’m more likely to have an Ubuntu LiveCD on me than a Windows CD.

Labels
- Duit panas (1)
- Facebook (3)
- Hovercraft (1)
- Iptek (1)
- Islami (2)
- Link radio streaming (1)
- My English Blog (1)
- Relaksasi (1)
- Sukses (1)
- Ubuntu (5)
- windows customization (5)
- Windows repair and maintenance (1)
Popular Posts
-
Hallo rekans Anda pasti sudah tahu dong apa itu blog. Tapi tahukah anda bahwa nge-blog (aktifitas melakukan blogging) bisa menghasilkan anda...
-
Jawabannya, BISA... kenapa engga???. Didalam situs Facebook segudang fitur yang diberikan oleh Facebook. Salah satunya fitur blogging. Tapi ...
-
Template dengan warna dasar Biru muda yang mencerminkan keceriaan atas tercapainya sebuah keberhasilan. Silakan didownload. Caranya pakainy...
-
To get a visual indication of all module positions used on a page you can follow this procedure:- Joomla 1.6 In the administrative backend...
-
By Keir Thomas , Copy this whole post to another site Slurp canc...
-
Something happen to a windows Master Boot Record ( MBR ) that you’re responsible for? Want a very quick, very easy way to restore it with...
-
Hmmm.... edisi kali ini, saya mau share tool untuk nambah indahnya WindowsXP kita. Namanya Sliderdock . Seperti pada umumnya Dock adalah se...
-
Jealous of that slick Mac interface? Check out ObjectDock, a free utility that replaces the Windows Taskbar with a colorful, animated dock s...
-
Hai semua, tentunya kita Bete kalo komputer kita tiba-tiba hang atau restart sendiri atau yang lebih parah Blue Screen of Death keluar deng...
-
Seri : Menjaga Hati , edisi : Berprasangka Baik (Nuzhudzon) Manusia adalah makhluk Allah yang diciptakan lebih baik daripada makhluk All...
Blog Archive
-
▼
2009
(21)
-
▼
April
(12)
- Object Dock
- How to fix your Windows MBR with an Ubuntu liveCD
- First Look at Ubuntu 9.04 Jaunty Jackalope
- Maaf, mudah diucapkan tapi......
- HOWTO: 3G Mobile Broadband on Ubuntu
- Back up and Restore in Ubuntu
- Meraih "Kekuatan" Lewat Tahajud
- Facebook di Instant Messenger
- Download Album Foto dari Facebook
- <!-- end of navbar --> <!-- end of head --> <!...
- Ngeblog di Facebook, Bisa ....???
- Migrasi ke Linux (Ubuntu)
-
▼
April
(12)
About Me
- Graphics Talk
0 comments:
Post a Comment
Monggo dipun komentari...