The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
28 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 ...
-1
votes
0answers
40 views

Recovering non-EFI partition with Kali Linux after installing windows 10

I successfully dual-booted and used Windows 10 and Kali Linux for some time. Then due to a failure in Windows I had to reinstall Windows 10. With that I lost the grub. Then I followed the instructions ...
1
vote
1answer
85 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 ...
0
votes
1answer
34 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 ...
2
votes
0answers
52 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 ...
0
votes
1answer
118 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
6 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 ...
3
votes
1answer
11k 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 it....
0
votes
1answer
53 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 ...
0
votes
0answers
33 views

Get correct Windows partition back in Grub

Model: HP Compaq Mini 32 bit. Device: Samsung Evo SSD 120 GB. OS: Dual boot --> Linux Mint 17.1 Xfce & Windows 7 Starter. TLDR: Fixed Grub + got Mint back using parted rescue; win7 reboots or ...
4
votes
1answer
97 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) ...
3
votes
2answers
838 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 * ...
1
vote
2answers
56 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 ...
0
votes
3answers
230 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 ...
0
votes
3answers
89 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 ...
1
vote
1answer
109 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
1answer
44 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
36 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'...
0
votes
0answers
120 views

Unable to get past grub or BIOS

I have an Asus X200CA. It came with DOS. I installed Linux Mint (which is based on Ubuntu). It was working well until one day a USB stick was pulled out without removing it safely. At the next bootup, ...
3
votes
1answer
3k 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 ...
2
votes
2answers
148 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
0answers
85 views

rEFit on Mac with OS X doesn't detect Linux boot partition

I've followed this guide and installed a dual boot Kali Linux on my MacBook Air using a hybrid MBR. Everything went smooth, but after finishing, the rEFit menu doesn't offer Linux as an option for ...
1
vote
0answers
884 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 ...
1
vote
1answer
47 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
65 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
0answers
303 views

installing kali linux in mbr (not gpt)

I previously dual booted kali and windows 7. There was no problem with that. Then I removed both of them and partition the drive using fdisk(for MBR). I cannot use GPT partition as my BIOS does not ...
0
votes
1answer
167 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
38 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
37 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:...
0
votes
2answers
80 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 ...
3
votes
2answers
391 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 ...
3
votes
1answer
351 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, ...
29
votes
5answers
32k views

GPT or MBR: How do I know?

How can I tell whether my harddrive is laid out using an MBR or GPT format?
3
votes
2answers
2k 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 ...
0
votes
0answers
789 views

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

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
201 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
133 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; ...
0
votes
0answers
108 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 ...
1
vote
1answer
1k 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 ...
7
votes
1answer
2k 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?
1
vote
1answer
105 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 ...
2
votes
0answers
161 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 ...
0
votes
0answers
71 views

What are the [internal] steps involved in making USB drive 'bootable'?

Whenever I have to install a new Linux distro, I create a bootable USB from the distro image using some specialized program like UNetBootin. Recently, I tried to do for Fedora using 'dd' command, but ...
4
votes
2answers
6k 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. ...
6
votes
3answers
2k 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 ...
1
vote
2answers
48 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 table)...
1
vote
2answers
3k 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 ...
0
votes
1answer
366 views

unbootable usb stick “Non-system disk or disk error”

All, I have a USB stick that used to boot fine. I thought I'd reuse it. Reformatted it, copied some files over, and now it won't boot. I've used "lilo -M /dev/sdc mbr" with no luck. Note that the ...
0
votes
2answers
57 views

Is my server still using a grub-legacy (GRUB 1) MBR?

When Debian updated to GRUB 2 (package grub-pc), it didn't automatically upgrade the MBR. Instead it configured the old GRUB 1 installation so that it will chainload GRUB 2; that way administrators ...
0
votes
1answer
83 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 ...