Subject: Re: 1.3.3 installer problems
To: None <jmarin@pyy.jmp.fi>
From: Andreas Gustafsson <gson@araneus.fi>
List: port-i386
Date: 02/12/1999 12:16:43
Jukka Marin wrote:
> /dev/rwd0a:   132048 sectors in 131 cylinders of 16 tracks, 63 sectors
>     64.5 MB in 9 cyl groups (16 c/g, 7.88MB/g, 1792 i/g)
>     super-block backups (for fsck -b #) at:write error: 64
> wtfs: Read-only filesystem

It looks like you are trying to overwrite the disklabel.  This causes
a "Read-only filesystem" error because the wd driver will not let you
write the sector containing the disklabel unless you do a special
ioctl first.

This happens if you create an "a" partition starting at track 0
instead of track 1.  Unfortunately, the design of sysinst makes this
mistake all too easy to make.

Sysinst does reserve the first track of the disk by default, but if
you choose to have partition sizes displayed in cylinders or megabytes
rather than in sectors, the starting point of the "a" partition will
be displayed rounded down to the nearest full cylinder or megabyte -
that is, as zero.  Then if you want to change the size of the "a"
partition manually, there is no way of reserving the first track!
Most likely you will specify a starting cylinder (or starting meg) of
zero, because that is what is being shown as the default.  If you do
that, you're screwed.

This bug in sysinst really ought to be fixed (thus the CC to
root@garbled.net, who said he was working on such things).
As a workaround, always enter your partitions in units of sectors.
-- 
Andreas Gustafsson, gson@araneus.fi