Questions tagged [mbr]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
3k views

Temporarily disabling/uninstalling grub in a dual-boot setup and then restore grub to the state it was at the start

I'm using a dual-boot setup with grub 2.02-beta2 which allows me to switch between Windows 7 and arch linux on a x64 desktop machine. These are both installed on my C: drive on the same physical HDD. (...
3
votes
1answer
23k views

How to use os-prober to find MS-Windows boot data?

I saw Dual boot - Installed arch and windows entry disappeared on grub and I have the same/similar problem. I have Grub and it shows only Debian setup and not MS-Windows. I also tried the following ...
1
vote
1answer
152 views

Reinstall grub on mbr without copying modules' files or config

if i issued grub-install --target=i386-pc /dev/sdx grub-install will write the bootsector to the mbr and try to copy the modules to the boot partition, i don't want that, all i want is to rewrite ...
0
votes
1answer
167 views

Debian unbootable for MBR and grub-efi

I run Debian Jessie (amd64) on my host. I use Debian Jessie (amd64) as guest (with qemu-kvm). I run kvm as: /usr/bin/kvm -monitor stdio \ -smp 2 -soundhw ac97 -vga std \ -...
8
votes
3answers
17k views

Should I use fdisk for partitioning or GPT aware tools?

Question: Should I use fdisk when creating partitions? Or is it advisable to use parted since it uses GPT? (by default?) And with that I can create partitions larger than 2TB.
3
votes
3answers
2k views

Why is GPT recommended for UEFI

3rd time re partitioning my 1TB SSD so hoping to get it right. Learning but still many questions Because my system has UEFI firmware and already have a SSD dedicated to Windows my understanding is ...
0
votes
1answer
322 views

Boot MBR on Mac mini

I am trying to install Qubes OS Linux on my Mac mini. However I want to install it in a MBR configuration on a separate internal HDD. Is there a way to configure a mac to boot a MBR disk instead of ...
3
votes
1answer
1k views

Converting MBR to GPT because of dual-boot

yesterday I installed debian on my system. It all went relatively smooth and nice. Today I decided to install Windows 10 alongside Debian. Unluckily W10 wants a GPT partition table, and Debian ...
1
vote
1answer
181 views

understanding this DOS partition table and cloning to a new drive

I have a piece of equipment that has a motherboard in it which boots to a linux based operating system. I am interested in being able to clone this one hard drive so that in the case it fails i have ...
6
votes
1answer
1k views

Boot FreeBSD in legacy mode on GPT disk

I am trying to install FreeBSD in legacy mode (BIOS) on a UEFI system, since I have an Intel Iris Graphics 6100, which is from Broadwell series and is not supported yet by the intel driver, so I want ...
1
vote
1answer
1k views

grub-install on hybrid mbr disk

