Alternate Install Hang up by partitioner

Bug #472820 reported by sly
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 9.10 Karmic Koala
Install CD - Alternate (MD5 checksum -ok)
HW: Dell D630

By install Ubuntu with the Slovak (Slovakia) lang PC hang up when i am manual setting up the encrypted LVM partitions.
All works like this:

1. boot kernel with Slovak Lang,
2. setting keyboard, dhcp, hostname - all ok,
3. setting up the /boot partion -ok,
4. by setting up the encrypted partition with LVM and changing the format of root partiotin sporadicaly pc show loading partitioner 50% and hang.

I was thinking that is only my mistake by setting up the partitions, but i checked it many times and same issue. When i boot the kernel with EN lang the situation doesent occurred again and all works fine.

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in debian-installer.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → debian-installer (Ubuntu)
Revision history for this message
5tan (kamildor) wrote :

Hi.
Installation (from 9.10 alternate CD) is stopped after choosing manual partitioning (progress bar stop on 50%).
I've reboot, and before choosing manual partitioning:
1. switch to console (Alt+F2),
2. activate shell (enter) and activate LVM (vgscan; vgchange -ay)
3. decrypt logical volumes (cryptsetup luksOpen /dev/mapper/#NAME_OF_VG-NAME_OF_LOGICAL_VOLUME#)

After step 3: switching to console with debian-installer running (Alt+F1), choosing manual partitioning... And again - progress bar is stop on 50%.

Workaround:
1. Start computer with LiveCD
2. Add repositories (e.g. in synaptic)
3. Install lvm2 and cryptsetup and dependencies (apt-get install lvm2 cryptsetup)
4. Setup LVM and cryptosetup (e.g. vgscan, vgchange -ay, cryptsetup luksOpen /dev/mapper/#VG-LV# #DECRYPTED_LV#)
5. Run "normal" installation
6. Choose manual partitioning in set-up partitions screen, and choose your /dev/mapper/#DECRYPTED_LV# (e.g. /dev/mapper/cryptroot)
7. Continue system installation - when it success please DON'T REBOOT!
8. Mount your fresh installed system in /mnt or what you want (remember mount your /usr/ LV - if any - on /mnt/usr/ and esspecialy /boot partition - if you have boot partition. Check your /etc/fstab )

####STEPS TO DO IN CHROOTED ENVIRONMENT###
9. Chroot into your fresh installed system (chroot /mnt)
10. You should mount /proc /sys/ and maybe /dev/ and /dev/pts (mount -t proc proc /proc; mount -t sysfs sysfs /sys; mount -t tmpfs udev /dev; mount -t devpts devpts /dev/pts)
11. apt-get install lvm2 cryptsetup
12. Edit /etc/initramfs-tools/conf.d/cryptroot (echo "target=#CRYPTROOT#,source=/dev/mapper/#DECRYPTED_LV#" > /etc/initramfs-tools/conf.d/cryptroot )
13. Edit /etc/crypttab (if you want other encrypted volumes to mount on boot-time)
14. Update initrd with update-initramfs -u -k `uname -r`
15. umount what you before mount in chroot environment
16. exit from chroot
### END OF CHROOTED ENVIRONMENT STEPS ###
17. Umount everything you mounted before you chroot (probably you can safely skip this step - LiveCD umount it for you on restart)
18. Restart system

If everything is OK after reboot you should see grub menu, and after few seconds "Enter passphrase": :)

Good luck!

Revision history for this message
Narcis Garcia (narcisgarcia) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.