Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Broke my winxp MBR, ms-sys not fixing it!
post Apr 2 2009, 10:46 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 2-April 09
Member No.: 14,361

Hi, I hope someone out there can help me!

I recently deleted a linux partition and managed to break the GRUB bootloader so much that the super grub disk can't fix it!

I managed to inspect the drive via an ubuntu live cd, and this is the relevant output:
ubuntu@ubuntu: ~/Desktop sudo fdisk -l

Disk /dev/sda: 100.0GB, 100030242816 bytes
240 heads, 63 sectors/track, 12921 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x00069cbbb

   Device boot    Start       End         Blocks   Id     System
/dev/sda1               1    12090   91400368+   7     HPFS/NTFS
/dev/sda2        12091    12921     6282360      f     W95 Ext'd (LBA)
/dev/sda4               1           1               0      0     Empty
Partition 4 does not end on cylinder boundary.
/dev/sda5        12091    12921    6282328+    7    HPFS/NTFS

I tried to use ms-sys to repair my mbr:
ubuntu@ubuntu:~/Desktop sudo ms-sys -m /dev/sda1
/dev/sda1 seems to be a disk partition device, use the switch -f to force writing of a master boot record
ubuntu@ubunt:~/Desktop sudo ms-sys -f /dev/sda1
/dev/sda1 has an x86 boot sector, it is an unknown boot record

So... Is there anything else I can try?
Go to the top of the page
+Quote Post
post Apr 2 2009, 11:47 AM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,796
Joined: 23-January 03
Member No.: 360

Not familiar with this utility but it appears that the command to restore the MBR is
ms-sys -w /dev/sda

FYI the MBR is not part of a partition which is why you are seeing the "/dev/sda1 seems to be a disk partition device, use the switch -f to force writing of a master boot record" error.

If you have your XP/Vista install CD then you can use the fixmbr utility in the recovery mode to also repair the MBR.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 18th October 2017 - 04:21 AM