Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 15:54:57 -0800 (PST)
From:      Kip Macy <kmacy@netapp.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: running freebsd in qemu using the "-nographic" option ?
Message-ID:  <Pine.LNX.4.44.0503251550150.29972-100000@siml3.eng.netapp.com>
In-Reply-To: <4244A32C.4090603@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> >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 <root image> 
to unbind:
> losetup -d /dev/loop0



			-Kip



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0503251550150.29972-100000>