My hard disk had some bad sectors, and later became not-bootable, so I repaired the sectors with this utility, it has recovered 2920 sectors and my hard disk is 500[]GB.
Now, I get this message every time I try to boot up my system:
I tried to
It looks like I am unable to mount my UFS partitions.
My slices are still there because typing
Now, I get this message every time I try to boot up my system:
Code:
Not ufs
gptboot: No /boot/loader on 0:ad(0p2)
Not ufs
gptboot: No /boot/kernel/kernel on 0:ad(0p2)
FreeBSD/x86 boot
Default: 0:ad(0p2)/boot/kernel/kernel
boot:
I tried to
dump
my slices in another disk in order to reformat my disk but I'm stuck at this error message:
Code:
mount: /dev/ad4p4 : Invalid argument
My slices are still there because typing
gpart show
outputs this:
Code:
=> 34 976773101 ad4 GPT (466G)
34 128 1 freebsd-boot (64k)
** ********* 1 freebsd-ufs (2.0G)
** ********* 1 freebsd-ufs (40G)
** ********* 1 freebsd-ufs (3.0G)
** ********* 1 freebsd-ufs (15G)
** ********* 1 freebsd-ufs (100G)
** ********* 1 freebsd-ufs (303G)
** ********* 1 freebsd-ufs (2.8G)