Public bug reported:

Hello,

i have experienced reproducable crashes of the installer. The problem
seems to be that my boot partition is to small. I have a /boot partition
of about 100 MB

The problem seems to be that the initrd file in the boot partition is
very big and cannot be properly updated.

Is there a restriction to the size of a /boot partition? 100 MB seems to
be way to little, even though the initial installation is possible. But
at the end of the installation process the installer crashes.....

===== start ==== -> see full log at the end of the report
update-initramfs: Generating /boot/initrd.img-4.10.0-22-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
===== end ====


I used my existing paritions and i would at least expect a warning (hint) that 
the /boot partition needs to be of a certain size (or just prevents 
installation with a too small boot partition).

I am also having problems updating the kernel, which seems to be the
same cause of the crash of the installer:


here is some information:

wuesand@wuesand-ESPRIMO-P1510:~/projects/kde/ansible$ sudo fdisk -l
Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x241c6624

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 390625279 390623232 186,3G  7 HPFS/NTFS/exFAT
/dev/sda2       390625280 390819839    194560    95M 83 Linux
/dev/sda3       390819840 586131455 195311616  93,1G 83 Linux
/dev/sda4       586133502 976771071 390637570 186,3G  5 Extended
/dev/sda5       586133504 586717183    583680   285M 82 Linux swap / Solaris
/dev/sda6       586719232 976771071 390051840   186G 83 Linux


wuesand@wuesand-ESPRIMO-P1510:~/projects/kde/ansible$ sudo mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs 
(rw,nosuid,relatime,size=4042808k,nr_inodes=1010702,mode=755)
devpts on /dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=813128k,mode=755)
/dev/sda3 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs 
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup 
(rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup 
(rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup 
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup 
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup 
(rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup 
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup 
(rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup 
(rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup 
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup 
(rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs 
(rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=3715)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda2 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)
/dev/sda6 on /home type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/119 type tmpfs 
(rw,nosuid,nodev,relatime,size=813124k,mode=700,uid=119,gid=127)
tmpfs on /run/user/1000 type tmpfs 
(rw,nosuid,nodev,relatime,size=813124k,mode=700,uid=1000,gid=1000)
/dev/sda1 on /mnt/ntfs type fuseblk 
(rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


wuesand@wuesand-ESPRIMO-P1510:~/projects/kde/ansible$ sudo apt-get upgrade -u
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up initramfs-tools (0.125ubuntu9) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.10.0-22-generic (4.10.0-22.24) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.10.0-22-generic
vmlinuz(/boot/vmlinuz-4.10.0-22-generic
) points to /boot/vmlinuz-4.10.0-22-generic
 (/boot/vmlinuz-4.10.0-22-generic) -- doing nothing at 
/var/lib/dpkg/info/linux-image-4.10.0-22-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-22-generic 
/boot/vmlinuz-4.10.0-22-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-22-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.10.0-22-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at 
/var/lib/dpkg/info/linux-image-4.10.0-22-generic.postinst line 1052.
dpkg: error processing package linux-image-4.10.0-22-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          dpkg: dependency problems prevent configuration of 
linux-image-extra-4.10.0-22-generic:
 linux-image-extra-4.10.0-22-generic depends on linux-image-4.10.0-22-generic; 
however:
  Package linux-image-4.10.0-22-generic is not configured yet.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: xorg 1:7.7+16ubuntu3
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Jun 18 00:26:55 2017
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug kubuntu zesty

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1698594

Title:
  Kubuntu Installer for 17.04 crashes reproducable with a too small
  /boot partition due to "No space left on device"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1698594/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to