PDA

View Full Version : [ubuntu] Give installation directory for apt-get



arulkrishna
October 29th, 2011, 01:13 PM
I have installed ubuntu in 3 GB drive and it is full. But I have free partitions. How I can use "sudo apt-get install" command to install in the free space rather than the default location. Its like where we can specify folder path to install as in windows.

raja.genupula
October 29th, 2011, 03:25 PM
Hi
I think its not gonna possible man.

dino99
October 29th, 2011, 03:31 PM
3 Gb is way too small :(

here is a standard config installation:

first you need to choose a good formatting tool: http://partedmagic.com/, install it on cd or usb stick, its a nice tool in case of trouble in future.

usually Ubuntu is installed that way :

- prepare partitions with external prog (partedmagic)
- built 3 partitions:
1) / which is the main one (root), need to be bootable and is ext3 or ext4 formated with about 10/12 go
2) swap: about twice the real ram but max 2 gb (4 gb if suspend/hibernation is used)
3) /home which is your data partition: as much go that you need

- download the "alternate" image and install it on usb ( unetbootin) if you are able to boot on usb, or burn it on cd (4x max speed). the "alternate" let you customize your installation, so as you have previously prepared your partitions and noted their names (/dev/sda or so), its easier to make a safe installation and place grub, when asked, on the / mbr partition.