|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Code:
$ su # cp /bsd.rd /obsd.rd # cd / # ftp http://<your-openbsd-mirror>/pub/OpenBSD/5.7/`machine -a`/bsd.rd <reboot> boot> /bsd.rd |
|
|||
You do nothing? That's what getting sets via http is for.
|
|
|||
I'd be tempted to grab the install disk/image & do an 'upgrade' - would that be wrong?
__________________
Linux since 1999, & also a BSD user. |
|
||||
last night I try upgrade beta to release and boot with bsd.rd and start installation and I can not continue installation and I reboot machine ,
but today when I want boot system and sart /bsd.rd , I see this error please see screenshot I want continue upgrade process |
|
||||
The error is defined here: http://www.openbsd.org/cgi-bin/man.c...ec=8&arch=i386
"I cannot continue installation" is not helpful. Why did you abort the installation and reboot? OpenBSD is not supported by virtualbox. I have had better luck with vmware, but recommend that you stop wasting time and just install on bare metal. |
|
||||
Quote:
|
|
||||
Quote:
The i386 boot process has multiple steps.
You have this problem because the /boot file changed locations on disk, but the upgrade script was stopped before installboot(8) was executed. You can fix this, by booting installation media and either running the upgrade again and allow it to complete, or running the installboot(8) program manually. Last edited by jggimi; 12th July 2015 at 12:13 PM. Reason: clarity |
|
||||
Quote:
|
|
||||
OK, then your root file system is more damaged than previously indicated in this thread.
That RAMDISK kernel has a shell. If you lack the skills to use that shell to inspect your root filesystem and make appropriate repairs, you will need to restore the system from a backup or reinstall it. |
|
|||
I know exactly where you stopped. You stopped after running disklabel (as in, you already chose to wipe the disk and disklabel did it for you) but before the newfs'ing. Therefore, it is as if you have no data on the disk whatsoever.
You need to reboot the media and use (I)nstall. |
|
||||
thnaks all guys , I install 5.7 beta again and start upgrade it to release and everything go and i have OpenBSD 5.7 . during installation , I choose http for media installation and installer start download all packages and after reboot I have new OpenBSD
Thanks all guys again |
|
||||
What data? OpenBSD data, or data from another OS that shares the same disk drive? Your answer will make a difference, since you are referring to a question about the MBR partition reserved for OpenBSD's use. This is a separate from disklabel partitions and OpenBSD filesystems.
Architectures that use MBRs during boot have two layers of partitioning: a) MBR partitions, where we define a contiguous area reserved for all of OpenBSD, which may be the whole drive or a portion of the drive, and b) disklabel partitions, used within OpenBSD. Architectures that do not use MBRs only have disklabel partitions. If you are referring to data stored within OpenBSD, you must back it up before reinstalling. Backup before reinstallation is critical. The installation of OpenBSD formats partitions you define, rendering any data in those sectors effectively erased. A very technically skilled , expert administrator can ensure that pre-existing partitions are not overwritten during installation, and can then manually redefine these partitions and integrate them into the new system. But just like you, most people do not have this skill.Upgrades do not format any partitions. The upgrade script copies kernels to the root directory and uses tar(1) to extract executables, libraries, scripts, and other OpenBSD files into their correct locations. User files in /home and data in /var is untouched. Administrative configurations files in /etc or /root are not revised. The admin must revise configuration files manually, or with sysmerge(8). Existing packages in /usr/local remain in place, and the supporting libraries they might use are not deleted. If there are no interface changes between the old and new versions of the OS, older packages will still work. --- It is a best practice to ALWAYS back up your data, so that it can be restored if needed. Data losses can occur due to hardware or software issues, but more commonly, data loss occurs because we are people, and people make mistakes. |
|
|||
Quote:
Quote:
Code:
$ su # cd /home # tar -cz -f username.tgz username/ On my main work machine, I keep all the data I care about on an internal mSATA drive that I mount to /ssd. I don't touch that drive (which shows up as /dev/sd1c on my machine) during upgrades. Those are options. Of course, data backup can be more complicated depending on your situation. Quote:
|
|
||||
Even that ideal, "technically skilled" admin would, if he or she were being smart -- take a backup before beginning that complex exercise. Otherwise, with one typo in a command, that admin would be explaining why they lost data to someone who cared about it. It might be a personal platform, but even then, the admin would still be having an uncomfortable conversation about it with themselves.
|
|
||||
Thanks all guys. I have some pictures on my home folder.. I need way to keep my data and upgrade my system. For example if I have windows partition with data.. I want keep them and install OpenBSD
I start with beta. Because I want test upgrade way. OpenBSD is great OS |
|
||||
Quote:
You have not demonstrated you have the technical skills required to undertake this safely and successfully. If you attempt it, you are very likely to lose data, and damage one or both OSes. Instead, please do this by acquire a second disk drive, or, a second computer. If you use a second drive, it can be as simple as an external USB drive. Install OpenBSD in that second drive or completely separate system. You are less likely to destroy data on your Windows system through error, confusion, misunderstanding, or typo. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fail to upgrade opencv on FreeBSD 8.3-RELEASE | bsdnotbdsm | FreeBSD Ports and Packages | 0 | 29th April 2013 08:14 PM |
Kernel freezes on boot after install (OpenBSD 5.0 release) | grantwgmartin | OpenBSD Installation and Upgrading | 4 | 8th January 2012 09:43 AM |
Best way to upgrade from -release to snapshot | Carpetsmoker | OpenBSD General | 5 | 26th July 2009 08:51 PM |
Upgrade to 7.1-RELEASE fails | drl | FreeBSD Installation and Upgrading | 4 | 27th March 2009 09:39 PM |
FreeBSD 6.2-RELEASE > 7.0-RELEASE Upgrade | Marci | FreeBSD Installation and Upgrading | 2 | 23rd July 2008 02:10 PM |