I'm attempting to move my FreeBSD installation from a disk containing an old 7-STABLE to 9.0-RELEASE on an existing disk on my raid controller. I managed to do a manual install on that new disk, but when I attempt to boot it I just get a cursor symbol on an empty screen - it's not even blinking!
Obviously I forgot something or I did something wrong. The question is what, and what to do about it?
The system is an old Tyan Tiger MPX board. The current 7-STABLE installation was done on the (then) usual PATA disks, but a couple of years ago I added an AMCC 3Ware 9550:
In the BIOS I put the 3ware controller before the other hard disks.
The new disk is the 2nd unit on that controller (it contains 2 mirrors), and partitioned using gpart as follows:
I did write bootcode to the partition on index 1:
Naturally I labeled the partitions to be able to do that manual install I mentioned earlier, namely: /, /var, /tmp, /usr, /home and /data respectively. The last partition (p8) has been in use for quite a while now and is nearly full. The other partitions have been unused so far, so I don't mind losing data on those.
I checked with old fdisk that the disk is indeed bootable (output from 7-STABLE):
Is something in the above incorrect?
Is it possible that the system doesn't know how to boot a GPT partition somehow? In that case, what do I do to "convert" this disk to have at least one bootable MBR partition? I'd prefer to not have to juggle nearly a terabyte of data around that's already on it, but I can if necessary.
Obviously I forgot something or I did something wrong. The question is what, and what to do about it?
The system is an old Tyan Tiger MPX board. The current 7-STABLE installation was done on the (then) usual PATA disks, but a couple of years ago I added an AMCC 3Ware 9550:
Code:
3ware device driver for 9000 series storage controllers, version: 3.70.05.010
twa0: <3ware 9000 series Storage Controller> port 0x1000-0x103f mem 0xf6000000-0xf7ffffff,0xf40000000xf4000fff irq 21 at device 9.0 on pci0
twa0: [ITHREAD]
twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SXU-4LP, 4 ports, Firmware FE9X 3.08.02.005, BIOS BE9X 3.08.00.002
In the BIOS I put the 3ware controller before the other hard disks.
The new disk is the 2nd unit on that controller (it contains 2 mirrors), and partitioned using gpart as follows:
Code:
# gpart show da1
=> 34 1953103805 da1 GPT (931G)
34 128 1 freebsd-boot (64K)
162 1048576 2 freebsd-ufs (512M)
1048738 8388608 3 freebsd-swap (4.0G)
9437346 1048576 4 freebsd-ufs (512M)
10485922 2097152 5 freebsd-ufs (1.0G)
12583074 31457280 6 freebsd-ufs (15G)
44040354 104857600 7 freebsd-ufs (50G)
148897954 1804205885 8 freebsd-ufs (860G)
I did write bootcode to the partition on index 1:
# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 /da1
Naturally I labeled the partitions to be able to do that manual install I mentioned earlier, namely: /, /var, /tmp, /usr, /home and /data respectively. The last partition (p8) has been in use for quite a while now and is nearly full. The other partitions have been unused so far, so I don't mind losing data on those.
I checked with old fdisk that the disk is indeed bootable (output from 7-STABLE):
Code:
# fdisk /dev/da1
******* Working on device /dev/da1 *******
parameters extracted from in-core disklabel are:
cylinders=121575 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=121575 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 238 (0xee),(EFI GPT) start 1, size 1953103871 (953663 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
Is something in the above incorrect?
Is it possible that the system doesn't know how to boot a GPT partition somehow? In that case, what do I do to "convert" this disk to have at least one bootable MBR partition? I'd prefer to not have to juggle nearly a terabyte of data around that's already on it, but I can if necessary.