disklabel64 failed with return code of 1

Saifi Khan saifi.khan at datasynergy.org
Sat Apr 3 10:56:04 PDT 2010


On Mon, 29 Mar 2010, Matthew Dillon wrote:

> 
> :Hi:
> :
> :Trying to install DragonFlyBSD 29th March snapshot for X86_64 
> :(on a triple boot system with FreeBSD installed) fails out with 
> :the error "disklabel64 failed with return code of 1".
> :
> :FreeBSD is installed on the machine on the second partition sans 
> :any boot manager or explicit entry on MBR.
> 
>     Did it work the second time you tried?  That dd it did should have
>     cleaned out any old label but perhaps the kernel did not re-probe
>     afterwords.
> 
> 						-Matt
> 

Thanks for your reply Matt.

Here are the steps that i followed from command line (after 
logging as root).

# disklabel64 -W ad4s2

# fdisk -B -I ad4

# dd if=/dev/zero of=/dev/ad4s2 bs=512 count=32

# disklabel64 -B -r -w ad4s2 auto

Now, while i donot see the error message mentioned above, but 
on executing each command the following message is seen:

ad4s2: cannot find label (no disk label).
>>> Exit status: 0

The installer continues ahead, but on reboot, the boot loader 
stalls with the message 'no ufs partition' !


--
thanks
Saifi.





More information about the Users mailing list