[Bug 873409] Re: Ubuntu 11.10 luks+lvm+btrfs install fail

Jan 873409 at bugs.launchpad.net
Thu Dec 15 01:52:08 UTC 2011


I'm having the same problem. I'm trying to install Ubuntu 11.10 from the
alternate iso by USB stick. I'm using a normal harddisk with a btrfs
root, and an ext4 on LVM /home, but no LUKS.

The install fails at 'Select and install software'. Inspection of syslog
shows that linux-headers-3.0.0-12-generic fails to install, because dpkg
reports a disk-full error when extracting the package.

To narrow down the problem, I did the following in a shell in the installer environment:
> chroot /target bash
> cd /media/cdrom/pool/main/l/linux
> dpkg -i linux-headers-3.0.0-12-generic_3.0.0-12.20_amd64.deb
<dpkg gives an error indicating a disk-full while extracting the .deb>

I then tried generating more debug info:
> dpkg -i -D10 linux-headers-3.0.0-12-generic_3.0.0-12.20_amd64.deb 2>/tmp/dpkgout

And now suddenly it worked. I did the same with linux-
headers-3.0.0-12_3.0.0-12.20_all.deb because I thought that was the one
I really needed, with the same results: it failed first but worked with
the -D10 flag.

I then did a 'apt-get -f install' (which previously failed with the same
disk full error from dpkg) which now worked. After that I coundn't
reproduce the dpkg error, but I didn't try forcefully removing the
headers packages so as not to cause more problems, so I don't have the
exact console output from dpkg.

I restarted the system install at 'install base system', and after that
'select and install software' also worked.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/873409

Title:
  Ubuntu 11.10 luks+lvm+btrfs install fail

Status in “debian-installer” package in Ubuntu:
  Confirmed

Bug description:
  I try my standard setup since Natty (sorry for my bed English):
   /boot 150Mb as ext3
   LUKS as a PV 
    LVM with
     lv-root (~10G)
     lv-home (all the free space)
     lv-swap (~1Gb)

  At a hardware level I have tried various machine with both SSD (Intel X-25M 
  160Gb, OCZ Vertex 3 60Gb) and some platter disk.

  Step to reproduce: download alternate-amd64 install cd, put onto a usb stick,
  boot with it and install (loaded "donwload installer, parted and squashfs").
  Partition as described above and before install the base system open a shell
  (Alt+F2, <enter>) and remount both root and home with, if you are on an SSD:
   mount -o remount,compress,discard,ssd,space_cache /dev/mapper/...
  or if you are on a platter disk use:
   mount -o remount,compress /dev/mapper/...

  Now install the base system.

  If you go back to the shell and take a look at /var/log/syslog:
   grep "No space left" /var/log/syslog
  you'll see that linux-headers-3.0.0-12_3.0.0-12.20_all.deb fail to install
  due to "No space left on device"; of course if you take a look a df you'll
  see you have all the space you need... Also if you put a static df with -i
  support you'll see that you aren't run out of inodes...

  Installer continue without complain to user setup and mirror setup and 
  finally fail when try to install the rest of the system.

  Choose linux-image-generic instead of linux-generic doesn't matter, same
  choose not to download installer and not to load squashfs.

  From /var/log/syslog (italian localisation, sorry):
   Oct 13 13:38:13 in-target: Estrazione di linux-headers-3.0.0-12 (da .../linux-headers-3.0.0-12_3.0.0-12.20_all.deb)...
   Oct 13 13:38:29 in-target: dpkg: errore nell'elaborare /media/cdrom//pool/main/l/linux/linux-headers-3.0.0-12_3.0.0-12.20_all.deb (--unpack):
   Oct 13 13:38:29 in-target:  impossibile installare la nuova versione di "/usr/src/linux-headers-3.0.0-12/arch/ia64/sn/include/ioerror.h": No space left on device
   Oct 13 13:38:29 in-target: No apport report written because the error message indicates a disk full error

  Full log attached, no idea on how to circumvent.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/873409/+subscriptions




More information about the foundations-bugs mailing list