Questions tagged [mbr]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Using dd to restore a partition backup from MBR disk to GPT one

I have an ext4 partition backed up with dd on a MBR hard drive that I would like to restore to a new GPT hard drive. Can I just create an empty partition of the exact same size on that new GPT drive ...
0
votes
0answers
10 views

Check which of GRUB Legacy or GRUB 2 is installed in the MBR on CentOS 6 or 8

I'm implementing an upgrade path for a CentOS6 server to CentOS8. This involves moving from GRUB Legacy to GRUB 2. At various points I need to be able to determine which version of GRUB is installed ...
1
vote
3answers
61 views

Shrink FreeBSD partition

I have an img (made with dd) of a FreeBSD installation on a 1TB HD. This time i need to use a smaller disk (500GB), and of course if I try just to restore the same image it won't work, but even if I ...
0
votes
2answers
23 views

Transferring Grub on MBR connection to different Linux distribution

I had a Linux distribution which had installed grub on MBR. Then I installed second Linux distribtion on a different partition but did not install grub in it. Then I went to first Linux distribution ...
0
votes
0answers
73 views

Any known install iso images using MBR partition and BIOS only installer?

I have a legacy BIOS motherboard which has broken USB-HDD boot capability. The manufacturer has stopped supporting it a long time ago although I subsequently obtained a slightly newer BIOS image and ...
0
votes
0answers
44 views

parted start partition and grub core.img

How do you use parted to make the first [primary] partition start at sector 63? Or does this happen automatically when doing parted /dev/sdb mkpart primary 0% <end %> I am dealing with ...
3
votes
1answer
56 views

MBR and bootstrap explanation for different size disk copy

I wish to clone a 500gb MBR source disk to a 250gb MBR destination disk manually by making each corresponding partition on the destination disk and restoring just the data contents of each. This way, ...
0
votes
0answers
65 views

Grub rescue error after partition deleted

