From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 3 Jul 2008 00:35:19 +0200 From: lejatorn@gmail.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20080702223519.GB19429@oenone.smgl.fr.eu.org> References: <20080702172816.GA3703@secousse.ipgp.jussieu.fr> <20080702180129.9A6C61E8C26@holo.morphisms.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080702180129.9A6C61E8C26@holo.morphisms.net> User-Agent: Mutt/1.4.2.2i Subject: Re: [9fans] naive 9vx/fossil question Topicbox-Message-UUID: d7d27202-ead3-11e9-9d60-3106f5b1d025 On Wed, Jul 02, 2008 at 02:03:40PM -0400, Russ Cox wrote: > > have a plan9/linux dual boot on my machine. Is there any way I can > > access (i.e: read and/or write) the fossil partition of my plan9 > > install from 9vx on linux? > > Actually, is there any way at all I can access that partition from > > linux? > > You should be able to start fossil from inside 9vx, > though you will have to copy in some disk-related > binaries from a Plan 9 install CD, since I threw out a lot > of stuff to make the 9vx tree small (see next mail). > > Then you should be able to do > > echo loop rw '#Z/dev/sda' > /dev/sdctl > disk/fdisk -p /dev/sd00/data >/dev/sd00/ctl > disk/prep -p /dev/sd00/plan9 >/dev/sd00/ctl > ls -l /dev/sd00/ctl All of those worked fine as far as I can tell: term% ls -l /dev/sd00 --rw-r----- S 0 glenda glenda 104857600 Jul 1 11:42 /dev/sd00/9fat --rw-r----- S 0 glenda glenda 0 Jul 1 11:42 /dev/sd00/ctl --rw-r----- S 0 glenda glenda 69379563520 Jul 1 11:42 /dev/sd00/fossil ... > You should see your fossil partition there. > Then you can start fossil manually: > > fossil/fossil -f /dev/sd00/fossil -c 'srv -A fossil' -c 'srv -p fscons' but that one failed: term% fossil/fossil -f /dev/sd00/fossil -c 'srv -A fossil' -c 'srv -p fscons' fossil/fossil: bad config magic in /dev/sd00/fossil then I wanted to check for something suspicious in my config: term% fossil/conf /dev/sd00/fossil config has bad header Is that bad? Gonna reboot to the native plan9 in the meanwhile to check if everything's ok... Mathieu.