I followed the very detailed guide for making hybrid MBR record (GPT/MBR) taken from here Now, gdisk says I have hybrid mbr. But I can only boot in UEFI and cannot do that in BIOS (I use external ...
5
votes
1answer
237 views

Where is partitions in MBR?

I found lot of examples of MBR records on various systems, and they all have same structure, for example - as here. So - first 512 bytes must have a Code area, Disc signature and Table of partitions. ...
1
vote
2answers
688 views

I have killed my HDD

I have some trouble with my external USB 3.0 drive with 1Tb HDD. I had formatted it wrong way: I wrote /dev/sdb instead /dev/sdb1, and now I have no ability to use this drive. fdisk /dev/sdb fdisk: ...
0
votes
1answer
230 views

How does BIOS know which disk's MBR should it use? [closed]

Generally, BIOS will read the MBR in disk, but if there are multiple disks, how will the bios determine which disk's MBR should be read?
0
votes
1answer
1k views

Using dd to copy MBR results in partition tables double the size

I have a laptop with 500GB internal HD and a external 500GB USB HD. I boot up with a linux live cd over the top of my Windows 8.1 machine. My goal is to clone the MBR, partition 1(350mb), and ...
0
votes
1answer
246 views

How to repair a 500GB HD showing itself as only 10MB?

I have a 500GB USB HD. I have been messing around with the dd cmd - erasing MBR data, copying my windows internal HD, eleting partitions, etc. fdisk -l returns Disk /dev/sdc: 10MiB, 10485760 bytes, ...
3
votes
2answers
1k views

How can I boot DragonFly BSD (HAMMER) with GRUB 2 on a MBR disk?

There is a box with one MBR-partitioned disk. It has four primary partitions. On those are: Windows DragonFly BSD (using UFS2) Linux DragonFly BSD (using HAMMER) Chainloading ...
1
vote
1answer
99 views

A basic query about Linux partitioning

I'm trying to understand the partition table of my MTK-6572 based android smartphone (Karbonn-A35). The idea is to enlarge the internal Storage partition (mounted as /data) and correspondingly shrink ...
0
votes
1answer
1k views

How to create extended partition in Ubuntu

All, I am tring to create partition in the installation of Ubuntu. As I knew. MBR partitioning scheme allows you to have up to 4 partitions on a drive, one of those partitions can be an "...
3
votes
1answer
93 views

Partition table consuming 32K of data?

I create a file of 100MB size, and using losetup assign it to /dev/loop0. Consequently I use fdisk to create an empty DOS partition table, and a new partition that spans the entire disk. One thing ...
0
votes
1answer
827 views

Can the EFI System Partition be a logical partition on MBR disks?

I'm finding a lot of information concerning the ESP inside GPT disks, but none about them being inside an MBR based disk as a logical partition. The thing is, I don't want to convert my disk to GPT ...
4
votes
0answers
576 views

backup and restore whole disk

I am using iMac, with GPT and Hybrid MBR partition table. the GPT layout is: EFI partition.(FAT32) Windows 7 partition.(NTFS) MacOS partition.(HFS+) Linux.(ext4) data.(exfat) the hybrid MBR is made ...
0
votes
1answer
24 views

How to replace a disk which contains the CentOS6

I have a machine that contains a disk which one has CentOS 6 Installed. In that disk, There are two partitions. One of them if mounted on /boot, and the second one is a PV for the rootvg. I need to ...
4
votes
1answer
2k views

Can't restore/reformat my USB flash drive after moving to GPT

I have 8GB flash memory stick. Sometimes ago I formatted it to be able to install Windows from it. I can't remember what exactly I did but I think I wanted to be able to install Win 7 64-bit to boot ...
0
votes
1answer
884 views

CentOS 7 grub option is missing after upgrading windows 8 to 10

My system was dual booted with CentOS 7 and Windows 8. After I reinstalled the latest Windows 10 Pro and removed windows 8, my system is only booting with Windows 10 as the Grub2 is not appearing at ...
6
votes
1answer
1k views

How to understand partition table on hybrid ISO image?

If I inspect an hybrid ISO with tools like fdisk and gdisk, then looks like hybrid ISO has both the MBR and GPT in order to support both the BIOS and UEFI: # gdisk -l /dev/sdb GPT fdisk (gdisk) ...
2
votes
2answers
534 views

alignment of extended partitions

I read an article on aligning file-systems on partitions and this said that: When manipulating MBR disks, be aware that the alignment of extended partitions is unimportant. These partitions hold ...
3
votes
3answers
8k views

MBR size is 440 bytes or 512 bytes

I remembered reading one question how would you back up the MBR of a disk. Two of the choices are dd if=/dev/sda of=/dev/sdb bs=512 count=1 dd if=/dev/sda of=/dev/sdb bs=440 count=1 and the ...
2
votes
1answer
14k views

Using dd in order to save and restore a boot sector?

Through some legacy code I'm using dd to save and restore (parts) of a bootsector after unzipping the .iso of the system onto the hard drive (from a live cd). I use the following command to save the ...
0
votes
3answers
3k views

changing grub boot drive

I just installed a new SSD and I want to move all the files from the HDD to my SSD. I cloned the partitions from the hdd to the ssd. I run on a dual boot - windows 10 and ubuntu 15.10. So, now I have ...
0
votes
1answer
364 views

mkfs.vfat creates multiple MBR signatures

I am creating a FAT32 partition from a file image. My commands are as follows: Create a 2MB file image. dd if=/dev/zero of=fatfs.img bs=1024 count=2048 To create the filesystem I use: mkfs.vfat -...
2
votes
1answer
123 views

LUKS on an internal hard drive

I have a hard drive which is encrypted using LUKS. It was originally an external hard drive. Recently I removed the casing and connected it directly (via SATA). However, when I connect it directly, I'...
1
vote
1answer
139 views

gpart finds partitions but puts zeroes on all their specs

So this isn't my hard drive I'm working on so I'm not too sure how it got into this state. My friend had Windows XP on it and wasn't using it much then suddenly it wouldn't boot anymore. He just wants ...
1
vote
0answers
109 views

Repair File System After changing the partition structure

I have dual booted linux centOs with windows. Now I changed the partition structure of linux with a partedMagic live CD. Since I have used the EasyBcd to make the boot menu on windows, I can still ...
0
votes
1answer
895 views

Arch Linux: GRUB does not load after installation

I have installed windows 10 in my laptop in BIOS Legacy mode.I have 3 primary partitions including the Windows partition and have extended partition with 2 more logical partitions. Now for installing ...
1
vote
1answer
103 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 ...
0
votes
1answer
79 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 was:...
1
vote
0answers
3k 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, made an installation USB key, and everything was running perfectly during ...
0
votes
1answer
1k 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 ...
6
votes
2answers
3k 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 ...
2
votes
1answer
123 views

Dual booting Ubuntu and windows 7

I am trying to dual boot Windows and Linux on a machine at work. While I haven't used windows in a while, It is a process that used to work most of the time. But I haven't been as lucky with this ...
2
votes
2answers
609 views

Advantage of GPT over MBR partition table [closed]

What is the difference between the GPT and the BIOS disc partitioning systems? when boot drive is below 2TB on a BIOS system or UEFI boot disabled grub on BIOS system with GPT partitioned needs an ...
3
votes
1answer
591 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, ...
7
votes
1answer
11k views

“Warning! Secondary partition overlaps the last partition by x blocks” in gdisk, is it safe to use gdisk here? [closed]

I'm trying to install convert my hard drive into GPT using gdisk, when I run sudo gdisk /deve/disk1s4 I get this: Warning! Secondary partition table overlaps the last partition by 2032668853 blocks! ...
0
votes
1answer
823 views

How to set MBR to Linux Partition instead of GRUB

I have a Linux Mint 17.1 Partition at /dev/sda1 and another Mint 17.1 Partition at /dev/sda5. How do I set the MBR to boot into /dev/sda1 instead of the GRUB menu? I know how to use GParted to delete ...
2
votes
1answer
325 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; ...
7
votes
2answers
12k 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
169 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 ...
0
votes
0answers
143 views

Change default OS loading

Installed Ubuntu 12.04 Feb 2014 - upgraded to 14.04LTS. I believe there is still remnants of older OS's still there somewhere, (they appear on the Grub multi-boot menu at start up). An earlier ...
2
votes
0answers
275 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 ...