also @ TechSpot: AMD A4-5000 Review: the affordable ultraportable APU

GRUB Configuration on PC104 card

Discussion in 'The Alternative OS' started by Didou, Dec 22, 2003.

  1. Didou Bowtie extraordinair! Posts: 5,898

    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 Newcomer, in training Posts: 9,431

    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 Bowtie extraordinair! Posts: 5,898

    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 Newcomer, in training Posts: 9,431

    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 Bowtie extraordinair! Posts: 5,898

    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.;)