b31e
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
After some struggle I managed to finish the upgrade from R8.2 to R9.0 process.
Adding the following option line in /etc/loader.conf was the main thing.... Code:
kern.geom.part.check_integrity="0" Code:
=> 63 976773104 mirror/gm0 MBR (465G) [CORRUPT]
63 976773105 1 freebsd [active] (465G)
=> 0 976773105 mirror/gm0s1 BSD (465G)
0 2097152 1 freebsd-ufs (1.0G)
2097152 2097152 2 freebsd-swap (1.0G)
4194304 10485760 4 freebsd-ufs (5.0G)
14680064 4194304 5 freebsd-ufs (2.0G)
18874368 957898737 6 freebsd-ufs (456G)
Code:
sudo /sbin/gpart bootcode -b /boot/pmbr mirror/gm0 gpart: table 'mirror/gm0' is corrupt: Operation not permitted I filed an official Problem Report, because it's probably not so easy.... Last edited by ericmacmini; January 15th, 2012 at 17:04. Reason: filed a Problem Report |
|
#2
|
|||
|
|||
|
You're doing something wrong by trying to place pmbr (gpt boot loader) on device in use and labeled as MBR. Probably you need first to backup data. Then step by step remove BSD labels, then MBR partition. And only then partition it to GPT.
Also there always will be conflict because GPT stores it secondary backup table at the last block of disk. And GEOM sheme places own metadata at the last block of storage device. You need first to create GEOM device on physical drive (in your case gmirror) and then divide this created device with gpart. gm0 --> gpart. Then there will be gmirror metada on last sector of targeted drive and GPT backup table on last block of gmirror. Also you will get every boot complains from boot loader that there's no secondary GPT table. But everything will work. You've been warned. |
|
#3
|
||||
|
||||
|
Quote:
Quote:
gmirror With Disk Partitions shows creating a split-filesystem layout with a mirror for each filesystem. Creating one big filesystem like FreeBSD-9 does by default is the same, only simpler. |
![]() |
| Tags |
| gpart, mbr |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I restore the original mbr? | srivo | Storage | 3 | January 2nd, 2012 16:43 |
| reinstall MBR | Hanzo | General | 13 | November 8th, 2011 01:53 |
| [Solved] convert OpenBSD mbr to FreeBSD mbr with FreeBSD boot manager | sidney6 | Installing & Upgrading | 2 | July 18th, 2011 23:43 |
| [Solved] Upgrade to 8.2 - GPT became corrupt? | CumpsD | Installing & Upgrading | 14 | April 3rd, 2011 08:47 |
| mbr | lumiwa | Installing & Upgrading | 5 | December 10th, 2009 00:16 |