大哥,我激活以后进ubuntu然后把这些写上去以后又进不了win7了,选择进win7以后一直是黑屏,进不去啊。。。。。。大哥我该怎么办呢onshoestring 写了:那把这个改回去进win7,激活。ntldr /bootmgr
进ubuntu代码: 全选
sudo chmod -x /etc/grub.d/40_custom sudo chmod +x /etc/grub.d/30_os-prober sudo update-grub
新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
在浏览器里 ctrl-c 是复制,在终端里 ctrl-shift-v 是粘帖
终端运行:
把RESULTS.txt文件内容贴上来。
终端运行:
代码: 全选
cd ~/桌面 && wget 'http://nchc.dl.sourceforge.net/project/bootinfoscript/bootinfoscript/0.55/boot_info_script055.sh' && sudo bash boot_info_script055.sh
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
我复制粘帖肯定是对的啊
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks for b2can.
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.exe
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda8: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda9: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda10: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 81,920,159 81,920,097 7 HPFS/NTFS
/dev/sda2 81,920,221 488,394,751 406,474,531 f W95 Ext d (LBA)
/dev/sda5 81,920,223 184,327,919 102,407,697 b W95 FAT32
/dev/sda6 184,327,983 327,695,759 143,367,777 b W95 FAT32
/dev/sda7 327,695,823 404,066,879 76,371,057 b W95 FAT32
/dev/sda8 404,068,352 428,066,815 23,998,464 83 Linux
/dev/sda9 428,068,864 430,020,607 1,951,744 82 Linux swap / Solaris
/dev/sda10 430,022,656 488,394,751 58,372,096 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda10 b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e ext4
/dev/sda1 325CEBF95CEBB62F ntfs Windows7_OS
/dev/sda2: PTTYPE="dos"
/dev/sda5 8236-DBD6 vfat SOFTWARE
/dev/sda6 C352-49C7 vfat MEDIA
/dev/sda7 046D-B7C4 vfat BACKUP
/dev/sda8 025a36a9-035e-4ac6-917c-2ac3e318e21b ext4
/dev/sda9 ca42d09e-025a-4f33-8416-6b32410c4183 swap
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda8 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda10 /home ext4 (rw,commit=0)
=========================== sda8/boot/grub/grub.cfg: ===========================
#
# 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="${saved_entry}"
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='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
set locale_dir=($root)/boot/grub/locale
set lang=zh_CN
insmod gettext
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_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 'Ubuntu,Linux 2.6.38-8-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
savedefault
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
menuentry 'Ubuntu,Linux 2.6.38-8-generic-pae (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
echo 'Loading Linux 2.6.38-8-generic-pae ...'
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
### 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 {
savedefault
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 325CEBF95CEBB62F
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sda8/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; 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
# / was on /dev/sda8 during installation
UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda10 during installation
UUID=b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e /home ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=ca42d09e-025a-4f33-8416-6b32410c4183 none swap sw 0 0
=================== sda8: Location of files loaded by Grub: ===================
213.5GB: boot/grub/core.img
215.9GB: boot/grub/grub.cfg
210.4GB: boot/initrd.img-2.6.38-8-generic-pae
208.6GB: boot/vmlinuz-2.6.38-8-generic-pae
210.4GB: initrd.img
208.6GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000001b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 ef |................|
000001c0 ff ff 0b ef ff ff 02 00 00 00 11 9e 1a 06 00 fe |................|
000001d0 ff ff 05 fe ff ff 13 9e 1a 06 a0 9e 8b 08 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
麻烦大神哥了
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks for b2can.
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.exe
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda8: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda9: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda10: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 81,920,159 81,920,097 7 HPFS/NTFS
/dev/sda2 81,920,221 488,394,751 406,474,531 f W95 Ext d (LBA)
/dev/sda5 81,920,223 184,327,919 102,407,697 b W95 FAT32
/dev/sda6 184,327,983 327,695,759 143,367,777 b W95 FAT32
/dev/sda7 327,695,823 404,066,879 76,371,057 b W95 FAT32
/dev/sda8 404,068,352 428,066,815 23,998,464 83 Linux
/dev/sda9 428,068,864 430,020,607 1,951,744 82 Linux swap / Solaris
/dev/sda10 430,022,656 488,394,751 58,372,096 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda10 b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e ext4
/dev/sda1 325CEBF95CEBB62F ntfs Windows7_OS
/dev/sda2: PTTYPE="dos"
/dev/sda5 8236-DBD6 vfat SOFTWARE
/dev/sda6 C352-49C7 vfat MEDIA
/dev/sda7 046D-B7C4 vfat BACKUP
/dev/sda8 025a36a9-035e-4ac6-917c-2ac3e318e21b ext4
/dev/sda9 ca42d09e-025a-4f33-8416-6b32410c4183 swap
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda8 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda10 /home ext4 (rw,commit=0)
=========================== sda8/boot/grub/grub.cfg: ===========================
#
# 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="${saved_entry}"
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='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
set locale_dir=($root)/boot/grub/locale
set lang=zh_CN
insmod gettext
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_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 'Ubuntu,Linux 2.6.38-8-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
savedefault
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
menuentry 'Ubuntu,Linux 2.6.38-8-generic-pae (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
echo 'Loading Linux 2.6.38-8-generic-pae ...'
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
### 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 {
savedefault
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 325CEBF95CEBB62F
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sda8/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; 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
# / was on /dev/sda8 during installation
UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda10 during installation
UUID=b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e /home ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=ca42d09e-025a-4f33-8416-6b32410c4183 none swap sw 0 0
=================== sda8: Location of files loaded by Grub: ===================
213.5GB: boot/grub/core.img
215.9GB: boot/grub/grub.cfg
210.4GB: boot/initrd.img-2.6.38-8-generic-pae
208.6GB: boot/vmlinuz-2.6.38-8-generic-pae
210.4GB: initrd.img
208.6GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000001b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 ef |................|
000001c0 ff ff 0b ef ff ff 02 00 00 00 11 9e 1a 06 00 fe |................|
000001d0 ff ff 05 fe ff ff 13 9e 1a 06 a0 9e 8b 08 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
麻烦大神哥了
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
不清楚你这个激活机制怎么回事。
先
如果能进win7,下载这个工具激活:
download/file.php?id=102075
再进ubuntu
先
代码: 全选
sudo chmod +x /etc/grub.d/40_custom
sudo chmod -x /etc/grub.d/30_os-prober
sudo update-grub
download/file.php?id=102075
再进ubuntu
代码: 全选
sudo chmod -x /etc/grub.d/40_custom
sudo chmod +x /etc/grub.d/30_os-prober
sudo update-grub
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
大神哥,按照你的办法最后还是进不了win7啊,进win7就画面一直是黑的额。。。。。怎么办啊。。。onshoestring 写了:不清楚你这个激活机制怎么回事。
先如果能进win7,下载这个工具激活:代码: 全选
sudo chmod +x /etc/grub.d/40_custom sudo chmod -x /etc/grub.d/30_os-prober sudo update-grub
download/file.php?id=102075
再进ubuntu代码: 全选
sudo chmod -x /etc/grub.d/40_custom sudo chmod +x /etc/grub.d/30_os-prober sudo update-grub
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
用19楼链接的激活工具?
把RESULTS.txt文件内容贴上来。cd ~/桌面 && wget 'http://nchc.dl.sourceforge.net/project/ ... ript055.sh' && sudo bash boot_info_script055.sh
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
恩,是的啊,我是用19楼链接的激活工具激活的,激活以后再进ubuntu写完那3句命令以后再进win7就变成黑的了,然后最左上角一个光标一直在闪onshoestring 写了:用19楼链接的激活工具?
把RESULTS.txt文件内容贴上来。cd ~/桌面 && wget 'http://nchc.dl.sourceforge.net/project/ ... ript055.sh' && sudo bash boot_info_script055.sh
下面是新的results (真心感谢大神哥热心和耐心的帮我解决问题!!)
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks for b2can.
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.exe /grldr
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda8: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda9: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda10: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 81,920,159 81,920,097 7 HPFS/NTFS
/dev/sda2 81,920,221 488,394,751 406,474,531 f W95 Ext d (LBA)
/dev/sda5 81,920,223 184,327,919 102,407,697 b W95 FAT32
/dev/sda6 184,327,983 327,695,759 143,367,777 b W95 FAT32
/dev/sda7 327,695,823 404,066,879 76,371,057 b W95 FAT32
/dev/sda8 404,068,352 428,066,815 23,998,464 83 Linux
/dev/sda9 428,068,864 430,020,607 1,951,744 82 Linux swap / Solaris
/dev/sda10 430,022,656 488,394,751 58,372,096 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda10 b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e ext4
/dev/sda1 325CEBF95CEBB62F ntfs Windows7_OS
/dev/sda2: PTTYPE="dos"
/dev/sda5 8236-DBD6 vfat SOFTWARE
/dev/sda6 C352-49C7 vfat MEDIA
/dev/sda7 046D-B7C4 vfat BACKUP
/dev/sda8 025a36a9-035e-4ac6-917c-2ac3e318e21b ext4
/dev/sda9 ca42d09e-025a-4f33-8416-6b32410c4183 swap
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda8 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda10 /home ext4 (rw,commit=0)
=========================== sda8/boot/grub/grub.cfg: ===========================
#
# 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="${saved_entry}"
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='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
set locale_dir=($root)/boot/grub/locale
set lang=zh_CN
insmod gettext
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_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 'Ubuntu,Linux 2.6.38-8-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
savedefault
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
menuentry 'Ubuntu,Linux 2.6.38-8-generic-pae (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
echo 'Loading Linux 2.6.38-8-generic-pae ...'
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
### 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 {
savedefault
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 325CEBF95CEBB62F
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sda8/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; 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
# / was on /dev/sda8 during installation
UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda10 during installation
UUID=b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e /home ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=ca42d09e-025a-4f33-8416-6b32410c4183 none swap sw 0 0
=================== sda8: Location of files loaded by Grub: ===================
213.5GB: boot/grub/core.img
215.9GB: boot/grub/grub.cfg
210.4GB: boot/initrd.img-2.6.38-8-generic-pae
208.6GB: boot/vmlinuz-2.6.38-8-generic-pae
210.4GB: initrd.img
208.6GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000001b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 ef |................|
000001c0 ff ff 0b ef ff ff 02 00 00 00 11 9e 1a 06 00 fe |................|
000001d0 ff ff 05 fe ff ff 13 9e 1a 06 a0 9e 8b 08 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
怎么管理员还没审核好啊
我是用19楼的链接装的啊
新的results
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks for b2can.
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.exe /grldr
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda8: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda9: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda10: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 81,920,159 81,920,097 7 HPFS/NTFS
/dev/sda2 81,920,221 488,394,751 406,474,531 f W95 Ext d (LBA)
/dev/sda5 81,920,223 184,327,919 102,407,697 b W95 FAT32
/dev/sda6 184,327,983 327,695,759 143,367,777 b W95 FAT32
/dev/sda7 327,695,823 404,066,879 76,371,057 b W95 FAT32
/dev/sda8 404,068,352 428,066,815 23,998,464 83 Linux
/dev/sda9 428,068,864 430,020,607 1,951,744 82 Linux swap / Solaris
/dev/sda10 430,022,656 488,394,751 58,372,096 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda10 b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e ext4
/dev/sda1 325CEBF95CEBB62F ntfs Windows7_OS
/dev/sda2: PTTYPE="dos"
/dev/sda5 8236-DBD6 vfat SOFTWARE
/dev/sda6 C352-49C7 vfat MEDIA
/dev/sda7 046D-B7C4 vfat BACKUP
/dev/sda8 025a36a9-035e-4ac6-917c-2ac3e318e21b ext4
/dev/sda9 ca42d09e-025a-4f33-8416-6b32410c4183 swap
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda8 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda10 /home ext4 (rw,commit=0)
=========================== sda8/boot/grub/grub.cfg: ===========================
#
# 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="${saved_entry}"
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='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
set locale_dir=($root)/boot/grub/locale
set lang=zh_CN
insmod gettext
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_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 'Ubuntu,Linux 2.6.38-8-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
savedefault
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
menuentry 'Ubuntu,Linux 2.6.38-8-generic-pae (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
echo 'Loading Linux 2.6.38-8-generic-pae ...'
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
### 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 {
savedefault
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 325CEBF95CEBB62F
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sda8/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; 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
# / was on /dev/sda8 during installation
UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda10 during installation
UUID=b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e /home ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=ca42d09e-025a-4f33-8416-6b32410c4183 none swap sw 0 0
=================== sda8: Location of files loaded by Grub: ===================
213.5GB: boot/grub/core.img
215.9GB: boot/grub/grub.cfg
210.4GB: boot/initrd.img-2.6.38-8-generic-pae
208.6GB: boot/vmlinuz-2.6.38-8-generic-pae
210.4GB: initrd.img
208.6GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000001b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 ef |................|
000001c0 ff ff 0b ef ff ff 02 00 00 00 11 9e 1a 06 00 fe |................|
000001d0 ff ff 05 fe ff ff 13 9e 1a 06 a0 9e 8b 08 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
我是用19楼的链接装的啊
新的results
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks for b2can.
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.exe /grldr
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda7: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda8: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda9: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda10: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 81,920,159 81,920,097 7 HPFS/NTFS
/dev/sda2 81,920,221 488,394,751 406,474,531 f W95 Ext d (LBA)
/dev/sda5 81,920,223 184,327,919 102,407,697 b W95 FAT32
/dev/sda6 184,327,983 327,695,759 143,367,777 b W95 FAT32
/dev/sda7 327,695,823 404,066,879 76,371,057 b W95 FAT32
/dev/sda8 404,068,352 428,066,815 23,998,464 83 Linux
/dev/sda9 428,068,864 430,020,607 1,951,744 82 Linux swap / Solaris
/dev/sda10 430,022,656 488,394,751 58,372,096 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda10 b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e ext4
/dev/sda1 325CEBF95CEBB62F ntfs Windows7_OS
/dev/sda2: PTTYPE="dos"
/dev/sda5 8236-DBD6 vfat SOFTWARE
/dev/sda6 C352-49C7 vfat MEDIA
/dev/sda7 046D-B7C4 vfat BACKUP
/dev/sda8 025a36a9-035e-4ac6-917c-2ac3e318e21b ext4
/dev/sda9 ca42d09e-025a-4f33-8416-6b32410c4183 swap
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda8 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda10 /home ext4 (rw,commit=0)
=========================== sda8/boot/grub/grub.cfg: ===========================
#
# 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="${saved_entry}"
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='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
set locale_dir=($root)/boot/grub/locale
set lang=zh_CN
insmod gettext
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_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 'Ubuntu,Linux 2.6.38-8-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
savedefault
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
menuentry 'Ubuntu,Linux 2.6.38-8-generic-pae (恢复模式)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos8)'
search --no-floppy --fs-uuid --set=root 025a36a9-035e-4ac6-917c-2ac3e318e21b
echo 'Loading Linux 2.6.38-8-generic-pae ...'
linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic-pae
}
### 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 {
savedefault
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 325CEBF95CEBB62F
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sda8/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; 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
# / was on /dev/sda8 during installation
UUID=025a36a9-035e-4ac6-917c-2ac3e318e21b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda10 during installation
UUID=b51655cf-b0ca-4bc0-b1b5-aedd55b46e6e /home ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=ca42d09e-025a-4f33-8416-6b32410c4183 none swap sw 0 0
=================== sda8: Location of files loaded by Grub: ===================
213.5GB: boot/grub/core.img
215.9GB: boot/grub/grub.cfg
210.4GB: boot/initrd.img-2.6.38-8-generic-pae
208.6GB: boot/vmlinuz-2.6.38-8-generic-pae
210.4GB: initrd.img
208.6GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000001b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 ef |................|
000001c0 ff ff 0b ef ff ff 02 00 00 00 11 9e 1a 06 00 fe |................|
000001d0 ff ff 05 fe ff ff 13 9e 1a 06 a0 9e 8b 08 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
再次感谢大神哥哥耐心的帮我解答问题
按照19楼链接的工具激活好再把3个命令写到ubuntu终端以后就进不了win7了哦,选择进win7就是黑屏了,然后左上角有个光标一直在闪
按照19楼链接的工具激活好再把3个命令写到ubuntu终端以后就进不了win7了哦,选择进win7就是黑屏了,然后左上角有个光标一直在闪
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
代码: 全选
sudo gedit /etc/grub.d/40_custom
menuentry "Windows 7" {
set root=(hd0,1)
ntldr /grldr
boot
}
代码: 全选
sudo chmod +x /etc/grub.d/40_custom
sudo chmod -x /etc/grub.d/30_os-prober
sudo update-grub
上次由 onshoestring 在 2011-06-02 15:02,总共编辑 1 次。
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
貌似可以了,我在电脑右键属性里看到是已经激活的,但是问题是,进入win7登录画面的时候怎么还是会提醒我是盗版的啊 

- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
不知道什么原因,这个地方软激活程序没有改。sda1:
File system: ntfs
Boot sector type: Windows Vista/7
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
那要怎么办啊。。。。。。。。。。
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 新手第一次装ubuntu,进不了win7了,谁进来救命啊,在线等啊~~~~~~~~~~~~~~~~~~
1.先凑活着用。
2.用1楼的办法。
3.下载bootice
http://bbs.wuyou.com/viewthread.php?tid=57675
物理磁盘处理-分区引导记录-bootmgr引导程序-安装配置
第一引导grldr
第二引导bootmgr
确定
方法2或3是有风险的,只能试试。
改完后进ubuntu
2.用1楼的办法。
3.下载bootice
http://bbs.wuyou.com/viewthread.php?tid=57675
物理磁盘处理-分区引导记录-bootmgr引导程序-安装配置
第一引导grldr
第二引导bootmgr
确定
方法2或3是有风险的,只能试试。
改完后进ubuntu
代码: 全选
sudo chmod -x/etc/grub.d/40_custom
sudo chmod + /etc/grub.d/30_os-prober
sudo update-grub
-
- 帖子: 21
- 注册时间: 2011-06-02 10:07