2009年5月1日 星期五

擴充wubi 的磁碟空間

http://lubi.sourceforge.net/lvpm.html

http://mypaper.pchome.com.tw/news/coldswallo/3/1311135584/20081112235556/


參考資料:
http://linuxtoy
.org/archives/change-partition-size-with-lpvm.html
用 LPVM 來修改用 Wubi 安裝 Ubuntu 時分配的硬盤大小

http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=11336&forum=7&post_id=57553
建議把wubi的容量調大一點 [論壇 - Ubuntu 與工具程式] - Ubuntu 正體中文站:


http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=50014#forumpost50014
在windows內直接安裝ubuntu 後來發現ubuntu空間不夠怎辦 [論壇 - 新手村] - Ubuntu 正體中文站:


http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=11928&forum=1&post_id=61097#forumpost61097
擴充wubi的磁碟空間? [論壇 - Ubuntu安裝問題] - Ubuntu 正體中文站:

https://wiki.ubuntu.com/WubiGuide#How%20do%20I%20resize%20the%20virtual%20disks?
WubiGuide - Ubuntu Wiki:







How do I resize the virtual disks?

You can use LVPM, at http://lubi.sourceforge.net/lvpm.html

As an alternative, you can use the following script to move /home or /usr to a dedicated virtual disk.

Download wubi-add-virtual-disk, open a terminal and run:

sudo sh wubi-add-virtual-disk /home 15000

Where the first argument is the directory to move to a new dedicated disk, and the second argument is the size in MB.

The 2 directories you are most likely to migrate are /home (if you have a lot of user data) and /usr (if you installed a lot of software).

You should now reboot. If you are happy with the result, you can now remove /home.backup. To undo the changes remove /home, copy rename /home.backup to /home and remove the /home line in /etc/fstab.


https://wiki.ubuntu.com/WubiGuide#How%20do%20I%20resize%20the%20virtual%20disks?
以上是較簡單的方法

之前有另一篇直接改映像檔大小的:
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=50014#forumpost50014

用ubuntu光碟開

以下假設ubuntu安裝在/media/sda2

打開終端機

cd /media/sda2/ubuntu/disks

sudo dd if=/dev/zero of=root2.disk bs=1MB count=1 seek=80000

sudo mkfs.ext3 -F root2.disk

