Questions tagged [mbr]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
109 views

Two fdisks seeing different MBRs on same external drive (OpenBSD 4.2/5.5)

I'm trying to use an external USB hard drive to copy data between a legacy production OpenBSD 4.2 system (on a slow, fragile network — that's not an option) and a new OpenBSD 5.5 box, and I'm running ...
3
votes
1answer
4k views

How to move GRUB installation to a different partition?

I have a laptop for work. I originally had Windows 7 on it then I installed Linux Mint 17 to dual boot. During my installation of Mint 17 I accidentally installed GRUB on the wrong partition (sda2). ...
1
vote
1answer
345 views

If MBR is broken, how to fix on RAID + LUKS encryption?

Problem: After HDD failure in a Software-Raid Mirror Debian does not boot. Only black screen with blinking _ Debian Setup: Within the raid I have a complete system encryption with luks. I am not 100%...
1
vote
1answer
3k views

How to install after windows 8.1 with MBR partition

I have a laptop, which has a 500GB hard disk and with MBR partition, and I install my windows8.1 on it, but I left ~75G unused which I would like to use it for OpenSuse13.1. Now I have 2 USB, one is ...
2
votes
2answers
7k views

Installing GRUB in a dual-boot

I've just installed my OSes on a new HDD: Windows 7 and Debian 7. As usual I first installed Windows, then Debian. At the first attempt, GRUB seems to not have been installed properly, because my ...
4
votes
2answers
1k views

How to create MBR partition /dev/ nodes FreeBSD for mounting

I currently have FreeBSD version FreeBSD 10.0-RELEASE. Installed using a ZFS root. I'm attempting to mount a MBR partitioned drive but I can't get the partition nodes, /dev/ada4p1, etc. The partitions ...
1
vote
1answer
301 views

Grub2 on wiped MBR

I'm trying to test grub2 on puppet in a VM and one of the tests is to make sure it'll still work on a wiped MBR. So I wipe the MBR with dd if=/dev/zero of=/dev/vda bs=512 count=1 Then I try to ...
77
votes
7answers
113k views

GPT or MBR: How do I know?

How can I tell whether my harddrive is laid out using an MBR or GPT format?
2
votes
3answers
2k views

What information is stored on the gap before the first partition?

Partitioning tools(for example fdisk) tend to leave a 2047 sector(LBA 1-2047, 1048064 bytes) between the MBR and first partition. On LBA 0 there is a MBR and from LBA 2048 starts the first partition. ...
0
votes
2answers
276 views

Is there a way to boot linux directly from MBR?

Inspired by UEFI, I want to skip the stage of the bootloader (grub, lilo, syslinux) and boot linux directly. Is this possible? Cant I just boot the kernel directly, or have a minimalistic bootloader ...
1
vote
0answers
55 views

For what are disk signatures being used for by GNU/Linux (distributions) / grub?

I am talking about disk signatures in context of the MBR. The area from 441 to 445 bytes. For what does the GNU/Linux kernel, GNU/Linux distributions usually use disk signatures for? I only found ...
4
votes
2answers
13k views

Copy MBR and boot partition to a smaller disk

I'm using a 32GB SD card for my raspberry pi. I have successfully transferred the operating system (Archlinux ARM) to a usb harddrive. Which means that I only need the boot partition on the SD card. ...
1
vote
1answer
2k views

How to change the disk signature of a raw image?

I am talking about disk signatures in context of the MBR. The area from 440 to 444 bytes. Let's say I got a bootable raw image (bootable in a virtual machine). How can I set the disk signature to a ...
2
votes
2answers
583 views

How does system know where the first logical disk starts?

I'm trying to understand the ms-dos partition table, and there's the following diagram: It comes from this site. Almost everything is pretty clear to me, but there's one thing I don't get. As you can ...
8
votes
1answer
7k views

How to boot FreeBSD system with broken bootcode?

I have an HDD (or SSD, or flash drive) with FreeBSD installed on it, and somehow I broke the bootcode (first 446 bytes of MBR). How could I boot into this FreeBSD?
5
votes
1answer
3k views

Overwritten MBR: Is partial/complete recovery possible?

