最近因為 Microsoft 的 WGA 程式造成人心惶惶,有許多人嘗試想要轉換到 Linux 環境上,Ubuntu 當然是首選的套件囉!但是最近這一個版本 (5.10) 有許多人像我一樣裝了很多次都沒能裝得起來,出現的錯誤訊息通常都是停在這裡:

The debootstrap program exited with an error (return value 1). Check /target/var/log/bootstrap.log for details. …

剛剛從 Google 找到了這一篇:

http://www.ubuntuforums.org/showpost.php?p=446620&postcount=10

try enabling dma on your dvd drive (you can do it from the expert install.. when it gets to cdrom parameters type in -d1 or, get to the console (alt-f3?) during the beginning of the regular setup and type sudo hdparm -d1 /dev/hdb (or whatever /dev your dvd drive is.)

據說好像是安裝時若不是使用 Philips/BenQ 的光碟機就會發生這樣的情況,解法是在安裝時強行打開光碟機的 DMA 支援,我測了一下,的確可以解決,但我並不是按 Alt-F3 回到命令模式,而是在安裝選單出現後按下 Alt-F2 (會出現 Enter 鍵提示) 再按下 Enter 回到命令模式,然後輸入:

hdparm -d1 /dev/cdroms/cdrom0

(因為我的 CDROM 是掛在 /dev/cdroms/cdrom0 而不是 /dev/hdbX,而且不用 sudo 喔!下這行指令來 Enable DMA 還能讓你安裝時從光碟讀取資料的速度快一點)

千金難買早 Google,搞了半天居然是這樣的怪 Bug,不過我倒是覺得像 LITEON 這麼好的光碟機品牌為甚麼不在支援之列呢?… (哈哈)

最後修改日期: 2006-03-31

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。