I have installed ubuntu on a 8GB 5GB partition. As I have installed many packages, I am running out of space.
Qn 1 : Is there a way that I can specify another portion for installing the packages ?
Qn 2 : Can I move the whole installed files from my current partition to another place ( partition ) and make the changes in grub or so?
I don't want to reinstall the whole, so after that I just can make an upgrade :-)
The / , and home directory is in same place.
Thank you .
sudo apt-get clean
to clear your APT caches, browser cache). I've a fresh development installation here using only 3G including a/home
of 200MB. – Lekensteyn Aug 14 '11 at 08:37--boot-directory
sets the location in which GRUB's files are placed. By default, this is/boot/grub
(/mnt/boot/grub
). I assume/dev/sda11
is your target partition? Otherwise, could you post the output ofsudo fdisk -l
andsudo blkid
? – Lekensteyn Aug 14 '11 at 13:43sda11
it was my target which was mounted on/mnt
. The other one wassda10
which was mounted on the/media/old
as you suggested . – Hari K T Aug 14 '11 at 13:48sudo blkid
andsudo fdisk -l
http://pastie.org/2370527 – Hari K T Aug 14 '11 at 13:54sudo grub-install --root-directory=/mnt /dev/sda
in my case, but as I have done with it, this may help some others. Sometimes I forgot how to install the bootloader . And I hope this will be same if we lost a bootloader when booting from live CD. I would like to know if there is any anyother way also ? Thank you for the replies :) . – Hari K T Aug 14 '11 at 14:12sudo mount /dev/sda11 /mnt
before). It works both from the Live CD and a regular session though the Live CD is generally recommended for such tasks. What do you mean by "another way"? – Lekensteyn Aug 14 '11 at 14:23/boot
from such a shell. – Lekensteyn Aug 14 '11 at 14:31grub-rescue
was showing. I wonder we can do something from that also ? The other one is we insert a disk and when it starts booting there is an option to install grub in previous versions of Fedora not sure about todays case. And it will enter into a shell and we can issue certain commands to install the grub. Ok no issues and Thank you . – Hari K T Aug 14 '11 at 14:34