From owner-freebsd-virtualization@freebsd.org Thu Sep 8 19:30:09 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 A1DDDBD1334 for ; Thu, 8 Sep 2016 19:30:09 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7ABF0FFA for ; Thu, 8 Sep 2016 19:30:09 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by mail-pa0-x234.google.com with SMTP id cm16so20252484pac.0 for ; Thu, 08 Sep 2016 12:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callfortesting-org.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=VpnRUfWNkcuhJvPLsXufHwBY8y2kGHhiKH2NUPUhVX4=; b=xG6LgykjyQ58pD8Xkd7CI22alBzTvbn0ppz2vuV+KHRSVm2kY9wB16wkt7OI5kQrUb cahSSpPRJok6ZZgdjMyFaysudmOS9KqCA31jA9/5xbLc9jC0NTJOhoEzP55AnsJiHuM/ +bcJrM/Abijooj+sQPcaaUsn1/F1xF4nhmujasZMA4ctTtQNPouREEvocBNIOXFTB5EZ j4zXkkC9qulB58S/UUta49GL1yuKMOMIQRm571RJpB5+OAFaiJ/wnfDQQH1EiaZ/o7jU kJBA/h+Z+MfmRPBSf3K9ivq87WeGDvvHqDl9HGH6skwBftLMb2bd1ov1ue6QtN4eLEAC H+lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=VpnRUfWNkcuhJvPLsXufHwBY8y2kGHhiKH2NUPUhVX4=; b=ZJIiq5SadoNO7OuNdXIGQe8Cox+q1IdJEBxtuhJINDtd8CwrHLJsiBS7vQGmFcppB0 FWnIdijGQe1WM5w5RGb3WEZf+nYeusn8cMjE98bFI1DIGySD9BukGgdJCtqpW6M2SjMd m6BIQJKqm00CUK61QKh2YR6A5087rpkP8GOdn2sj+Rlw7V05ixKb0qMfWNCCXEdp729R /gvnJyye3KICxQJWjieWwaRhfi4ZBwYYRLMEKPEyuj9hISnVlTQi7HK8CAV9NrXZyuz7 QqvFWg+zf53bDqTiqTT9M0Ic77gAcZkbwlYr4O0n/mH+oJGz25gepoJ6URK0umTC71+Y QdCA== X-Gm-Message-State: AE9vXwMdquQnTKQSPoNqlDJxm+81cuSc4ZYqUXb091w9VA8vDyY2e63PPHETC7ZKTOPWGg== X-Received: by 10.66.9.42 with SMTP id w10mr2370193paa.34.1473363008864; Thu, 08 Sep 2016 12:30:08 -0700 (PDT) Received: from Michaels-MacBook-Pro.local (c-24-22-0-104.hsd1.or.comcast.net. [24.22.0.104]) by smtp.gmail.com with ESMTPSA id ve9sm58313472pac.12.2016.09.08.12.30.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Sep 2016 12:30:08 -0700 (PDT) Subject: Re: bhyve and bootable usb image To: freebsd-virtualization@freebsd.org, gabor.radnai@gmail.com References: From: Michael Dexter Message-ID: Date: Thu, 8 Sep 2016 12:30:07 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 08 Sep 2016 19:30:09 -0000 On 9/4/16 11:47 AM, Gabor Radnai wrote: > I have a bootable usb image file which I would like to use as an installer > medium under byhve, a Linux based stuff. Using dd to write image file to an > usb stick and installing stuff from it works ok. However under bhyve > accessing the image as ahci-hd or virtio-blk and using grub-bhyve, guest > does not boot up. > > What is the proper way to use bootable image file? Will it work at all or > it is not (yet) supported? > > Can someone please show me a how-to? What grub-bhyve and device.map syntax are you using for both? Michael