|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Clean install of OpenBSD but keeping existing partition table
Hi, borked an install and want to do a clean install of the whole #! and start with a virgin system. However, I would like to keep my partition table set as is. Of course just the partitions themselves, no actual data should remain
What would be the best way to do this? rm -rf /* and pxeboot to install? Seems a little barbaric way to do it. Is there a way to wipe all the data, install via pxe and have it use the partitions that are already in place, just adding mount points to their entries? Thanks |
|
|||
If you do an update I think it will just overwrite the / partition files.
(I had 5.6 installed & updated it to 5.7 & that seems to have been what happened.) However, I have found that it is easy to just do a fresh installation after having tried a couple of different ways of installing when I started using it a couple of months ago.
__________________
Linux since 1999, & also a BSD user. |
|
||||
You can do a clean install, leaving the disklabel and (for MBR architectures) any MBR partition tables intact. 1) Don't write a new MBR. 2) When prompted for disklabel partitioning, choose custom, rather than automatic. You will be sent to the disklabel(8) editor. Don't delete or add any partitions, use the "n" name command to assign partitions to mount points. The partitions will be formatted, but will not be moved.
|
|
|||
Quote:
|
|
|||
Quote:
Quote:
Last edited by ocicat; 27th May 2015 at 09:58 PM. Reason: correct verb tense... |
|
|||
Quote:
|
|
|||
just type /bsd.rd when i get the boot> menu?
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keeping your /var/log/pflog file clean and managable | J65nko | Guides | 3 | 8th February 2014 11:07 PM |
Keeping /var/log/pflog clean from NetBIOS and SSID junk | J65nko | General software and network | 1 | 26th April 2010 02:12 PM |
Preserving existing OpenBSD partition layout during a re-install | J65nko | Guides | 3 | 17th February 2010 03:55 AM |
I think I just mangled my partition table | Mantazz | FreeBSD Installation and Upgrading | 2 | 2nd July 2009 09:55 PM |
FBSD 7.2 installation not seeing partition table correctly | Mantazz | FreeBSD Installation and Upgrading | 0 | 2nd July 2009 11:36 AM |