From owner-freebsd-current Sun Apr 30 2: 2:23 2000 Delivered-To: freebsd-current@freebsd.org Received: from knight.cons.org (knight.cons.org [194.233.237.86]) by hub.freebsd.org (Postfix) with ESMTP id DC6BC37BC2C for ; Sun, 30 Apr 2000 02:02:19 -0700 (PDT) (envelope-from cracauer@knight.cons.org) Received: (from cracauer@localhost) by knight.cons.org (8.9.3/8.9.3) id LAA25002; Sun, 30 Apr 2000 11:02:04 +0200 (CEST) Date: Sun, 30 Apr 2000 11:02:04 +0200 From: Martin Cracauer To: Adam Cc: Jonathan Lemon , current@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libstand ext2fs Message-ID: <20000430110203.A24866@cons.org> References: <20000429214311.A11995@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from bsdx@looksharp.net on Sun, Apr 30, 2000 at 01:56:56AM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In , Adam wrote: > On Sat, 29 Apr 2000, Jonathan Lemon wrote: > > >On Sun, Apr 30, 2000 at 11:15:47AM +0930, Greg Lehey wrote: > >> On Saturday, 29 April 2000 at 13:44:08 -0700, Jonathan Lemon wrote: > >> > jlemon 2000/04/29 13:44:08 PDT > >> > > >> > Added files: > >> > lib/libstand ext2fs.c > >> > Log: > >> > Add ext2fs support to the loader. > >> > >> What's the need for this? > > > >It allows us to see linux partition types, and load from them; > >I should be able to boot a freebsd kernel and memory image from > >a pure linux box, although I've only used it to load the kernel > >at this point. > >-- > >Jonathan > > > Not sure if this is a silly question or not, but could the kernel somehow > view a specific dir on a ext2fs disk as the freebsd root and boot a > freebsd system from it? Also being able to access the stuff below the > freebsd root on the ext2fs partition would be cool. Any idea how much > work it might take someone to do this? An alternative would be mounting a > file on the ext2fs via vn as the freebsd root containing a freebsd install > on ffs or ext2. This way might make it easier to have access to the > underlying ext2 and make it easier for the base linux system to populate / > modify if linux has trouble with ffs. > Just modify /sbin/init to do a changeroot before anything else. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message