Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



GRUB Configuration on PC104 card

Didou
12-22-2003, 08:08 AM
I'm running Linux (BusyBox) on a PC104 card. The machine consists of a MediaGX 300mhz CPU, 128mb of Ram & a 64mb flashdisk on a flash card reader ( accessible through hdc ).

I use the GRUB prompt to launch Linux with the command : kernel /boot/vmlinuz root=/dev/hdc1 rw init=bin/sh then boot.

I'm trying to get GRUB to launch automatically but no matter how I modify menu.lst, I still get the prompt at boot.

Here are the contents of the menu.lst file :


timeout 10

default 0

fallback 1

title ibot linux based OS
root (hd2,0)
kernel /boot/vmlinuz root=/dev/hdc1 rw init=/bin/sh


Any ideas ?

Nodsu
12-22-2003, 08:14 AM
Does GRUB actually use that boot.lst you are editing? For example if you change the title line, do you see it changed in the GRUB menu?

The fallback entry in this case is faulty and useless BTW.

Are the hdc1 and bin/sh entries absolutely correct?

Ad
12-22-2003, 08:14 AM
  

Didou
12-22-2003, 09:03 AM
The hdc1 ( the card reader is detected as secondary master ) & /bin/sh are good, that I'm sure of.

When I get to the GRUB prompt, what command shows the menu entries ?

Nodsu
12-22-2003, 09:53 AM
You are supposed to see the menu.. You get the prompt only when something is very wrong.

Looks like GRUB doesn't find its configuration files. You need to reinstall it in the proper MBR. E.g. "grub-install /dev/hdc" to put it in the flash MBR.

Didou
12-22-2003, 10:04 AM
Seems I got it working now.

When I got to the GRUB prompt, I launched setup then :

root (hd1,0)

install /boot/grub/stage1 (hd1) /boot/grub/stage2

& on reboot, busybox was launched. I now get prompted to hit enter to "activate" the command prompt & that's what I'm trying to get rid of now.;)

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

Sony working on digital store for music, movies, books

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.