Sponsored Content
Special Forums Hardware Boot Loaders GPT/Protective MBR problem... Post 302470256 by Blackbird on Tuesday 9th of November 2010 03:07:47 PM
Old 11-09-2010
GPT/Protective MBR problem...

Hi,

short thing: I've done something I didn't know what happens; bad thing: I did it with my partition table. Smilie

My OS is Ubuntu 10.10. I've used GPT and now want to convert it to MBR with gdisk.
I started gdisk, chose 'r' for "transformation options" and chose 'g' to "convert GPT into MBR and exit".
Then I rebooted. Now all my programs tell me something other:

fdisk says the following (language is german):
Code:
   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1      121602   976762583+  ee  GPT

gdisk says it to be a protective MBR, but '-l' switch doesn't print any partition:
Code:
GPT fdisk (gdisk) version 0.5.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

The kernel doesn't seem to detect anything, only sda* thing is /dev/sda.

partitionmanager says that there is no valid partition table.

Now, what should I do? Stupid thing is that I missed to make a backup of my first sectors before. Smilie
Remember, the only thing I want is to be able to read my partitions on sda again and to have an MBR on it in the end.


Blackbird

Last edited by Blackbird; 11-09-2010 at 04:31 PM..
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Delete gpt signatures

Hi Can anyone tell me how to delete GPT signatures in linux/unix. Thanks Tannu (3 Replies)
Discussion started by: tannu
3 Replies

2. Red Hat

RHEL4 easyRAID problem 2tb gpt xfs

hello community, i have problems with my redhat enterprise linux 4 nanhant 6 and my easyraid x8s (8x1tb) extern fibre channel raid extern raid configuration: raid level 5 (8x1tb) redhat system shows me four 2tb partitions and one 450gb partition from my raid :( why????? i have... (1 Reply)
Discussion started by: onkeldave
1 Replies

3. Fedora

Disk Paritioning Scheme--GPT or MBR

Hi, I just built myself a new machine which has an ASUS motherboard with is UEFI based. I noticed after I installed Fedora 17 that my sda is MBR and my sdb is GPT: sda is a ssd drive. Should the ssd drive be GPT or is MBR okay? sda is 60Gb drive. (3 Replies)
Discussion started by: mojoman
3 Replies

4. Windows & DOS: Issues & Discussions

Installing Windows 7 on a GPT drive

Hello, My hard drive was formatted with GPT. It is part of a volume group and has two logical volumes on it. Is it possible to convert the drive to MBR? If so, how would I got about doing it? I know there are programs out there that do it, but I have volume groups with LVM's so I am wondering if... (1 Reply)
Discussion started by: mojoman
1 Replies

5. Red Hat

GPT Partitions

(Don't you hate being on holiday and being the only IT person in the family?) Got a wonderful thanksgiving surprise .. dead windows-8 laptop with "important" unbacked-up data. No worries, I have my my fedora labtop and a magical SATA to USB converter. Plugged in the drive, and ... can't mount... (4 Replies)
Discussion started by: derekludwig
4 Replies

6. Emergency UNIX and Linux Support

2nd hdd is Linux_lvm can't mount MBR on BSD with GPT

rying it this way, because I can't handle the slices for the second hdd. If there is someone on this forum who can help me out of that misery, he would really save my digital life in this digital ocean. So not giving up, reading several times the manual of gpart. But the best hint in all that... (0 Replies)
Discussion started by: 1in10
0 Replies
ZFSBOOT(8)						    BSD System Manager's Manual 						ZFSBOOT(8)

NAME
zfsboot -- bootcode for ZFS on BIOS-based computers DESCRIPTION
zfsboot is used on BIOS-based computers to boot from a filesystem in a ZFS pool. zfsboot is installed in two parts on a disk or a partition used by a ZFS pool. The first part, a single-sector starter boot block, is installed at the beginning of the disk or partition. The second part, a main boot block, is installed at a special offset within the disk or partition. Both areas are reserved by the ZFS on-disk specifi- cation for boot use. If zfsboot is installed in a partition, then that partition should be made bootable using appropriate configuration and boot blocks described in boot(8). BOOTING
The zfsboot boot process is very similar to that of gptzfsboot(8). One significant difference is that zfsboot does not currently support the GPT partitioning scheme. Thus only whole disks and MBR partitions, traditionally referred to as slices, are probed for ZFS disk labels. See the BUGS section in gptzfsboot(8) for some limitations of the MBR scheme support. USAGE
zfsboot supports all the same prompt and configuration file arguments as gptzfsboot(8). FILES
/boot/zfsboot boot code binary /boot.config parameters for the boot block (optional) /boot/config alternative parameters for the boot block (optional) EXAMPLES
zfsboot is typically installed using dd(1). To install zfsboot on the ada0 drive: dd if=/boot/zfsboot of=/dev/ada0 count=1 dd if=/boot/zfsboot of=/dev/ada0 iseek=1 oseek=1024 If the drive is currently in use, the GEOM safety will prevent writes and must be disabled before running the above commands: sysctl kern.geom.debugflags=0x10 zfsboot can also be installed in an MBR slice: gpart create -s mbr ada0 gpart add -t freebsd ada0 gpart create -s BSD ada0s1 gpart bootcode -b /boot/boot0 ada0 gpart set -a active -i 1 ada0 dd if=/boot/zfsboot of=/dev/ada0s1 count=1 dd if=/boot/zfsboot of=/dev/ada0s1 iseek=1 oseek=1024 Note that commands to create and populate a pool are not shown in the example above. SEE ALSO
dd(1), boot.config(5), boot(8), gptzfsboot(8), loader(8), zfsloader(8), zpool(8) HISTORY
zfsboot appeared in FreeBSD 7.3. AUTHORS
This manual page was written by Andriy Gapon <avg@FreeBSD.org>. BUGS
Installing zfsboot with dd(1) is a hack. ZFS needs a command to properly install zfsboot onto a ZFS-controlled disk or partition. BSD
September 15, 2014 BSD
All times are GMT -4. The time now is 12:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy