Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [mbr]

The tag has no usage guidance.

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

Unable to load into installed linuxmint os

I currently have Windows and Arch Linux installed on a drive with a GPT partition and grub. I am now trying to install Linux Mint alongside these two. I am installing Mint on a second HDD (same PC) ...
JustaNobody's user avatar
0 votes
1 answer
334 views

Convert MBR/BIOS to GPT/UEFI (infodump)

I wanted to upgrade my 1.5TB HDD to a 4TB SSD, none of the internet resources I found correctly matched my situation from beginning to end, and I ended up spending about 20 hours getting it to work, ...
Erhannis's user avatar
  • 229
0 votes
3 answers
178 views

using dd for clean MBR code doesn't work on pfSense

Trying to clean the mbr code part on a disk using the pfsense 2.7.0 live disk (pfsense is based on freebsd) under shell command. being /dev/da0 my drive following the suggested code for clean just the ...
user3450548's user avatar
  • 2,944
2 votes
2 answers
2k views

Fix Linux grub with boot-repair with an old BIOS PC and a GPT drive?

I have a GPT formatted SSD Drive that I have moved from a rather new laptop to an older one that has an old BIOS. The Linux systems installed on it work fine (Kubuntu 22.04 and Mint 21), although I ...
cipricus's user avatar
  • 1,599
3 votes
3 answers
443 views

How does Linux know there is a MBR partition table?

You might think this question is trivial because an msdos partition table MBR ends with 55 AA (hex). But it's not because disks formatted as FAT32 (with no partition table) end with 55 AA too. I ...
zomega's user avatar
  • 972
0 votes
0 answers
70 views

Linux booting - VBR and GRUB

I am trying to understand the booting process in linux. Let me show what is my understanding right now about it, which of course may be wrong: After powering on the device, BIOS is handling POST, ...
Bratw's user avatar
  • 1
0 votes
0 answers
210 views

grub still tries to mount cryptodisk by its old UUID after changing it

I have a Linux system with the following disk setup (MBR-formatted, BIOS-booted): sda 32G disk └─sda1 ...
Greendrake's user avatar
2 votes
1 answer
248 views

Where does grub-install take the arguments for grub-mkimage from?

When I run grub-install /dev/vda -v I see this line in the output: grub-mkimage --directory '/usr/lib/grub/i386-pc' --prefix '(,msdos1)/boot/grub' --output '/boot/grub/i386-pc/core.img' --dtb '' --...
Greendrake's user avatar
0 votes
0 answers
180 views

Debian did not work on USB

I have been facing difficulties reinstalling Debian using the legacy and MBR approach on a GPT USB. Previously, I used to install Linux distributions on USB flashes and create a dd image for backup ...
Amr Alasmer's user avatar
0 votes
1 answer
936 views

Force MBR install with Debian installer, skipping the EFI detection

I want to install Debian (actually Open Media Server, a derivative) by using a Mac laptop (EFI) on a disk (connected via USB), to then transfer it to an headless machine already installed and ...
Nicola's user avatar
  • 101
8 votes
1 answer
779 views

Is it important to delete GPT/MBR labels before reformatting/repartitioning?

I've seen some disk formatting/partitioning discussions that mention destroying existing GPT/MBR data structures as a first step: sgdisk --zap-all /dev/nvme0n1 I wasn't previously aware of this, and ...
ivan's user avatar
  • 1,878
1 vote
0 answers
297 views

kernel panic not syncing unknownblock (0,0) for Mint & Kali after installing Linux Mint

