Can the OS language be specified with syslinux?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
lihua
Posts: 6
Joined: 10. May 2010, 00:38

Can the OS language be specified with syslinux?

Post by lihua »

I installed Salixlive in my usb stick, and use SYSLINUX to load it. This works well. But everytime the system is boot up, i have to chose the system language. can it be specified in the syslinux.cfg? Some distribution can do this.
Also, the Chinese characters in files or filenames can not be displayed. Please help me.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: Can the OS language be specified with syslinux?

Post by Akuna »

lihua wrote:I installed Salixlive in my usb stick, and use SYSLINUX to load it. This works well. But everytime the system is boot up, i have to chose the system language. can it be specified in the syslinux.cfg?
If it is indeed syslinux wich is used to boot your usb stick you would just have to edit syslinux.cfg to personnalize your menu.
What is the content of your syslinux.cfg?
Image
What really matters is where you are going, not where you come from.
lihua
Posts: 6
Joined: 10. May 2010, 00:38

Re: Can the OS language be specified with syslinux?

Post by lihua »

Akuna wrote:If it is indeed syslinux wich is used to boot your usb stick you would just have to edit syslinux.cfg to personnalize your menu.
What is the content of your syslinux.cfg?
Thanks.
Here is my syslinux.cfg:
PROMPT 0
TIMEOUT 50
DEFAULT /boot/vesamenu.c32

LABEL salixlive
MENU LABEL Install Salixlive bootloader
KERNEL /salixlive/vmlinuz
APPEND vga=769 initrd=/salixlive/initrd.gz ramdisk_size=8000 root=/dev/ram0 rw nosplash
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Can the OS language be specified with syslinux?

Post by JRD »

It is not boot anymore with syslinux : it's grub2.
Edit the grub2 menu to select your prefer language by default.
About chinese characters, maybe it's only a missing font package...
Image
lihua
Posts: 6
Joined: 10. May 2010, 00:38

Re: Can the OS language be specified with syslinux?

Post by lihua »

I installed Salix on my harddisk, It's works perfect. Everything is OK, Chinese characters, input method.
I use syslinux to load puppy, DOSTools and so on. So i copy the files in Salixlive LiveCD to the USB driver, and use syslinux to load it. It works well too, expect for the language setting.
Maybe later i try the Grub2.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: Can the OS language be specified with syslinux?

Post by Akuna »

If your boot menu shows you all the languages, then you must have used grub2 somehow & not syslinux, because your syslinux menu only shows standard English boot menu options.
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: Can the OS language be specified with syslinux?

Post by Shador »

Anyway, the grub menu just specifies cheat codes to create this effect.
For example:
lang=<locale>
kb=<keyboard layout>

For others I recommend you just look at boot/grub/boot.cfg and boot/grub/cheatcode.cfg on your USB key, resp. the SalixLive ISO.
Image
Post Reply