From owner-freebsd-virtualization@FreeBSD.ORG Thu Nov 20 16:40:46 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 923EEE2A for ; Thu, 20 Nov 2014 16:40:46 +0000 (UTC) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id C92D42E6 for ; Thu, 20 Nov 2014 16:40:45 +0000 (UTC) Received: (qmail 11020 invoked from network); 20 Nov 2014 19:40:43 +0300 Received: from tarkhil.infotel.ru (tarkhil.infotel.ru [195.170.223.197]) by mail.sub.ru ([88.212.205.2]) with ESMTP via TCP; 31 Dec 1969 23:59:59 -0000 Message-ID: <546E1985.8090801@webmail.sub.ru> Date: Thu, 20 Nov 2014 19:40:37 +0300 From: Alex Povolotsky User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Conrad Meyer Subject: Re: CentOS in bhyve References: <546E09FE.80703@webmail.sub.ru> <20141120111835.45fe7efc@m> In-Reply-To: <20141120111835.45fe7efc@m> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 141120-0, 20.11.2014), Outbound message X-Antivirus-Status: Clean Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 20 Nov 2014 16:40:46 -0000 grub2-bhyve-0.24 Updated to 0.30 And everything worked on. Sorry, I did not think that grub2-bhyve evolves THAT fast! On 20.11.2014 19:18, Conrad Meyer wrote: > On Thu, 20 Nov 2014 18:34:22 +0300 Alex Povolotsky > wrote: > >> Hello >> >> I'm trying to install CentOS in bhyve. >> >> I do everything accordnig to >> https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html >> >> >> [18:30] backup:/<1>bhyve/oracle # >> cat /etc/bhyve/oracle/device.map (hd0) /dev/zvol/data/oracle >> (cd0) /home/bhyve/CentOS-6.6-x86_64-netinstall.iso >> >> >> [18:30] backup:/<1>bhyve/oracle # grub-bhyve -r cd0 -m >> /etc/bhyve/oracle/device.map -M 16G oracle >> >> grub> ls (cd0)/isolinux boot.cat boot.msg grub.conf initrd.img >> isolinux.bin isolinux.cfg memtest splash.jpg TRANS.TBL >> vesamenu.c32 vmlinuz >> >> grub> linux (cd0)/isolinux/vmlinuz grub> initrd >> (cd0)/isolinux/initrd.img error: you need to load the kernel >> first. grub> >> >> >> And that's all >> >> Tried CentOS 7.0 and 6.6. No difference. FreeBSD runs in my bhyve >> OK, but need Linux... >> >> Alex > > Hi Alex, > > Ok I'm dumb — my earlier issue was a result of failing to create > the backing HDD. Now it boots and loads CentOS 6.6 fine. Try > updating grub-bhyve? > > Best, Conrad >