LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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

Reply
 
Search this Thread
Old 11-19-2007, 03:30 PM   #1
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Rep: Reputation: 16
Question 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
 
Old 11-20-2007, 08:36 PM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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?
 
Old 11-20-2007, 08:40 PM   #3
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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.
 
Old 11-21-2007, 05:53 AM   #4
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
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.

Quote:
oh just found this which may help you.

http://www.puppyos.com/flash-puppy.htm
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
 
Old 11-21-2007, 06:01 AM   #5
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
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
 
Old 11-21-2007, 04:00 PM   #6
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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
 
Old 11-21-2007, 04:10 PM   #7
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
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..
 
Old 11-22-2007, 04:16 AM   #8
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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.
 
Old 11-22-2007, 04:24 AM   #9
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
sick of edit, to that link, you make vga=integer so not vga=0x301 but vga=301
 
Old 11-22-2007, 05:45 AM   #10
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
thanks, but i don't think
a vga-option will work on
a console..?
 
Old 11-22-2007, 05:14 PM   #11
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
try a line like this I found
console=ttyS0 TERM=vt102

from here http://tldp.org/HOWTO/PA-RISC-Linux-...earlyboot.html

do a search of console to find the section console
http://www.win.tue.nl/~aeb/linux/lk/lk-2.html

2) if none of them work, including trying vga, yes i know, then try the noboot options like noapci noagp nodhcp noapic nodma nofirewire nosmp noraid
 
  


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
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
boot to GUI problem want grub boot to single user mode. hocheetiong Linux - Newbie 1 09-26-2007 06:41 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM


All times are GMT -5. The time now is 04:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration