How do I disassemble raw 16-bit x86 machine code?
You can use objdump. According to this article the syntax is: objdump -D -b binary -mi386 -Maddr16,data16 mbr
You can use objdump. According to this article the syntax is: objdump -D -b binary -mi386 -Maddr16,data16 mbr
This turned out to be a very interesting question. There are lots of links out there on this topic but they are ambiguous in describing the difference/relationship between the two. Best description I’ve found of the hard drive configuration for a Windows OS is this one: http://www.ntfs.com/hard-disk-basics.htm. It appears that MBR and Partition Table are … Read more
Before starting, make sure you have a backup, and make sure to have a linux live boot ready to rescue your system. It’s easy to mess this up! Use gdisk to convert the partition table to GPT. gdisk /dev/sda Create the “BIOS boot” partition that GRUB needs. n to create a new partition. Needs to … Read more
Is this just the way it was designed in the beginning? Can there really only ever be 4 primary partitions? Yes, that’s exactly it. The partition table at the front of an MBR disk (as opposed to a GPT style disk) has a very strict data-structure that dates from the 1980’s when space was a … Read more