Fix Windows MBR using Ubuntu Live CD

Posted by kova on Ask Ubuntu See other posts from Ask Ubuntu or by kova
Published on 2012-09-04T00:54:42Z Indexed on 2012/09/04 3:48 UTC
Read the original article Hit count: 303

Filed under:
|

I'm trying to fix the MBR using Ubuntu live CD. I already have the ms-sys installed but from the threads that I saw, I'm not completely sure in which /dev I should execute the command:

sudo ms-sys --mbr7 /dev/???

(is it mbr7 the correct option when using Windows 7?)

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1f205b1f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          38          38           0    0  Empty
/dev/sda2   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda3          206848   155854847    77824000    7  HPFS/NTFS/exFAT
/dev/sda4       155854848   625137663   234641408    7  HPFS/NTFS/exFAT
ubuntu@ubuntu:~$ 

Why is /dev/sda1 empty?

I'm trying to fix the MBR because I'm getting a black screen when trying to load the operating system.

© Ask Ubuntu or respective owner

Related posts about boot

Related posts about mbr