王者荣耀露娜改名嫦娥嫦娥什么时候出 王者荣耀露娜改名嫦娥嫦娥什么时间上线

ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢? - 查看主题 & Ubuntu中文论坛
&[ 14 篇帖子 ]&
&文章标题 : ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
22:20帖子: 7
送出感谢: 0 次
接收感谢: 0 次
ubuntu10.04 win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?有单独的/boot,请大侠帮忙~~roger@roger-laptop:~$ sudo update-grub2[sudo] password for roger: Generating grub.cfg ...Found linux image: /boot/vmlinuz-2.6.32-26-genericFound initrd image: /boot/initrd.img-2.6.32-26-genericFound linux image: /boot/vmlinuz-2.6.32-25-genericFound initrd image: /boot/initrd.img-2.6.32-25-genericFound memtest86+ image: /memtest86+.bindone
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
5:53帖子: 4665
把文件先复制到桌面,终端运行:代码:sudo bash ~/桌面/boot_info_script055.sh把RESULTS.txt文件内容贴上来。
_________________电子书下载:
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
22:20帖子: 7
送出感谢: 0 次
接收感谢: 0 次
Boot Info Script 0.55
dated February 15th, 2010
============================= Boot Info Summary: ============================== =& Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #10 for /grub.sda1: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
Grub 2 is installed in the boot sector of sda1 and
looks at sector
of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
/bootmgr /Boot/BCD /Windows/System32/winload.exesda2: _________________________________________________________________________
File system:
Extended Partition
Boot sector type:
Boot sector info:
sda5: _________________________________________________________________________
File system:
Boot sector type:
Windows Vista/7
Boot sector info:
According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system:
Boot sector type:
Windows Vista/7
Boot sector info:
According to the info in the boot sector, sda6 starts
at sector 63.
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system:
Boot sector type:
Windows Vista/7
Boot sector info:
According to the info in the boot sector, sda7 starts
at sector 63.
Operating System:
Boot files/dirs:
sda8: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
Operating System:
Ubuntu 10.04.1 LTS
Boot files/dirs:
/etc/fstabsda9: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
sda10: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
Operating System:
Boot files/dirs:
/grub/grub.cfg /grub/core.img /boot/grub/core.imgsda11: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================Drive: sda ___________________ _____________________________________________________Disk /dev/sda: 320.1 GB,
bytes255 heads, 63 sectors/track, 38913 cylinders, total
sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesPartition
Id System/dev/sda1
62,910,539
62,910,477
7 HPFS/NTFS/dev/sda2
62,910,601
625,141,759
562,231,159
f W95 Ext d (LBA)/dev/sda5
62,910,603
167,766,794
104,856,192
7 HPFS/NTFS/dev/sda6
167,766,858
272,623,049
104,856,192
7 HPFS/NTFS/dev/sda7
272,623,113
583,190,208
310,567,096
7 HPFS/NTFS/dev/sda8
583,190,528
599,189,503
15,998,976
83 Linux/dev/sda9
599,191,552
603,189,247
82 Linux swap / Solaris/dev/sda10
603,191,296
603,383,807
83 Linux/dev/sda11
603,385,856
625,141,759
21,755,904
83 Linuxblkid -c /dev/null: ____________________________________________________________Device
/dev/sda10
c8dcf1a9--a5ab-cb85b767667b
/dev/sda11
-02c5-49fd-a85c-127b9e6e806a
/dev/sda2: PTTYPE=&dos& /dev/sda5
08066CDC066CCC6E
97cbb17f--ad0f-aeb8e782a895
22cc713c-a-a35d-80bbae71ef31
/dev/sda: PTTYPE=&dos& ============================ &mount | grep ^/dev
output: ===========================Device
Mount_Point
Options/dev/sda8
(rw,errors=remount-ro)/dev/sda10
(rw)/dev/sda11
(rw)=============================== sda8/etc/fstab: ===============================# /etc/fstab: static file system information.## Use 'blkid -o value -s UUID' to print the universally unique identifier# this may be used with UUID= as a more robust way to name# devices that works even if disks are added and removed. See fstab(5).## &file system& &mount point&
&pass&proc
nodev,noexec,nosuid 0
0/dev/sda8
errors=remount-ro 0
1# /boot was on /dev/sda10 during installationUUID=c8dcf1a9--a5ab-cb85b767667b /boot
2# /home was on /dev/sda11 during installationUUID=-02c5-49fd-a85c-127b9e6e806a /home
2# swap was on /dev/sda9 during installationUUID=22cc713c-a-a35d-80bbae71ef31 none
0=================== sda8: Location of files loaded by Grub: =================== 298.6GB: initrd.img 298.6GB: initrd.img.old 298.6GB: vmlinuz 298.6GB: vmlinuz.old============================= sda10/grub/grub.cfg: =============================## DO NOT EDIT THIS FILE## It is automatically generated by /usr/sbin/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
load_envfiset 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=truefifunction 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_ fi}insmod ext2set root='(hd0,8)'search --no-floppy --fs-uuid --set 97cbb17f--ad0f-aeb8e782a895if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_ else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fifiinsmod ext2set root='(hd0,10)'search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667bset locale_dir=($root)/grub/localeset lang=zhinsmod gettextif [ ${recordfail} = 1 ]; then
set timeout=-1else
set timeout=10fi### END /etc/grub.d/00_header ###### BEGIN /etc/grub.d/05_debian_theme ###set menu_color_normal=white/blackset menu_color_highlight=black/light-gray### END /etc/grub.d/05_debian_theme ###### BEGIN /etc/grub.d/10_linux ###menuentry 'Ubuntu锛孡inux 2.6.32-26-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,10)' search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b linux /vmlinuz-2.6.32-26-generic root=UUID=97cbb17f--ad0f-aeb8e782a895 ro
quiet splash initrd /initrd.img-2.6.32-26-generic}menuentry 'Ubuntu锛孡inux 2.6.32-26-generic (鎭㈠?妯″紡)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,10)' search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b echo '杞藉叆 Linux ...' linux /vmlinuz-2.6.32-26-generic root=UUID=97cbb17f--ad0f-aeb8e782a895 ro single
echo '杞藉叆寮曞?铏氭嫙纾佺洏 ...' initrd /initrd.img-2.6.32-26-generic}menuentry 'Ubuntu锛孡inux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,10)' search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b linux /vmlinuz-2.6.32-25-generic root=UUID=97cbb17f--ad0f-aeb8e782a895 ro
quiet splash initrd /initrd.img-2.6.32-25-generic}menuentry 'Ubuntu锛孡inux 2.6.32-25-generic (鎭㈠?妯″紡)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,10)' search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b echo '杞藉叆 Linux ...' linux /vmlinuz-2.6.32-25-generic root=UUID=97cbb17f--ad0f-aeb8e782a895 ro single
echo '杞藉叆寮曞?铏氭嫙纾佺洏 ...' initrd /initrd.img-2.6.32-25-generic}### END /etc/grub.d/10_linux ###### BEGIN /etc/grub.d/20_memtest86+ ###menuentry &Memory test (memtest86+)& { insmod ext2 set root='(hd0,10)' search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b linux16 /memtest86+.bin}menuentry &Memory test (memtest86+, serial console 115200)& { insmod ext2 set root='(hd0,10)' search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b linux16 /memtest86+.bin console=ttyS0,}### END /etc/grub.d/20_memtest86+ ###### 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 ###=================== sda10: Location of files loaded by Grub: =================== 308.9GB: boot/grub/core.img 308.8GB: grub/core.img 308.8GB: grub/grub.cfg 308.8GB: grub/stage2 308.8GB: initrd.img-2.6.32-25-generic 308.9GB: initrd.img-2.6.32-26-generic 308.8GB: vmlinuz-2.6.32-25-generic 308.8GB: vmlinuz-2.6.32-26-generic
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
5:53帖子: 4665
引用:sda1: _________________________________________________________________________File system: ntfsBoot sector type: Grub 2插入windows7安装光盘,从光盘启动,在光盘启动完成后,按下shift+f10键,调出cmd命令提示符。在命令提示符中输入:bootrec /fixboot回车。
_________________电子书下载:
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
18:05帖子: 59
送出感谢: 0 次
接收感谢: 0 次
_________________抛弃Windows..._____________________________________________________________________________________软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
22:20帖子: 7
送出感谢: 0 次
接收感谢: 0 次
onshoestring,
代码:&Boot Info Script 0.55& & dated February 15th, 2010& & & & & & & & & & ============================= Boot Info Summary: ==============================&=& Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in & & partition #10 for /grub.sda1: _________________________________________________________________________& & File system:& & & &ntfs& & Boot sector type:& Windows Vista/7& & Boot sector info:& No errors found in the Boot Parameter Block.& & Operating System:& Windows 7& & Boot files/dirs:& &/bootmgr /Boot/BCD /Windows/System32/winload.exesda2: _________________________________________________________________________& & File system:& & & &Extended Partition& & Boot sector type:& -& & Boot sector info:& sda5: _________________________________________________________________________& & File system:& & & &ntfs& & Boot sector type:& Windows Vista/7& & Boot sector info:& According to the info in the boot sector, sda5 starts & & & & & & & & & & & &at sector 63.& & Operating System:& & & Boot files/dirs:& &sda6: _________________________________________________________________________& & File system:& & & &ntfs& & Boot sector type:& Windows Vista/7& & Boot sector info:& According to the info in the boot sector, sda6 starts & & & & & & & & & & & &at sector 63.& & Operating System:& & & Boot files/dirs:& &sda7: _________________________________________________________________________& & File system:& & & &ntfs& & Boot sector type:& Windows Vista/7& & Boot sector info:& According to the info in the boot sector, sda7 starts & & & & & & & & & & & &at sector 63.& & Operating System:& & & Boot files/dirs:& &sda8: _________________________________________________________________________& & File system:& & & &ext3& & Boot sector type:& -& & Boot sector info:& & & Operating System:& Ubuntu 10.04.1 LTS& & Boot files/dirs:& &/etc/fstabsda9: _________________________________________________________________________& & File system:& & & &swap& & Boot sector type:& -& & Boot sector info:& sda10: _________________________________________________________________________& & File system:& & & &ext3& & Boot sector type:& -& & Boot sector info:& & & Operating System:& & & Boot files/dirs:& &/grub/grub.cfg /grub/core.img /boot/grub/core.imgsda11: _________________________________________________________________________& & File system:& & & &ext3& & Boot sector type:& -& & Boot sector info:& & & Operating System:& & & Boot files/dirs:& &=========================== Drive/Partition Info: =============================Drive: sda ___________________ _____________________________________________________Disk /dev/sda: 320.1 GB,
bytes255 heads, 63 sectors/track, 38913 cylinders, total
sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesPartition& Boot& & & & &Start& & & & & &End& & & & & Size& Id System/dev/sda1& & *& & & & & & &63& & 62,910,539& & 62,910,477& &7 HPFS/NTFS/dev/sda2& & & & & 62,910,601& &625,141,759& &562,231,159& &f W95 Ext d (LBA)/dev/sda5& & & & & 62,910,603& &167,766,794& &104,856,192& &7 HPFS/NTFS/dev/sda6& & & & &167,766,858& &272,623,049& &104,856,192& &7 HPFS/NTFS/dev/sda7& & & & &272,623,113& &583,190,208& &310,567,096& &7 HPFS/NTFS/dev/sda8& & & & &583,190,528& &599,189,503& & 15,998,976& 83 Linux/dev/sda9& & & & &599,191,552& &603,189,247& & &3,997,696& 82 Linux swap / Solaris/dev/sda10& & & & 603,191,296& &603,383,807& & & &192,512& 83 Linux/dev/sda11& & & & 603,385,856& &625,141,759& & 21,755,904& 83 Linuxblkid -c /dev/null: ____________________________________________________________Device& & & & & &UUID& & & & & & & & & & & & & & & & & &TYPE& & & &LABEL& & & & & & & & & & & & &/dev/sda10& & & &c8dcf1a9--a5ab-cb85b767667b& &ext3& & & & & & & & & & & & & & & & & & &/dev/sda11& & & &-02c5-49fd-a85c-127b9e6e806a& &ext3& & & & & & & & & & & & & & & & & & &/dev/sda1& & & & 3BC2& & & & & & & & & & & &ntfs& & & & & & & & & & & & & & & & & & &/dev/sda2: PTTYPE=&dos& /dev/sda5& & & & 08066CDC066CCC6E& & & & & & & & & & & &ntfs& & & & & & & & & & & & & & & & & & &/dev/sda6& & & & 2E8E26& & & & & & & & & & & &ntfs& & & & & & & & & & & & & & & & & & &/dev/sda7& & & & FAC0CD& & & & & & & & & & & &ntfs& & & & & & & & & & & & & & & & & & &/dev/sda8& & & & 97cbb17f--ad0f-aeb8e782a895& &ext3& & & & & & & & & & & & & & & & & & &/dev/sda9& & & & 22cc713c-a-a35d-80bbae71ef31& &swap& & & & & & & & & & & & & & & & & & &/dev/sda: PTTYPE=&dos& ============================ &mount | grep ^/dev& output: ===========================Device& & & & & &Mount_Point& & & & & & & Type& & & &Options/dev/sda8& & & & /& & & & & & & & & & & & ext3& & & &(rw,errors=remount-ro)/dev/sda10& & & &/boot& & & & & & & & & & ext3& & & &(rw)/dev/sda11& & & &/home& & & & & & & & & & ext3& & & &(rw)=============================== sda8/etc/fstab: ===============================# /etc/fstab: static file system information.## Use 'blkid -o value -s UUID' to print the universally unique identifier# this may be used with UUID= as a more robust way to name# devices that works even if disks are added and removed. See fstab(5).## &file system& &mount point&& &&type&& &options&& & & &&dump&& &pass&proc& & & & & & /proc& & & & & &proc& & nodev,noexec,nosuid 0& & & &0/dev/sda8& & & &/& & & & & & & &ext3& & errors=remount-ro 0& & & &1# /boot was on /dev/sda10 during installationUUID=c8dcf1a9--a5ab-cb85b767667b /boot& & & & & &ext3& & defaults& & & & 0& & & &2# /home was on /dev/sda11 during installationUUID=-02c5-49fd-a85c-127b9e6e806a /home& & & & & &ext3& & defaults& & & & 0& & & &2# swap was on /dev/sda9 during installationUUID=22cc713c-a-a35d-80bbae71ef31 none& & & & & & swap& & sw& & & & & & & 0& & & &0=================== sda8: Location of files loaded by Grub: ===================&298.6GB: initrd.img&298.6GB: initrd.img.old&298.6GB: vmlinuz&298.6GB: vmlinuz.old============================= sda10/grub/grub.cfg: =============================## DO NOT EDIT THIS FILE## It is automatically generated by /usr/sbin/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& load_envfiset 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=truefifunction 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_ fi}insmod ext2set root='(hd0,8)'search --no-floppy --fs-uuid --set 97cbb17f--ad0f-aeb8e782a895if loadfont /usr/share/grub/unicode.pf2 ; then& set gfxmode=640x480& insmod gfxterm& insmod vbe& if terminal_ else& & # For backward compatibility with versions of terminal.mod that don't& & # understand terminal_output& & terminal gfxterm& fifiinsmod ext2set root='(hd0,10)'search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667bset locale_dir=($root)/grub/localeset lang=zhinsmod gettextif [ ${recordfail} = 1 ]; then& set timeout=-1else& set timeout=10fi### END /etc/grub.d/00_header ###### BEGIN /etc/grub.d/05_debian_theme ###set menu_color_normal=white/blackset menu_color_highlight=black/light-gray### END /etc/grub.d/05_debian_theme ###### BEGIN /etc/grub.d/10_linux ###menuentry 'Ubuntu锛孡inux 2.6.32-26-generic' --class ubuntu --class gnu-linux --class gnu --class os {& &recordfail& &insmod ext2& &set root='(hd0,10)'& &search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b& &linux& &/vmlinuz-2.6.32-26-generic root=UUID=97cbb17f--ad0f-aeb8e782a895 ro& &quiet splash& &initrd& &/initrd.img-2.6.32-26-generic}menuentry 'Ubuntu锛孡inux 2.6.32-26-generic (鎭㈠?妯″紡)' --class ubuntu --class gnu-linux --class gnu --class os {& &recordfail& &insmod ext2& &set root='(hd0,10)'& &search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b& &echo& &'杞藉叆 Linux ...'& &linux& &/vmlinuz-2.6.32-26-generic root=UUID=97cbb17f--ad0f-aeb8e782a895 ro single & &echo& &'杞藉叆寮曞?铏氭嫙纾佺洏 ...'& &initrd& &/initrd.img-2.6.32-26-generic}menuentry 'Ubuntu锛孡inux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {& &recordfail& &insmod ext2& &set root='(hd0,10)'& &search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b& &linux& &/vmlinuz-2.6.32-25-generic root=UUID=97cbb17f--ad0f-aeb8e782a895 ro& &quiet splash& &initrd& &/initrd.img-2.6.32-25-generic}menuentry 'Ubuntu锛孡inux 2.6.32-25-generic (鎭㈠?妯″紡)' --class ubuntu --class gnu-linux --class gnu --class os {& &recordfail& &insmod ext2& &set root='(hd0,10)'& &search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b& &echo& &'杞藉叆 Linux ...'& &linux& &/vmlinuz-2.6.32-25-generic root=UUID=97cbb17f--ad0f-aeb8e782a895 ro single & &echo& &'杞藉叆寮曞?铏氭嫙纾佺洏 ...'& &initrd& &/initrd.img-2.6.32-25-generic}### END /etc/grub.d/10_linux ###### BEGIN /etc/grub.d/20_memtest86+ ###menuentry &Memory test (memtest86+)& {& &insmod ext2& &set root='(hd0,10)'& &search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b& &linux16& &/memtest86+.bin}menuentry &Memory test (memtest86+, serial console 115200)& {& &insmod ext2& &set root='(hd0,10)'& &search --no-floppy --fs-uuid --set c8dcf1a9--a5ab-cb85b767667b& &linux16& &/memtest86+.bin console=ttyS0,}### END /etc/grub.d/20_memtest86+ ###### 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 ###=================== sda10: Location of files loaded by Grub: ===================&308.9GB: boot/grub/core.img&308.8GB: grub/core.img&308.8GB: grub/grub.cfg&308.8GB: grub/stage2&308.8GB: initrd.img-2.6.32-25-generic&308.9GB: initrd.img-2.6.32-26-generic&308.8GB: vmlinuz-2.6.32-25-generic&308.8GB: vmlinuz-2.6.32-26-generic
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
5:53帖子: 4665
引用:308.8GB: grub/stage2你以前修复过grub2,但却是用grub1修复的。不知道是不是缺失了文件:/etc/grub.d/30_os-prober?试试删除grub2,重新安装grub2。代码:sudo apt-get purge grub-pc grub-commonsudo apt-get install grub-pc grub-commonsudo update-grub或者试试另一方法在/etc/grub.d/40_custom文件中加入如下内容。引用:menuentry &Microsoft Windows 7 (on /dev/sda1)& { insmod ntfs set root='(hd0,1)' search --no-floppy --fs-uuid --set 3BC2 drivemap -s (hd0) ${root} chainloader +1}代码:sudo update-grub
_________________电子书下载:
0:35,总共编辑了 1 次
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
22:20帖子: 7
送出感谢: 0 次
接收感谢: 0 次
我以前看过一篇帖子,说是将30_os-prober文件名的30改为06就可以Win7默认启动,就是改这个改的无法引导了~以上两个方法都没有效果,麻烦你了~代码:roger@roger-laptop:~$ sudo apt-get purge grub-pc grubp-common[sudo] password for roger: 正在读取软件包列表... 完成正在分析软件包的依赖关系树& & & &正在读取状态信息... 完成& & & &E: 无法找到软件包 grubp-commonroger@roger-laptop:~$ sudo apt-get install grub-pc grubp-common正在读取软件包列表... 完成正在分析软件包的依赖关系树& & & &正在读取状态信息... 完成& & & &grub-pc 已经是最新的版本了。grub-pc 被设置为手动安装。E: 无法找到软件包 grubp-commonroger@roger-laptop:~$ sudo update-grubGenerating grub.cfg ...Found linux image: /boot/vmlinuz-2.6.32-26-genericFound initrd image: /boot/initrd.img-2.6.32-26-genericFound linux image: /boot/vmlinuz-2.6.32-25-genericFound initrd image: /boot/initrd.img-2.6.32-25-genericFound memtest86+ image: /memtest86+.bindoneroger@roger-laptop:~$ sudo update-grub2Generating grub.cfg ...Found linux image: /boot/vmlinuz-2.6.32-26-genericFound initrd image: /boot/initrd.img-2.6.32-26-genericFound linux image: /boot/vmlinuz-2.6.32-25-genericFound initrd image: /boot/initrd.img-2.6.32-25-genericFound memtest86+ image: /memtest86+.bindoneroger@roger-laptop:~$
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
22:20帖子: 7
送出感谢: 0 次
接收感谢: 0 次
30_os-prober此文件有~~~
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
22:20帖子: 7
送出感谢: 0 次
接收感谢: 0 次
我在软件中心删除GRUB-PC又重安装,还是不行!
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
5:53帖子: 4665
30_os-prober 40_custom看看有没有x权限。代码:sudo chmod +x /etc/grub.d/30_os-prober
_________________电子书下载:
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
5:53帖子: 4665
上面应该是代码:sudo apt-get purge grub-pc grub-commonsudo rm -fr /boot/grub/*sudo apt-get install grub-pc grub-commonsudo grub-install /dev/sdasudo update-grub没注意多打一个字母p。
_________________电子书下载:
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
22:20帖子: 7
送出感谢: 0 次
接收感谢: 0 次
终于好了,谢谢大侠~~~~~
&文章标题 : Re: ubuntu win7硬盘安装双系统 update-grub2后没有win7的引导项,怎么回事呢?发表于 :
22:44帖子: 6
系统: ubuntu12.04
送出感谢: 0 次
接收感谢: 0 次
我现在也遇到了这个问题了……求指点
显示帖子 : 全部帖子1天7天2周1个月3个月6个月1年&排序 作者发表时间文章标题 升序降序&
&[ 14 篇帖子 ]&
正在浏览此版面的用户:没有注册用户 和 2 位游客
您 不能 在这个版面发表主题您 不能 在这个版面回复主题您 不能 在这个版面编辑帖子您 不能 在这个版面删除帖子您 不能 在这个版面提交附件
选择一个版面
------------------
公告/注意事项
& &新闻和通知
& &校园社团支持
& && &华东校区
& && &华南校区
& && &华北校区
& && &华中校区
& && &东北校区
& && &西北校区
& && &港澳台校区
& && &国外校区
& &软件推荐
& &非常任务
系统安装区
& &教学和常见问答
& && &课堂教学和培训
& &初学者园地 - 17.04 - Zesty Zapus
& &系统安装和升级
& && &新立得和软件源
& && &Wubi安装讨论
& &启动和引导
& &网卡问题以及网络和拨号
& && &校园网拨号
& &笔记本、UMPC支持
& &手机和平板
& && &Ubuntu移动应用开发
& &常用硬件支持
& &系统架构支持
配置美化区
& &字体美化和中文支持
& && &个人配置文件存放点
& &桌面特效
& &窗口管理器
& &屏幕抓图
& &办公、图像、机械电子设计等
& && &Vim和Emacs
& &因特网相关软件
& &影音多媒体
& &Wine及其分支
& &游戏和游戏模拟器
& &虚拟机和虚拟化
& &其它类软件
& &开源模板库
服务器管理
& &服务器基础应用
& &数据库管理
& &服务器维护和硬件相关
& &Ubuntu VPS
参与Ubuntu开发
& &软件和文档翻译
& &编译或打包
& &Ubuntu错误报告
程序设计区
& &Shell脚本
& &GTK+和QT
& &软件/网站开发
& && &Python/Php/Perl
& && &C/C++/Java
& &内核及嵌入式开发
& &开源小工具
& &Ubuntu 17.10
& &Ubuntu 16.04 LTS
& &Ubuntu 14.04 LTS
& &Ubuntu 12.04 LTS
& &Ubuntu 10.04 LTS
& &老旧版本支持
& && &Ubuntu 15.10
& && &Ubuntu 15.04
& && &Ubuntu 14.10
衍生发行版
& &Ubuntu GNOME
& &Kubuntu
& &Xubuntu & Lubuntu
& &Ubuntu中文衍生版
& && &UbuntuKylin
& &Ubuntu国外衍生版
& && &Mint
& &Ubuntu衍生版制作
& &其它类Unix OS发行版
& && &Arch发行版
& && &Debian发行版
& && &OpenSUSE发行版
& && &Deepin
& &深度PK版
& &Ubuntu故事和感慨
& &Full Circle开源杂志
分享交流区
& &同城交流
& &线下活动专版
& &Ubuntu宣传推广
& &论坛管理
& && && &Ubuntu中文网上商店

我要回帖

更多关于 王者荣耀露娜改名嫦娥 的文章

 

随机推荐