Hi,
so I screwed something up with my slice and partition tables and now I have a hard time fixing it. Fdisk, sysinstall/Fdisk and GParted and the device nodes give me different output regarding my partitions and I am not sure how to fix it. Could someone help me please?
Here are some details about what my machine tells me:
1 Sysinstall tells me that there is no slice defined on my disk
2 The existing nodes for my hard drive are ad0 and ad0a only
3 fdisk tells me that slice 3 is defined
4 GParted gives me the same info as fdisk
The ouput from fdisk and GParted is right, but the one from sysinstall and the device nodes is screwed up. I tried modifying the slices with fdisk and then to set it back to what it should be, but it does not fix the problem, even after a reboot. I screwed things up when I ran the command
instead of
I have found how to recover the partitions using scan_ffs, but I really need to fix the slice table first. What should I do exactly? I am just using MBR + UFS on a FreeBSD 8.2 i386 machine.
Thanks a lot!
so I screwed something up with my slice and partition tables and now I have a hard time fixing it. Fdisk, sysinstall/Fdisk and GParted and the device nodes give me different output regarding my partitions and I am not sure how to fix it. Could someone help me please?
Here are some details about what my machine tells me:
1 Sysinstall tells me that there is no slice defined on my disk
2 The existing nodes for my hard drive are ad0 and ad0a only
3 fdisk tells me that slice 3 is defined
4 GParted gives me the same info as fdisk
The ouput from fdisk and GParted is right, but the one from sysinstall and the device nodes is screwed up. I tried modifying the slices with fdisk and then to set it back to what it should be, but it does not fix the problem, even after a reboot. I screwed things up when I ran the command
bsdlabel -w ad0instead of
bsdlabel -w ad0s1I have found how to recover the partitions using scan_ffs, but I really need to fix the slice table first. What should I do exactly? I am just using MBR + UFS on a FreeBSD 8.2 i386 machine.
Thanks a lot!