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.