Questions tagged [mbr]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
198 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
593 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
4k 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
507 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
290 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
99 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
91 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
56 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
3k 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
102 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
770 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
433 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 ...
4
votes
1answer
18k 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
660 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:...
3
votes
2answers
28k views

GRUB menu doesn't appear after Ubuntu install alongside with Windows 10

I shrunk Windows partition, freed 100 Gb, installed Ubuntu into it, installed GRUB into into MBS of the first drive and after reboot I got Windows and with no any option to select. Even in BIOS in ...
2
votes
1answer
2k views

fdisk warning message: (Extended) Partition does not start on physical sector boundary

When I run fdisk, I get a warning message: Partition table entries are not in disk order Here is an example of the command I'm executing and its output: sudo fdisk -l [sudo] password for phil: ...
2
votes
4answers
4k views

Are there extended partitions in GPT partition table?

Under the MBR model, we could create four primary partitions one of which could an extended partition that's further subdivided into logical partitions. Consider this GPT schematic taking from ...
3
votes
2answers
8k views

Changing from MBR to GPT

I'm trying to completely remove linux from my machine to make way for Windows, but to do that I need to change my disk type to GPT instead of MBR. I have a bootable usb with Ubuntu on it that I can ...
0
votes
1answer
1k views

Warning: Cannot find a valid bootloader location (MBR disk)

I'm trying to Install SolusOS, but I keep getting the following error message from the OS Installer: "Warning: Cannot find a valid bootloader location (MBR disk)" I followed documentation, which ...
3
votes
1answer
4k 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. (...
5
votes
1answer
39k 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
186 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
178 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 \ -...
10
votes
3answers
25k 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.
4
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
391 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
224 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 ...
2
votes
1answer
2k 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
304 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. ...
0
votes
2answers
970 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: ...
1
vote
1answer
259 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
261 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
3answers
2k 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
124 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
2k 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
122 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
1k 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
601 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
31 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
3k 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 ...
1
vote
1answer
964 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
2k 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
607 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 ...
6
votes
3answers
10k 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
2answers
16k 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 ...
1
vote
3answers
5k 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
439 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 -...