Access files from another linux partition using “mount”

I had to copy an installer file over to my new Ubuntu installation from a previouly installed and abandoned Debian Etch install on a different partition.

1. list all partitions of each device

sudo sfdisk -l

Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 12159 12160- 97675168+ 83 Linux
end: (c,h,s) expected (1023,254,63) found (895,254,63)
/dev/sda2 12160 12767 608 4883760 5 Extended
start: (c,h,s) expected (1023,254,63) found (896,0,1)
end: (c,h,s) expected (1023,254,63) found (479,254,63)
/dev/sda3 12768 24775 12008 96454260 83 Linux
/dev/sda4 24776 25383 608 4883760 82 Linux swap / Solaris
/dev/sda5 12160+ 12767 608- 4883728+ 82 Linux swap / Solaris

from this that I determined that the old partition is called ‘sda1′

2. create a mountpoint called ‘debian’

cd /mnt

sudo mkdir debian

3. mount the partition

sudo mount /dev/sda1 /mnt/debian

4. copy the installer file over from the old partiton to the new

sudo cp /mnt/debian/usr/src/coldfusion8-lin.bin /usr/src

et voila, the 380MB installer is copied over in just a few seconds as opposed to the ten or fifteen minutes that it would take to download it afresh from Adobe.

MSAccess databases on Coldfusion Hosting

Until now I’ve ignored the 10000 MSAccess databases that my Hosting provider “Exabytes” allows me to use because they also gave me 10 MySQL ones to play with. Those have all been used now by the various sites that I have running and now I want to build another database driven site but don’t want to have to pay $25 for an additional MySQL database….

…the solution, of course use one of the MSaccess ones.

This is how I did it… Continue reading