![]() |
Note: Please make sure you also check out KnownProblems. If you are here because you cannot get your drive or flash device to format in the first place, first check KnownProblems and also consider trying the workaround documented in the FailedFormatFix wiki page. Can't access your NSLU2 anymore? Hard drive not detected in the web interface? Then this is the place to be. Step-by-step procedure1. Shut NSLU2 down. 2. Switch USB-HDD off or disconnect it. 3. Turn NSLU2 on. 4. Enable Telnet (e.g. via http://192.168.1.77/Management/telnet.cgi) 5. Telnet into NSLU2 with root/uNSLUng login/password. 6. Reconnect your USB-HDD, and switch it on. Note: you are now "hot plugging" your disk, which works for many NSLU2's and hard disks, but not all. 7. Type 'sh' (not necessary, just more comfortable) 8. Type 'mount -t ext3 /dev/sda1 /mnt/tmpmnt'.
9. Type 'ls /mnt/tmpmnt'. So now you (hopefully) see your data. 10. Type 'df' is there sda1?
Hot plugging failsIf your disk doesn't mount at all, check the =Individual stories= below for hints about what has worked for other people.
If your disk mounts when it's powered on while the NSLU2 is still booting, but doesn't mount when "hot-plugged" after the NSLU2 is fully started, here are some ideas:
Individual storiesFirst things first: If you have a Freecom drive it will not work reliably. See here and here. I tried one Sept 2007 and this is still the case. Maybe things will change with R75. I solved the problem after reading the other posts and following the "3-step solution". I hope the following guide is a helpful summary of many of the posts and should solve the problem for anyone willing to wipe the drive they are unslinging to: (NOTE: You will need to backup and wipe/format the drive you are unslinging to) 1. Plug the USB-Drive to Windows and quickformat it using the NTFS file system (Control Panel/Administrative Tools/Disk Management). 2. Turn on NSLU2 and follow the initial unling directions, i.e.:enable telnet; log on using hyper terminal; 3. Plug in USB-HDD to the NSLU2 again - the NTFS drive should now be hot-pluggable 4. Do a HDD format on the disk using the webinterface (http://192.168.1.77/Management/disk_fs.htm) - the drive should now be readable as EXT3. 5. Complete the unslinging process 6. The latest version of Unslung will prompt you to change the password so that in the future you will be able to telnet in without unplugging all the drives at startup. Please note that if you later upload an old configuration file you will no longer be able to telnet in anymore as the password will have changed again. The obvious solution to this is to manually configure your device after you have unslung and then presumably you will be able to save and use a new configuration file. Alternatively you could upload the old configuration file and see below for manual ways of changing the password: ChangePasswordsFromTheCommandLine. 7. Restart your slug and it should boot unslung with telnet access possible using your new password! I would agree with the post further down the page - I couldn't get my slug to detect the HD after telneting in. I tried formatting it to FAT32? and NTFS to try and get it to detect, but to no avail. However, with the HD quick formatted to NTFS with a Windows machine, I plugged it in first, fired up the slug and telneted in, which i was able to do because there was no password stored on the HD due to formatting. The HD was therefore detected, I formatted to ext3 with the web interface, and was able then to unsling successfully. I know this goes against everything in the readme about not having the HD plugged in when you telnet, but it seems to have worked well. I had problems with getting my slug to recognize a disk when it was inserted after boot (to unsling to). If I booted with the disk inserted it showed up and could be formatted, but not if it was inserted after boot. After much tinkering to and fro, the problem finally went away after a re-flash of the same firmware. I'm having a similar problem as the previous author (yes having followed above advice) - I can't get the disk recognised if I hot plug it in (Lacie BD). Is there a list anywhere of disk that are compatible with unslinging? This is very frustrating being able to telnet in and _almost_ be able to unsling but then not being able to see the HD. Any ideas anyone? Same problem here with my Freecom USB 2.0 drive. Been tinkering with this for many days now, but still same problem. For me the solution is simple, skip using the NSLU all together since i have 1 NSLU and 18 Freecom Disks. This is a original firmware problem and Linksys offers no solution whatsoever. I managed however to find out from Linksys that the problem was with External drives having power save functions enabled as default. Well my NSLU companion was not a companion to keep, gonna go for another solution as this takes to much time compared to what i hoped to get from it. Same problem as post 2 with a brandless USB 2.0 drive I picked up in Malaysia. Upon removing the PCB from the external drive, I found MYSON CENTURY
CS8818G-107
0524B053T1
printed on the controller chip. A database could be created* so users hoping to use an external housing with their NSLU could look up the controller chip and stay away from the potentially problematic models or conversely, models that work. Until the kinks have been smoothened out over at Linksys with currently un-hot-pluggable chips, I hope someone would upload a Norton Ghost(or similar disk imaging software) image of a freshly unslung disk as a stop-gap measure for those of us who're stuck. Thanks. Also, I note that this problem posted in the last 3 posts seem to get the expected result when following the steps in the original post. Just that the drive doesn't appear in the web interface and /sbin/unsling disk1/2 gives the following: "Error: /share/hdd/data is not a mounted disk" or "Error: /share/flash/data is not a mounted disk" Update Just got a break by intentionally pre-formatting the harddisk with NTFS, plug into NSLU before booting, telnetting in and then only after that formatting the disk in the web interface and then running unsling after that. My Harddisk wasn't detected also. Here is a 3-step solution: Had the same problems as above, using a Maxstore OneTouch. It would get detected by the slug if it was connected at power up. It would not when I was telneting in to unsling the firmware. I could mount it using the instructions above, it just wasn't being automatically mounted By having the drive turned off and then turning the drive on I got it to work fine. The other times the drive had been on and I was just plugging the USB cable into the unit. * There is an usb enclosure compatibility database here: http://groups.yahoo.com/group/nslu2-general/database. You have to be a member of the nslu2-general group, though. Big problems with Gericom Multifunction Storage (contains a SAMSUNG HA250JC HD and CF/MD/SD/SM/MS/MMC card reader along with a double USB 2.0 hub): no matter if I formatted the HD with ext3, FAT or NTFS, I could not get my Slug flashed with Unslug 5.5 beta to recognize it. Had to revert to Linksys V2.3R63 firmware, since V2.3R29 wouldn't do it either. I wonder if OpenSlug would be a better choice for this beast.. Had the same problems as described in the first entry. The way I was able to unsling: <Just to add a vote of confidence in this solution. I had the same pathology with a Lacie 300GB disk and had tried a series of reflashes and reset of sysconfig all to no avail. The recipie above proved the cure.> I had exactly the same problem as above, and the solution offered also worked for me, with a usb drive attached to disk 1 port. Thanks, whoever it was. The problem could be something to do with the fact that recent NSLU2s? seem to have the more flexible port (usb flash drives and usb disks) designated as disk 2 and the usb drive only port as disk 1. This is the opposite way round to the configuration stated in the Unslung-6.8-beta-README.txt. I had a problem with a external box of LaCie (exact model is LaCie d2 Hard Drive Extreme 300Gb). The disk was previously formated by the NSLU, and for the unslinging procedure I was not able to see it. Neither the technique of "mounting" it, nor the change of port solved the problem. I solved my problem by attaching it to my Mac, format it to whatever (in my case HFS), then attach it to the slug before booting, format it via the web interface (only worked on port USB nb 1), log with telnet and finally unslinging. I was encountering this same problem, but I may have discovered a simpler fix. Here's what I was seeing: I got to the step in the instructions that say to plug in the drive and wait for it to be mounted. I would do that. Almost immediately, the web interface would tell me that Disk 2 had been recognized. The "Disk" page in the web interface showed that Drive 2 was "Formatted (ext3)", as promised. But if I looked on the "Shares" page, NO shares would be listed. Within telnet, I was able to "ls /share/flash/data", and see all my files with no problems. But when I tried to run unsling, I'd get the countdown followed by the error, "/share/flash/data (disk2, /dev/sda1) is not a mounted disk". Here's what fixed the problem for me: on the "Disk" page, I clicked the button to start a Scandisk on the disk in question. When it completed, all my shares once again showed up on the "Shares" page, and unsling ran without problems! So if you have data on your drive and you don't want to use the trick mentioned in a post above (where they format the drive twice, once in NTFS and once with the NSLU2), try running a Scandisk from the web interface. After it completes, try unslinging again. Someone up above noted that they were able to see their big disk when the booted up their slug with the drive connected, then couldn't see it when they booted without, enabled telnet, and then plugged in the disk. This is the same problem that I was having. I have a WD MyBook Essential Edition 500GB (WDG1U5000). I suspect that this applies for more disks that don't have on/off switches. My symptoms: After I formatted the drive successfully, when I hot-plugged the drive, it would tell me that the drive is 6 MB and XX% full. I also couldn't view the files on the drive from the web page. It told me "page not found", or something to that effect. What worked for me: Unplug the power chord to the drive (These things have no on/off switch), boot the slug, enable telnet, telnet in, connect the USB cable, THEN plug the power chord into the drive. I still had the same 6 MB problem manifest. Then I used the mount, unmount, mount /data, mount /conf strategy listed above. When I did this, the size of the drive per the web page was correct, but I still couldn't use the web file browser utility. I WAS, however, able to unsling. Now all is well. Getting this thing to format was a PITA too... Seems that I had to format using the 6.8-beta firmware, and then run the scandisk to get it to recognize on reboot. My advice is, if you have problems, some combination of the advice listed in this wiki should work for you. Just be ready to exercise patience, and keep trying. Same problem as the last few people, the following worked for me (from the above instructions): 7)type 'mount -t ext3 /dev/sdb1 /share/hdd/data' 8)type 'mount -t ext3 /dev/sdb2 /share/hdd/conf'
view ·
edit ·
print ·
history ·
Last edited by Jim DeLaHunt.
Based on work by Gary, Phil Richman, David Wardle, mwester, f, wunderhorn1, fcarolo, zschub, Hughes, ambanmba, Enda O'Neill, tuma, Surinder Kahai, Jerome Paschoud, hschlu, CD, Tuk, Geoffrey Kirk, seekay, jrockway, James Fu, Hawkie, ew, Hans Persson, scott, Wipmac, and rwhitby. Originally by rwhitby. Page last modified on November 07, 2007, at 10:47 PM
|