NSLU2-Linux
view · edit · print · history

FAQ.RootOnAUSBFlash History

Hide minor edits - Show changes to markup

December 27, 2007, at 11:28 PM by bcrowell -- can\'t format >10 Gb sizes of flash either
Added lines 14-15:

Note: bcrowell tried formatting a 16 Gb flash drive using the Linksys web interface, and it didn't work, so apparently the size <10 Gb isn't the issue.

December 19, 2006, at 11:20 AM by Stephen Hippisley-Cox -- Added link to Ext3flash page
Added lines 20-21:

It's worth checking out http://www.nslu2-linux.org/wiki/Unslung/Ext3flash, to cut down on unnecessary writes to the flash disk, prolonging its life.

December 18, 2006, at 11:05 AM by Phil Endecott -- Clarify that this is Unslung-specific
Added lines 3-4:

This page relates to Unslung. Other systems (OpenSlug, Debian) dont have the complexity described here.

December 17, 2006, at 09:25 PM by mwester -- Further clarifications
Changed lines 35-37 from:

Linksys treats 10GB or larger as disks (ext3) and less than 10GB as flash (VFAT). They only allow flash on disk2. The Unslung firmware treats 1GB or larger as disk (ext3), and less than 1GB as flash (VFAT), unless the flash is on disk1, in which case it is treated as a very small ext3 disk.

256MB is the minimum for Unslung 5.5, and 512MB is the minimum for Unslung 6.8. This minimum is due to the way that the Linksys software partitions devices. Whether or not you need larger depends on how many packages you are going to load.

to:

Linksys treats 10GB or larger as disks (ext3) and assumes that devices less than 10GB are flash (VFAT). In addition, Linksys only allows flash on disk2. For Unslung 5.5, the Unslung firmware treats 1GB or larger as disk (ext3), and less than 1GB as flash (VFAT), unless the flash is on disk1, in which case it is treated as a very small ext3 disk. For Unslung 6.8-beta, there is no distinction made - all devices are treated as disks, regardless of size or port.

For the flash disk, 256MB is the minimum for Unslung 5.5, and 512MB is the minimum for Unslung 6.8-beta. This minimum is due to the way that the Linksys software partitions devices. In the case of Unslung 6.8-beta, the standard Linksys formatting procedure will allocate 128MB of space for swap, 128MB of space for the "conf" partition, and the remainder is available for the root filesystem and your data. Whether or not you need larger depends on how many packages you are going to load.

December 17, 2006, at 09:18 PM by mwester -- Clarification on size of flash device
Changed lines 10-11 from:

It has to be formatted later using the Unslung firmware. Follow all the Unslung steps as documented and at this step format the USB flash memory key using the web interface. Versions prior to 6.8-beta may require that the formatting be done in the Disk 1 port. As of 6.8-beta, the disk can be plugged into either port and can be succesfully formatted.

to:

The fundamental problem is not really with USB ports, it is that the native Linksys firmware will not permit any device smaller than 10 Gigabytes in size to be formatted. Therefore, the flash device has to be formatted later using the Unslung firmware. Follow all the Unslung steps as documented and at this step format the USB flash memory key using the web interface. Versions prior to 6.8-beta may require that the formatting be done in the Disk 1 port. As of 6.8-beta, the disk can be plugged into either port and can be succesfully formatted.

Changed line 20 from:

1) The USB flash memory key must be 256MB or bigger.

to:

1) The USB flash memory key must be 256MB (or bigger) for Unslung 5.5, and 512MB (or bigger) for Unslung 6.8.

Changed line 37 from:

256MB is the minimum (due to the way that the Linksys software partitions it). Whether or not you need larger depends on how many packages you are going to load.

to:

256MB is the minimum for Unslung 5.5, and 512MB is the minimum for Unslung 6.8. This minimum is due to the way that the Linksys software partitions devices. Whether or not you need larger depends on how many packages you are going to load.

October 09, 2006, at 05:56 AM by Anonymous -- updated to correct some mismatches between this faq and the current (6.8-beta) version
Changed lines 10-11 from:

It has to be formatted later using the Unslung firmware. Follow all the Unslung steps as documented and at this step format the USB flash memory key. It should be plugged into the "Disk 1" port and will now be succesfully formatted:

to:

It has to be formatted later using the Unslung firmware. Follow all the Unslung steps as documented and at this step format the USB flash memory key using the web interface. Versions prior to 6.8-beta may require that the formatting be done in the Disk 1 port. As of 6.8-beta, the disk can be plugged into either port and can be succesfully formatted.

