From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 25 23:54:58 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D446E16A4CE for ; Fri, 25 Mar 2005 23:54:58 +0000 (GMT) Received: from mx1.netapp.com (mx1.netapp.com [216.240.18.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91FD843D54 for ; Fri, 25 Mar 2005 23:54:58 +0000 (GMT) (envelope-from kmacy@netapp.com) Received: from frejya.corp.netapp.com (10.57.157.119) by mx1.netapp.com with ESMTP; 25 Mar 2005 15:54:58 -0800 X-IronPort-AV: i="3.91,124,1110182400"; d="scan'208"; a="129321177:sNHT15794932" Received: from siml3.eng.netapp.com (siml3-fe.eng.netapp.com [10.56.9.153]) j2PNsv2D002103; Fri, 25 Mar 2005 15:54:57 -0800 (PST) Date: Fri, 25 Mar 2005 15:54:57 -0800 (PST) From: Kip Macy X-X-Sender: kmacy@siml3.eng.netapp.com To: Julian Elischer In-Reply-To: <4244A32C.4090603@elischer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Aziz KEZZOU cc: freebsd-hackers@freebsd.org Subject: Re: running freebsd in qemu using the "-nographic" option ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 23:54:59 -0000 > >So basically what I want to do now is mount the freeBSD image in a > >loopback and modify the boot.conf file directly. Anyone knows how to > >do this under linux (2.6 if relevant) ? BSD seems to have a "weird" > >way of organizing the disk. Which file system shoud I support ? I would just do it on FreeBSD - man mdconfig. Last I looked (years ago) the UFS support on linux was not actively maintained and I would be very surprised if they have UFS2 support. I've had to create my own root images for doing work on xen so I know it works just fine. If you insist on doing it on Linux, the command is losetup. to bind: > losetup /dev/loop0 to unbind: > losetup -d /dev/loop0 -Kip