於 UEFI 環境 安裝 OPENsuse 13.2

我使用的硬體規格是

主板 H97M-E
i7 4790
RAM 16 GB
硬碟 3T

之前灌的時候,常會出現:

error : no such partition

這是因為 grub2 找不到開機區域,你可以使用 GRUB2看看,但也沒啥用。

基本上,在 UEFI 的環境下,還是要以能跟 UEFI 相容的環境安裝 Linux,但是要把 Secure Boot 關掉
就是:

  1. 將Secure Boot裡的OS Type設定為Other OS
  2. 將CSM裡的Launch CSM設定為Enabled

但有一些比較高級的linux 還是可以支援 Secure Boot。但對於免費的自由軟體來說,新的 shim 載入器允許更多的機器能從 Secure Boot 模式下啟動(請參考 啟動於 Secure Boot 模式下)。以目前的情況來說,要灌 Linux,基本上還是要關掉 Secure Boot。

這裡有些爭議的點

以下開始我所經過的流程:

繼續閱讀 於 UEFI 環境 安裝 OPENsuse 13.2

以下摘自 Makefile範例教學 GNU make使用手冊 中譯版 如何寫一個簡單的Makefile 裡面包含許多章節,由王森所翻譯,其翻譯的品質非常的高。 用Open…

以下摘自 Makefile範例教學

GNU make使用手冊 中譯版

如何寫一個簡單的Makefile
裡面包含許多章節,由王森所翻譯,其翻譯的品質非常的高。

用Open Source工具開發軟體: 新軟體開發觀念
黃郁熙前輩所撰寫,非常有系統的教學。

Using GCC to create static and shared library
PTT版友cole945所撰寫,針對各種libraries作詳盡的介紹。

Makefile 語法簡介
Tetralet前輩所撰寫的一篇好文!

Makefile教學(一)(二)(三)
ytha用非常輕鬆簡單的口吻解釋Makefile。

makefile 的基本語法與變數
鳥哥學長所寫的Makefile介紹!

安裝gitv 在vim 中版本控制

通常在電腦中都有 git 了,若是你沒有裝,可以找這裡:安裝git
另外這是 git 的詳解書:Pro Git 中文

要用vim 的plugin 與 git 進行版本控制,
首先你要先裝 vim plugin 的控制plugin : Vundle
然後再用vundle 來裝 vim-fugitivegitv
首先輸入 (以下摘自 https://github.com/VundleVim/Vundle.vim )

$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

安裝 Vundle。

然後在 ~/.vimrc 中多加:

set nocompatible " be iMproved, required
filetype off " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Avoid a name conflict with L9
Plugin 'user/L9', {'name': 'newL9'}
Plugin 'gregsexton/gitv'

" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line

其中最重要的兩個是

Plugin 'tpope/vim-fugitive'
Plugin 'gregsexton/gitv'

然後在vim 的環境中輸入

:PluginInstall

Vundle 會開始幫你檢查,並開始安裝 plugin

在vim中使用github的安裝版本控制
gitv the download page