re-sizing partitions
1 Attachment(s)
Is there any way that I can re-size this partition so that I have enough room?
|
You are currently using 175Mb in /boot. That's quite a bit. Do you have a bunch of kernels stored there? Chances are you could free up a lot of that /boot space by deleting things you don't need there. Much easier (and safer) than any resizing you might be considering, Make sure you know WHICH kernels you can safely delete - you don't want to delete the one you are actively booting! I only have one kernel stored on this particular machine I am on right now, and my usage in /boot is only 28Mb.
Code:
$ cd /boot |
I will look into what exactly is in my boot partition.
|
1 Attachment(s)
attached is the listing of things in the boot partition.
|
You have four kernels there. Unless you have a special need for all of them, only one is really necessary. If you remove three of them, then do the update that you were initially attempting, that update will put a second kernel under /boot. You should have the space you need for that after deleting three, but be aware that you will once again have two after the update.
So we know which kernel you system is configured to boot (we don't want to delete that one!), post the contents of /boot/grub/menu.lst. This file may be called /boot/grub/grub.cfg on your system, or menu.lst may be a symlink to grub.cfg. Whatever ... post the contents of menu.lst if it exists, if not, post the contents of grub.cfg. |
Also post the output of "uname -a". That will show which kernel is actually running. This would normally be the same kernel that is configured in menu.lst, but maybe not ... if the configured kernel couldn't boot and it's falling back to some other kernel.
|
@ sniper8752
Partitions can be resize by using programs like gparted or other similar software. Be CAUTIOUS thought because when you're resizing patitions things may go wrong or not. Backup any data you don't want to lose before messing with the partitions. |
I would recommend using a Parted Magic live CD for resizing partitions: http://partedmagic.com/
I have used Parted Magic many times to partition hard drives and resize partitions and it works very well in my experience. It has an easy to use graphical interface also. |
from the image in the first post
If this was MY drive i would back up important data and repartition and reinstall 200 meg for /boot might be big , or NOT 200 M is about normal size 35 gig for / if there is enough drive space that is fine but you do NOT need separate partitions /tmp and /opt Also there is that 3.91 gig "sda8" unknown partition just taking up space i would use something like this with sda2 and Extended there is sda3,4 MISSING -- not good so back up data and reformat sda2 to ext4 , reinstall sda3 /boot -- 200 meg sda4 /home -- 20 Gig ( and that is BIG, 15gig is an average size ) sda5 SWAP -- 1 gig to 4 gig if you have more that say 12 gig ram you can opt out of a swap partition, maybe sda6 / -- the rest of the drive |
Quote:
|
Quote:
|
Personally i wouldn't bother resizing and would stick to haertig's advice
1. Run 'uname -a' to get the version of kernel you are actually running (it will be the latest one anyway). Note the number. 2. Delete those unused kernels - these are packages, so don't just 'rm' in /boot. Fire up Synaptic or something, search for 'linux-image' and delete all but the one you use (that's the one with the number). It is unusual to have /opt and /tmp on separate partitions, but since you have quite a lot of room there, why bother. |
3.8.0-25-generic #37-Ubuntu SMP
synaptic does not come up for me. is there another one? also, where would these other kernels come from? I don't boot to anything else, besides win7. i know when the grub comes up - there are 1/2 other linux options - would these be those? |
To clean out all of the files associated with a kernel and not just what is in your /boot check out this URL.
http://tuxtweaks.com/2010/10/remove-...h-one-command/ |
ok - will give this a try.
|
All times are GMT -5. The time now is 07:29 AM. |