This is what my disk looks like right now : I have installed Windows 11 on the PC. I then decided to install Kali Linux to learn cybersecurity (please don't tell me "if you're asking this ...
Silloky's user avatar
  • 11
0 votes
2 answers
132 views

Does erasing the MBR will touch the partition table?

If I run this dd command to blank the first bytes of a MBR, will it have an effect on the current partition table of this disk (or just on grub)? Will the partitions still be recognized? dd if=/dev/...
Sandburg's user avatar
  • 357
0 votes
1 answer
149 views

Does BIOS MBR limit linux distros installments?

Long ago I've installed Windows 7 in legacy (BIOS) mode with MBR (why? who knows) and made 4 primary partitions, one for Windows and the others for files. Later I've changed one primary into logical ...
Jofumi's user avatar
  • 3
0 votes
1 answer
66 views

I want to completely switch from windows 7 to Linux

I am switching from windows to Linux and want to do manual partition. I have a MBR disk. I want to delete windows 7 so can I delete the system reserved windows partition and the rest of the drive?
RobinHoodRKA's user avatar
0 votes
1 answer
96 views

sfdisk/parted: predictable/predefined partuuid for msdos partition table

When GPT is used partition ID can be set with sgdisk $ sgdisk --partition-guid=1:"00000000-0000-0000-0000-000000000000" "/dev/vda" $ readlink -f /dev/disk/by-partuuid/00000000-0000-...
andreoss's user avatar
  • 120
5 votes
3 answers
32k views

How to fix "Bad magic number in super-block"

I try to move all data from one SSD to another SSD. The old SSD is 500 GB, and the new SSD is 1000 GB. Firstly I've created a backup: dd if=/dev/nvme0n1 | gzip -c /media/ubuntu/local/backup1.img.gz ...
Mikhail's user avatar
  • 51
0 votes
1 answer
661 views

Triple boot MBR with GRUB avoid Windows Boot Manager

I installed a triple boot system (Windows 10 Home 21H1/Windows 7 Pro/Debian 11), on three different partitions on a partitioned disk in MBR, and at boot I can start each system without problem. But in ...
Le Nain Jaune's user avatar
1 vote
0 answers
163 views

ZFS On Linux - recover lacked MBR after physical problem

We had a physical problem in our backup server (we suppose an electrical shock due to the thunderstorm). The system is Linux Debian on a disk and the storage in on a two 4 TB disks RAID-1 ZFS (ZFS On ...
Le Nain Jaune's user avatar
2 votes
0 answers
497 views

How are partition numbers (sda1, sda2, sda3, ...) determined?

In my experience, partition numbers have nothing to do with the physical ordering on the disk. And a newly created partition tends to have a larger number. How are partition numbers determined? Are ...
user356126's user avatar
1 vote
0 answers
52 views

How to add boot sector to Seagate Video HDD

The internal HDD in my Inspiron 1525 laptop isn’t working so I am trying to install Arch on an external HDD, namely a Seagate Video 3.5 HDD. I created a DOS partition table of an ext2 boot partition, ...
improv637's user avatar
0 votes
1 answer
546 views

How can I clone from 1TB MBR ssd to 4TB GPT ssd?

I have a raspberry pi with a 1TB hard drive. I managed to fill it up, so I purchased a new 4TB hard drive to replace it. I then used software called "Macurim Reflect" to clone the previous ...
johncorser's user avatar
0 votes
0 answers
3k views

Unable to mount EFI partition because of "wrong fs type, bad option, bad superblock". lsblk doesn't show UUID, while cgdisk does. MBR/GPT problem?

The backstory to this question. After erasing crypto_LUKS headers as specified in frostschutz's answer, I tried following this guide again. I got stuck at mounting Mac's EFI partition to /mnt/boot ...
Martian's user avatar
  • 123
1 vote
1 answer
2k views

What are the detriments of not setting MSFTDATA flag when making a exFAT partition?

I have several external HDDs that I backup data to and occasionally plugin internally when I need access to the data. I erased all partitions by making a new GPT partition table on the disk. I made a ...
lohithbb's user avatar
0 votes
0 answers
58 views

Make disk bootable while mounted on running VM

So I used RSYNC to backup all the files from a VPS I have that runs on my providers platform to a local disk attached to a VM I have running here. The disk where all the files went to is a separate ...
gone's user avatar
  • 217
1 vote
3 answers
2k views

Can't write SD card partition table

I can't write the partition table on an SD card. IOCTL error. I can't delete it, either, neither in Linux using parted, cfdisk, or fdisk, nor in Windows, which just says format didn't work. The ...
wirelessben's user avatar
0 votes
1 answer
91 views

Do MBR partition numbers need to be contiguous?

I am partitioning an external 1TB HDD for a small embedded Linux system. I want to encrypt the swap partition. According to the cryptsetep FAQ, you need to use kernel device names (/dev/sda, etc) in /...
bitsmack's user avatar
  • 205
1 vote
1 answer
2k views

Can you use MBR with UEFI - a question about the UEFI specification

I am reading through the UEFI standard: https://uefi.org/sites/default/files/resources/UEFI_Spec_2_9_2021_03_18.pdf On page 115 section 5 it discusses the GPT disk layout. I'm a bit confused as to ...
Grant Curell's user avatar
2 votes
1 answer
1k views

Does Coreboot/SeaBIOS support GPT partition table?

Few days ago, I flashed my x230 with coreboot with this tutorial. Now, while I was installing Funtoo using its GPT-Partitioning guide (not using MBR-Partitioning), I got following error: EFI ...
Garid Z.'s user avatar
  • 542
0 votes
1 answer
3k views

manipulating the protective MBR on a GPT disk

I would like to add an empty partition of type 0x00 to the beginning of the protective MBR of a GPT-formatted disk. I've found a way to do this, but the method relies on fdisk enhancements not ...
user001's user avatar
  • 3,698
1 vote
3 answers
4k views

fdisk output: "new DOS disklabel"

I have a question about what is happening here. Does "a new DOS disklabel" here mean a DOS partition table has been created? In other words, that a DOS partition table has been created by ...
faszikam's user avatar
1 vote
1 answer
396 views

Backing up MBR/GPT for detecting boot sector viruses

After installing Linux on a computer (Debian in particular), should I bother backing up the MBR or the GPT and use something like monit to periodically compare the MBR/GPT against this backup? Is this ...
jia103's user avatar
  • 135
0 votes
0 answers
510 views

Booting a 2-partition Windows 10 installation from GRUB2 command-line

I'm using a GRUB2 prompt after booting from a Linux rescue USB flash drive (finnix-123) - trying to boot my Windows 10. It is on an SSD with MBR rather than GPT, with two partitions: one of about 100 ...
einpoklum's user avatar
  • 9,605
2 votes
0 answers
2k views

How do you configure GRUB to boot EFI files?

Typically I use a GPT disk and would use systemd-boot to manage things, but I'm working with an older computer, so I have to use GRUB2. I'm using a USB stick to run two OS: Pop OS and Ventoy. What I ...
KtheVeg's user avatar
  • 173
0 votes
1 answer
559 views

Where is GRUB stage 2 located on my bootable compact flash, according to the Master Boot Record?

I'm trying to understand where GRUB stage 2 is located on my bootable compact flash. Below is the output of the file command which was run against an image of the MBR (first 512 bytes) of the compact ...
Frank's user avatar
  • 129
0 votes
1 answer
2k views

What does fdisk's Start and End values mean when looking at a compact flash

I'm analyzing a compact flash using fdisk and by comparing it to the contents of the partition table on the CF's master boot record. I don't understand what the "Start" and "End" ...
Frank's user avatar
  • 129
2 votes
1 answer
1k views

MBR converted to GPT based system, how to boot Linux and Windows

How to boot GPT based system to Linux and Windows? This is not a question of starting from a fresh GPT based system, but starting from a MBR converted to GPT based system. My Asus laptop initial setup,...
xpt's user avatar
  • 1,614
1 vote
1 answer
454 views

Increase disk size and change from MBR to GPT

I have a CentOS server on VMware that has, among others, a disk of 1.5TB, with a single xfs partition using the whole disk. This disk/partition is running out of space, so I need to increase its size ...
curropar's user avatar
  • 113
0 votes
0 answers
878 views

Cannot boot (any more) from MBR SSD drive even if legacy BIOS is enabled

The situation is simple to describe in fact: A MBR-partitioned Kingston SSD of 1TB containing Windows 10 and Kubuntu was moved to a new (HP) laptop: in order to boot there, legacy support had to be ...
cipricus's user avatar
  • 1,599
1 vote
0 answers
111 views

A Debian 10 UEFI disk and another Debian 10 MBR disk are on the same computer with NO dual-boot. Can I then select any disk in the BIOS to boot on it?

A reseller is creating a new computer for me. It will have an UEFI Debian 10 on it. He will also add an old MBR Debian 10 disk on it, I will provide to him. This disk is only here to ensure that I'm ...
Marc Le Bihan's user avatar
0 votes
0 answers
108 views

init unable to find root device on computer in restoration

I'm a bit out of solution on this one : I am restoring an old computer (15 years old...), which was running archlinux. I have inadvertently erased the pacman package database (and all /var ...), and I ...
hl037_'s user avatar
  • 139
0 votes
1 answer
87 views

Clarification onMaster boot record size limitation

I am reading up a bit on Master Boot Record layout and I was particularly interested in how the partition layout causes a size limitation on the size of the storage that can be used on a device with ...
sshekhar1980's user avatar
2 votes
0 answers
53 views

Issue with MBR / Grub

Some issue with my hard disk -- when mounted inside the laptop, the system is booting into a black screen. Even when I change the boot preference to boot with a usb stick, its still getting stuck at ...
Ray's user avatar
  • 21
1 vote
0 answers
429 views

System boots with MBR, but not with GPT

I have a Linux image made with Yocto that boots on a Pocketbeagle. For the learning experience, I'm trying to move it to using GPT. For MBR, I am using the following beaglebone-yocto.wks description: ...
JonasVautherin's user avatar
0 votes
0 answers
73 views

Linux boot process

OS: GNU + Linux Boot partition: /dev/sda1 After the MBR makes its decision on which is the active partition (boot partition), it gives control to the Kernel Boot Loader, generally GRUB, to load the ...
Sumanth's user avatar
0 votes
0 answers
138 views

create partition error manjaro installer

I am installing Manjaro with dual boot Windows 10. I created a '/' partition and a swap partition from a 200 GB unallocated space. When I hit install, it shows an error and fails to create partitions. ...
Parham Moieni's user avatar
0 votes
0 answers
419 views

GPT to MBR: gdisk overlap

I have a 256GB NVMe SSD drive and this is other system drive, which my friend converted from MBR to GTP. This is my output. I used gdisk to convert GPT to MBR, but I have a problem. Problem: MBR ...
You tube's user avatar
0 votes
2 answers
259 views

How can I properly install Debian on a laptop that used to have windows? (There is probably a problem with MBR)

I recently broke the screen of my Lenovo Ideapad 110S-11IBR, so I decided to use it as a NAS device. After I tried to install a Debian-based NAS operating system I ran into a problem: Even though the ...
Hristos's user avatar
0 votes
0 answers
50 views

Problems dual booting - W2019 Server, CentOS, rufus, Dell Studio 1557

I have an oldish Dell Studio 1557 laptop (decent enough - 1TB Samsung SSD, 8GB RAM) on which I've installed Windows Server 2019 Standard from an .iso. I only used about 350GB for the Windows install. ...
Vérace's user avatar
  • 581
0 votes
1 answer
995 views

Can I mount a gpt disk with ntfs partition on an mbr booted linux system

System: Linux Mint 20 x64 cinnamon booted on mbr formatted disk. I inserted a new hdd containing a gpt and a ntfs partition (next to a small MSR partition, which doesn't matter here I guess). GParted ...
Kleajmp's user avatar
  • 101

1
2 3 4 5