国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

Ubuntu安裝后雙系統啟動順序的修改

2024-08-28 00:15:23
字體:
來源:轉載
供稿:網友

其實修改Ubuntu安裝后的雙系統啟動順序很簡單,修改 /boot/grub/menu.lst 文件,使其中default值變動一下即可。

過程如下:

1、打開命令行終端;

2、輸入:

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.bak

sudo gedit /boot/grub/menu.lst

注: 第一句做備份用。

3、假設文件內容如下:

# 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 change this entry to 'saved' 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

## ## End Default Options ##

title Ubuntu, kernel 2.6.15-23-386

root (hd0,2)

kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hda3 ro quiet splash

initrd /boot/initrd.img-2.6.15-23-386

savedefault

boot

title Ubuntu, kernel 2.6.15-23-386 (recovery mode)

root (hd0,2)

kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hda3 ro single

initrd /boot/initrd.img-2.6.15-23-386

boot

title Ubuntu, memtest86+

root (hd0,2)

kernel /boot/memtest86+.bin

boot

### 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 a non-linux OS

# on /dev/hda1

title Microsoft Windows XP Professional

root (hd0,0)

savedefault

makeactive

chainloader +1

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 博野县| 淮北市| 长武县| 自治县| 富源县| 尼勒克县| 泰宁县| 满城县| 积石山| 西安市| 遵义市| 平度市| 家居| 扶绥县| 双城市| 岑溪市| 兰西县| 渝北区| 万盛区| 新绛县| 方城县| 阳春市| 陕西省| 彭州市| 游戏| 黑山县| 和顺县| 理塘县| 普安县| 永丰县| 玛纳斯县| 金平| 启东市| 丁青县| 衢州市| 蓝山县| 清镇市| 江川县| 永福县| 炉霍县| 满城县|