Finding where your hard disk Space has gone (Ubuntu)

One of the best apps in the Ubuntu Repository is Filelight.

Filelight will scan your folders or file system & show you very quickly where your hard disk space has gone. It is not easy to describe how it displays the data but check it out.

apt-get install filelight

Thats all there is to it, you will now find Filelight under

Applications –>Accesories –>Filelight

Have a look at the Filelight Website

Advertisements

Create a RAMDisk to hold your qemu OS (Ubuntu)

Do you:

Have an over efficient operating system?

Have 2Gb of RAM but your OS uses a mere 512Mb

Why not put that wasted RAM to use & build a shit fast RAMDisk & run another operating system in that

Make the RAMDisk Bigger

Ubuntu has already on boot created RAMDisks for you by default but they are a mere 4Mb or something.

Open /boot/grub/menu.lst see mine below

—–Start of menu.lst—————-

#Old menu entry

title           Ubuntu 8.04, kernel 2.6.24-16-generic
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.24-16-generic root=UUID=fb359e69-e3dd-4c74-96b9-786f7a0ea9fa ro quiet splash
initrd          /boot/initrd.img-2.6.24-16-generic
quiet

#New menu entry with 512Mb RAMDisk

title           Ubuntu 8.04, kernel 2.6.24-16-generic BIG RAMDISKS
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.24-16-generic root=UUID=fb359e69-e3dd-4c74-96b9-786f7a0ea9fa ro quiet splash ramdisk_size=512000
initrd          /boot/initrd.img-2.6.24-16-generic
quiet

—–End of menu.lst—————-

Now on boot you will have 512Mb disks ready for formatting, Reboot into your new kernel

Create a filesystem

mke2fs -m 0 /dev/ram0

This will allow you to create a file system on the new ramdisk

Mount the RAMDisk

Create somehere for it to go

mkdir /mnt/ram

Mount the disk to the location

mount /dev/ram0 /mnt/ram

Done

Now you just need to dump some stuff there, remember it will be very fast but dont shutdown without backing it up first because you will need to reformat the drive on every boot!