Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2000 15:28:15 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Matthew Jacob <mjacob@feral.com>, John Baldwin <jhb@FreeBSD.ORG>, Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
Cc:        freebsd-stable@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: Really odd "BTX halted" problem booting FreeBSD on VALinux h
Message-ID:  <200010282228.e9SMSFu67012@earth.backplane.com>
References:   <Pine.LNX.4.21.0010281459230.6685-100000@zeppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
:> > After fdisk creating partitions try,
:> > 
:> > dd if=/dev/zero of=/dev/da0s1 count=16
:
:Hmm. Isn't the only thing that's suppose to really work  is
:
:dd if=/dev/zero of=/dev/da0 count=16
:
:(which doesn't always work on Alpha yet)
:
:I'm missing some context, so forgive me if this is a stupid question?

    Ah, the joys of fdisk and disklabels.  I've learned more in the last
    two days then I ever really wanted to find out :-)

	# clear out feldercarp at the base of the
	# disk and create a real slice for freebsd.  Install
	# the MBR.
	#
	dd if=/dev/zero of=/dev/da0 count=16
	fdisk -BI da0

	# clear out feldercarp in the slice and then disklabel the
	* slice (using my patch) + the boot blocks
	#
	dd if=/dev/zero of=/dev/da0s1  count=16
	disklabel -w -r -B da0s1 auto

    Presumably a '-z' option to disklabel would do the equivalent of what
    the 'dd' in the above examples are doing.

						-Matt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010282228.e9SMSFu67012>