[Soekris] Installing Pyramid on a Net4826

Ron Watkins soekris-tech at malor.com
Thu Sep 7 12:32:03 UTC 2006


To supplement this answer a little....  if you're installing a .tar.gz 
file, which is usually necessary if the image file isn't meant for the 
exact size of CF you're running, you do what you already did, which is 
untar into /mnt. 

After you've done that, you need to install the bootloader.  Easiest way 
to do that is usually to 'chroot /mnt', which puts you into the 
filesystem 'live'.  Usually you'll need to remount proc under the /mnt 
filesystem, edit /etc/lilo.conf, and run lilo.   If you're running grub, 
you'll need to edit the menu.lst and then get the bootloader installed.  
I believe the grub-install script is used to do that.

Once you've installed, unmount the chrooted /proc directory, and THEN 
type exit to leave the chroot.  If you don't unmount the /proc first, 
you can run into strange and frustrating problems. 

Just as an ancillary note.... make sure your fstab has the 'noatime' 
option on any flashdrive mounts you have read/write.  (specifying 
noatime on ALL mounts isn't a bad idea, just in case.)  If you don't 
include that, every time you read a file, the flash gets written to, 
which will kill it VERY quickly.  'noatime' is generally a good idea 
even on regular hard drives, as it improves performance substantially.

Stuart Henderson wrote:
> On 2006/09/07 06:48, Mark Nichols wrote:
>   
>> I can wget the .tar or .img file after PXELINUX booting.
>>     
>
> If you're using the tarball you'll need to install the boot loader.
> The .img.gz is meant for dd'ing onto the drive; something like this:
>
> # wget -O- http://path/to/file | gunzip -c | dd of=/dev/whatever bs=64k
>
> _______________________________________________
> Soekris-tech mailing list
> Soekris-tech at lists.soekris.com
> http://lists.soekris.com/mailman/listinfo/soekris-tech
>   



More information about the Soekris-tech mailing list