NetBSD-Users archive

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

Re: Clean Microsoft FROM NETBSD



On Fri, May 17, 2024 at 02:18:59PM +0000, Todd Gruhn wrote:
> I want to  to clean out  crap that Microsoft forces on
> that drive.
> 
> MS Windows   want to stop me from "Uninstall" stuff that they
> installed...
> 
> Can this be done with NetBSD?

"yes" - in several variants.

You can wipe the whole disk content, e.g. by overwriting it with zeroes
or random data (something like: dd bs=1m if=/dev/urandom of=/dev/rsd0d)

Or you can kill single partitions - usually the Windows stuff shows up
as extra GPT partitions, use something like "gpt show -a sd0", identify
the partition you want to kill and then remove it with "gpt remove -i $index".

After removing the GPT partition you can reboot into windows and tell it to
resize the neighbour partition and fill the new space again.

If you mean inside a NTFS partition and w/o destroying everything else on that
partition: that is tricky and requires tools from pkgsrc, but should be 
doable. But I guess you are talking about the extra partition stuff, which
is simple to remove - see above.

Martin


Home | Main Index | Thread Index | Old Index