debian works now on my usb-stick :D my stick was totally damaged and full of dead partitions. now i cleaned up and got my debian on the stick.
but...how can i transfer the whole stuff on my extern usb-hdd?
greeeeeeetz
Printable View
debian works now on my usb-stick :D my stick was totally damaged and full of dead partitions. now i cleaned up and got my debian on the stick.
but...how can i transfer the whole stuff on my extern usb-hdd?
greeeeeeetz
Howdy congrats on getting your USB stick up and running. As far as creating resolve.conf and fstab I'm not sure what you mean by "how to create" do you mean how to open a file and write to it or do you mean how to decide what it should say? you can write the files using "vi" a simple text editor. The version that you get by default is pretty stripped down but it works okay you have to use insert and delete keys to enter text. If your up and running I would 'apt-get install vim' as that will give you more text editing usability. As far as what to put in the files; the fstab really doesn't seem to matter much as because I don't believe it ever gets read in the first place (maybe someone out there can explain that better). Your resolv.conf should have something like 'nameserver: your.DNS.ip.address'. I hope that helps a little...
Regarding putting the files onto your HD: I have one of those little 2.5" usb HD enclosures so I just plugged the drive in there and mounted it from my computer. Then I moved the files over onto the drive unmounted and put the drive back into the WL-HDD enclosure. You have everything you need on the usb key so just plug it into a computer copy the entire file tree off the usbkey to your computer's HD. Now you can just mount your harddrive (the one your going to use with your Asus device) and move the file tree over to the HD... I'm not sure that was all that clear (typing fast) I hope it was... Good luck!
Madar
thanx for help. i read ur thread after getting it work. i got it like this:
i created a debian like in the wiki
i tike etc/fstab hosts resolv.conf apt/sources.list from the "debian on 128mb..."-howto :D
[with "create etc/fstab hosts resolv.conf apt/sources.list" I meant what to put in the files. touch, vi and so on I know :cool: ]
and here I proudly present my solution to get torrent run on wl500g with extern usb:
> then I installed screen (apt-get)
> after that I installed bittornado (apt-get)
> and finally midnight commander (apt-get)
> to make things easier I created debian.sh like that:
killall stupid-ftpd
killall waveservermain
rmmod audio
rmmod soundcore
killall p910nd
killall lpd
killall infosvr
rmmod printer
rmmod parport
rmmod parport_splink
chroot /opt/distributions/debian/debian-distro/ /bin/bash
where /opt/.... is my mounted usb-hdd
-----------------------------------------------
I canīt complain about speed. Everything runs normal.
But...i am still looking forward to free more memory :D . Any ideas. Here is my "top":
PID USER STATUS RSS PPID %CPU %MEM COMMAND
181 admin R 3816 180 61.8 27.2 btdownloadcurse
205 admin R 412 202 8.1 2.9 top
182 admin S 3816 181 0.0 27.2 btdownloadcurse
202 admin S 404 41 0.0 2.8 sh
179 admin S 280 1 0.0 2.0 screen
101 admin S 232 1 0.0 1.6 nmbd
138 admin S 228 1 0.0 1.6 upnp
46 admin S 220 1 0.0 1.5 httpd
91 admin S 208 1 0.0 1.4 watchdog
88 admin S 208 1 0.0 1.4 pppd
113 admin S 140 1 0.0 1.0 dropbear
1 admin S 136 0 0.0 0.9 init
54 nobody S 104 1 0.0 0.7 dnsmasq
53 admin S 104 1 0.0 0.7 syslogd
41 admin S 104 1 0.0 0.7 telnetd
79 admin S 92 1 0.0 0.6 rcamdmain
52 admin S 88 1 0.0 0.6 klogd
92 admin S 88 91 0.0 0.6 ntp
99 admin S 28 1 0.0 0.2 smbd
180 admin S 8 179 0.0 0.0 sh
so far so good :cool:
I have installed Debian on my WL-HDD. Now I have an Virtual Server on my WL-HDD, because it won't boot with the hdd. Apt, a few additional installed services are working quite fine. But the damned thing will not boot from hd.
But it still boots from the flash.
I tried to force to boot from hda, I set boot-dev to /dev/ide/.... ., but this wont work (I don't get even a ping).
As far as I understand Olegs comment, his firmware (I'll use the latest named wl-hdd) tries to boot the kernel from flash anywhere, and then tries to boot from hd (unfortunately there is only an howto for the WL500 on his site).
Do I need to install an bootloader? Or do I need an working kernel-image on the hd?
Or is there an simple nvram Variable which I simply overlooked?
OK, I just look around a bit...
In /linuxrc (the first bootscript) is asking for the boot-device. So I need to set the boot_dev variable in the NVRAM.
Since the network isn't set in /linuxrc, it should be set in the debian-installation.
I think all I need is an working /etc/networking/interfaces in the debian distro (this is the config-place for debians network...) or an way to test the debian network-script.
PS. Getting debian on the WL-HDD is really ugly. Now I need to disconnect
the harddrive, unset the boot_dev variable, reboot, connect the harddrive again...
Is there an other option to unset the boot_dev variable?