sudo mkdir tmproot
sudo mkdir tmproot2
sudo mount -o loop root.disk tmproot
sudo mount -o loop root2.disk tmproot2
sudo cp -afuvx tmproot/* tmproot2/
sudo umount tmproot
sudo umount tmproot2
sudo rm -rf tmproot
sudo rm -rf tmproot2
sudo mv root.disk root.disk.bak
sudo mv root2.disk root.disk

重開機試試看ubuntu正常否

如果ok,就移除舊的
sudo rm /host/ubuntu/disks/root.disk.bak

如果不ok,就換回舊的
用光碟重開機
cd /media/sda2/ubuntu/disks
sudo rm root.disk
sudo mv root.disk.bak root.disk
舊的就恢復了
咱們再進入遊戲2
---應該不會有問題,先試試吧

http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?viewmode=flat&type=&topic_id=11336&forum=7

2009年4月30日 星期四

Ubuntu Live CD/Live Disk





http://allenown.blogspot.com/2008/10/portable-ubuntu-for-windows.html




Ubuntu 8.10安裝後調整


Windows Xp + Ubuntu 8.10(64bit)  (wubi)
http://liaozi.twbbs.org/2009/02/ubuntu-810-64.html



[心得]Ubuntu 8.10相關調整...

Ubuntu 8.10出了...不過相關的小問題不少...
我自己對系統做了些調整...現在把他整理一下...

1.升級後無法進入X...
進入終端機後...
sudo Xorg -configure

會生成一個xorg.conf.new在你的家目錄裡...
自己去覆蓋掉原本的xorg.conf...
你可以測試這個xorg.conf.new是否有效...
Xorg -config ~/xorg.conf.new

會出現中間是X的滑鼠指標...這樣就是成功了...
可以按Ctrl+Alt+Backspace跳出...

接著把他覆蓋到/etc/X11/xorg.conf...
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf


2.synaptics觸控板driver相關...
目前不能寫在xorg裡了...
sudo gedit /etc/hal/fdi/policy/11-synaptics-options.fdi

貼上下列內容...
              On     3     2     1     1     


3.讓usb滑鼠插入後自動關閉觸控板...
(需要synaptics driver...)
sudo gedit /etc/udev/rules.d/01-touchpad.rules

ACTION=="add", SUBSYSTEM=="input", ID_CLASS="mouse", RUN+="/usr/bin/synclient TouchpadOff=1" ACTION=="remove", SUBSYSTEM=="input", ID_CLASS="mouse", RUN+="/usr/bin/synclient TouchpadOff=0"


4.niconico上字幕是方塊...看不到中文...
sudo rm /etc/fonts/conf.d/49-sansserif.conf


5.audacious不能播放cue的音樂...
偏好設定->音訊->自動偵測檔案格式:"視情形才偵測檔案格式而不立即偵測"...
這項不要鉤選...

6.wine foobar會破音...
把wine調到EsounD輸出...
另外的作法是調到OSS...用padsp wine來跑...
不過我個人沒試過...請自行參照下面網址...
http://forum.winehq.org/viewtopic.php?t=1457&start=5

7.gcin選字問題...
這是gcin 1.4.0的bug...更新到1.4.2以上就好了...
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=59769#forumpost59769
這裡有新版的1.4.3 pre8...

8.Openoffice 3.0...
用Synaptic把這個源加入套件庫裡...
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main

重新載入...
更新...

9.SMPlayer 0.6.4 & Mplayer SVN...
SMPlayer 0.6.4修正了在compiz下影像出不來的問題...並且改進了自動檢查字幕編碼的能力...
但是需要SVN的Mplayer才能發揮完全的功力...
加入下面的源到套件庫裏面...
deb http://ppa.launchpad.net/rvm/ubuntu intrepid main

之後安裝SMPlayer...

10.sudo後按tab鍵不會自動完成指令...
很奇怪的是...全新安裝的8.10不會在使用者的家目錄裡建立.bashrc...
幸好root裡有...
cp /root/.bashrc ~/.bashrc

找到下面的文字...然後把注解(#)去掉...
#if [ -f /etc/bash_completion ]; then #    . /etc/bash_completion #fi 


或是自己建立一個.bashrc在家目錄下...
gedit ~/.bashrc

貼上上面那三行並且去掉注解...
或是貼上下面的...
complete -cf sudo

---
感覺這次的8.10不是很熱...
不過除了些小bug以外...8.10在我的筆電上跑的比8.04順很多...
尤其是X3100顯示晶片的效能的確有改進...
以前在compiz下跑xv是會想摔電腦的...
---
版權沒有...翻印不究...
歡迎到處轉載...也不用註明作者...
反正只是我自己的筆記而已...
---
有問題要問的也可以順便在這裡提出...
有辦法解決我會順便加上去...
也請其他有能力解決問題的大哥們出點力...

硬體方面的話...那些參數我沒辦法實際測試...
所以像是音效卡發不出聲啦、耳機和喇叭會同時發聲啦、webcam不能用啦...
這些不要來這篇問...
(這篇主要是要整理一般軟體上比較會遇到的問題...)

Ident: 4e98bacf4b751d14f8df | 2008/11/4 10:18
加入wiki囉:

http://wiki.ubuntu-tw.org/index.php?title=Ubuntu_8.10%E7%9B%B8%E9%97%9C%E8%AA%BF%E6%95%B4






smplayer的repo應該是
deb http://ppa.launchpad.net/rvm/ubuntu intrepid main

wiki 也更新了 SMPlayer 的源...

還有再加一個 APTonCD 會 crash 的方法


== 解決 APTonCD 會 crash 的方法 ==

deb 檔下載、安裝: http://launchpadlibrarian.net/18476205/aptoncd_0.1.98-0ubuntu4_all.deb

來源: http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1070949.html

2009年4月29日 星期三

Ubuntu 9.04 Netbook Remix Install Guide

http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=14589&forum=1







延伸閱讀 
在 GNU/Linux 下直接從開機光碟中取出它的開機 Image 檔

Ubuntu下的 MD5 工具

資料來源:


沒有找到圖形化的工具....

$ md5sum test.gz #輸出一個檔案的md5值
6de2e84d1ce84ff6e7d5b6b0c6b3c3ec  test.gz


$ 
md5sum test.gz test2.gz #輸出多個檔案的md5值
6de2e84d1ce84ff6e7d5b6b0c6b3c3ec  test.gz
3961324833897c971d4c97c32bbdecd0  test2.gz

$ 
md5sum test.gz test2.gz > file.md5 #將結果輸出至檔案
(None)

$ 
md5sum -c file.md5 #檢查檔案內列示的所有md5與檔案名稱是否錯誤
test.gz: 沒問題
test2.gz: 沒問題

很簡單吧 XD

 

這裡有一個指令搞,可以用來計算md5值。把它存成文字檔案,

名字改成喜歡的,放到 ~/.gnome2/nautilus-scripts 就可以了。

 

這篇文章是一篇定時發表的文章,實際上寫於 09/02/01 19:50。



https://help.ubuntu.com/community/HowToMD5SUM

BloggerAds