I'm having a lot of difficulties to mount a partition on FreeBSD.
So I mount the ada0s1a partition:
It appeared the boot directory into /tmp/1. The loader.conf file has the following contents:
If I try to mount the partitions ada0s1d ==> ada0s1g I get the following error message:
I need to recover a file within that HD.
A version of the system I am talking about can be downloaded here.
Someone could help me set up such partitions?
Thank you
Felix
Code:
gpart show:
=> 63 41942977 ada0 MBR (20G)
63 41942817 1 freebsd [active] (20G)
41942880 160 - free - (80K)
=> 0 41942817 ada0s1 BSD (20G)
0 614400 1 freebsd-ufs (300M)
614400 1048576 2 freebsd-swap (512M)
1662976 2097152 4 freebsd-ufs (1.0G)
3760128 4194304 5 freebsd-ufs (2.0G)
7954432 4194304 6 freebsd-ufs (2.0G)
12148736 29794081 7 freebsd-ufs (14G)
So I mount the ada0s1a partition:
Code:
mount /dev/ada0s1a /tmp/1
It appeared the boot directory into /tmp/1. The loader.conf file has the following contents:
Code:
autoboot_delay="-1"
beastie_disable="YES"
kern.ipc.semmni=32
kern.ipc.semmns=512
kern.ipc.nsfbufs=16148
net.inet.tcp.tcbhashsize=262144
vfs.root.mountfrom="ufs:ad0s1d.spdr"
rootdev="ad0s1d"
If I try to mount the partitions ada0s1d ==> ada0s1g I get the following error message:
Code:
rroot@:~ # mount /dev/ada0s1d /tmp/2
mount: /dev/ada0s1d: Invalid argument
root@:~ # mount /dev/ada0s1e /tmp/2
mount: /dev/ada0s1e: Invalid argument
root@:~ # mount /dev/ada0s1f /tmp/2
mount: /dev/ada0s1f: Invalid argument
root@:~ # mount /dev/ada0s1g /tmp/2
mount: /dev/ada0s1g: Invalid argument
I need to recover a file within that HD.
A version of the system I am talking about can be downloaded here.
Someone could help me set up such partitions?
Thank you
Felix