[Soekris] Installing Pyramid on a Net4826
Mark Nichols
mnichols at spanalytics.com
Thu Sep 7 14:23:35 UTC 2006
Derrik & Ron,
Thanks for the responses--they are on target with what I was asking, but:
I chroot to /mnt. Then: sh_3.00#:grub_install '(hd0)'
I get back:
sh_3.00#:tempnam: No such file or directory
sh_3.00#:/sbin/grub_install: line 386: $log_file: ambiguous redirect
And I have to CTRL-C to get the prompt back. So, is grub-install looking for a
particular file (say in the /boot or /boot/grub directory), or a partition, which
maybe I don't have?
Thanks again,
Mark Nichols
Signal Processing Analytics
(804) 364-1050
www.spanalytics.com
On Thu Sep 7 6:32 , Derrik Pates sent:
Mark Nichols wrote:
> I am trying to install Pebble/Pyramid onto the boards. I have tftp,
> dhcp, and httpd running on a host PC. I can wget the .tar or .img file
> after PXELINUX booting. I fdisk /dev/hda, then mkfs.ext2 and mount
> /dev/hda1 to /mnt. I wget the tarball to /mnt, and untar. What's
> next? If I reboot at this point, the board hangs unless I go to console
> mode (CTRL-P). I'm missing something (probably simple) on getting the
> board to see grub and boot from the flash.
The BIOS doesn't know anything about partitions or filesystems, so you
have to install the GRUB first-stage loader to the MBR of your disk/CF
card. Probably your best bet is to chroot into the newly-created root
filesystem after extracting the tarball, and run "grub-install '(hd0)'".
Upon reboot, you should then be launched into GRUB; if there's a
menu.lst file in /boot/grub, it will load that and present you with a
menu as usual.
--
Derrik Pates
demon at devrandom.net
Mark Nichols
Signal Processing Analytics
(804) 364-1050
www.spanalytics.com
More information about the Soekris-tech
mailing list