grub fills disk space in karmic (540MB)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub
Grub (v1) package now occupies a massive amount of disk space (9.10 karmic beta).
Version is 0.97-29ubuntu57, stated size is 540 MB.
Most of this comes from the massive files put in /usr/lib/
These simply look wrong. Previous (jaunty) files are all less than 10kbyte except the two stage2* files which are 121kb.
test:~$ ls -l /usr/lib/
total 1446264
-rw-r--r-- 1 root root 134504696 2009-10-06 11:01 e2fs_stage1_5
-rw-r--r-- 1 root root 134504696 2009-10-06 11:01 fat_stage1_5
-rw-r--r-- 1 root root 134504696 2009-10-06 11:01 jfs_stage1_5
-rw-r--r-- 1 root root 134504696 2009-10-06 11:01 minix_stage1_5
-rw-r--r-- 1 root root 134504696 2009-10-06 11:01 reiserfs_stage1_5
-rw-r--r-- 1 root root 134481080 2009-10-06 11:01 stage1
-rw-r--r-- 1 root root 268959664 2009-10-06 11:01 stage2
-rw-r--r-- 1 root root 268960688 2009-10-06 11:01 stage2_eltorito
-rw-r--r-- 1 root root 134504696 2009-10-06 11:01 xfs_stage1_5
I hit this when my 4G root filesystem filled up after updating jaunty to karmic beta, installing grub2 then running updates.
I've not tried regressing on the offchance that this was caused by the grub2 update. I've removed grub and grub2, and trying to re-install grub gets the same problem, and fills the root partition again. So I'm suspecting it's a packaging error or error in a post-processing script.
ProblemType: Bug
Architecture: i386
Date: Tue Oct 6 15:11:58 2009
DistroRelease: Ubuntu 9.10
Package: grub (not installed)
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: grub
Uname: Linux 2.6.31-11-generic i686
I can confirm that for karmic and amd64-architecture, too.
Package version: grub 0.97-29ubuntu57
Contents of /usr/lib/ grub/x86_ 64-pc:
-rw-r--r-- 1 root root 134504664 2009-10-06 12:01 e2fs_stage1_5
-rw-r--r-- 1 root root 134504664 2009-10-06 12:01 fat_stage1_5
-rw-r--r-- 1 root root 134504664 2009-10-06 12:01 jfs_stage1_5
-rw-r--r-- 1 root root 134504664 2009-10-06 12:01 minix_stage1_5
-rw-r--r-- 1 root root 134504664 2009-10-06 12:01 reiserfs_stage1_5
-rw-r--r-- 1 root root 134481080 2009-10-06 12:01 stage1
-rw-r--r-- 1 root root 268959632 2009-10-06 12:01 stage2
-rw-r--r-- 1 root root 268960656 2009-10-06 12:01 stage2_eltorito
-rw-r--r-- 1 root root 134504664 2009-10-06 12:01 xfs_stage1_5
Since the package file size seems to be only 2.4 MB I guess it's the post-processing script that generates the large files. Otherwise the compression ratio would be awesome... ;-)