Skip to main content

Questions tagged [bootsector]

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.

0 votes
1 answer
46 views

When executing INT 10h on a bare metal, does each letter correspond to a 0-1 matrix?

If we call the INT 10h and set its parameters via assembly language, and then compile this code into a binary and write it into the boot sector of the floppy disk, we can output a string on the bare ...
0 votes
0 answers
58 views

HDD freezes Windows 10 when reading

My external hard drive (MAXTOR M3) run into issues lately. At first I thought the MFT or boot sector got damaged somehow. Because the drive didn't show up at all, not even in the disk management. The ...
8 votes
5 answers
2k 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 ...
0 votes
1 answer
394 views

Does '/boot/efi' locate in Memory as ROM

I learned from the book Computer Science: An Overview that boot loader resides on Memory In a general-purpose computer, a program called the boot loader is perma- nently stored in the machine’s ROM. ...
0 votes
1 answer
2k views

How can I calculate CHS from the LBA?

I'm writing a bootsector, and for it I want to access a particular logical block address on a floppy disk. I have all the parameters of the disk, such as total sectors, sectors per track, head count, ...
1 vote
1 answer
115 views

Why the location for Partition entry in MBR doesn't contain partition entry?

I'm learning file system recently. wikipedia says the partition table is located at 0x01BE, but when I check my USB drive(NTFS) by a binary tool, there are some words there "Press Ctrl + Alt + ...
4 votes
4 answers
42k 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 ...
32 votes
5 answers
8k views

Is the boot sector really just the beginning of a drive?

First, I am assuming that drives and/or partitions have a linear address from start to finish. This must be the case, or else programs like dd would not be able to function as a copying mechanism. Is ...
2 votes
0 answers
1k views

Ubuntu Error: failure reading sector 0x100800 from 'hd0'

My laptop freezed, so I restarted my system manually, and ended with the Grub terminal. I tried running the ls command in Grub terminal and got the result as grub> ls (hd0) (hd0, gpt2) (hd0,gpt) ...
-4 votes
2 answers
15k views

From what location are the 1st computer instructions available on boot up?

From what location are the 1st computer instructions available on boot up? A. ROM BIOS B. CPU C. boot.ini D. CONFIG.SYS E. None of the above
0 votes
4 answers
21k 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 ...
1 vote
0 answers
2k views

How to boot a bootable .bin file from a CD/DVD?

I have written a bootable program in assembly and compiled it into a .bin file. This is a Boot sector program which works well in Virtual box where I have to manually put the program in the offset ...
0 votes
1 answer
1k views

What is causing this bcdboot error in Windows 10?

I was doing the instructions at https://apple.stackexchange.com/a/239203/7125 When after doing "bcdboot e:\windows /v /s e:" I get this error: BFSVC Error: SetNamedSecurityInfo failed! Error code = ...
5 votes
2 answers
467 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 ...
5 votes
1 answer
20k 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.

15 30 50 per page