boot live usb

Asked by probono

Quando parte il boot, con chiavetta usb con ubuntu remix, sembra il vecchio dos; poi si ferma sulla riga :
ubuntu@ubuntu:"$

Probabilmente è giusto così, ma per uno che lo usa per la prima volta e che non lo ha mai visto e che vorrebbe provarlo e che non trova istruzioni di che cosa deve fare è difficile indovinare come proseguire.
Ringrazio anticipatamente.
Cordiali sluti.
Luigi

Question information

Language:
Italian (Italy) Edit question
Status:
Solved
For:
liveusb Edit question
Assignee:
No assignee Edit question
Solved by:
probono
Solved:
Last query:
Last reply:
Revision history for this message
probono (probono) said :
#1

Since a couple of people have asked how to set and/or change the language and/or keyboard layout, I will go a bit into detail here. Basically there are two ways you can set the language and/or keyboard layout: automatically and manually.

Automatically

The Live USB creator is intended to be run from a Live CD. When you boot the Ubuntu Live CD, the first thing you see in the boot screen is a menu in which you can select your language (press F2 and F3 - see the screenshot at http://home.online.no/~osmoma/hardy/images/picture3a.jpg). Your Live CD will then boot with the correct language and keyboard settings, and the liveusb tool will use THESE SETTINGS when it makes your Live USB system. In other words, the language and/or keyboard layout you choose when you boot from the Live CD is what will be used as the default for your Live USB system.

Manually

Should you want to change the the language and/or keyboard layout after you have already created the Live USB system, this is also very easy to do. You can do it from the running Live USB system. Just do the following:
sudo gedit /cdrom/boot/syslinux/syslinux.cfg
This will open up a text editor.
Look for the area where it says something like "debian-installer/language=de" and "console-setup/layoutcode=de" (in this example, I am using Hardy and I am assuming that the Live USB stick had been created with the Live CD set to German - the actual wording is different with other Ubuntu versions and/or languages). Let's say you would like to set it to French. All you have to do is to change the "de" to "fr", save and reboot.

Revision history for this message
pesage (willy-englebert) said :
#2

My syslinux.cfg is a blank page : how can I CHANGE something in a blank page ?

Revision history for this message
probono (probono) said :
#3

If your syslinux.cfg was blank, you would be unable to boot that Live USB stick. Maybe you are looking in the wrong place? It is in boot/syslinux/syslinux.cfg of your bootable USB drive you created using this tool. Otherwise something really strange is going on.

Revision history for this message
pesage (willy-englebert) said :
#4

Here is what I have got in syslinux.cfg :

DEFAULT /casper/vmlinuz
APPEND noprompt file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash noprompt --

No place to change de to fr !!

Revision history for this message
probono (probono) said :
#5

Then you probably had no language selected when you initially booted from the Live CD and made your Live USB system. The exact commands are different in the various Ubuntu versions, but here are examples for German

8.04 (Hardy):
debian-installer/language=de console-setup/layoutcode=de

7.10 (Gutsy):
console-setup/layoutcode=de locale=de_DE

To find out these commands for other versions/languages/keyboards, you can boot the Live CD, select the correct language, and then type
cat /etc/cmdline

That being said, the easiest way is to create a Live USB system from a Live CD that you have booted in the correct language. Then you never have to think about any of this.