Page 1 of 2

live cd

Posted: 21. Oct 2009, 10:42
by perdidostone
Download today your Live cd, unable to boot,I had grub telling me need a kernel to boot, first thinking in something wrong, finally rebuild whit Isomaster using isolinux.bin. Here I am.Using your Live Cd.
Nice work, check this problem. Maybe was only mine.
There is password for root?

Re: live cd

Posted: 21. Oct 2009, 10:53
by Akuna
Hi perdidostone :)

Didn't experienced your boot problem here. Of course, I used virtualbox, maybe I should try on a physical CD-ROM to double check.

root password is: live

Re: live cd

Posted: 21. Oct 2009, 11:30
by thenktor
Akuna wrote:Didn't experienced your boot problem here. Of course, I used virtualbox
Same here.

Re: live cd

Posted: 21. Oct 2009, 12:38
by Akuna
Akuna wrote: I used virtualbox, maybe I should try on a physical CD-ROM to double check.
perdidostone,

You found a bug!

When I tried booting from a physical CD-ROM, I had the same error message.

Re: live cd

Posted: 21. Oct 2009, 15:00
by thenktor
Who still uses CD roms? Boot from USB instead! :twisted: *scnr*

Re: live cd

Posted: 21. Oct 2009, 16:45
by Shador
I've found a fix for the problem. The next live release should work on real hardware too. If you want to try the current one:
  1. Install grub2 from here: http://gaia.homelinux.org/salix/package ... 86-1ab.txz
  2. Download these 3 files and put them into one directory:
    http://gaia.homelinux.org/salix/livegrub2/build.tar.bz2
    http://gaia.homelinux.org/salix/livegrub2/build.sh
    http://gaia.homelinux.org/salix/livegrub2/grub.cfg
  3. Extract the build.tar.bz2 file to that directory
  4. Run in that directory (of course you need the beta1 ISO too):

    Code: Select all

    bash ./build.sh --out=salixlive-13.0-beta1.1.iso --overlay=/path/to/salixlive-13.0-beta1.iso --overlay=build/ --grubcfg=grub.cfg
  5. After a few minutes the ISO should have been rebuilt as salixlive-13.0-beta1.1.iso in the working directory
The problem was a hardcoded device in the config files, which I did because of some trouble with grub2's bash-like scripting language. It didn't pop up in VirtualBox because there the cd drive is always hd96.
Anyway this fixes yours and Akuna's problem on real hardware.

Re: live cd

Posted: 1. Nov 2009, 16:42
by Akuna
Built a new iso with this script & 'real' CD-ROM do work now. :)

But keyboard selection from grub boot menu does not seem to be taken into account.

Re: live cd

Posted: 1. Nov 2009, 21:28
by Shador
Did you check /proc/cmdline wether grub2 passed the right parameters? Could you do so if not, please.

Re: live cd

Posted: 2. Nov 2009, 10:51
by Akuna
BOOT_IMAGE=/boot/vmlinuz root=/dev/ram0 rw quiet lang=fr_FR.utf8 keyboard=fr-latin9
But qwerty/us.map definitely got loaded instead.

Quickly checked rc.live & noticed the keyboard cheatcode has been removed from it...
Is it meant to be handled somewhere else now?

BTW the proper cheatcode syntax used to be keyb=
Has that changed too or might this be the reason why it doesn't work?

Re: live cd

Posted: 2. Nov 2009, 11:19
by flux
You can add a custom script which changes the keyboard to your wishes, e. g. you type at the grub boot prompt the additional cheatcode

keyb=de

for a german keyboard, the script could do the following:

Code: Select all

cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/
Then the script should change

Code: Select all

<merge key="input.xkb.layout" type="string">us</merge>
into

Code: Select all

<merge key="input.xkb.layout" type="string">de</merge>
in a state before hal will be started.

Just an idea ...

flux.