2009年4月19日

NRG 轉成 ISO (NRG2ISO)

NRG 轉成 ISO | Cd Chen's Services
如果您手上有一個 NRG 的光碟映像檔,在 Unix 平台中是無法直接使用的。有沒有什麼方法,可以把 NRG 光碟映像檔,在 Unix 系統中,如何轉成 ISO 檔呢??

今天找到「NRG to ISO/DMG (please help)」這個討論緒,有人提到可以這樣作:
# dd if=NRG.nrg of=ISO.iso bs=512 skip=600

經過實驗後,的確是有用的,與您分享~~

2009年4月9日

LiveCD/LiveUSB creator (Boot ISO from USB)

i.e. UNetbootin and liveusb-creator, also Pendrivelinux

帝國反抗君 - PowerOp:從USB隨身碟開機,進入Linux的一百種方法(誤) - 樂多日誌
從USB隨身碟開機,進入Linux的一百種方法(誤)
其實只是要做個 brain dump,紀錄一下最近發現的幾種工具啦:

UNetbootin
「UNetbootin (Universal Netboot Installer) 為一種跨平台工具軟體,可以用來建立Live USB 系統,也可以載入各種系統工具,或安裝各種Linux作業系統(Linux套件)和其他作業系統,不需使用安裝光碟(自動透過網路下載)。」(引自中文維 基百科的UNetbootin條目


這個影片示範怎麼樣用 UNetbootin 把 Puppy Linux 安裝到 USB 隨身碟。

PowerOp 實測:我拿UNetbootin在我的MS Windows XP上面,把 Slax 6.0.9 安裝到USB隨身碟,非常輕鬆,全部都在圖形介面底下操作,比我以前寫的這篇SLAX - 小而美的Linux LiveCD還要用到命令列,輕鬆太多了!

09/04/07更新:SLAX 6.0.9 的中文還是可以參照洪朝貴教授的這篇文章來達成,也就是該文所說的 0*.lzm 放到 slax/base 底下,一共有 007, 008,009, 010 四個 lzm 檔

要注意的是,很多 Linux 發行版本也都有自己的,產生 Live USB 的方法。如果妳懶得一個個去查,那麼 UNetbootin 已經支援很多種 Linux 發行版本,是一個不錯的起點(無差別安裝? :p)

==
liveusb-creator
這個Fedora Live USB creator是跨平台的圖形介面工具,主要是拿來製作 Fedora 的 Live USB ,有 Persistent Storage 的功能,可以儲存妳開機之後的變更。


PowerOp 實測:我故意去下載 CentOS 5.2 LiveCD,然後拿Fedora Live USB creator去做出 Live USB,一樣可以開機成功,只是 Persistent Storage 的功能失效,無法儲存變更。(但是這表示別的 Linux 發行版本的 .iso 應該都可以給這個工具拿來用)。目前我有一個1GB的隨身碟,裡面有快700MB是Fedora 10(F10-i686-Live.iso),另外有快300MB是 Persistent Storage (在Windows上面用檔案總管看,會看到 Z:\LiveOS\overlay-FEDORA-0A64-271C 這個檔)。我用它開機進入 Fedora 10,然後安裝一些新套件,也新增一個文字檔,再重開機之後都還在,一切都有保留下來,非常正常 :)
09/04/07更 新:Fedora LiveUSB這個 persistent overlay 功能有嚴重的bug,資料寫滿之後會有問題,強迫關機再重開機之後,會出現 Bug In initramfs /init detected. Dropping to a shell. Good Luck 的文字 。可以在開機選單按 Tab 編輯參數(一般GRUB都是按 e 來編輯,這個LiveUSB不知為何是按 Tab),在最後面加上 reset_overlay 開機,LiveUSB就可以順利開機,但是資料會清空。這什麼爛解法啊,資料都掰掰了 Orz......查了一些資料,目前 Fedora 是用 dm-snapshot 這個已經在 Linux Kernel 的方式來實做 persistent storage ,但是會出現上述嚴重問題。別的 distro 會用 UnionFS 或是 AufS之類的方式來解,不過 Jeremy Katz 說 "we're _very_ resistent to adding not-upstreamed stuff into the Fedora kernels.",所以要等官方版的 Fedora LiveUSB支援「真正能用的」persistent storage,看來有得等了。

另 外發現現在 3.5G 上網越來越簡單了,在 Fedora 10 ,我的 華為 Huawei E220 USB 網卡插上去之後,System -> Preferences -> Network Configuration,選 "Mobile Broadband" 頁面去新增一個連線,選 Automatically Connect ,然後 Apply ,就可以看到右上角的狀態列多一個圖示,連線成功!

打 開 Firefox 上網,哇,中文字型有內建耶,連輸入法也有喔,System → Preferences → Personal → Input Method 就可以啟動 SCIM 了,在右上角看到小鍵盤圖示之後就可以按 Ctrl + 空白鍵,叫出 SCIM 輸入法,然後點選那個鬼畫符手繪的圖示,切換到酷音。

「Fedora 10: 因為光碟的容量有限,Live 環境只提供智能漢語拼音和酷音 (智能注音) 輸入法。當您正式把 Fedora 安裝到硬碟上,就會有其他中文輸入法。」引自
Hong Kong Linux User Group 使用 LiveCD 安裝 Fedora 10 (Cambridge) 桌面

==
查了一下,Ubuntu Live USB creator功能類似,不過目前只能在 Linux 上面執行。openSUSE 的 Image Creator 好像也可以,請參考 openSUSE 11 Live CD 的另一個選擇 Live USB stick
Pendrivelinux
Install your favorite Linux operating system on a flash drive or USB key no larger than your thumb (Thumb Drive). Your Portable Linux operating system can then be run from any computer that can boot from a USB flash device, allowing you to bring your entire operating system, desktop, applications, files, email, personal settings, favorites, games and more with you. It’s your own personal operating system you can carry in your pocket.
At Pendrivelinux, we provide simplified portable Linux flash drive installation tutorials and USB Linux installer scripts, making is easy for anyone to install, boot and run their favorite Linux from a flash pen drive!

2009年4月4日

Enable Windows Installer Logging

AppDeploy > FAQs > How Do I Enable Windows Installer Logging?
Open the registry with Regedt32.exe and create the following path and keys:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Reg_SZ: Logging
Value: voicewarmup

Once activated, the log files (named MSIxxxx.log) that are generated may be found in your %TEMP% directory.