From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 3 Jul 2008 01:06:38 +0200 From: lejatorn@gmail.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20080702230637.GA4263@oenone.smgl.fr.eu.org> References: <20080702172816.GA3703@secousse.ipgp.jussieu.fr> <20080702180129.9A6C61E8C26@holo.morphisms.net> <20080702223519.GB19429@oenone.smgl.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080702223519.GB19429@oenone.smgl.fr.eu.org> User-Agent: Mutt/1.4.2.2i Subject: Re: [9fans] naive 9vx/fossil question Topicbox-Message-UUID: d7df64b2-ead3-11e9-9d60-3106f5b1d025 On Thu, Jul 03, 2008 at 12:35:19AM +0200, lejatorn@gmail.com wrote: > 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... Native plan9 still booting fine, and here's the configuration for /dev/sdE0/fossil if it's of any relevance: fsys main config /dev/sdE0/fossil fsys main open -V -c 3000 Also, so far only /dev/sda was rw for disk group so I've set /dev/sda1 (which is the whole plan9 partition) to rw as well for disk group, to no avail. Mathieu.