跳到主要內容

[Linux] Elementary OS 安裝

本篇記錄 Elementary OS 的安裝過程。
1.   先去網站上下載 Elementary OS 的映像檔:
網址:https://elementary.io/







點選要捐贈給 Elementary OS 團隊的費用,也可以是 0 元。然後下載映像檔。

2.   接著開始燒錄 USB:
先準備一個 USB 隨身碟,然後將 Elementary OS 的映像檔燒錄到這個 USB 隨身碟內,製作成開機 USB 磁碟。
我使用 UNetbootin 來燒錄 USB,UNetbootin 下載網址:https://unetbootin.github.io/
啟動 UNetbootin,選擇映像檔的選項,檔案的類別選擇 ISO,然後選擇 Elementary OS 映像檔路徑:






按下 [確定] 按鈕,開始燒錄:







燒錄完成畫面:






按下 [結束] 按鈕離開 UNetbootin,並退出隨身碟,完成 USB 開機磁碟的製作。



有時候,燒錄完成的 USB 會出現無法開機的情況,此時可嘗試用其它的燒錄軟體,例如 Etcher 或者 Rufus

3.   接著用剛燒錄完成的 USB 開機。首先在電腦開機時,按住 Delete 鍵進入 BIOS 設定畫面,將開機磁碟設定為 USB 開機。

4.   依造官方的說明安裝即可。在安裝之前,先把磁碟的資料備份,然後安裝 elementary os 時選擇格式化所有磁碟內的資料,就可以了。


安裝完的開機畫面:





留言

這個網誌中的熱門文章

[心得] 復古、老派的程式設計之路

最近看到 John Carmack 2018 年的貼文中的幾段話: I’m not a Unix geek.  I get around ok, but I am most comfortable developing in Visual Studio on Windows.  I thought a week of full immersion work in the old school Unix style would be interesting, even if it meant working at a slower pace.  It was sort of an adventure in retro computing — this was fvwm and vi.  Not vim, actual BSD vi. In the end, I didn’t really explore the system all that much, with 95% of my time in just the basic vi / make / gdb operations.  I appreciated the good man pages, as I tried to do everything within the self contained system, without resorting to internet searches.  Seeing references to 30+ year old things like Tektronix terminals was amusing. In the spirit of my retro theme, I had printed out several of Yann LeCun’s old papers and was considering doing everything completely off line, as if I was actually in a mountain cabin somewhere, but I wound up watching a lot of the Stanford CS231N lectur...

[Matrix] 矩陣與向量乘積

最近對線性代數應用感興趣,開始研究線性代數運算的底層程式實作。 先從矩陣乘積開始。 在此用 C++ 做矩陣與向量的乘積。 我們定義以下的矩陣 Class: template <class T, size_t, size_t j> class mtx { public: mtx(){} ~mtx(){} inline T& operator()(size_t i, size_t j) { return arr_[i][j]; } void info() { cout << endl; for(size_t i = 0; i < ROWS; i++) { for(size_t j = 0; j < COLS; j++) cout << " " << arr_[i][j]; cout << endl; } cout << endl; } private: T arr_[ROWS][COLS]; }; 接著我們就可以使用此 Class 來做矩陣與向量乘積: mtx a; mtx x; mtx b; a(0, 0) = 2; a(0, 1) = 1; a(1, 0) = 3; a(1, 1) = 5; a(2, 0) = 4; a(2, 1) = 7; x(0, 0) = 10; x(1, 0) = 12; // matrix mul: for(size_t r = 0; r < 3; r++) b(r, 0) = 0; for(size_t i = 0; i < 3; i+...

[程式競賽] UVa 572, Oil Deposits,Flood Fill 演算法

原題目簡述如下: 以 m x n 大小的 grid 代表一張地圖,現今要在此地圖內探勘,找出油田。某一區塊如果標示 "@" 代表有油,"*" 代表沒有油。 "@" 相鄰的區域的聯集,可視為一個油田。(所謂相鄰,除了上下左右,斜向的相鄰也算進去) 求任意地圖中,油田的個數。 例如輸入的測資為: *    *   *    *  @ *   @  @  *  @ *   @   *   *  @ @ @  @   * @ @ @   *   *  @ 則油田個數為 2。 想法 採用典型的倒水演算法(Flood Fill),走訪 "@" 出現的區域,從此往下倒水,倒過水的區域標上 id,因此透過 id 的編號,可以得知油田的個數。 實作 先實作倒水演算法的子函式: void floodfill(vector<vector<char> >& map,                vector<vector<int>  >& id_table,                int row, int col, int id) {    if(row < 0 || (row >= map.size()) )   return;    if(col < 0 || (col >= map[0].size())) return;    if(map[row][col] != '@' || id_table[row][col] > 0) return;    id_table[row][col] = id;   ...