From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 26 Feb 2011 20:15:32 -0800 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] usb/disk nvram and pxeload Topicbox-Message-UUID: b52fdb7e-ead6-11e9-9d60-3106f5b1d025 That was the approach i was taking when ... ( i only need 512 bytes after MBR, what could possibly go wrong?!) I destroyed some memorabilia on that flash. Oh well; no big loss. for some reason setting nvram='#u/usb/ep6.0/data" nvroff=513 (is it 0 or 1 origin?) nvrlen=512 didn't work. i guessed it might have been the fact that usbd started usb/disk; i was getting device busy. On Sat, Feb 26, 2011 at 6:41 PM, Gorka Guardiola wrote: > On Sun, Feb 27, 2011 at 1:38 AM, Skip Tavakkolian > wrote: >> if i pxeload a cpu and want to be able to use an nvram partition on a >> usb disk (i.e. nvram=/dev/sdXX/nvram - once it is partitioned & >> formated). it seems i also must change boot/boot.c to add the 'partfs >> && fdisk -p && prep -p' after usbd has started. is this correct? >> >> > > On second thought, if you are only going to use it for nvram, > you can cook something fast with bind slashn and aux/stub > using the whole usb disk data file. > > -- > - curiosity sKilled the cat > >