Archive for November, 2011

initrd

Posted: November 20, 2011 in Uncategorized

initrd

The initial RAM disk (initrd) is an initial and temporary root file system mounted before the real root file system is available.

The kernel mounts  initrd as part of the boot process to load the modules to make the real file systems available.

The initrd contains a minimal set of directories and executables, such as  the insmod tool to install kernel modules into the kernel, to build the real file system.

Debian/Ubuntu writing NTFS

Posted: November 13, 2011 in Uncategorized

Writing in NTFS partitions Debian/Ubuntu

One who has dual boot Linux+Windows can easily read files in NTFS partitions but will not be able to write on it.
One must install afuse ntfs-3g pkgs.

Getting started

fdisk -l will list disks and partitions

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 4196351 2097152 83 Linux
/dev/sda2 4196352 299210751 147507200 83 Linux

Make sure you have sucessfully installed the following pkgs.

apt-get install afuse ntfs-3g

Create a NTFS mount point

mkdir /mnt/Windows

Mounting NTFS partition with read/write permissions

mount.ntfs-3g /dev/sdaxx /mnt/Windows -o umask=0,iocharset=utf8