Re: Installation on Yet Another Netbook

2009-01-18 Thread Christopher Rawnsley

On 18 Jan 2009, at 06:31, Matthew Dillon wrote:

   For some reason bestserv couldn't digest Christopher Rawnsley's
   posting.  I am forwarding it below.  The mime might not decode
   but it should be human readable.


Thanks for catching that. Sephe is currently trying to help solve the  
issues I'm having off list so no harm done. :)


--
Chris


Re: Installation on Yet Another Netbook

2009-01-17 Thread Matthew Dillon

:I was thinking of changing boot0 and mbr.
:
:cheers
:  simon

The physical images... the actual boot0 code, is really a binary image
which is byte-for-byte compared in a couple of places, minus the options
field.  I forget exactly where.  I think both fdisk and disklabel
do checks.  Maybe some other places.

Don't change the code.  But using boot0cfg is ok.  I haven't looked 
at the boot0 code in a while but if the options are image data then
those can probably be changed without messing up the compares.

Having packet mode on by default for the .img file is a good idea.


Matthew Dillon 
dil...@backplane.com


Re: Installation on Yet Another Netbook

2009-01-17 Thread Matthew Dillon

:I have no clue what exactly packet mode is (boot loaders are all ugly 
:legacy stuff), but it it works on more machines than without packet 
:mode, I'd argue to turn it on in the img target by default and have an 
:option to generate a non-packet-mode image.
:
:Regards,
:
:   Michael

Packet mode is a BIOS extension for read and writing sectors on the
disk that allows you to pass a logical sector number instead of a
cylinder-head-sector triplet.

Unfortunately, numerous BIOSes implement packet mode by translating
the logical sector number back to CHS, then translating the CHS
back to a logical sector number, which can cause a mess.  So packet
mode isn't always the best solution even when the BIOS supports it.

Blame the BIOS writers.

-Matt
Matthew Dillon 
dil...@backplane.com


Re: Installation on Yet Another Netbook

2009-01-15 Thread Christopher Rawnsley

On 15 Jan 2009, at 01:22, Christopher Rawnsley wrote:

... I tried a 'make img release' ...


Just in case any one else falls in to this trap, Michael Neumann  
pointed out that it should be 'make img installer release' for the  
installer.


I managed a manual install for now. I thought I'd run the disc layout  
past the lists as I would like to see what the consensus is:
  * My netbook has two flash drives internal to it. One is a ( fast )  
3.8GB and the other is a ( slower ) 7.7GB.
  * From what I have read, swap partitions on flash drives is bad  
news as it reduces the life of the disc.
  * Space is limited so I am thinking that having fewer partitions is  
a good idea.


Using a pseudo disklabel structure my drive layout looks like:

# Drive Mount   Offset  Size   FS Type
 ad2s1a /0 *   UFS
 ad3s1g /home0 *   UFS+Softupdates

where ad2 is the smaller but faster drive and ad3 the slower but  
bigger one.


So my question is, could this drive structure be better?

--
Chris


Re: Installation on Yet Another Netbook

2009-01-15 Thread Sascha Wildner

Sascha Wildner schrieb:
I agree with Simon that packet mode should be default, but it should not 
be done in the 'img' taget, but instead in the installer (and hammer.sh).


Or in boot0cfg itself of course.

Sascha

--
http://yoyodyne.ath.cx