The tag has no usage guidance.

learn more… | top users | synonyms

23
votes
5answers
17k views

GPT or MBR: How do I know?

How can I tell whether my harddrive is laid out using an MBR or GPT format?
16
votes
2answers
60k 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 ...
7
votes
1answer
1k 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?
7
votes
2answers
717 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 ...
6
votes
3answers
9k 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 ...
6
votes
3answers
1k 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 ...
5
votes
1answer
1k 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 ...
4
votes
3answers
418 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 ...
3
votes
2answers
1k 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
2answers
130 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 ...
3
votes
2answers
329 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, ...
3
votes
2answers
4k 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 ...
3
votes
1answer
108 views

Can't format HDDs and install linux to Dell hybrid ultrabook

I've tried installing OpenSUSE 13.2, Debian 8/8.1 and Ubuntu 15.04 (all them amd64). Debian/Ubuntu won't show disks and OpenSUSE can't format the partitions created on them. During the install, ...
3
votes
2answers
4k 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. ...
3
votes
1answer
189 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 ...
2
votes
2answers
623 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 * ...
2
votes
2answers
213 views

Transforming a disk from MBR to GPT

I have a disk with classic MBR and want to transform it to use GPT without data loss. I have seen several more or less useful tutorials, but most of them are dealing with the specific problems related ...
2
votes
2answers
181 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 ...
2
votes
2answers
126 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 ...
2
votes
1answer
725 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 ...
2
votes
4answers
6k 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 ...
2
votes
1answer
65 views

How to reduce ext4 rootlv on centos 6

Is there a way to perform a safe reduce in rootlv at rescue mode? Most of the internet's explanations tells, basically, that it can be done using the following steps sequence: vgchange; fsck; ...
2
votes
0answers
71 views

Accidentally installed BIOS/MBR on GPT/UEFI

Quite some time ago, I installed a Linux system on my moms laptop. And just recently I noticed I have installed and partitioned (with fdisk) a BIOS/MBR on a system, that already has UEFI. The machine ...
2
votes
1answer
3k views

Creating EFI bootable GPT partition with gdisk on previous MBR, GPT Damaged

So this is a sister question to my previous one about partitioning for a UEFI boot loader. Parititioning for a UEFI boot loader, can LVM be used? Disclaimer: I don't give a flip about the data on ...
2
votes
1answer
2k 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). ...
2
votes
2answers
2k views

How to dual boot PC-BSD 10.3 (with zfs file system) and debian 7 (crunchbang) using grub2 boot loader in MBR?

I want to dual boot PC-BSD 10.3 with ZFS as the root file system (the only file system) with Debian 7 (crunchbang linux) with ext4 using grub2 boot loader installed in MBR and grub is managed by the ...
1
vote
2answers
103 views

How to construct a GPT-only partition table on Linux?

All of the tools I've tried until now were only capable to create a dual (GPT & MBR) partition table, where the first 4 of the GPT partitions were mirrored to a compatible MBR partition. This is ...
1
vote
2answers
36 views

MBR and data on pendrive

I have a pendrive (/dev/sdd). I ran fdisk -l and that shows me the drive and its partitions. After that I did: dd if=/dev/zero of=/dev/sdd bs=512 count=1 I deleted the MBR (so the partitions ...
1
vote
1answer
304 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 ...
1
vote
1answer
92 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 ...
1
vote
1answer
22 views

GRUB rescue mode - where does it live?

My understanding is that when I install GRUB, a primary OS loader gets written to the MBR and a secondary OS loader (the bulk of GRUB) gets written to some other partition. In normal operation, the ...
1
vote
1answer
123 views

Remove all traces of GPT disk label

I've got an USB pen drive and I'd like to turn it into a bootable MBR device. However, at some point in its history, that device had a GPT on it, and I can't seem to get rid of that. Even after I ran ...
1
vote
1answer
104 views

hexedit: change number of columns (bytes per line)

I am using hexedit to show/edit disk MBR (512 Bytes, copied with dd). When I open the file, hexedit displays the file as 9 columns, 4 bytes per column (36 bytes per line). That is very unfortunate. I ...
1
vote
1answer
853 views

Understanding syslinux and partitioning

I am trying to learn and especially understand how partitionning and boot-loaders work. The problem is that I got it all twisted in my mind. In the end I don't understand anything anymore. I know ...
1
vote
1answer
2k 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 ...
1
vote
2answers
2k 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 ...
1
vote
2answers
200 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. ...
1
vote
2answers
883 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
0answers
82 views

Kali linux doesn't detect my hard drive partitions

I wanted to install Kali Linux on my computer that is currently running windows 7 64bits, so i created a 200Gb free partition, I made an installation USB key, and everything was running perfectly ...
1
vote
1answer
48 views

OSX: MBP: How does system detect sd card inserted?

I have a MacBookPro running Mavericks. I can insert one sd card into the slot and it mounts just fine. Another sd card I slip in and nothing happens. It does not appear in disk utility. It does ...
1
vote
0answers
76 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 ...
1
vote
1answer
142 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 ...
1
vote
0answers
37 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 ...
1
vote
3answers
2k 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 ...
0
votes
2answers
79 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 ...
0
votes
2answers
49 views

How to back up a MBR

Has anyone tried updating to Windows 10 on a dual boot machine? I'm concerned that Windows 10 might mess with the MBR. Is there a way to preserve the MBR and easily restore it if Windows in fact ...
0
votes
2answers
57 views

Advantage of GPT over MBR partition table [closed]

What is the advantage GPT partitioned hard drives on older BIOS system ? when boot drive is bellow 2TB on a BIOS system or UEFI boot disabled grub on BIOS system with GPT partitioned needs an ...
0
votes
1answer
56 views

Backup and then wipe partition table from head of drive

I have a NTFS hard drive internally attached to my computer and it's causing problems with the other Windows installation on my dual (or triple?) boot machine. I'm not sure if the partition scheme is ...
0
votes
1answer
30 views

MBR not corresponding to fdisk -l?

I'm trying to map the shown with sudo fdisk -l and what is written in the MBR. However they seem to differ. What fdisk shows: Device Boot Start End Blocks Id System /dev/sda1 ...
0
votes
1answer
20 views

install grub but no booting

I'm having trouble installing grub. I used to have a UEFI boot setup but it constantly failed so I decided to use normal boot instead. Unfortunately, the system doesnt boot into grub. What I did ...