GRUB Installation in Embedded Device
Hi,
I want to make a bootable USB drive with a Embedded Linux Image.
The Embedded Linux Configuration tool has given me the vmlinux(image) and the menu.lst.
I have done the following Steps;
# fdisk /dev/sdb
Then I got some option I deleted the old partition and made new one and selected the primary partition.
then formatted the partition in ext2.
# mkfs.ext2 /dev/sdb1
# mount /dev/sdb1 /mnt
# mkdir -p /mnt/boot/grub
# cp menu.lst /mnt/boot
# cp vmlinux /mnt/boot
# umount /mnt
after that I ran the grub
# grub
grub> device (hd0) /dev/sdb
grub> root (hd0,0)
Upto here every thing was fine
after this command;
grub> setup (hd0)
i got the Following error message:
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
I did not get what is the Problem, My host System is Ubuntu 10.04.
Even in the /boot/grub folder also I did not get the stage1 file.
Please suggest how to further proceed.
Thank you
|