Skip to content

emka.web.id

menulis pengetahuan – merekam peradaban

Menu
  • Home
  • Tutorial
  • Makalah
  • Ke-NU-an
  • Kabar
  • Search
Menu

Problem in Ubuntu 9.10 GRUB wants more space

Posted on September 8, 2012

Was trying to update my 9.10 install. Seems like there are some new kernal updates which meant that somethings were being written to grub. My Grub is located in a separate /boot parition of about 99 mb (which used to be enough but is not suddenly not enough) and now i get this message “Volume Boot has only 698 kb disk space left”

You can free up disk space by removing unused programs or files or by removing files or programes to another partition or disk. The problem does not end there itself – all the current updates failed to get updated and now when i try synaptic i get the following error.

" E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report. "

and when i try the
sudo dpkg --configure -a
this is what happens

Setting up initramfs-tools (0.92bubuntu53) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.31-22-generic-pae

gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.31-22-generic-pae
dpkg: subprocess installed post-installation script returned error exit status
1
-laptop:~$

***
i have atleast 4 different kernals installed and am not sure how to navigate he new Grub – its not as easy as earlier and am not sure how to create more space .(there is a tutorial to move grub but it seems quite dicey to me)

This is affecting my OS performance as some programmes are beginning to crash or freeze (firefox) and i can’t help but think its because of incomplete updates. Also i cannot install new programmes or uninstall old ones (as in old kernals to free up space) apt-get also does not work.

so refine the problem – my 100 MB /boot has become over crowded with kernals and one of the stupidities of the new grub (ver 2) is that it tends to accumulate all the old kernals.

The Solutions

There were two suggestions using dpkg -r linux .......and in this to find the oldest linux headers that were available:
[sourcecode language=”bash”]
$ sudo dpkg -r linux-headers-2.6.31-
linux-headers-2.6.31-14
linux-headers-2.6.31-15 linux-headers-2.6.31-20
linux-headers-2.6.31-16 linux-headers-2.6.31-20-generic-pae
linux-headers-2.6.31-16-generic-pae linux-headers-2.6.31-21
linux-headers-2.6.31-18 linux-headers-2.6.31-21-generic-pae
linux-headers-2.6.31-18-generic-pae linux-headers-2.6.31-22
linux-headers-2.6.31-19 linux-headers-2.6.31-22-generic-pae
linux-headers-2.6.31-19-generic-pae linux-headers-2.6.31-9-rt
ram@ram-laptop:~$ sudo dpkg -r linux-headers-2.6.31-
linux-headers-2.6.31-15 linux-headers-2.6.31-20
linux-headers-2.6.31-16 linux-headers-2.6.31-20-generic-pae
linux-headers-2.6.31-16-generic-pae linux-headers-2.6.31-21
linux-headers-2.6.31-18 linux-headers-2.6.31-21-generic-pae
linux-headers-2.6.31-18-generic-pae linux-headers-2.6.31-22
linux-headers-2.6.31-19 linux-headers-2.6.31-22-generic-pae
linux-headers-2.6.31-19-generic-pae linux-headers-2.6.31-9-rt
[/sourcecode]

So i used
[sourcecode language=”bash”]
$ sudo dpkg -r linux-headers-2.6.31-14
(Reading database … 671073 files and directories currently installed.)
Removing linux-headers-2.6.31-14 …
laptop:~$
[/sourcecode]

and now things seem back to normal

***
it seems dpkg is able to rifle through things that apt-get is prevented from so quite useful to know. so am now going to remove a few more of the old kernels and then do a reboot and see if my system is still all hunky dory.

Via UbuntuForums

Terbaru

  • Profil Farida Farichah, Wakil Menteri Koperasi Kabinet Merah Putih Reshuffle 17 September 2025
  • Ini Info Terbaru Pencairan BSU BPJS Ketenagakerjaan 2025!
  • Cara Reset Printer Epson L3110 2025
  • WhatsApp Tiba-tiba Keluar dan Meminta Verifikasi: Apa yang Harus Dilakukan?
  • Bisakah Saldo BNI Kamu Nol? Fakta dan Cara Mengatasinya
  • Inilah Tanda-tanda Chat Audio di Grup WhatsApp Sudah Disadap
  • Cara Mengatasi Tidak Bisa Live Instagram Karena Tidak Memenuhi Syarat
  • 7 Spek Laptop yang Ideal untuk Coding & Ngoding Web/App
  • Keuntungan dan Kerugian Menggunakan PayPal: Panduan Lengkap
  • Cara Menggunakan Stellarium Web
  • Cara Menghapus Data KTP Pribadi di Pinjol yang Belum Lunas
  • Cara Mengganti Nomor TikTok yang Tidak Aktif atau Hilang Tanpa Verifikasi
  • Cara Menggunakan BCA PayLater Terbaru 2025
  • Cara Mendapatkan IMPoint Indosat IM3 Ooredoo Gratis via MyIM3
  • Apa Arti TikTok ‘Shared With You’?
  • Cara Menghapus Data KTP di Pinjol: Panduan Lengkap
  • Cara Download WhatsApp GB Terbaru 2025 – Fitur Lengkap & Aman
  • Review WhatsApp Beta: Apakah Aman? Cara Instal dan Cara Keluar
  • Bebong: Makna, Asal Usul, dan Penggunaan dalam Bahasa Indonesia
  • Spinjam dan Spaylater: Apa yang Terjadi Jika Terlambat Membayar dan Bisakah Meminjam Lagi?
  • Cara Download dan Menonton Dood Stream Tanpa Iklan – Doods Pro
  • Cara Menghentikan dan Mengatasi Pinjol Ilegal
  • Kode Bank BRI untuk Transfer ke PayPal
  • Cara Menyadap WhatsApp Tanpa Aplikasi dan Kode QR
  • Apa yang Terjadi Jika Telat Bayar Shopee PayLater?
  • Telat Bayar Listrik 1 Hari: Apa yang Terjadi?
  • Cara Mengunduh Foto Profil WhatsApp Teman di Android, iPhone, dan PC/Mac
  • Rekomendasi Aplikasi Edit Foto Ringan Terbaik untuk PC Windows dan macOS
  • Cara Membeli Diamond Mobile Legends Menggunakan Pulsa Telkomsel
  • Tutorial Menggunakan Aplikasi Dana: Cara Top Up Dana dengan Mudah, Cepat, dan Murah untuk Pemula
  • Profil Farida Farichah, Wakil Menteri Koperasi Kabinet Merah Putih Reshuffle 17 September 2025
  • Ini Info Terbaru Pencairan BSU BPJS Ketenagakerjaan 2025!
  • Cara Reset Printer Epson L3110 2025

©2025 emka.web.id | Design: Newspaperly WordPress Theme