PDA

Bekijk de volledige versie : WL-HDD Formatting and Partitioning



xamtur
29-09-2006, 12:35
Hi to all,
I need some information about formatting and partitioning.

I've inserted a new unformatted samsung 50Gb hd in the WL-HDD (I previously attached it to my WinXp and I removed any partition information so now my disk results unpartitioned, blank)

I firmwared my WL-HDD with Oleg's 1.9.2.7-7e, just changing the IP and restarting.

Now my question: I'm trying to Create a swap file for additional applications with these commands sent from telnet in XP:


dd if=/dev/zero of=/tmp/harddisk/opt.ext3 bs=1048576 count=64
mke2fs -j /tmp/harddisk/opt.ext3 (note: answer "yes" when asked)
mount -text3 -oloop,noatime /tmp/harddisk/opt.ext3 /opt

..but at the firt command (dd if...) my WL-HDD freezes and disappears from the ASUS Device Discovery application.So I've to swicth off and on to restart.

Probably I need to first format my hd but I'm a unix novice and I don't know how to operate.
Please consider that I've to use WL-HDD as http server and I've to put on it multimedia files like mp3, avi, etc created in windows xp.

The source for my idea is from this blog (maybe the author made some
mistakes..)
http://www.furrygoat.com/2006/01/how_to_20gb_external_storage_f.html

Regards,
Xamtur

bubieyehyeh
30-09-2006, 16:11
Hi to all,
Now my question: I'm trying to Create a swap file for additional applications with these commands sent from telnet in XP:


I'd just make a swap partition using using fdisk, and mkswap, examples here:
http://www.sprayfly.com/wiki/Filesystem

then add swapon to config file to enable swap on boot-up.

I found I had to enable swap manually before I could format the data partition to ext3, since it would run out of memory otherwise.