Eee PC 1000安裝Ubuntu Eee 8.04.1小記

Ubuntu Eee是特別為Asus Eee PC調整過核心和細項設定的Ubuntu版本,這兩天才發布的8.04.1版不僅修正了上個版本的bug,更是支援全系列的Eee PC,同時介面也改用Ubuntu團隊為Netbook(輕省筆電)特製的Netbook Remix,畫面質感遠勝於原廠的Asus Xandros作業系統。

Ubuntu eee桌布+開機畫面
↑ Ubuntu Eee預設桌布及開機畫面

為了保留Asus原廠的作業系統(因為它對硬體的支援度最佳),所以在一剛開始,我就打算把Ubuntu Eee裝在剛買來的8g SD卡中,一方面既可以嚐鮮,另一方面又可以免除萬一出現什麼適應不良的問題,又得拿出還原光碟重灌的費勁事兒。

步驟一:下載iso檔

Ubuntu Eee的官網上提供iso檔的torrent下載,可以使用任何一種bittorrent軟體(例如Deluge、Transmission、Bitcomet、utorrent……等)進行下載,因為有很多人幫忙作種的關係,所以下載速度頗快,以8m來說,一、兩小時內(甚至不用)就可以下載完畢。

步驟二:燒錄光碟或製作可開機隨身碟

下載好的iso檔可以燒錄成光碟,然後用外接式光碟機進行安裝,或者,更環保一點,用UNetbootin將光碟內容放進usb隨身碟中,並且製作成可開機隨身碟,利用usb開機進行安裝。(我採用的是後者的安裝方式)

步驟三:安裝Ubuntu Eee

利用可開機隨身碟開機後就進入Ubuntu的Live系統中,安裝程式會自動開啟,你可以選擇繼續安裝或是先玩玩有Netbook Remix介面的Live系統。安裝過程跟一般安裝Ubuntu沒什麼兩樣,關鍵在最後一個步驟,要把grub開機管理程式指定安裝在SD卡中,我的情況是安裝在/dev/sdd,但每個人的情況不同,這裡可能會有一些差異,請小心各個磁碟機代號,要不然可能會把原本系統的開機區給覆蓋掉。系統安裝完畢,請重新開機。

以上安裝步驟雖然參照官網的說明進行,但重新開機後,我發現就算選擇SD卡開機,系統還是進不去,後來發現有兩個地方要再改一下才行:

1. 調整硬碟順序:進bios裡面將SD讀卡機的順序排在硬碟第一位。
2. 修改grub參數:第一次開機到grub選單時,按「e」進行編輯,將開機root從(hd3,0)(第四顆磁碟的第一個磁區)改成(hd0,0)(第一顆磁碟的第一個磁區)。修改完成按「b」進行開機。

這時候應該就可以順利開機進入Ubuntu系統,進入系統後,開啟終端機,下指令:

sudo gedit /boot/grub/menu.lst

開啟後,同上再次修改開機root,這次就可以保存設定值,以後開機也不需要再改開機root了。這個檔案裡也會有原來Xandros系統的開機資料,一樣要修改一下硬碟磁區,例如我改成(hd2,0),因為我把原來第一個ssd硬碟的順序跟SD卡對調,所以原來的系統就變成在第三個磁碟的第一個磁區。

接下來就可以用Lazybuntu幫忙完成許多繁雜的程式安裝和設定,哎~還是Ubuntu順手呀!

Ubuntu eee 8.04.1 + Netbook Remix

總而言之:順手好用,但有小bug

微調完後,早已習慣的Ubuntu果然比Xandros好用順手許多,雖然採用Netbook Remix介面,但後續安裝的程式都會自動加進icon,不像Xandros綁手綁腳,有時候圖示還會自動消失。

不過因為裝在SD卡的關係,在速度上有些許的影響,但還在可忍受的範圍內,或許等它更成熟些,我就會把它裝進ssd中,取代原廠的系統。目前發現的bug包括:

