NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: setup a drive with disklabel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On May 3, 2008, at 02:11, Al - image hosting services wrote:

I am setting up a drive, but I can't seem to get things right with
disklabel. I have the computer netbooted and I would like to do everything
manually with NetBSD. Where I am stuck is when I ran: "dd if=/dev/zero
of=/dev/sd0c bs=8k count=1". Shouldn't this delete the disklabel?

It's supposed to wipe out any previously existing partitioning schemes, like an Apple partition map.

It is still there after I do this (I really don't want to reboot unless I really
have too).

What you get is the kernel's copy of the disk label.

I would like to delete everything that is in the disklabel. Then reload the drives geometry, then use "disklabel -i /dev/sd0c" to partition the drive. I should then be able to use newfs to format the partitions and installboot to install bootxx. This sound good in theory, but in practical
application I seem to be missing something.

What do you think you're missing?

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSBxo1cpnzkX8Yg2nAQK+bQgAkP9MlqB3ysEjSJ2rH2cDCzNbLtUpgNWR
yKeRHRqYPOWIXtVXKBFH8qnjvjTLCbBjS/Zi6GM7PVayjQDm3RuJ1WfKTMEIoLVp
PYOVQ0hJ76yYvTjmMHDZ1BjfGz85DMEx5iy3KaeaVhTZSKXsOBdV47H/UMN7xYrg
Y4mrTmeba2oCp5r9h2mT5UyjlMqCdAqBk47xFWWbvZlqDXUzrriGMWd4jcNuBNhC
dpojzvRsAZW9cfml3yO0syF6EMVmfFki9MORBISdQb6xVopzR8VA5K02m6jn1O6Z
aMAtFFmA5ocCfdSN3QPgBrEpFMxXvHixUQ/BQlfYdPkr9pa3/LIVTw==
=K1bj
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index