From owner-freebsd-virtualization@freebsd.org Wed Jan 27 01:08:02 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41FA0A6EF4C for ; Wed, 27 Jan 2016 01:08:02 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFA2A1C7E for ; Wed, 27 Jan 2016 01:08:01 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [192.168.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u0R17wrW097787 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO); Tue, 26 Jan 2016 19:07:58 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u0R17wvJ097786; Tue, 26 Jan 2016 19:07:58 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: Sergey Manucharian Subject: Re: bhyve with Linux guest, how to safely handle updates? X-PHP-Script: www.dweimer.net/webmail/index.php for 192.168.5.1, 192.168.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 26 Jan 2016 19:07:58 -0600 From: dweimer Cc: freebsd-virtualization@freebsd.org Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <20160126230338.GM4109@debian.ara-ler.com> References: <790acf0350e0f10e79b4120e564a553c@dweimer.net> <20160126230338.GM4109@debian.ara-ler.com> Message-ID: <9ee895854c862cccc0bcc84c16eee063@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2016 01:08:02 -0000 On 2016-01-26 5:03 pm, Sergey Manucharian wrote: > Hi Dean, > > Excerpts from dweimer's message from Tue 26-Jan-16 08:26: >> I installed some updates using Aptitude within the >> Debian guest which promptly broke the VM. > > Additional info is needed to help: > - bhyve command line you use to start the VM > - what error messages do you see stating that it's broken? > > Sergey It was a while back I was running it, so I am not quite sure which method I had finally stuck with I worked through multiple different management scripts at the time before settling on the one I liked best. I tried at the time to manually run the VM without using the management script to no avail. It would start with no bhyve error on FreeBSD side, but when connecting to the console the grub boot loader couldn't find the kernel. It appeared to be a disconnect between the kernel upgrade within Linux updating grub configuration and the grub2-bhyve setup. Maybe it was just a one off issue and something went wrong during the Linux update and nothing to do with byhve. However at the time, I didn't have time to play with it and new I could get it working with VirtualBox. Is there anything that normally needs to be done after a Linux kernel update to refresh the grub2-bhyve setup? Its winter now, so I have some time to play with it again. Unfortunately the old external hard drive I wrote a backup of the data to save until I had time to work on it again was too old, and doesn't want to spin up now, or I could provide the exact error information. -- Thanks, Dean E. Weimer http://www.dweimer.net/