debian 5.0 usb boot

前幾天在家裡用自己的MSI S270筆電來做這個linux隨身碟的開機系統,因為這隻筆電的BIOS開機其實是沒有USB可以boot的,但是因為我在公司沒有CD-ROM可以用來裝這個系統,所以就只好在家先做了。

不選Ubuntu是怕2G的隨身碟容量不夠!

安裝很簡單,就跟以前裝Ununtu及其他版本差不多,但是沒設swap,因為怕操壞我2G的隨身碟,也不安裝多餘的套件,就只選標準的系統!

Grub設定,也是依照在家的環境設為/dev/sdb1,這個設定絕對在公司是行不通的!

今天在公司試的時候,

就出現

root(hd1,0)

Error 17 : Can not mount selected partition的錯誤!

一直試著改這個hd,還改到一個錯誤:

partition type 0x7的錯誤,意思就是這個partition是NTFS的,也就是我公司這顆硬碟的Windows系統,想當然而也不行,後來試到root(hd0,0)才成功進入!

開機後試著輸入幾個命令,有錯誤但是是亂碼,所以表示它的中文安裝有問題,另外是用apt-get的,所以也表示在公司有proxy的關係,可能造成問題,所以接下來要先看proxy的3種設定方式:

①Place the following code into the file /etc/apt/apt.conf.d/proxy

Acquire::http::Proxy "http://proxy:8080";

②export http_proxy=http://localhost:8008/

③The Debian way of doing this (ie, if you select a proxy during the installer) is now to write that Proxy config to /etc/apt/apt.conf

至於中文的終端機命令列的部份,參考Debian Linux 於 終端機命令列顯示中文 – ucimf

  1. 詳細說明: Debian Package 安裝說明 – ucimf
  2. $ vim /etc/apt/sources.list # 加入下述
    deb http://people.debian.org.tw/~mat/ lenny main
  3. $ apt-get update
  4. $ apt-get install fbterm fbterm-ucimf ucimf-openvanilla openvanilla-modules
  5. $ vim /boot/grub/menu.lst # 加入 vga=788 (若不行則再改 789, 791, 792…)
    kernel  /vmlinuz-2.6.11-1-686 root=/dev/hda2 ro vga=788
  6. $ reboot # 即完成.

Linux Debian:

A quick and easy way to get apt-get to work with a proxy in Debian…

Place the following code into the file /etc/apt/apt.conf.d/proxy

Acquire::http::Proxy "http://proxy:8080";

2 comments:

cdman83 said…

I’m not sure that this actually works, but you could try doing:

export http_proxy=http://localhost:8008/

before running apt-get if you want to set it only for that given session.

TRR said…

The Debian way of doing this (ie, if you select a proxy during the installer) is now to write that Proxy config to /etc/apt/apt.conf

目前就先做這兩部份的測試看看!

感謝你看到這裡,很快就可以離開了,但最好的獎勵行動就是按一下幫我分享或留言,感恩喔~

點我分享到Facebook

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *