Activity log for bug #42159

Date Who What changed Old value New value Message
2006-04-30 01:02:35 Eduardo Silva bug added bug
2006-04-30 01:04:35 Eduardo Silva title If an existing swap partition is marked for formatation, it gets "corrupts" and unused in the final installed system, because the LiveCD is using it If an existing swap partition is marked for formatation, it gets "corrupted" and unused in the final installed system, because the LiveCD is using it
2006-04-30 01:05:14 Eduardo Silva description Just installed Dapper using the LiveCD beta2. I already had a swap partition in my system, and the LiveCD automatically used it. Because of this, when I chose to format this swap partition during installation, this fails, but the instalation continues. In the final installed system, the swap partition was "mangled" and couldn't be used. To fix this, I manually delete and recreate the swap partition. Here is my /var/log/installer/syslog file: Sat, 29 Apr 2006 02:17:29 INFO Step_before = stepWelcome Sat, 29 Apr 2006 02:17:29 INFO switched to page stepLanguage Sat, 29 Apr 2006 02:17:29 INFO Step_after = stepLanguage ubiquity: Starting up '['/usr/lib/ubiquity/localechooser/localechooser']' for ubiquity.components.language.Language ubiquity: Watching for question patterns ^languagechooser/language-name locale-gen is /usr/sbin/locale-gen Generating locales... pt_PT.UTF-8... done Generation complete. Sáb, 29 Abr 2006 02:17:41 INFO Step_before = stepLanguage Sáb, 29 Abr 2006 02:17:41 INFO switched to page stepLocation Sáb, 29 Abr 2006 02:17:41 INFO Step_after = stepLocation ubiquity: Starting up '['/usr/share/ubiquity/tzsetup']' for ubiquity.components.timezone.Timezone ubiquity: Watching for question patterns ^time/zone$ locale-gen is /usr/sbin/locale-gen Generating locales... pt_PT.UTF-8... up-to-date Generation complete. Sáb, 29 Abr 2006 02:17:51 INFO Step_before = stepLocation Sáb, 29 Abr 2006 02:17:51 INFO switched to page stepKeyboardConf Sáb, 29 Abr 2006 02:17:51 INFO Step_after = stepKeyboardConf ubiquity: kbd-chooser prepare ubiquity: Starting up '['/bin/sh', '-c', '. /usr/share/debconf/confmodule; exec /usr/lib/ubiquity/kbd-chooser/kbd-chooser']' for ubiquity.components.kbd_chooser.KbdChooser ubiquity: Watching for question patterns ^kbd-chooser/method$, ^console-keymaps.*/keymap$, ERROR ubiquity: Display map: {u'S\xe9rvio (Cir\xedlico)': u'sr-cy', u'Estoniano': u'et', u'Portugu\xeas Brasileiro (layout Americano)': u'br-latin1', u'Franc\xeas (com Euro)': u'fr-latin9', u'Lituano': u'lt', u'Maced\xf3nio': u'mk', u'Hebraico': u'hebrew', u'Ingl\xeas Brit\xe2nico': u'uk', u'Noruegu\xeas': u'no-latin1', u'Ucraniano': u'ua', u'Espanhol': u'es', u'Romeno': u'ro', u'Grego': u'gr', u'Sueco': u'se-latin1', u'Polaco': u'pl', u'Turco (layout Q)': u'trqu', u'Dvorak': u'dvorak', u'Alem\xe3o (sem deadkeys)': u'de-latin1-nodeadkeys', u'Bielorusso': u'by', u'Latino Americano': u'la-latin1', u'Eslovaco': u'sk-qwerty', u'Dinamarqu\xeas': u'dk-latin1', u'Turco (layout F)': u'trfu', u'Russo': u'ru', u'B\xfalgaro': u'bg', u'Finland\xeas': u'fi-latin1', u'H\xfangaro': u'hu', u'Belga': u'be2-latin1', u'Alem\xe3o Su\xed\xe7o': u'sg-latin1', u'Croata': u'croat', u'Holand\xeas': u'nl', u'Franc\xeas Canad\xe1': u'cf', u'Island\xeas': u'is-latin1', u'Italiano': u'it', u'Eslov\xe9nio': u'slovene', u'Ingl\xeas Americano': u'us', u'Portugu\xeas Brasileiro (layout ABNT2)': u'br-abnt2', u'Let\xe3o': u'lv-latin4', u'Checo': u'cz-lat2', u'Franc\xeas Su\xed\xe7o': u'fr_CH-latin1', u'Japon\xeas (106 teclas)': u'jp106', u'Portugu\xeas': u'pt-latin1'} ubiquity: Untranslated choices: [u'by', u'bg', u'croat', u'cz-lat2', u'sg-latin1', u'de-latin1-nodeadkeys', u'dk-latin1', u'us', u'uk', u'dvorak', u'et', u'es', u'la-latin1', u'fi-latin1', u'fr-latin9', u'be2-latin1', u'cf', u'fr_CH-latin1', u'gr', u'hebrew', u'hu', u'is-latin1', u'it', u'lt', u'lv-latin4', u'jp106', u'mk', u'no-latin1', u'nl', u'pl', u'pt-latin1', u'br-abnt2', u'br-latin1', u'ro', u'ru', u'sk-qwerty', u'slovene', u'sr-cy', u'se-latin1', u'trfu', u'trqu', u'ua'] ubiquity: Choices: [u'Bielorusso', u'B\xfalgaro', u'Croata', u'Checo', u'Alem\xe3o Su\xed\xe7o', u'Alem\xe3o (sem deadkeys)', u'Dinamarqu\xeas', u'Ingl\xeas Americano', u'Ingl\xeas Brit\xe2nico', u'Dvorak', u'Estoniano', u'Espanhol', u'Latino Americano', u'Finland\xeas', u'Franc\xeas (com Euro)', u'Belga', u'Franc\xeas Canad\xe1', u'Franc\xeas Su\xed\xe7o', u'Grego', u'Hebraico', u'H\xfangaro', u'Island\xeas', u'Italiano', u'Lituano', u'Let\xe3o', u'Japon\xeas (106 teclas)', u'Maced\xf3nio', u'Noruegu\xeas', u'Holand\xeas', u'Polaco', u'Portugu\xeas', u'Portugu\xeas Brasileiro (layout ABNT2)', u'Portugu\xeas Brasileiro (layout Americano)', u'Romeno', u'Russo', u'Eslovaco', u'Eslov\xe9nio', u'S\xe9rvio (Cir\xedlico)', u'Sueco', u'Turco (layout F)', u'Turco (layout Q)', u'Ucraniano'] ubiquity: console-keymaps-at/keymap db: pt-latin1 Sáb, 29 Abr 2006 02:17:55 INFO Step_before = stepKeyboardConf Sáb, 29 Abr 2006 02:17:55 INFO switched to page stepUserInfo Sáb, 29 Abr 2006 02:17:55 INFO Step_after = stepUserInfo ubiquity: Starting up '['/usr/lib/ubiquity/user-setup/user-setup-ask', '/target']' for ubiquity.components.usersetup.UserSetup ubiquity: Watching for question patterns ^passwd/user-fullname$, ^passwd/username$, ^passwd/user-password$, ^passwd/user-password-again$, ERROR ON STATE: 1 grep: /target/etc/passwd: No such file or directory ON STATE: 4 ON STATE: 5 ON STATE: 6 ON STATE: 7 ON STATE: 8 Sáb, 29 Abr 2006 02:18:23 INFO Step_before = stepUserInfo Sáb, 29 Abr 2006 02:18:23 INFO switched to page stepPartDisk Sáb, 29 Abr 2006 02:18:23 INFO Step_after = stepPartDisk ubiquity: Starting up '/bin/partman' for ubiquity.components.partman.Partman ubiquity: Watching for question patterns ^partman-auto/disk$, ^partman-auto/.*automatically_partition$, ^partman-partitioning/new_size$, ^partman/choose_partition$, ^partman/confirm.*, ERROR, PROGRESS unsupported kernelmodules_basicfilesystems kernelmodules_ext3 kernelmodules_jfs kernelmodules_reiserfs kernelmodules_xfs umount_target parted dump update_partitions filesystems_detected auto_mountpoints autouse_swap backup Sáb, 29 Abr 2006 02:18:37 INFO switched to page stepPartAuto ubiquity: /bin/partman exited with code 10 Sáb, 29 Abr 2006 02:18:41 INFO Step_before = stepPartAuto Sáb, 29 Abr 2006 02:18:41 INFO gparted_loop() Sáb, 29 Abr 2006 02:18:41 INFO Disabling swap on /dev/hda5 Sáb, 29 Abr 2006 02:18:41 INFO switched to page stepPartAdvanced Sáb, 29 Abr 2006 02:18:41 INFO Step_after = stepPartAdvanced dumpe2fs 1.38 (30-Jun-2005) dumpe2fs 1.38 (30-Jun-2005) Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc has been opened read-only. Error: Unable to open /dev/hdc - unrecognised disk label. Sáb, 29 Abr 2006 02:19:50 INFO Step_before = stepPartAdvanced Sáb, 29 Abr 2006 02:19:52 INFO switched to page stepPartMountpoints Sáb, 29 Abr 2006 02:19:52 INFO Step_after = stepPartMountpoints Sáb, 29 Abr 2006 02:20:27 INFO Step_before = stepPartMountpoints Sáb, 29 Abr 2006 02:20:27 INFO mountpoints: {'/dev/hda5': ('swap', True, None), '/dev/hda6': ('/home', False, None), '/dev/hda3': ('/', True, None)} ubiquity: Starting up '/bin/partman' for ubiquity.components.partman_commit.PartmanCommit ubiquity: Watching for question patterns ^partman/choose_partition$, ^partman/confirm.*, ERROR, PROGRESS mkdir: cannot create directory `/var/lib/partman': File exists unsupported kernelmodules_basicfilesystems kernelmodules_ext3 kernelmodules_jfs kernelmodules_reiserfs kernelmodules_xfs umount_target parted dump update_partitions filesystems_detected auto_mountpoints autouse_swap backup Sáb, 29 Abr 2006 02:20:34 INFO switched to page stepReady ubiquity: Starting up '['/usr/share/ubiquity/summary']' for ubiquity.components.summary.Summary ubiquity: Watching for question patterns ^ubiquity/summary$ swapon: /dev/hda5: Device or resource busy swapon: /dev/hda5: Device or resource busy swapon: /dev/hda5: Device or resource busy swapon: /dev/hda5: Device or resource busy umount /target/ umount /target/home swapoff /dev/hda5 chroot: cannot run command `apt-get': No such file or directory chroot: cannot run command `apt-get': No such file or directory Sáb, 29 Abr 2006 02:21:22 INFO progress_loop() ubiquity: Starting up '['/usr/share/ubiquity/install.py']' for ubiquity.components.install.Install ubiquity: Watching for question patterns ^.*/apt-install-failed$, CAPB, ERROR, PROGRESS /usr/lib/python2.4/site-packages/apt/__init__.py:17: FutureWarning: apt API not stable yet warnings.warn("apt API not stable yet", FutureWarning) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "pt_PT.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ubiquity: Starting up '['sh', '-c', '/usr/lib/ubiquity/localechooser/post-base-installer && /usr/lib/ubiquity/localechooser/prebaseconfig']' for ubiquity.components.language_apply.LanguageApply Reading package lists... Building dependency tree... Skipping locales, it is already installed and upgrade is not set. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. A Ler Listas de Pacotes... Construindo Árvore de Dependências... Saltando iso-codes, já está instalado e a actualização não está definida. 0 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 0 não actualizados. A Ler Listas de Pacotes... Construindo Árvore de Dependências... E: Impossível encontrar o pacote localization-config A Ler Listas de Pacotes... Construindo Árvore de Dependências... Saltando console-tools, já está instalado e a actualização não está definida. 0 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 0 não actualizados. ubiquity: Starting up '['/usr/share/ubiquity/apt-setup']' for ubiquity.components.apt_setup.AptSetup /usr/lib/ubiquity/apt-setup/generators/01setup: line 7: /target/etc/apt/sources.list: No such file or directory Obter:1 http://pt.archive.ubuntu.com dapper Release.gpg [189B] Obter:2 http://pt.archive.ubuntu.com dapper Release [34,8kB] Obter:3 http://pt.archive.ubuntu.com dapper/main Packages [615kB] Obter:4 http://pt.archive.ubuntu.com dapper/restricted Packages [4585B] Obtidos 654kB em 3s (213kB/s) A Ler Listas de Pacotes... " And then it continues with no errors. Just installed Dapper using the LiveCD beta2. I already had a swap partition in my system, and the LiveCD automatically used it. Because of this, when I chose to format this swap partition during installation, this fails, but the instalation continues. In the final installed system, the swap partition was "mangled" and couldn't be used. To fix this, I manually delete and recreate the swap partition. I've attached my /var/log/installer/syslog file.
2006-04-30 01:06:52 Eduardo Silva bug added attachment 'syslog' (/var/log/installer/syslog file, from beta 2 installation)
2006-04-30 21:56:21 Tormod Volden ubiquity: status Unconfirmed Confirmed
2006-04-30 21:56:21 Tormod Volden ubiquity: statusexplanation This, of course, breaks hibernation too. There are complaints about busy swap partition in the espresso log. In the installed system, swapon -a fails with: swapon: /dev/sda6: Invalid argument
2010-09-02 12:55:11 Eshwar Andhavarapu summary If an existing swap partition is marked for formatation, it gets "corrupted" and unused in the final installed system, because the LiveCD is using it If an existing swap partition is marked to be formatted, it gets "corrupted" and unused in the final installed system, because the LiveCD is using it
2011-08-12 21:41:31 Jarno Suni bug added subscriber Jarno Suni
2014-01-07 20:00:20 Phillip Susi ubiquity (Ubuntu): status Confirmed Invalid