1. 藍牙、無線網路、視訊都可以使用,但必須先在bios裡開啟,進系統後才能使用,而且不能使用快捷鍵的方式開啟,否則整個系統會當掉。每次進系統後,都得重新設定無線網路才能連得上ap。
2. 快捷鍵大部份還是怪怪的,不太正常。
3. 音量過小,雖然可以發出聲音,但是就算調成100%,聲音聽起來還是很小。進音量控制程式中把「front」的音量調大就ok了。

這些小問題,應該會在下個月Ubuntu發布8.10版時獲得解決,所以我也打算等到Ubuntu Eee發布8.10版的時候再把它裝到ssd裡面。整個來看,現在的Ubuntu Eee 8.04.1雖然有小瑕疪,但已經足以取代原廠系統讓Eee PC更好用了!

ps.在Ubuntu Eee live系統中原有的兩個套件庫,不曉得為什麼裝好後就不見了,所以裝好系統後,可以在Synaptic中手動加入下列兩個套件庫:

其一:

1
2
deb http://ppa.launchpad.net/thielmann/ubuntu hardy main
deb-src http://ppa.launchpad.net/thielmann/ubuntu hardy main

其二:

1
2
deb http://ppa.launchpad.net/netbook-remix-team/ubuntu hardy main
deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu hardy main

