亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
123下一頁(yè)
最近訪(fǎng)問(wèn)板塊 發(fā)新帖
查看: 4008 | 回復(fù): 24
打印 上一主題 下一主題

[系統(tǒng)安裝] 雙系統(tǒng),啟動(dòng)的問(wèn)題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2012-06-30 22:12 |只看該作者 |倒序?yàn)g覽
我的電腦是WIN7和LINUX雙系統(tǒng),每次第一啟動(dòng)項(xiàng)是LINUX,我想改成WIN7,下面是/BOOT/GRUB文檔,有沒(méi)有高手會(huì)修改的,請(qǐng)賜教,謝謝

DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root f1650a2c-6f4b-4ebd-97f5-eb4b67c9d88c
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos3)'
  search --no-floppy --fs-uuid --set=root f1650a2c-6f4b-4ebd-97f5-eb4b67c9d88c
  set locale_dir=($root)/boot/grub/locale
  set lang=zh_CN
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
clear
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_deepin_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root f1650a2c-6f4b-4ebd-97f5-eb4b67c9d88c
insmod jpeg
if background_image /usr/share/backgrounds/Blade.jpg ; then
  set color_normal=white/black
  set color_highlight=white/light-gray
else
  set menu_color_normal=white/black
  set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_deepin_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'LinuxDeepin,Linux 3.0.0-16-generic' --class linuxdeepin --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos3)'
        search --no-floppy --fs-uuid --set=root f1650a2c-6f4b-4ebd-97f5-eb4b67c9d88c
        linux        /boot/vmlinuz-3.0.0-16-generic root=UUID=f1650a2c-6f4b-4ebd-97f5-eb4b67c9d88c ro   quiet splash vt.handoff=7
        initrd        /boot/initrd.img-3.0.0-16-generic
}
menuentry 'LinuxDeepin,Linux 3.0.0-16-generic (恢復(fù)模式)' --class linuxdeepin --class gnu-linux --class gnu --class os {
        recordfail
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos3)'
        search --no-floppy --fs-uuid --set=root f1650a2c-6f4b-4ebd-97f5-eb4b67c9d88c
        echo        '載入 Linux 3.0.0-16-generic ...'
        linux        /boot/vmlinuz-3.0.0-16-generic root=UUID=f1650a2c-6f4b-4ebd-97f5-eb4b67c9d88c ro single nomodeset
        echo        '載入初始化內(nèi)存盤(pán)...'
        initrd        /boot/initrd.img-3.0.0-16-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
        insmod part_msdos
        insmod ntfs
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set=root 4C086CB0086C9AAA
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ####

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
2 [報(bào)告]
發(fā)表于 2012-06-30 22:20 |只看該作者
回復(fù) 1# qq116284035


    你的 linux 是什么版本。

grub 是 0.9.7 還是 2.0 的? 你得說(shuō)清楚啊。

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2012-06-30 22:24 |只看該作者
你的是Grub2吧,看你的菜單裝的是Deepin的。
你貼出的菜單項(xiàng)的最后一項(xiàng)是Win7的,可以復(fù)制那一段,如果從頭做起就是這樣的:
  1. grep Windows /boot/grub2/grub.cfg
復(fù)制代碼
會(huì)得到一個(gè)輸出,正如你帖出的最后一個(gè)menuentry項(xiàng)
接著設(shè)置Windows 7為默認(rèn)啟動(dòng)項(xiàng)
  1. saved_entry=Windows 7 (loader) (on /dev/sda1)
復(fù)制代碼
驗(yàn)證一下(查看一下),看是不是Windows7:
  1. grub2-editenv list
復(fù)制代碼
覺(jué)得命令法比較簡(jiǎn)單,也可以通過(guò)修改配置文件的,不過(guò)Grub2的配置文件比較多,剛開(kāi)始可能許多人都不習(xí)慣。
Grub 2包含下面幾個(gè)部分:
/boot/grub/grub.cfg 文件
/etc/grub.d/ 文件夾
/etc/default/grub 文件

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
4 [報(bào)告]
發(fā)表于 2012-06-30 22:32 |只看該作者
回復(fù) 3# prints


    這 grub 2 我還沒(méi)修改過(guò),學(xué)習(xí)一把。

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2012-06-30 22:44 |只看該作者
深度的回復(fù) 2# snow888


   

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2012-06-30 22:52 |只看該作者
root@ibm-ThinkPad-X200:/boot/grub# grep Windows /boot/grub2/grub.cfg
grep: /boot/grub2/grub.cfg: 沒(méi)有那個(gè)文件或目錄
root@ibm-ThinkPad-X200:/boot/grub# 回復(fù) 3# prints


   

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
7 [報(bào)告]
發(fā)表于 2012-06-30 22:52 |只看該作者
回復(fù) 5# qq116284035


    你在出現(xiàn)選擇界面的時(shí)候,有幾個(gè)選項(xiàng)?能把那個(gè)圖貼一下么?

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2012-06-30 22:55 |只看該作者
回復(fù) 7# snow888


   

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
9 [報(bào)告]
發(fā)表于 2012-06-30 23:14 |只看該作者
回復(fù) 8# qq116284035


    我是說(shuō)你啟動(dòng)系統(tǒng)的時(shí)候,不是會(huì)出現(xiàn)一個(gè)圖形的操作系統(tǒng)選擇界面,讓你選哪個(gè)系統(tǒng)進(jìn)入的么?就是那個(gè)界面給我看一下可以么?

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2012-06-30 23:28 |只看該作者
回復(fù) 9# snow888


   
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP