Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: Ingrid on March 06, 2011, 05:35:45 PM

Title: Grub ignores menu.lst [resolved]
Post by: Ingrid on March 06, 2011, 05:35:45 PM
Something is wrong with my new Micro Core installation. I've tried to do a persistent install, but my menu.lst just gets ignored at boot.

This is what menu.lst looks like:
Code: [Select]
default 0
timeout 10
title MicroCore
kernel /boot/bzImage/ restore=sda1 tce= sda1 opt=sda1 home=sda1 local=sda1 safebackup kmap=qwerty/no-latin1 tz=GMT+1
initrd /boot/microcore.gz

I've tried several other configurations but they all get ignored. The first thing I have to do on each boot is to type sudo loadkmap < /usr/share/kmap/qwerty/no-latin1.kmap and that loads the Norwegian keymap just fine. It should however be unnecessary given that I've already specified it in menu.lst

I recon I've forgotten some obvious step along the way but I can't figure out which one. Any pointers? For the record, I'm running Micro Core inside VirtualBox.

-Ingrid
Title: Re: Grub ignores menu.lst
Post by: tinypoodle on March 06, 2011, 05:54:01 PM
tce= sda1

Extra empty space there.
Title: Re: Grub ignores menu.lst
Post by: gerald_clark on March 06, 2011, 06:05:54 PM
Also, if this is USB, you need waitusb=10.
cat /proc/cmdline will show you what grub saw.
Title: Re: Grub ignores menu.lst
Post by: Ingrid on March 08, 2011, 04:55:02 AM
Thanks for the feedback, guys. I really appreciate you taking the time to think out loud with me. :)

Extra empty space there.
Woops! Extra spaces was one of the first things I looked for as well. Thanks for picking up on it.

Also, if this is USB, you need waitusb=10.
cat /proc/cmdline will show you what grub saw.
Cool! I was completely unaware of that command.

I figured out what the problem was and now it boots just fine. Here's what happened:
I had this feeling that grub got ignored altogether during boot up and that isolinux was used instead. So on a whim I checked my VirtualBox machine setup just to double-check that the original image was indeed ejected. Turned out that VirtualBox and me had different definitions as to what "eject" really meant. So I disabled the CD/DVD rom and booted up the machine. And that was all there was to it.

-Ingrid


Title: Re: Grub ignores menu.lst
Post by: Guy on March 08, 2011, 04:28:41 PM
Remove: local=sda1
Title: Re: Grub ignores menu.lst
Post by: Ingrid on March 08, 2011, 06:28:55 PM
Thank you, Guy. That worked a lot better. All those bootcodes and different modes get a bit confusing at times.