Re: failed to upgrade to next kernel package
On Sun, May 17, 2009 at 07:04:11PM -0400, Patrick Wiseman wrote:
> [Replying to debian-user, including OP's reply to me, which was
> presumably intended for debian-user.]
>
> On Sun, May 17, 2009 at 6:32 PM, gianni <giovanni.favorito@gmail.com> wrote:
> > Hi Patrick
> > this is the result from df -h
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/mapper/machina-root
> > 322M 272M 34M 90% /
> > tmpfs 1.5G 0 1.5G 0% /lib/init/rw
> > udev 10M 128K 9.9M 2% /dev
> > tmpfs 1.5G 0 1.5G 0% /dev/shm
> > /dev/sda1 228M 25M 191M 12% /boot
> > /dev/mapper/machina-home
> > 136G 99G 32G 76% /home
> > /dev/mapper/machina-usr
> > 4.6G 3.1G 1.4G 70% /usr
> > /dev/mapper/machina-var
> > 2.8G 1.3G 1.4G 49% /var
> > tmpfs 1.5G 20K 1.5G 1% /tmp
> >
> > the system is only 1 week old... I used the default option with the LVM,
> > what should I delete?
>
> You have a very small root partition (322M) apparently, which is
> almost full, and which is where /lib resides (as you have no separate
> mapping for it). I'm not sure what to suggest at this point (which is
> why these conversations should stay on the list; others may have all
> kinds of partition magic they can suggest, perhaps to expand the root
> partition while preserving your others, etc.).
Do you have a kernel that you are not using to boot which you could
remove, e.g. a -1 if you are trying to install a -2 version kernel?
I have a 477 MB / partition, of which 166 MB is used and I have both
2.6.26-1-686 and 2.6.26-2-686 kernels installed.
You should probably see what is taking up so much space in / since you
have separate /home, /var, /usr, with /tmp on tmpfs. FYI, my /boot only
has 14 MB in it (two kernels, plus the grub stuff).
If there is nothing extraneous in / (including stuff in /root that
shouldn't be there), since this is LVM, can't you resize the partitions?
Assuming that you don't have any free space in the machina VG, take 500
MB from machine-home and add it to machina-root, taking care to do
whatever filesystem resizing is necessary (depending on what filesystem
type you are using).
Doug.
Reply to: