#131 2009-12-18 00:06:55
#132 2010-02-25 23:27:05
Re: [Oleg/LLY] WL-500g 系列改機基本步驟
看暸這篇文檔,讓人相見恨晚啊.wl500g竟可以這么用!
不過行動卻踫到不少挫折,不知版主能否幫手看看?
[admin@R_Ray root]$ fdisk -l
Disk /dev/scsi/host1/bus0/target0/lun0/disc: 2041 MB, 2041577472 bytes
255 heads, 63 sectors/track, 248 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id
System
/dev/scsi/host1/bus0/target0/lun0/part1 1 210 1686793+
83 Linux
/dev/scsi/host1/bus0/target0/lun0/part2 211 248 305235
82 Linux swap
[admin@R_Ray root]$ mkswap /dev/scsi/host1/bus0/target0/lun0/part2
mkswap: /dev/scsi/host1/bus0/target0/lun0/part2: No such file or directory
[admin@R_Ray root]$ swapon /dev/scsi/host1/bus0/target0/lun0/part2
swapon: Can't stat '/dev/scsi/host1/bus0/target0/lun0/part2': No such file or di
rectory
離線
#133 2010-02-25 23:32:51
#134 2010-02-26 00:03:47
#135 2010-02-26 08:45:34
#136 2010-02-26 20:40:10
Re: [Oleg/LLY] WL-500g 系列改機基本步驟
謝謝了,兄弟!果然如此,Reboot后解決問題,不過裝ipkg 套件有些can't link 的信息,不知是否正常?
[admin@R_Ray root]$ mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1
mke2fs 1.38 (30-Jun-2005)
mke2fs: /dev/scsi/host0/bus0/target0/lun0/part1 is mounted !
mke2fs: it's not safe to run badblocks!
[admin@R_Ray root]$ mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt
[admin@R_Ray root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3008 3008 0 100% /
/dev/discs/disc0/part1 1989792 4 1989788 0% /tmp/mnt/disc0_1
/dev/scsi/host0/bus0/target0/lun0/part1 1989792 4 1989788 0% /opt
[admin@R_Ray root]$ free
total used free shared buffers
Mem: 13964 12244 1720 0 1512
Swap: 305224 0 305224
Total: 319188 12244 306944
[admin@R_Ray root]$ mkdir -p /opt/tmp/ipkg
[admin@R_Ray root]$ ipkg.sh update
Downloading http://wl500g.dyndns.org/ipkg/Packages ...
Connecting to wl500g.dyndns.org[158.250.11.254]:80
Packages 100% |*****************************| 754 00:00 ETA
Done.
Updated list of available packages in /opt/lib/ipkg/lists/wl500g
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages
...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
Packages 100% |*****************************| 478 KB 00:00 ETA
Done.
Updated list of available packages in /opt/lib/ipkg/lists/optware
[admin@R_Ray root]$ ipkg.sh install ipkg-opt
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-o
pt_0.9.28-13_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
uclibc-opt_0.9.28-13 100% |*****************************| 832 KB 00:00 ETA
Done.
Unpacking uclibc-opt...Done.
Configuring uclibc-opt...Updating /opt/etc/ld.so.cache
/opt/sbin/ldconfig: can't link /opt/lib/libutil.so.0 to libutil-0.9.28.so: Opera
tion not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libc.so.0 to libuClibc-0.9.28.so: Operat
ion not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libthread_db.so.1 to libthread_db-0.9.28
.so: Operation not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libstdc++.so.6 to libstdc++.so.6.0.8: Op
eration not permitted
/opt/sbin/ldconfig: can't link /opt/lib/librt.so.0 to librt-0.9.28.so: Operation
not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libresolv.so.0 to libresolv-0.9.28.so: O
peration not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libpthread.so.0 to libpthread-0.9.28.so:
Operation not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libnsl.so.0 to libnsl-0.9.28.so: Operati
on not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libmudflapth.so.0 to libmudflapth.so.0.0
.0: Operation not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libmudflap.so.0 to libmudflap.so.0.0.0:
Operation not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libm.so.0 to libm-0.9.28.so: Operation n
ot permitted
/opt/sbin/ldconfig: can't link /opt/lib/libintl.so.0 to libintl-0.9.28.so: Opera
tion not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libdl.so.0 to libdl-0.9.28.so: Operation
not permitted
/opt/sbin/ldconfig: can't link /opt/lib/libcrypt.so.0 to libcrypt-0.9.28.so: Ope
ration not permitted
/opt/sbin/ldconfig: can't link /opt/lib/ld-uClibc.so.0 to ld-uClibc-0.9.28.so: O
peration not permitted
Done.
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt
_0.99.163-10_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
ipkg-opt_0.99.163-10 100% |*****************************| 75803 00:00 ETA
離線
#137 2010-04-09 04:27:00
Re: [Oleg/LLY] WL-500g 系列改機基本步驟
今天將一顆WD 2.5" IDE 80g硬碟裝到我的WL-HDD上面
將預設的USB應用全部都設定關閉了
將硬碟依照版大的說明分割成兩個(ext3,swap)以後
存檔重新開機...
執行fdisk -l 檢視 有正常出現規畫好的分區磁碟
=================================
[admin@wlhdd_lan /]$ fdisk -l
Disk /dev/ide/host0/bus0/target0/lun0/disc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 1 9664 77626048+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/part2 9665 9729 522112+ 82 Linux swap
=======================================
但是執行df以後
發現part1(ext3)磁區已經被程式自動掛載到/tmp/mnt/disc0_1目錄底下
===================================
[admin@wlhdd_lan /]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3008 3008 0 100% /
/dev/discs/disc0/part1 76406528 131248 72393980 0% /tmp/mnt/disc0_1
[admin@wlhdd_lan /]$
=======================================
0.0
將他卸載以後再重新開機...還是會在一開機時又直接掛載 = ="
請問大大要如何取消這個一開機就直接掛載part1磁區的動作呢?
感謝~!!
最後修改: deepcolor (2010-04-09 04:31:35)
初來新手..還請多多指教~!!
離線
#138 2010-04-09 08:52:11
#139 2010-09-20 12:44:39
#140 2010-09-20 14:10:50
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
N16 刷 OLEG 1.9.2.7-rtn-4149 求助 作者 sb5101e
|
1 | 10391 | 2012-05-02 18:53:41 作者 sb5101e |
置頂 |
24 | 125690 | 2012-02-25 14:39:57 作者 wen1977 |
那位大侠帮忙把 Vuze 移植到 Oleg ? 作者 zhao.am
|
0 | 7453 | 2011-10-14 13:50:03 作者 zhao.am |
請問有人用 Oleg 灌osCommerce 2.2 ms2 作者 winsom
|
1 | 11175 | 2011-06-08 08:43:48 作者 Aven |
ASUS WL-500G DD-WRT应用很慢,SWAP不起作用 作者 dengi
|
7 | 32505 | 2010-11-04 21:41:55 作者 Aven |