|
mpfeltz (Michael Pfeltz)
19.12.2006 (18:40)
|
|
techniX,
Спасибо тебе за участие!
Есть подозрение, что это проблема VirtualPC и его GEOM и FreeBSD.
Вот log всех действий:
=======================================================
Frenzy 1.0 (Dreamchild) [ 05.06.2006 12:57 ]
frenzy:~# sysctl kern.geOO.debugflags=16
kern.geom.debugflags: 0 -> 16
frenzy:~# fdisk /dev/ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=10158 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=10158 heads=16 sectors/track=63 (1008 blks/cyl)
fdisk: invalid fdisk partition table found
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 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 10239201 (4999 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 941/ head 15/ sector 63
The data for partition 2 is:
The data for partition 3 is:
The data for partition 4 is:
frenzy:~# fdisk-linux /dev/ad0
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklael
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-637, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-637, default 637):
Using default value 637
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
frenzy:~# fdisk-linux /dev/ad0
Command (m for help): b
Reading disklabel of /dev/ad0s1 at sector 64.
/dev/ad0s1 contains no disklabel.
Do you want to create a disklabel (y/n) y
# /dev/ad0s1 :
type ST506
disk:
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 637
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
4 partitions:
# start end size fstype [fsize bsize cpg]
c: 1* 637 636* unused 0 0
d: 1 637 637 unused 0 0
BSD disklabel command (m for help): w
Writing disklabel to /dev/ad0s1 .
Unable to write /dev/ad0
frenzy:~#
=======================================================
|
|