LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-10-2010, 04:00 AM   #1
vickyqasim
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Rep: Reputation: 0
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
 
Old 12-10-2010, 04:25 AM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I may not understand what you are trying to do.

If your source grub is from a ubuntu 10.4 cd then you are using grub2

Are you trying to boot the usb using the live cd?

Are you try to make the usb boot evertime it is installed?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
embedded device usb detection najafa Linux - Embedded & Single-board computer 5 06-28-2010 08:20 AM
Serial issue on embedded device ljkenny Linux - Embedded & Single-board computer 4 04-18-2009 11:11 AM
Looking for an embedded wireless device platform NedRyerson Linux - Embedded & Single-board computer 2 01-21-2009 11:14 AM
How do I build an embedded Linux Device? bobjohnson11 Linux - Hardware 1 12-17-2006 11:25 AM
Need help with embedded linux device nabeelakhtar Linux - Laptop and Netbook 3 12-25-2004 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration