live cd

You have a problem with Salix? Post here and we'll do what we can to help.
perdidostone
Posts: 3
Joined: 21. Oct 2009, 10:38

live cd

Post 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?
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: live cd

Post 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
Image
What really matters is where you are going, not where you come from.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: live cd

Post by thenktor »

Akuna wrote:Didn't experienced your boot problem here. Of course, I used virtualbox
Same here.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: live cd

Post 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.
Image
What really matters is where you are going, not where you come from.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: live cd

Post by thenktor »

Who still uses CD roms? Boot from USB instead! :twisted: *scnr*
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: live cd

Post 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.
Image
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: live cd

Post 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.
Image
What really matters is where you are going, not where you come from.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: live cd

Post by Shador »

Did you check /proc/cmdline wether grub2 passed the right parameters? Could you do so if not, please.
Image
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: live cd

Post 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?
Image
What really matters is where you are going, not where you come from.
flux
Posts: 26
Joined: 26. Oct 2009, 12:13

Re: live cd

Post 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.
Post Reply