grub fills disk space in karmic (540MB)

Bug #444587 reported by Andrew Yeomans
24
This bug affects 4 people
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/grub/i386-pc, see listing below.
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/grub/i386-pc/
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
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
SourcePackage: grub
Uname: Linux 2.6.31-11-generic i686

Revision history for this message
Andrew Yeomans (ayeomans) wrote :
Revision history for this message
Volker Knollmann (v-knollmann) wrote :

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... ;-)

Revision history for this message
Volker Knollmann (v-knollmann) wrote :

The good news: at least for my configuration a reboot was flawless... so despite the possibly corrupted files the system comes up normally

Revision history for this message
Chaostya (chaostya) wrote :

Same here running karmic constantly updating, had troubles with today's update pack. I was thinking I had enough space for a simple update but in the middle my fs ran out of space and I ended up with broken packages after reboot.

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.