Date: Wed, 17 Apr 2024 17:02:52 -0400 From: "Dan Mahoney (Ports)" <freebsd@gushi.org> To: Polytropon <freebsd@edvax.de> Cc: hlyg <hlyg2023@outlook.com>, freebsd-questions@freebsd.org Subject: Re: how to remove freebsd when it is running Message-ID: <74E4B220-4443-4FEE-84D1-714A1C52BE88@gushi.org> In-Reply-To: <20240417221010.763153b3.freebsd@edvax.de> References: <TYSPR02MB83829F49E013850114DFC917C50F2@TYSPR02MB8382.apcprd02.prod.outlook.com> <20240417221010.763153b3.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In the past, when dealing with ancient systems that did not have good = iloms, where I wanted to upgrade but my coworker had (for example) = provisioned too small a / filesystem, I=E2=80=99ve had luck in moving = the MFSBSD binaries into /boot and rebooting =E2=80=94 and then = ssh=E2=80=99ing into the resulting memory-file-system OS and sweeping = the floor under me, but your mileage may vary and you should probably = try this on a VM first. This is absolutely don=E2=80=99t-try-this-at-home-kids networking, but = also, something I would do as a cool presentation at a conference if = someone asked. (I=E2=80=99ll be at BSDCan, I really should have = submitted this). -Dan > On Apr 17, 2024, at 16:10, Polytropon <freebsd@edvax.de> wrote: >=20 > On Wed, 17 Apr 2024 22:21:15 +0800, hlyg wrote: >> my freebsd 13 is installed at flash disk of dell thin client >>=20 >> it doesn't work well, i want to remove it >>=20 >> "dd if=3D/dev/zero of=3D/dev/ada0 count=3D1000 ..." doesn't work, = freebsd=20 >> doesn't allow >=20 > This is intended, because you cannot write to a disk currently > in use by the OS. >=20 >=20 >=20 >> according to dell manual, i shall be able to enter bios by pressing = F2=20 >> before bsd booting so that i can set boot sequence to boot from usb=20= >> disk, but i can't enter bios, pressing F2 doesn't work >=20 > Reboot the system with a FreeBSD live system from USB stick > and then use the dd command to remove the FreeBSD installation. >=20 > But instead of removing it, why not use the installer of the > new OS you want to install to your Dell thin client to first > remove the existing partition(s), then install the new OS? > That approach should be much easier. >=20 >=20 >=20 >> it's not easy for me to open case and dismount disk >=20 > That surely isn't needed. >=20 >=20 >=20 > --=20 > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74E4B220-4443-4FEE-84D1-714A1C52BE88>