| Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-19-2007, 03:30 PM
|
#1
|
|
Member
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 125
Rep:
|
boot-problem using grub
hi everybody
i've got a problem with my ts-5700. i tried to set up my own linux-image on a
cf-card and set up grub. if i boot this image in a vmware, grub loads the kernel
and the boot-process beginns (it failes at "kernel panic: vfs not syncing.." but thats
not the problem..)
on my ts-5700 grub starts as usual with
Code:
Loading stage 1.5.
Loading, please wait...
then it waits for the 3 seconds-timeout and then i just get this on the console:
Code:
[01;C4H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H
[01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H
[01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H
[01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H
[01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H
[01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H
[01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;C8H [01;E9H
and then it hangs forever..
any ideas?
thanks,
toby
|
|
|
|
11-20-2007, 08:36 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
no ideas but some further questions
how do you know that your computer will allow boot device .flash memory card?
how do you know that you successfully installed grub into that card?
2) I am a dinosaur but I am not aware of grub recognising cf cards in the device list. can you post in the links that indicate your knowledge?
|
|
|
|
11-20-2007, 08:40 PM
|
#3
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
oh just found this which may help you.
http://www.puppyos.com/flash-puppy.htm
Last edited by aus9; 11-20-2007 at 08:45 PM.
|
|
|
|
11-21-2007, 05:53 AM
|
#4
|
|
Member
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 125
Original Poster
Rep:
|
Thanks, but...
Quote:
|
how do you know that your computer will allow boot device .flash memory card?
|
it is a SBC!!!
Quote:
|
how do you know that you successfully installed grub into that card?
|
i can boot my laptop as well as a vmware-instance from the same card using a usb-cf-drive.
I don't need a new OS and 65MB into the RAM of a SBC...
any other ideas?
i think it's an issue of displaying the boot-menu, but
that does not explain, why it is not booting the default
entry then..
Last edited by t0bias; 11-21-2007 at 05:54 AM.
Reason: provide additional information
|
|
|
|
11-21-2007, 06:01 AM
|
#5
|
|
Member
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 125
Original Poster
Rep:
|
and:
Quote:
|
2) I am a dinosaur but I am not aware of grub recognising cf cards in the device list. can you post in the links that indicate your knowledge?
|
for example..
http://forums.gentoo.org/viewtopic-t-327295.html
|
|
|
|
11-21-2007, 04:00 PM
|
#6
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
yes well I was trying to explain that I do not have a cf card, so can not test what I am about to say.
you may need to use another computer, if you have one to try this
1) format your card to a bootable kernel format eg ext2
mkfs.ext2 /dev/sdx where sdx is what your card is detected as
2) populate grub onto it
mount /dev/sdx /mnt/temp
cd /mnt/temp
mkdir grub
cp /usr/share/grub/i386-pc/stage* /usr/share/grub/i386-pc/e2fs_stage1_5 /boot/grub/menu.lst /mnt/temp/grub
...(or where ever grub backup lib is,eg it may be /lib/grub/)
3) edit the grub menu
either open a editor and navigate to /mnt/tmp/grub/menu.lst
or vi /mnt/tmp/grub/menu.lst
4) concerning your menu concerns, I do not have a single board low power computer so I am guessing that you can still have boot order of cf card.....you may know the answer but your answer did not help one bit and I do not blame you for dismissing my ignorance.
assuming your card can be the first boot device try hd0 in the menu.
5) populate the balance of the operating system that you prefer.Since you mention linux-image but give no details I assume you know more than me on that matter.
good luck
|
|
|
|
11-21-2007, 04:10 PM
|
#7
|
|
Member
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 125
Original Poster
Rep:
|
well, thats right what i did so far.
i built up my linux from scratch on that cf.
the problem still is, that grub is not providing any output
on the sbc but these [01;C8H-strings and not booting
any further on the sbc but does on a machine that can provide
vga-output..
|
|
|
|
11-22-2007, 04:16 AM
|
#8
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
have you tried a boot parameter?
eg vga=normal vga=ask vga=791
append it to the kernel line
eg kernel /boot/vmlinuz root=/dev/sda1 ro vga=ask
edit is is quick link on vga codes go as basic and as ugly as you can if vga=ask does not ask
edit 2 found the best link
http://wiki.antlinux.com/pmwiki.php?n=HowTos.VgaModes
Last edited by aus9; 11-22-2007 at 04:22 AM.
|
|
|
|
11-22-2007, 04:24 AM
|
#9
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
sick of edit, to that link, you make vga=integer so not vga=0x301 but vga=301
|
|
|
|
11-22-2007, 05:45 AM
|
#10
|
|
Member
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 125
Original Poster
Rep:
|
thanks, but i don't think
a vga-option will work on
a console..?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|