28.05.2012 12:12, Volodymyr Kostyrko написал:
> Vladislav V. Prodan wrote:
>> 28.05.2012 10:18, Volodymyr Kostyrko написал:
>>> printf '\ny\n\n\n\ny\n\ny\n\n\n\n\ny\n' | fdisk -u da1
>>
>> это после применения
>>
>> # gpart bootcode -b /mnt2/boot/pmbr -p /mnt2/boot/gptzfsboot -i 1 da1
>>
>> ?
>
> Да.
>
Порядок команд правильный?
# printf '\ny\n\n\n\ny\n\ny\n\n\n\n\ny\n' | fdisk -u da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=3917 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=3917 heads=255 sectors/track=63 (16065 blks/cyl)
Do you want to change our idea of what BIOS thinks ? [n] 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 62939135 (30731 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 2;
end: cyl 1023/ head 255/ sector 63
Do you want to change it? [n] Supply a decimal value for "sysid
(165=FreeBSD)" [238] Supply a decimal value for "start" [1] Supply a
decimal value for "size" [62939135] fdisk: WARNING: partition does not
start on a head boundary
fdisk: WARNING: partition does not end on a cylinder boundary
fdisk: WARNING: this may confuse the BIOS or some operating systems
Correct this automatically? [n] fdisk: WARNING: adjusting start offset
of partition to 63
fdisk: WARNING: adjusting size of partition to 62926542
Explicitly specify beg/end address ? [n] sysid 238 (0xee),(EFI GPT)
start 63, size 62926542 (30725 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 844/ head 254/ sector 63
Are we happy with this entry? [n] The data for partition 2 is:
<UNUSED>
Do you want to change it? [n] The data for partition 3 is:
<UNUSED>
Do you want to change it? [n] The data for partition 4 is:
<UNUSED>
Do you want to change it? [n] Partition 1 is marked active
Do you want to change the active partition? [n]
We haven't changed the partition table yet. This is your last chance.
parameters extracted from in-core disklabel are:
cylinders=3917 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=3917 heads=255 sectors/track=63 (16065 blks/cyl)
Information from DOS bootblock is:
1: sysid 238 (0xee),(EFI GPT)
start 63, size 62926542 (30725 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 844/ head 254/ sector 63
2: <UNUSED>
3: <UNUSED>
4: <UNUSED>
Should we write new partition table? [n] fdisk: Failed to write MBR. Try
to use gpart(8).
--
Vladislav V. Prodan
System & Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE