Date: Fri, 30 Jun 2017 16:04:51 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Upgrade from 10.1-RELEASE to 10.3-RELEASE went wrong, pls. help! Message-ID: <f7d8b9ca-bcd8-2cd6-db52-f4ae4700ff00@FreeBSD.org> In-Reply-To: <CAHieY7QUbWdbK4Px0Dsgs-mfsTz7y2S3Qi0SZGixqhsFaE29MQ@mail.gmail.com> References: <CAHieY7QUbWdbK4Px0Dsgs-mfsTz7y2S3Qi0SZGixqhsFaE29MQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --uSPCKar4E8LGd1vQRsC5Bkw9JxjI43qGJ Content-Type: multipart/mixed; boundary="81JW2gxHXoXDLPtQ1xWkjtuNielAn8699"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <f7d8b9ca-bcd8-2cd6-db52-f4ae4700ff00@FreeBSD.org> Subject: Re: Upgrade from 10.1-RELEASE to 10.3-RELEASE went wrong, pls. help! References: <CAHieY7QUbWdbK4Px0Dsgs-mfsTz7y2S3Qi0SZGixqhsFaE29MQ@mail.gmail.com> In-Reply-To: <CAHieY7QUbWdbK4Px0Dsgs-mfsTz7y2S3Qi0SZGixqhsFaE29MQ@mail.gmail.com> --81JW2gxHXoXDLPtQ1xWkjtuNielAn8699 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/06/30 15:36, Alejandro Imass wrote: > Maybe it's a trivial issue but I followed the procedure on: >=20 > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upg= rading-freebsdupdate.html >=20 > Everything went well until the first reboot. I was able to ssh to the > system and then when I did freebsd-update install for the second time, > it started outputting a whole bunch of ELF related messages, like some > sort of 32/64 compatibility problem. >=20 > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > /usr/sbin/freebsd-update: /bin/rm: Exec format error > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap > /usr/sbin/freebsd-update: /bin/rm: Exec format error > ELF interpreter /libexec/ld-elf.so.1 not found, error 8 > Abort trap >=20 > Now I tried to reboot and it won't even load in single user. >=20 > What gives? That's not at all good. You need to boot off some install media given what's on your disk is apparently toast. The "livecd" option is what you want here. You should then find your existing hard drives mounted under /mnt, or else you'll be able to mount them there by hand. Then you have two possible routes: 1) Back up everything important from your system, then wipe and reinstall 10.3 from scratch, and then restore what you backed up. You will need some sort of media to write to, obviously, or else you'll need to bring up your network interface to copy stuff over the network. 2) Backup your /etc. Grab the installer tarballs from the install media and extract them on top of your current system. Merge in anything from your backup of /etc as required. This will give you a 10.3-RELEASE system, so you'll need to use freebsd-update(8) to bring it up to the latest patch level, and then upgrade packages as needed. The tarballs you need for 10.3-RELEASE are in here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.3-RELEASE/ You want at minimum the base.txz and kernel.txz tarballs. These will also be present on your install media. (1) will give you better overall results, because it will ensure that any now redundant files are deleted correctly. It's also trivial to jump to 11.0 instead, if that's your ultimate aim. (2) doesn't need a lot of extra disk space to store stuff, and it's probably safer in the sense that you shouldn't lose anything because you omitted to make a backup of it. However, it may not result in a completely correctly upgraded system -- there can be odd files left around. Most of that would get cleaned up by subsequently running freebsd-update(8) but that isn't guaranteed to be exhaustively correct. Cheers, Matthew --81JW2gxHXoXDLPtQ1xWkjtuNielAn8699-- --uSPCKar4E8LGd1vQRsC5Bkw9JxjI43qGJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJZVmiZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnZ+wQAKD5cyEEIMyOKHnJGFW8+IiG qvQCxR2fnaukuVgCg7l8tOPl47tEIhhwW+NxRk+90rnLuAa9g47aL0dmq5tfFHbY htItpFrGwQUD6O16WC+6MaEmBSWRUtLFWP7BxW9kCP0cS8zV82p4ZTb2z8sNx/98 bAMW8G6Pyq9X/m/AVC3QnW5eHhvqndmd0ifCHRpT+hIp15RLJjlCDmvEqE/Tqs/D NNlzTRwgJprCwnx8Zj0iYW7skNgIxkP3IwT6zKRKZETZGV0pwiQfgY90RTt+t12P 4gYtJsliFkl/7wFFXZwaPgsyvpYLt67HTmi/atlm9oeiJtUv7XckEzDkGiPy/m6r FpV5p1AR9ZollFGDm8Bnt4IQYcU4lBqX4mnO0d1QxWmprDvSWGOqO9RfrLydRevJ SFJnLrHd6HMY7YOUoexwDNr+p+XL55dVY4fkr97+7qZfVkbYuiLVvwQftP+zCpdY tcbjsRm3bhTNrIvEi3rewx/qvMpSmzpPicAOmBP7c7YPTs+zl+Ie8So/Qs1+Fkka NTxXIzEKFRhdrsWhowNYJNMqQZK/z2lFj7tcvxidyl2J6hq4fEoFZmub1L4xx643 joZYbXTd9XBtjCXVc1VEwO0ktCi9Mf4iLkMALDR/jakrwjQtkKN/I+WzeSk9lXH0 XMt2SCWT831Z0c1N2RvE =o4XI -----END PGP SIGNATURE----- --uSPCKar4E8LGd1vQRsC5Bkw9JxjI43qGJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f7d8b9ca-bcd8-2cd6-db52-f4ae4700ff00>