[CUWiN-Dev] Re: Fail to boot after upgrade

David Young dyoung at pobox.com
Sun Nov 5 03:12:13 CST 2006


On Thu, Nov 02, 2006 at 10:39:18PM +0000, Lu-chuan Kung wrote:
> Lu-chuan Kung <kung <at> uiuc.edu> writes:
> 
> > 5 partitions:
> > #        size    offset     fstype [fsize bsize cpg/sgs]
> >  a:     62512        32     4.2BSD      0     0     0  # (Cyl.      0*-    
> > 488*)
> >  c:     62512        32     unused      0     0        # (Cyl.      0*-    
> > 488*)
> >  d:    125056         0     unused      0     0        # (Cyl.      0 -    
> 976)
> >  e:     62512     62544     4.2BSD   1024  8192  7816  # (Cyl.    488*-    
> 976)
> > [snap]
> > I noticed that in the output of disklabel. The number of total sectors of 
> BIOS 
> > disk geometry is negative. However, the individual parameters 
> (Cyl,Head,S/Cyl) 
> > seem to be correct and thus I couldn't fix it in disklabel.
> > 
> > And by the way, why do we need disk geometry when using "/sbin/upgrade"? I 
> > didn't notice anything related to disk geometry in the source of the script.
> > 
> > Luke
> > 
> 
> Hi Dave,
> 
> I actually solved the problem by myself and want to share this information 
> here. The problem is actually caused by wrong block-size and fragment-size 
> setting on /dev/wd0e. I changed the line that executes newfs in /sbin/upgrade
> to:
>     newfs -b 4096 -f 512
> 
> and then everything works.

Luke,

Thanks!  I will give that a try.

Dave

-- 
David Young             OJC Technologies
dyoung at ojctech.com      Urbana, IL * (217) 278-3933


More information about the CU-Wireless-Dev mailing list