I have a Sony VIAO laptop setup as dual boot (Ubuntu 12.10/Windows 7). Since I wanted to try Archlinux, I installed VirtualBox in Ubuntu. To create a bootable USB stick (from the ISO image on my hard ...
1
vote
3answers
3k views

Recover Windows partition in a GPT disk (previously MBR)

I have tried installing Arch Linux and what I ended up with was a partition scheme like this: /dev/sda: /dev/sda1 NTFS partition (Windows 7) /dev/sda2 ext4 (Arch) /dev/sda3 swap I don't know ...
3
votes
2answers
1k views

Copying OS from one drive to another migrating from MBR to GPT - what to watch out for?

I'm looking at replacing my current MBR-partitioned 2 TB system drive with quite possibly a 3 TB drive. Copying the files should not pose a problem, but are there any gotchas to watch out for, ...
0
votes
1answer
935 views

Is this the right way to uninstall Fedora from a dual-boot system?

I'm using fedora 18 side by side Windows 7 and i want to remove fedora. I'm going to that by deleting the fedora partitions from Windows 7. PS: when i installed in the first place fedora, I didn't ...
10
votes
2answers
5k views

area on disk after the MBR and before the partition start-point

If I use a MBR partitioning scheme and create a primary or extended partition with fdisk(version 2.20.1), then it starts on sector 2048. If I remember correctly, then older versions of fdisk started ...
3
votes
1answer
546 views

How to detect if the FreeBSD disklabel is on the first sector of the disk?

I have attached a FreeBSD disk to my Linux machine. How to detect if the disklabel(aka bsdlabel) is on the first sector of the disk or the PC MBR is on the first sector of the disk and disklabel is ...
3
votes
2answers
265 views

Lost everything after using install-mbr

I was dual booting Windows 8 and BackTrack5 but I erased the MBR while using easyBCD. So I tried this… sudo install-mbr -i n -p D -t 0 /dev/sda1 /dev/sda1 was the primary partition in my ...
8
votes
3answers
3k views

Linux/GParted can see partition table but dd bs=512 count=1 can't

I have an MBR formatted sd card and when connect to a Linux machine (xubuntu 12.04) it can mount a partition and parse the file system (as can GParted). However, when I try to read the MBR from the ...
-2
votes
2answers
6k views

Can I delete the MBR from GRUB? [closed]

Can I delete the Master Boot Record from GRUB? If so, how?
4
votes
1answer
2k views

fdisk, dd, and the Rapsberry pi

I was trying to wipe my 4GB SD card which acts as the hard drive for the Raspberry Pi, so I went into Mac OS X Disk Utility* and Erased the entire disk, and specified that the whole disk be one big ...
3
votes
2answers
2k views

Where to find the VBR on the /dev/sda1 partition?

I have one built-in hard disk /dev/sda which looks like this: Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * ...
11
votes
4answers
34k views

Moving /boot and MBR to a new drive

I have a CentOS 6 server with two hard drives in it. My old 3TB drive has been giving me some issues so I'm moving things over to a new drive. Because my / and /home partition are managed by a LVM ...
2
votes
2answers
409 views

Can I safely resize my partition from its beginning?

Currently dual booting Windows 8 and Linux Mint 14, sooner or later I will give more space to my Linux system. Is resizing my Linux partition from the beginning a safe operation ? If yes, could you ...
7
votes
2answers
1k views

Determine what program is in my MBR code

I've done a lot of partitioning / dual booting on my Macbook Pro. Right now I have Mac OS X installed along with Ubuntu 12.04, with Grub installed on the Ubuntu partition. I am wondering - what is ...
32
votes
5answers
141k views

Remove GPT - Default back to MBR

I keep receiving this error: Warning!! Unsupported GPT (GUID Partition Table) detected. Use GNU Parted I want to go back to the normal MBR. I found some advice here and did: parted /dev/sda ...
3
votes
2answers
5k views

How to restore GRUB after windows XP installation?

After I've installed windows xp for dual booting, I need to restore grub of my archlinux installation. I did it a lot of times with windows 7, but this time heavens decided to torture me. I have ...
1
vote
2answers
1k views

Fdisk partition alignment, NAND, not showing specified heads

I ran fdisk with these options, fdisk -H 32 -S 32 /dev/sdc Then I made a new label, and created an aligned first partition. Disk /dev/sdc: 7743 MB, 7743995904 bytes 32 heads, 32 sectors/track, ...
1
vote
1answer
107 views

Location on disk to write a byte-flag?

I am writing an update utility for an embedded Linux device for which I am responsible. I'm creating a basic side-by-side setup, where updates are applied to a staging partition and then the ...
2
votes
4answers
9k views

Unable to boot the operating system

I installed Lubuntu 11.10 and it run without problems. I decided to install Ubuntu 11.10 mini instead of Lubuntu 11.10. After the installation the operating system didn't boot. I only saw the black ...