自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Ubuntu GRUB開機(jī)選項(xiàng)修改

系統(tǒng) Linux
假如你有以上需求,就得手動(dòng)修改Ubuntu GRUB開機(jī)選項(xiàng).Solution開啟Ubuntu GRUB開機(jī)選項(xiàng)檔sudo gedit /boot/grub/menu.lstQ1.當(dāng)Ubuntu更新新的kernel後,Ubuntu GRUB會(huì)自動(dòng)加上新的kernel開機(jī)選項(xiàng),導(dǎo)致開機(jī)選項(xiàng)越來(lái)越多,想將不必要的開機(jī)選項(xiàng)刪除.

特別值得一提的是Ubuntu GRUB有很多值得學(xué)習(xí)的地方,這里我們主要介紹Ubuntu GRUB,包括介紹Ubuntu GRUB等方面。Ubuntu GRUB負(fù)責(zé)管理啟動(dòng)Linux還是Windows,該如何修改Ubuntu GRUB開機(jī)選項(xiàng)呢?

Introduction為什麼需要更改Ubuntu GRUB呢?
1.當(dāng)Ubuntu更新新的kernel後,Ubuntu GRUB會(huì)自動(dòng)加上新的kernel開機(jī)選項(xiàng),導(dǎo)致開機(jī)選項(xiàng)越來(lái)越多,想將不必要的開機(jī)選項(xiàng)刪除.
2.Ubuntu GRUB預(yù)設(shè)開機(jī)為Ubuntu,你可以想將預(yù)設(shè)開機(jī)改成Windows.
3.修改預(yù)設(shè)Ubuntu GRUB等待時(shí)間.
4.預(yù)設(shè)不顯示GRUB menu,直接進(jìn)入Windows.

假如你有以上需求,就得手動(dòng)修改Ubuntu GRUB開機(jī)選項(xiàng).Solution開啟Ubuntu GRUB開機(jī)選項(xiàng)檔sudo gedit /boot/grub/menu.lstQ1.當(dāng)Ubuntu更新新的kernel後,Ubuntu GRUB會(huì)自動(dòng)加上新的kernel開機(jī)選項(xiàng),導(dǎo)致開機(jī)選項(xiàng)越來(lái)越多,想將不必要的開機(jī)選項(xiàng)刪除.

A1.以下為我所要的開機(jī)選項(xiàng),不需要者可自行刪除之End Default Options

  1. title        Ubuntu, kernel 2.6.20-16-generic  
  2. root        (hd0,6)  
  3. kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=b923ef76-3246-411c-8095-7bca666b13a5 ro quiet splash  
  4. initrd        /boot/initrd.img-2.6.20-16-generic  
  5. quiet  
  6. savedefault  
  7.  
  8. title        Ubuntu, kernel 2.6.20-16-generic (recovery mode)  
  9. root        (hd0,6)  
  10. kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=b923ef76-3246-411c-8095-7bca666b13a5 ro single  
  11. initrd        /boot/initrd.img-2.6.20-16-generic  
  12.  
  13. # This entry automatically added by the Debian installer for a non-linux OS  
  14. # on /dev/sda1  
  15. title        Microsoft Windows XP Professional  
  16. root        (hd0,0)  
  17. savedefault  
  18. makeactive  
  19. chainloader    +1 

Q2.Ubuntu GRUB預(yù)設(shè)開機(jī)為Ubuntu,你可以想將預(yù)設(shè)開機(jī)改成Windows.A2.修改

  1. ## default num  
  2. # Set the default entry to the entry number NUM. Numbering starts from 0, and  
  3. # the entry number 0 is the default if the command is not used.  
  4. #  
  5. # You can specify 'saved' instead of a number. In this case, the default entry  
  6. # is the entry saved with the command 'savedefault'.  
  7. # WARNING: If you are using dmraid do not change this entry to 'saved' or your  
  8. # array will desync and will not let you boot your system. 

default  2預(yù)設(shè)default為 0,表示開機(jī)用Ubuntu開機(jī),因?yàn)樵谖业碾娔XWindows為第三個(gè)選項(xiàng),故default為2Q3.修改預(yù)設(shè)Ubuntu GRUB等待時(shí)間.A3.修改

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

timeout 3預(yù)設(shè)為10秒鐘,我改成等待3秒鐘Q4.預(yù)設(shè)不顯示Ubuntu GRUB menu,直接進(jìn)入Windows.

  1. ## hiddenmenu  
  2. # Hides the menu by default (press ESC to see the menu)  
  3. hiddenmenu 

預(yù)設(shè)會(huì)顯示Ubuntu GRUB menu,若你不想顯示menu,要當(dāng)按下ESC才顯示,請(qǐng)將hiddenmenu前的#拿掉

【編輯推薦】

  1. Ubuntu grub利用安裝光盤硬盤安裝ISO文件
  2. Ubuntu GRUB密碼設(shè)置可分為全局密碼和菜單密碼
  3. 重裝系統(tǒng)后Ubuntu grub的選項(xiàng)
  4. Ubuntu GRUB全局密碼和菜單密碼
  5. Ubuntu GRUB系統(tǒng)引導(dǎo)器
責(zé)任編輯:佚名 來(lái)源: CSDN
相關(guān)推薦

2010-03-02 16:58:38

Ubuntu 8.10

2010-06-13 09:03:41

Grub安裝Ubunt

2010-06-13 16:32:19

Linux Grub命

2010-06-12 10:31:44

Ubuntu Grub

2010-06-13 12:32:58

Ubuntu Grub

2010-01-04 11:30:07

Ubuntu GRUB

2010-06-13 09:27:18

Grub安裝Ubunt

2010-06-13 10:11:46

Ubuntu Grub

2010-03-05 13:54:15

Ubuntu文本安裝

2010-06-13 13:11:18

Ubuntu xp G

2010-05-25 10:11:06

ubuntu Grub

2010-06-12 10:03:20

Ubuntu Grub

2010-06-13 12:59:15

Ubuntu xp G

2010-06-13 11:12:49

Ubuntu 9.10

2010-06-17 09:39:07

Ubuntu Grub

2010-01-04 11:36:05

Ubuntu GRUB

2010-06-17 10:13:28

Grub命令啟動(dòng)Ubu

2010-06-17 11:35:24

Ubuntu 修復(fù)Gr

2010-06-12 14:04:16

Grub.conf

2017-03-15 20:25:34

LinuxGRUB啟動(dòng)背景
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)