view · edit · print · history

The NSLU2 formats disks with the ext3 filesystem. This is the native filesystem for many variants of Linux intended for desktop use, including Ubuntu and many others. Thus, you can plug a USB disk formatted by an NSLU2 into a Linux machine. Linux will recognise and mount the disk with no problems. On one Ubuntu distribution, the data partition was mounted as /media/usbdisk, and the conf partition as /media/usbdisk-1. (These partitions are described below.)

On Linux, many of the wide range of disk management tools will work effectively on your NSLU2 disk. However, you should be cautious, because you could inadvertently change something that doesn't matter to the desktop Linux system, but is vital to the NSLU2.

Be sure to use a command like "eject" in a graphical file browser, or the "umount" command from the command line, before unplugging the disk. This flushes all changes to the disk, so they aren't lost.

The NSLU2 disk has three partitions:

  1. The first partition ("data") uses most of the disk, and it is where the main data for the NSLU2 is stored.
  2. The second partition ("conf") is about 117MB in size. The NSLU2's configuration files, and extra packages installed by the Unslung firmware, go here.
  3. The third partition ("swap") is about 55MB in size. It is the swap partition for the NSLU2.

NOTE The NSLU2 will not mount ext3-formatted disks that have an inode size of 256; you must re-format the disk with an inode size of 128. To check the inode size (when mounted on another computer), run as root:

tune2fs -l /dev/sdX1 | grep Inode

To re-format:

mke2fs -v -I 128 -j /dev/sdX1

view · edit · print · history · Last edited by Hoyt.
Originally by Jim DeLaHunt.
Page last modified on December 28, 2011, at 06:28 PM