[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange setup problem
From: |
David Frascone |
Subject: |
Strange setup problem |
Date: |
Tue, 2 Nov 2004 17:12:54 -0600 |
I'm trying to update my grub installation on an embedded system running on
compact flash.
So, I wget my upgrade tar archive. It's basically the /boot/grub filesystem,
and /grubexe (the grub executiable itself, statically linked):
wget http://somewhere/newgrub.tgz
cd /boot
rm -rf *
tar -xvzf newgrub.tgz
cp grubexe ../grub
cd ..
umount boot
sync
./grub --batch --no-floppy >/dev/null 2>/dev/null <<EOF
root (hd0,0)
setup (hd0)
quit
EOF
sync
The problem is, sometimes the above hangs works. And, sometimes, it causes the
box to hang at boot (at the MBR . .I get GRUB <hang> on the console.
Any ideas for automating this upgrade?
-Dave
--
David Frascone
INTERLACE: To tie two boots together.
pgp0mZE6GZc7w.pgp
Description: PGP signature
- Strange setup problem,
David Frascone <=