Changed lines 16-17 from:

The web interface is a bit vague about whether it has performed a successful format, so give it a minute or so, switch to the Home page and then return to the "Administration-->Disk" page to refresh it. It should now show "Disk 1 Status as "Formatted" and "Disk 2 Status as "Not Installed".

to:

The web interface is a bit vague about whether it has performed a successful format, so give it a minute or so, switch to the Home page and then return to the "Administration-->Disk" page to refresh it. It should now show "Formatted" for the disk you just finished formatting, and "Not Installed" for the other one. If the first format results in a FAT/Win32 file system being displayed for the drive in the Web UI, power down, power back up, and do the format again, after which it should show ext3 file system (assuming your flash drive is either 1GB or larger, OR is on Drive 1, or both -- see below).

Changed lines 31-32 from:

3) This FAQ refers to 3.x Unslung software

to:

3) This FAQ originally referred to 3.x Unslung software... some of the above has been updated to refer to 6.8-beta software.

January 30, 2006, at 02:09 PM by dustinemptyspace --
Changed lines 20-21 from:

1) The USB flash memory key must be 256MB or bigger. (DustInEmptySpace?: I had problems also with the 256Mb and I should prepare the flash manually: http://www.nslu2-linux.org/wiki/Unslung/BuildingUnslungAlphaVersion)

to:

1) The USB flash memory key must be 256MB or bigger. (dustinemptyspace wrote: I had problems also with the 256Mb and I had to prepare the flash manually: http://www.nslu2-linux.org/wiki/HowTo/UseAMemoryStickAsMainDrive)

January 30, 2006, at 02:06 PM by dustinemptyspace --
Changed lines 20-21 from:

1) The USB flash memory key must be 256MB or bigger.

to:

1) The USB flash memory key must be 256MB or bigger. (DustInEmptySpace?: I had problems also with the 256Mb and I should prepare the flash manually: http://www.nslu2-linux.org/wiki/Unslung/BuildingUnslungAlphaVersion)

August 22, 2005, at 03:49 PM by tman --
Added lines 11-36:
"4) Identify which drive you wish you "unsling", and plug it in. Wait a minute or two while the disk is mounted.
If the disk has not been previously formatted on the NSLU2, then now is the time to do that. Make sure that the drive is recognized in the web interface."

The web interface is a bit vague about whether it has performed a successful format, so give it a minute or so, switch to the Home page and then return to the "Administration-->Disk" page to refresh it. It should now show "Disk 1 Status as "Formatted" and "Disk 2 Status as "Not Installed".

Notes:

1) The USB flash memory key must be 256MB or bigger.

2) Once you are up and running the ports are mapped to these two directories:

Disk 1 ---> /share/hdd/.. (your USB flash memory key)
Disk 2/Flash ---> /share/flash/.. (nothing attached)

This is confusing as you are now using a USB flash memory key for the hard disk -> ie /share/hdd/.. but /share/flash/.. is unused.

3) This FAQ refers to 3.x Unslung software

4) Background info credited to Rod Whitby:

Linksys treats 10GB or larger as disks (ext3) and less than 10GB as flash (VFAT). They only allow flash on disk2. The Unslung firmware treats 1GB or larger as disk (ext3), and less than 1GB as flash (VFAT), unless the flash is on disk1, in which case it is treated as a very small ext3 disk.

256MB is the minimum (due to the way that the Linksys software partitions it). Whether or not you need larger depends on how many packages you are going to load.

August 22, 2005, at 03:48 PM by tman --
Added lines 1-10:

How can I use the slug with just a USB flash memory key - I don't want to attach a hard disk

The slug has two USB ports marked as:

Disk 1
Disk 2/Flash

The Linksys documentation specifically says: do not plug a USB flash memory key into the "Disk 1" port. You are instructed by Linksys to plug it into the "Disk 2/Flash" port. The Unslung doco however indicates you should format the hard disk (your USB flash memory key) before you do the firmware upgrade and validate its functionality. You plug the USB flash memory key into the "Disk 1" port as recommended and find you can't format it with the Linksys firmware. Now what?

It has to be formatted later using the Unslung firmware. Follow all the Unslung steps as documented and at this step format the USB flash memory key. It should be plugged into the "Disk 1" port and will now be succesfully formatted:

view · edit · print · history · Last edited by bcrowell.
Based on work by Stephen Hippisley-Cox, Phil Endecott, mwester, Anonymous, dustinemptyspace, and tman.
Originally by tman.
Page last modified on December 27, 2007, at 11:28 PM