Spread the love! TechSpot Tech Gift Shortlist 2017

GRUB Configuration on PC104 card

By Didou ยท 4 replies
Dec 22, 2003
  1. 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 :

    Any ideas ?
  2. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    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?
  3. Didou

    Didou Bowtie extraordinair! Topic Starter Posts: 4,274

    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 ?
  4. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    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.
  5. Didou

    Didou Bowtie extraordinair! Topic Starter Posts: 4,274

    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.;)
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...