The bootsector is located on bootable disks such as hard drives, CDs and floppy disks. It is loaded by the BIOS and in turn loads the operating system. It is frequently a target for viruses.

learn more… | top users | synonyms

8
votes
5answers
1k views

How to write a localized NTFS boot sector?

Little unknown fact: NTFS boot sectors come in different languages. They can say "BOOTMGR is missing" and "Press Ctrl+Alt+Del to restart", but they can also say the same thing in other languages. This ...
7
votes
6answers
35k views

How to create windows 8 boot partition on drive that never had one?

So 3 months ago I built a PC, but had the opportunity to borrow an SSD from my place of employment. I originally installed windows 7 trial mode on that SSD, and then after a few weeks upgraded to ...
5
votes
3answers
199 views

Does NTFS (or any file system) support files outside of the partition?

So on my C: drive, there was a file called BOOTSECT.BAK. Not knowing what it is, I opened it up in HxD and the first 14 bytes were B \0 O \0 O \0 T \0 M \0 G \0 R \0 corresponding to the UTF-16LE ...
5
votes
2answers
186 views

Is it safe to overwrite LBA 2-2047

So back when I used WUBI before settling on using a VM, GRUB was installed (but I messed it up and had to reinstall everything (luckily I backed up)). That was back when I used Vista which starts at ...
4
votes
3answers
8k views

Restoring MBR, partition table, and boot sector of memory card without data loss (“USBC”)

Abstract I have a FAT32 memory card that when inserted into a computer causes Windows to prompt to format it. The card is definitely not supposed to be blank and has a bunch of files on it. Symptoms ...
3
votes
2answers
2k views

How do I fix a Windows XP bootloader error when BOOTCFG, FIXBOOT, and FIXMBR do nothing?

I recently replaced a faulty hard drive with two hard drives that I then raided (1) together and installed Windows XP on about a week ago. Since then, I have always received this error: Windows ...
2
votes
1answer
486 views

Why is it even possible to overwrite the boot sector

Why is it possible to overwrite the boot sector so trivially in Windows? I just had a little coding accident involving writing to a raw physical disk, and I messed up the arithmetic and ended up ...
2
votes
2answers
9k views

Cannot access disk, partition table broken

I was so dumb, to turn of the power on my Readynas Ultra 4 when it was installing the disk (3TB WD Green), I had no time to wait for it as I was going to return it (It was to damn noisy) The disk ...
2
votes
1answer
3k views

Recover Lost NTFS Partition With Corrupted Boot Sector

Is there a way to recover a lost NTFS partition with a corrupted boot sector ? The backup boot sector is also corrupted. I know that the NTFS partition used to start in sector 551585791.
2
votes
2answers
895 views

How do I copy the boot sector from one computer to another?

I have a pair of identical computers. One of them stopped booting the other day (it gets past the BIOS screen then goes black). Booting from a USB recovery stick I've verified that the partition is ...
1
vote
1answer
3k views

How can I recover a lost MBR/boot sector?

I had a VDI (VirtualBox Virtual Disk Image) with Ubuntu 11.10 (64bit, I think) installed on it. Earlier, while running a GParted live CD on my Virtual Machine to erase the partition table of another ...
1
vote
1answer
566 views

How to restore bootloader or bootsector for Windows Vista?

I've restored NTFS containing Windows Vista. But the bootloader or bootsector got corrupted. How can i detect what of them got corrupted? How can i restore bootloader if it's corrupted? How can i ...
1
vote
1answer
81 views

Why and when does a quick format to FAT32 write different structures to sector 0 on a USB flash drive?

Introduction: For a research project I am trying to write a bootloader to a USB flash drive. After some experimenting, I succeeded to do this. I would like to know how I can reproduce this. What I ...
1
vote
1answer
112 views

Does the fixmbr command repair the Master Boot Code only or it repairs the Master Partition Table, too?

I know there all kinds of programs out there that advertise fixing the MBR, especially Windows. The Master Boot Record consists of the Master Boot Code and the Master Partition Table, correct? But I ...
1
vote
1answer
125 views

Changing which drive the boot sector is on

I ordered a pre-built computer from a custom computer manufacturer, but asked them to install an SSD and make it the primary drive (C:), with the hard drive that was formerly the primary drive to be ...
1
vote
0answers
229 views

How to repair encrypted Windows partition in external harddrive?

I have a Windows 7 Professional on TrueCrypt encrypted hardrive (two partitons, encrypted as the whole drive). The latest Windows update failed and afterwards the Windows didn't boot (blue screen of ...
1
vote
1answer
752 views

Creating a bootable CD with custom boot sector

I was interested in learning how to create an operating system from scratch, and I found this guide: http://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf. At page 4 it is explained ...
1
vote
0answers
46 views

Using Win 7 bootsect tool

With bootsect.exe /nt** e: I assume, despite bootsect.exe help speaks of "master boot code", it is intended to apply the partition boostrap code to the partition identified by letter E:. Given this, ...
0
votes
3answers
97 views

Bad sectors found, should I replace my drive?

My main hard drive (Windows) shows some bad sectors, the number of sectors hasn't changed since I discovered them 2 months ago. However there's no clue how long they have been there. I have another ...
0
votes
3answers
863 views

How can I zero out the boot code of a MBR?

I have two drives in my Windows system: Drive 1, System and Boot. Drive 2, data storage. Some time previously, I had Windows installed on the second drive. Now that I have the current setup, I ...
0
votes
1answer
33 views

Number of sectors in my sda1

After running bootinfoscript, I read on the log: sda1: __________________________________________________________________________ File system: ntfs Boot sector type: Windows XP: NTFS Boot ...
0
votes
1answer
3k views

Unable to format drive to NTFS

I'm not sure what I did with my 16GB USB stick but now I won't be able to format it to NTFS anymore. Tried to quick and full format it and I got this: C:\Users\Home>format g: /q /fs:ntfs Insert ...
0
votes
1answer
1k views

Need to rebuild Boot sector and Partition table of a once Multiboot Disk manually converted to VMDK

I had a problem with an HD that was not in a Healthy State I was able to make a backup in time with Acronis Image Home. The backup was partial, the original Disk had 4 partition (3 primary, bootable ...
0
votes
1answer
299 views

Damaged hard disk - FAT32 - lost boot sector and root directory

I've got an external 640Gb HDD which has been badly treated (accidentally packed into a sea shipment container then left in storage for 9 months, probably had some extreme temperatures too). I'm ...
0
votes
1answer
93 views

What defines the signature of a bootsector?

I've attempted to simplify the question, by getting at the gist of the problem: What exactly makes the "first sector" of a device the "bootsector?" Is the bootsector a logical sector, a physical ...
0
votes
1answer
244 views

How can I access the data on this Seagate dying HDD?

It seems my main disk was dying and eventually, Windows displayed a message to immediately reboot into recovery, make a full backup and replace the HDD. I turned the computer off and plugged the HDD ...
0
votes
0answers
50 views

Linux pass execution directly to Grub on reboot

Is it possible to have Linux, upon reboot, pass execution to Grub without actually rebooting and invoking the BIOS? I have a GPT hard disk that I nee dplugged it at startup but the BIOS refuses to ...
0
votes
2answers
99 views

Reinstalled Windows 7 on new HDD, installed Linux over previous Windows 7 on old HDD, how to dual boot?

I reinstalled Windows 7 on my new HDD, installed Linux over the previous Windows 7 on the old HDD. How do I dual boot? It seems that I overrided the Windows bootsector in the original HDD that was ...