在〈Eee PC 1000安裝Ubuntu Eee 8.04.1小記〉中有 26 則留言

  1. 我手邊上有一台Eee PC1005ha的小筆電
    最近想移除本身系統附的windows xp並安裝ubuntu-eee
    請問如何在安裝ubuntu-eee的過程中順便砍掉windows?

  2. 這是打下 sudo gedit /boot/grub/menu.lst 的結果

    偶是 (HD1,0) 才能進入,應在那裡改?改了後是否按下存檔便可以?

    # menu.lst – See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.

    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify ‘saved’ instead of a number. In this case, the default entry
    # is the entry saved with the command ‘savedefault’.
    # WARNING: If you are using dmraid do not use ‘savedefault’ or your
    # array will desync and will not let you boot your system.
    default 0

    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 10

    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu

    # Pretty colours
    #color cyan/blue white/blue

    ## password [‘–md5’] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command ‘lock’
    # e.g. password topsecret
    # password –md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret

    #
    # examples
    #
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    #
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    #

    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below

    ## DO NOT UNCOMMENT THEM, Just edit them to your needs

    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=afd5fea4-6f10-4db5-82ef-bf14e0e56594 ro

    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0

    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,0)

    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true

    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false

    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash

    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false

    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=

    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0

    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery) single
    # altoptions=(recovery mode) single

    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all

    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true

    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false

    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false

    ## ## End Default Options ##

    title Ubuntu 8.04.1, kernel 2.6.24-21-eeepc
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-21-eeepc root=UUID=afd5fea4-6f10-4db5-82ef-bf14e0e56594 ro quiet splash
    initrd /boot/initrd.img-2.6.24-21-eeepc
    quiet

    title Ubuntu 8.04.1, kernel 2.6.24-21-eeepc (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-21-eeepc root=UUID=afd5fea4-6f10-4db5-82ef-bf14e0e56594 ro single
    initrd /boot/initrd.img-2.6.24-21-eeepc

    title Ubuntu 8.04.1, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root

    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda1.
    title Normal Boot (on /dev/sda1)
    root (hd2,0)
    kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll root=/dev/sda1
    initrd /boot/initramfs-eeepc.img
    savedefault
    boot

    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda1.
    title Perform Disk Scan (on /dev/sda1)
    root (hd2,0)
    kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll root=/dev/sda1 XANDROSSCAN=y
    initrd /boot/initramfs-eeepc.img
    savedefault
    boot

    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda1.
    title Restore Factory Settings (on /dev/sda1)
    root (hd2,0)
    kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=normal nosplash=y irqpoll root=/dev/sda1 XANDROSRESTORE=y
    initrd /boot/initramfs-eeepc.img
    savedefault
    boot

    1. 只要前面有加「#」的都只是註解,不會發生作用,所以你只要將其它含有(hd0,0)改成(hd1,0),然後存檔就好了,以後每次開機就會以這個值開機,除非核心有變動,否則就不用再改了。

  3. 還有,有沒有可自動登入的做法?
    即不用打入使用者和密碼而直接進入
    最好還是root,因為偶不知root 如何打密碼入
    希望能一次過解決

    1. 「系統」→「管理」→「登入畫面」→「安全性」,把「啟用自動登入」打勾,選擇你要自動登入的使用者即可。

      不要用root登入,這不是Ubuntu系統的設計邏輯,需要用root身份時系統都會自動問你密碼,或是在終端機下使用sudo這個指令,需要輸入的密碼就是你當初安裝系統時設定的那個密碼。直接用root登入只會增加你的困擾而已(例如:誤刪系統檔。)

  4. 問題原來是在那安裝用的隨身碟上
    經偶試探,發覺若把安裝那支拔去了便無法開機
    重插後又可以了,我想這應是系統的一部份
    後來插另一支便能成功mount
    但這樣問題又來了
    1.是不是所有經隨身碟把系統裝進sdhc的linux 甚庄其他os 如win,mac 等皆如此,又或只是ubuntu eee 才是?由於本人暫未有更多隨身碟和sdhc,未能一一安裝作測試,故特來查詢一下
    2.有沒有方法成功mount放上 live usb 那支隨身碟?因為尚有不少空間,如用不了未免太可惜,也浪費了點

      1. # /etc/fstab: static file system information.
        #
        #
        proc /proc proc defaults 0 0
        # /dev/sdb1
        UUID=afd5fea4-6f10-4db5-82ef-bf14e0e56594 / ext3 relatime,errors=remount-ro 0 1
        # /dev/sdb5
        UUID=3273e59f-1143-46a4-8ef6-923dd676ea6b none swap sw 0 0
        /dev/sdc1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

        1. 去掉最後這一行,或是在前面加上「#」註解掉:

          /dev/sdc1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

          因為你用隨身碟安裝後,系統會將隨身碟誤認為光碟機,所以把那行註解掉應該就ok了。

  5. 有三個問題想問
    1.如何自動以root身份登入?
    2.如何mount usb 隨身碟?因為我發覺 mount 不了,說什麼 superuser,那是root嗎?,但為何以root身份登入還不能mount?是bug嗎?還是另有做法?希望大大能向開發者反映一下這個問題,以期下一版本做得更好
    3.怎樣替套件 rename?在windows 下這是易如反掌的事在 ubuntu eee 下竟然不能做到,此部份不單比不上 windows,甚至連 eeepc 原生那個 linux 也比不上,至少偶是可以在部份格式情況下 rename,但放上桌面上的則兩者都做不到,不信的話可試試比較一下

    1. 1. Ubuntu的使用理念並不是用root去登入,而是在指令之前加上sudo以取代臨時的root權限。

      2. mount隨身碟並不需要root權限,通常都是插進去就會自動跳出檔案總管。這恐怕是你用root登入後做了某些更動所引起的,所以這不是bug。還有,我不是大大啦,我也只是一個普通的使用者,也沒有權限可以直達開發者的天聽,但linux的開發需要每個人的參與。

      3. 「替套件rename」?你指的是將Ubuntu eee的Netbook Remix介面上的圖示文字改掉嗎?這不是不能做到,只是你不習慣而已,如果你比較習慣windows的操作方式,但又想用Linux,建議你可以直接安裝原裝的Ubuntu(我在另外一篇文章中有說明),而不是改裝過的Ubuntu eee,這樣你才能使用完整桌面的功能。

      就我微薄的Ubuntu使用經驗而言,我不認為Ubuntu比不上Windows,只是大部份的使用者因為太習慣於Windows的操作,而認為Ubuntu/Linux是比不上的,但事實上也沒什麼好比的,如果真的不習慣、不喜歡的話,還是可以用Windows呀!我想強調一點,不管使用任何系統,只要能讓你順利完成你想做的事,都是好系統。

      有空建議可以至Ubuntu正體中文站徹底了解Ubuntu。

Neil 發表迴響 取消回覆

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料

%d 位部落客按了讚: