Hello fellow FreeBSD users,
I try to mount a USB stick to recover a geli key.
This stick has a full install and I used to boot on it and run FreeBSD (version 7 or 8).
When I created it I did not use slices and make it dedicated (I forgot why).
The server hardware is broken and I can't boot on an other machine (tried uefi and legacy boot).
So now I try to mount it.
For safety I work on an image disk, but the results are exactly the same if I run those commands on the stick itself.
I can see that the image is indeed UTF2.
As it's dedicated, there are no slices, only /dev/md1 (or /dev/da1)
Any help on how I could mount the USB stick would be greatly appreciated.
Regards,
Colin
I try to mount a USB stick to recover a geli key.
This stick has a full install and I used to boot on it and run FreeBSD (version 7 or 8).
When I created it I did not use slices and make it dedicated (I forgot why).
The server hardware is broken and I can't boot on an other machine (tried uefi and legacy boot).
So now I try to mount it.
For safety I work on an image disk, but the results are exactly the same if I run those commands on the stick itself.
I can see that the image is indeed UTF2.
Code:
mdconfig -a -t vnode -f image.img -u 1
# file -s /dev/md1
/dev/md1: Unix Fast File system [v2] (little-endian) last mounted on , last written at Sat Apr 23 02:30:15 2011, clean flag 0, readonly flag 0, number of blocks 3915772, number of data blocks 3791411, number of cylinder groups 0, block size 0, fragment size 0, average file size 16384, average number of files in dir 64, pending blocks to free 0, pending inodes to free 0, system-wide uuid 0, minimum percentage of free blocks 0, TIME optimization
# mount /dev/md1 /mnt
mount: /dev/md1: No such file or directory
As it's dedicated, there are no slices, only /dev/md1 (or /dev/da1)
Code:
# fdisk /dev/md1
******* Working on device /dev/md1 *******
parameters extracted from in-core disklabel are:
cylinders=974 heads=255 sectors/track=63 (16065 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=974 heads=255 sectors/track=63 (16065 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 15647247 (7640 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 973/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
# diskinfo /dev/md1
/dev/md1 512 8019509248 15663104 0 0
Any help on how I could mount the USB stick would be greatly appreciated.
Regards,
Colin