Comment 13 for bug 202959

Revision history for this message
Florent (florent.x) wrote :

i've tested a dirty solution for 64 MiB systems:

* select the "command line install" in english: F4 at the welcome screen
 --> it has less chances to hang during install
* do the install until it hangs at 75% because of generating locales
* switch to 4th VT with "Alt+F4" to check what it is doing
* switch to 2nd VT with "Alt+F2"
* Enter the command prompt in 2nd VT
* # chmod ugo-x /target/usr/bin/localedef
 --> so it fails silently on future attempts to generate other locales (more than 10 english locales).
* go back to the progress bar "Alt+F1"
* let the process finish the generation of "en_US" locale (it takes many minutes ... or hours)
* the process should not hang any more on locale generation
* after install and reboot, you are on the login prompt
* $ sudo chmod ugo+x /usr/bin/localedef
* $ sudo nano /var/lib/locales/supported.d/en (and add a leading "#" in front of the languages you do not want to generate)
* $ sudo dpkg-reconfigure locales (this time it is faster)
* $ sudo aptitude (or any other package manager)
* install (x)ubuntu-desktop or less packages, depending on what you really need
* install the "language-selector" package (or only the language you need, and use update-locale command)

it should work... but i would prefer an easier solution