9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9fat format
@ 2014-04-17  7:30 arisawa
  2014-04-17 12:55 ` erik quanstrom
  0 siblings, 1 reply; 3+ messages in thread
From: arisawa @ 2014-04-17  7:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

It is curious for me that if 9fat is formatted by disk/format of 9front,
then 9atom fails in boot with the error message
MBR...PBS2...Bad format or I/O errors
(or PBS1)
In making 9fat, I applied 9atom’s pbslba, 9load, etc except disk/format:
disk/format -b pbslba -d -r 2 /dev/sdC0/9fat 9load 9pc*f  plan9.ini

I guess PBS2 claims that format of the allocation table is wrong
because if the 9fat is formatted by disk/format of 9atom
then 9atom can boot up.

term% xd -c /dev/sdC0/9fat # formatted using 9front
...
0000400  f8 ff ff ff 03 00 04 00 05 00 06 00 07 00 \b 00
0000410  \t 00 \n 00 0b 00 0c 00 \r 00 0e 00 0f 00 10 00
0000420  11 00 12 00 13 00 14 00 15 00 16 00 17 00 18 00
0000430  19 00 1a 00 1b 00 1c 00 1d 00 1e 00 1f 00    00
0000440   ! 00  " 00  # 00  $ 00  % 00  & 00  ' 00  ( 00
0000450   ) 00  * 00  + 00  , 00  - 00  . 00  / 00  0 00

Kenji Arisawa




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 9fat format
  2014-04-17  7:30 [9fans] 9fat format arisawa
@ 2014-04-17 12:55 ` erik quanstrom
  2014-04-17 21:39   ` arisawa
  0 siblings, 1 reply; 3+ messages in thread
From: erik quanstrom @ 2014-04-17 12:55 UTC (permalink / raw)
  To: 9fans

> It is curious for me that if 9fat is formatted by disk/format of 9front,
> then 9atom fails in boot with the error message
> MBR...PBS2...Bad format or I/O errors
> (or PBS1)
> In making 9fat, I applied 9atom’s pbslba, 9load, etc except disk/format:
> disk/format -b pbslba -d -r 2 /dev/sdC0/9fat 9load 9pc*f  plan9.ini

9load and its pbslba doesn't do well with fats >= 100mb.  how large
is your 9fat?

it is recommended that pbsipl, and iplfat be used with 9atom kernels.

- erik



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 9fat format
  2014-04-17 12:55 ` erik quanstrom
@ 2014-04-17 21:39   ` arisawa
  0 siblings, 0 replies; 3+ messages in thread
From: arisawa @ 2014-04-17 21:39 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

it is 100mb 

thanks

2014/04/17 21:55、erik quanstrom <quanstro@quanstro.net> のメール:

>> It is curious for me that if 9fat is formatted by disk/format of 9front,
>> then 9atom fails in boot with the error message
>> MBR...PBS2...Bad format or I/O errors
>> (or PBS1)
>> In making 9fat, I applied 9atom’s pbslba, 9load, etc except disk/format:
>> disk/format -b pbslba -d -r 2 /dev/sdC0/9fat 9load 9pc*f  plan9.ini
> 
> 9load and its pbslba doesn't do well with fats >= 100mb.  how large
> is your 9fat?
> 
> it is recommended that pbsipl, and iplfat be used with 9atom kernels.
> 
> - erik
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-17 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-17  7:30 [9fans] 9fat format arisawa
2014-04-17 12:55 ` erik quanstrom
2014-04-17 21:39   ` arisawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).