live cd

You have a problem with Salix? Post here and we'll do what we can to help.

live cd

Postby perdidostone » 21. Oct 2009, 10:42

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?
perdidostone
 
Posts: 3
Joined: 21. Oct 2009, 10:38

Re: live cd

Postby Akuna » 21. Oct 2009, 10:53

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
Akuna
Salix Wizard
 
Posts: 1041
Joined: 14. Jun 2009, 12:25

Re: live cd

Postby thenktor » 21. Oct 2009, 11:30

Akuna wrote:Didn't experienced your boot problem here. Of course, I used virtualbox


Same here.
Image
burnCDDA (burns audio CDs)
last.fm (my last.fm profile)
User avatar
thenktor
Salix Wizard
 
Posts: 2393
Joined: 6. Jun 2009, 14:47
Location: Franconia

Re: live cd

Postby Akuna » 21. Oct 2009, 12:38

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
Akuna
Salix Wizard
 
Posts: 1041
Joined: 14. Jun 2009, 12:25

Re: live cd

Postby thenktor » 21. Oct 2009, 15:00

Who still uses CD roms? Boot from USB instead! :twisted: *scnr*
Image
burnCDDA (burns audio CDs)
last.fm (my last.fm profile)
User avatar
thenktor
Salix Wizard
 
Posts: 2393
Joined: 6. Jun 2009, 14:47
Location: Franconia

Re: live cd

Postby Shador » 21. Oct 2009, 16:45

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
Shador
Salix Warrior
 
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: live cd

Postby Akuna » 1. Nov 2009, 16:42

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

Re: live cd

Postby Shador » 1. Nov 2009, 21:28

Did you check /proc/cmdline wether grub2 passed the right parameters? Could you do so if not, please.
Image
Shador
Salix Warrior
 
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: live cd

Postby Akuna » 2. Nov 2009, 10:51

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

Re: live cd

Postby flux » 2. Nov 2009, 11:19

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.
flux
 
Posts: 26
Joined: 26. Oct 2009, 12:13

Next

Return to Problems