I deleted Linux Mint 19.2, from a dual-boot with Windows 10. I tried to extend the partition but the system would not resize. After restarting, I'm stuck on (Error: no such partition), I've tried the (...
3
votes
1answer
297 views

UEFI booting using live USB media used for MBR legacy booting

To create a UEFI live USB (running Ubuntu if that matters), my understanding is that the simplest method is to create a FAT32 partition and copy the files from the last ISO there. I would also have to ...
1
vote
0answers
27 views

Boot from grub2.cfg an other bootloader… in same disk

In my USB multiboot i have installed grub2 and edit the first file grub.cfg... now, have created an second partition with an other iso(dd if=file.iso of=/dev/2)...The second iso then created the MBR ...
0
votes
1answer
64 views

Grub menu taking too long to appear [closed]

I am using Windows 10, Ubuntu and Debian 10 in my machine. Everything was fine untill some Debian update (or so as I think). Now when i restart my system only a underscore is displayed on my screen ...
0
votes
1answer
202 views

Grub: install only the MBR parts, not the boot directory?

It seems as though I always have to install files to a --boot-directory when using grub-install. What if I already have existing grub files in /boot on my partitions? Shouldn't I just need to ...
1
vote
0answers
525 views

Install Debian 10 on a system which have both GPT and MBR

I have a notebook which has two drives: one is an SSD and the other is an HDD. It also currently has both Windows 10 (SSD) and Windows 7 (HDD): I want to remove Windows 7 and install Debian 10. As I'd ...
0
votes
0answers
30 views

In a dual-boot system, what decides which MBR bootstraping code is used?

I am reading an article titled How Computers Boot Up. In it, it suggests that a Master Boot Record (MBR) consists of "a tiny OS-specific bootstrapping program at the start of the MBR followed by a ...
0
votes
0answers
20 views

Partition Reading issue

I took DVR 2 TB hdd trying to read for data recovery. When I connect HDD on usb to win 10 it shows no information. Attached are the pics from win 10. Please advise on how to read harddisk. HDD is ...
2
votes
1answer
43 views

How to bind hard disks to /dev/sd* names statically?

Maybe it's an XY Problem, so here's a full situation: We have lots of servers now which will be used as storage/databases. All of them have similar setup: SSD drive for OS (Ubuntu 18.04.2 LTS) and 6 ...
1
vote
2answers
190 views

How does BIOS bootloader know which disk to use?

As I understand it, the GRUB bootloader on a BIOS system (and most other bootloaders for that matter) are comprised of 3 parts. The first part (stage 1) is stored in the first 448 bytes, which is ...
0
votes
1answer
48 views

Whether one physical disk only can have one MBR sector? [closed]

Whether one physical disk only can have one MBR sector? If a disk is bootable disk, the first sector of it is MBR sector. So, is this mean one physical disk only can have one MBR sector, right? ...
0
votes
1answer
396 views

Recovering lost partition table with TestDisk

So, somehow the partition table on my disk went bananas: at the next boot the system would not start, I got repeatedly kicked in the BIOS and I had no viable boot options. The BIOS still detected the ...
2
votes
2answers
208 views

How to determine if a PC has a combination of GPT disk and legacy BIOS boot, where the boot code is read from the MBR?

In a comment, Johan wrote: In the rare combination GPT disk + legacy BIOS boot, the boot code is read in the old-fasioned way from the MBR What is the proper way to determine if a PC has the ...
-1
votes
1answer
12 views

Is it possible to find boundaries of a Solaris2 partition after MBR corruption?

I had disk with 4 primary partition on it with MBR (/dev/sda): - the first had a NTFS filesystem, with data (/dev/sda1); - the second was a Solaris2 partition, with openindiana (/dev/sda2 on GNU/Linux ...
0
votes
1answer
214 views

Linux not booting

I have build my linux image with elbe linux build. This produces an image which can be copied to a filestorage and can be run. This works well if I use the output image and copy it with "dd"-command ...
0
votes
1answer
723 views

What do the partition table types and flags mean in the output of parted?

In the output of sudo parted -l: Model: WD My Passport 0748 (scsi) Disk /dev/sdb: 1000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size ...
-3
votes
1answer
53 views

In GPT, can a partition be partitioned further into partitions?

I heard that GPT makes MBR's distinction between primary partition, logical partition, and extended partition disappear. In GPT, can a partition be partitioned further into partitions, in the same ...
1
vote
2answers
42 views

Partition recovered

Partitions MBR has been destroyed accidentally by a friend, Then most partitions are unviewable which is too bad, can all the partitions be recovered? I have a text file including the original ...
1
vote
1answer
266 views

Significance of /sys/block/sd*/sd*/size

Disk size /sys/block/sda/size is always correct but the partition size /sys/block/sda/sda2/size is not correct if the partition type is extended, boot, etc, due to this I rely on reading MBR to get ...
1
vote
1answer
223 views

Installation and booting scenarios for combinations of boot sector (GPT or MBR), firmware (BIOS or UEFI)?

I think all the confusions in this post come from coexistence of old and new technologies and abuse of terminology such as mentioned in https://en.wikipedia.org/wiki/...
0
votes
1answer
66 views

What is a generic name for the sector which stores the partition table of a disk?

If a disk uses GPT partitioning method, is its first sector still called MBR? What is a generic name for the sector which stores the partition table of a disk? Thanks.
1
vote
1answer
372 views

Want MBR install of Mint 19.1

There's a video driver problem with GPT, the Apple A1286 Mid-2010 MacBook Pro machines, and NVIDIA GT330M drivers, and running Nouveau has its own problems, so I want to install Cinnamon Mint 19.1 ...
2
votes
0answers
67 views

Steps to Boot Linux from USB on Windows 10/Linux Dual Install [closed]

I'm interested in a high-level view of booting Linux from a partition separate from Windows using a USB bootloader. My work computer must have Windows 10 on it because of company policy. IT is ...
1
vote
0answers
89 views

Encrypting hard drive containing the MBR with Veracrypt

I have three hard drives in my laptop: /dev/sdc (an mSATA drive) is where the system is installed and is completely encrypted with LUKS. /dev/sdb (for media/text files - the majority of /home) was ...
1
vote
3answers
134 views

How to find boot record of external HDD

I have an internal NoteBook HDD hooked up to a Linux machine externally via USB and want to check if this HDD has some sort of boot record on it. I have no access to BIOS and can not boot my device ...
0
votes
1answer
1k views

How to force GPT partitions in kickstart for Oracle Linux 6

I want to configure OL6 kickstart to install a system that boots from BIOS but uses GPT partitioning instead of MBR, even for disks <2TB. The relevant part of my kickstart file looks like this ($...
0
votes
0answers
244 views

GRUB2 won't install into MBR from chroot

I got a blank screen after the "Welcome to GRUB" greetings. I ran grub-install and grub-mkconfig from a chroot, but still couldn't get to the GRUB menu. Because of the setup (former dual boot with ...
1
vote
2answers
92 views

Reassemble deleted MBR Partition

I have a MBR table that have a few partition that was deleted previously. What are the ways to reassemble the MBR Partition entry and restore the deleted partitions without using 3rd party tools or ...
2
votes
1answer
68 views

Installing Debian on a USB hdd doesn't not prompt me where to install GRUB

I'm trying to install Debian to a partition (not the whole disk) on my external HDD. I'm choosing the "Manual partition" option where I select my 100GB partition as root "/" of my external hdd. The ...
0
votes
1answer
116 views

can i use dd to copy my dual boot HDD(350G) to smaller SSD(120GB) with only one of two OS from HDD

I Have a dual boot machine (windows+ubuntu) with 350 GB HDD. I wish to clone only ubuntu to the 120GB SDD. How can I accomplish this. PS: I have copied Linux partition(sda5) to SDD using "dd", What i ...
5
votes
0answers
521 views

Should isohybrid work on all iso media, fx Windows 7?

I have a an original Windows 7 Professional x86 iso file, straight from Microsoft. I want to make a bootable USB from this ISO. Some sources suggest that I simply dd the iso to the USB, but I don't ...
5
votes
1answer
3k views

Can I change an existing partition from MBR to GPT?

I needed to add extra 2.5TB to the existing 400GB disk (sda) on my system. I added new virtual disks with 2.5TB (sdb), proceeded to create the partition table with fdisk. Used pvcreate /dev/sdb1, to ...
1
vote
1answer
389 views

How to partition eMMC with DOS MBR and align the partitions to 8 MiB

My question is related to this other one but not a duplicate, so please try to understand before marking as duplicate. I am not able to comment on this other one. In this other one, I understand the ...
0
votes
1answer
266 views

Boot Windows 7 from partition on Linux: BOOTMGR is missing

I have Debian Linux and Win7 installed on the one machine with grub loader and I need to load Windows 7 from partition with Virtual Box. Here my partiotions: # VBoxManage internalcommands ...
-1
votes
1answer
93 views

Did I overwrite my Linux installation?

Background info: I have 2 physical hard drives, on the primary was Ubuntu and the secondary I had Solus installed. The Ubuntu install was installed with the partition and Home directory encrypted. I ...
1
vote
1answer
84 views

Boot problems after installing Linux Ubuntu [closed]

After installing Linux Debian on external HDD (not live Boot), is no booting possible. If I start the PC it automaticly jumps in grub-rescue. How should I fix it? On the Internal HDD is just Windows ...
1
vote
1answer
52 views

Question related to MBR

I was reading Linux boot process and stumbled upon below questions: When mbr gets write on first sector during installation.? 446 byte of mbr code will be same for either Linux or windows? How can ...
0
votes
1answer
2k views

Backup boot record of GPT disk

I know how to use dd to backup the boot record of a MBR partitioned disk, but how do I backup the boot record of a GPT partitioned disk? (I use sgdisk to backup the partition table, but also need the ...
1
vote
0answers
90 views

Setting up 2 drives with MBR with /boot as partition and / as LVM on RAID1

I am building a Fedora 26 server. It has two 320G SATA drives. I have them partitioned the same (fdisk output below). The 2nd partition on each are joined together in a standard md RAID1 configuration,...
1
vote
2answers
598 views

Revive HDD after murdering it with dd?

Situation: we have an old, unused laptop that we want to give to my father and mother in law but Windows kept complaining that the hard drive will fail soon, it should be changed. But unfortunately I ...
-2
votes
1answer
425 views

How does MBR affect UEFI

I recently installed Linux in an UEFI laptop and installed the GRUB loader wrong (MBR based). After this the system did not start in any OS. The boot device selector still listed the UEFI devices, but ...
3
votes
1answer
14k views

fdisk: partition contains a ntfs signature. remove it?

I'm installing NixOs on a ThinkPad X220. Though I'm very comfortable in the shell, it's the first time I've set up my own system, and I'm running into some unknowns while trying to partition the hard ...
2
votes
1answer
584 views

Creating a ext2 partition on FreeBSD 10.1 running on x86 based box with MBR partitioning

I have old FreeBSD machine running on x86 based platform with below MBR partitioning pod0226-wsa115:rtestuser 1] uname -a FreeBSD pod0226-wsa115 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Mon Mar 10 15:25:...