分页: 1 / 1

win7+Ubuntu10.10双系统,先win7后U,现在没有win7启动项了。。。

发表于 : 2010-12-01 0:19
boom
笔记本中先有win7,软激活。装完u10.10,可以正常进入u,但进不去win7,启动项都没来, 直接进入U

目前蛋疼+绝望中。 硬盘里好多资料呢。。。。

大侠们帮帮忙啊!!!!!!!!!

-----------------
尝试网上都操作
终端
sudo mv /etc/grub.d/30_os-prober /etc/grub.d/06_os-prober

输入密码
sudo update-grub
可 启动项仍未恢复 而且 在输入密码后显示 mv: 无法 stat “/etc/grub.d/30_os-prober”: 没有那个文件或目录

PS:第一次装Ubuntu的表示压力很大

-----------------
RESLUTS.TXT

代码: 全选

                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 #6 for (,msdos6)/boot/grub.

sda1: _________________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info:  
    Mounting failed:
mount: 未知的文件系统 `'

sda2: _________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info:  

sda5: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

sda6: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 10.10
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda7: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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    *          2,048   612,853,759   612,851,712  83 Linux
/dev/sda2         612,855,806   625,141,759    12,285,954   5 Extended
/dev/sda5         612,855,808   616,371,051     3,515,244  82 Linux swap / Solaris
/dev/sda6         616,372,224   624,644,095     8,271,872  83 Linux
/dev/sda7         624,646,144   625,141,759       495,616  82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/sda2: PTTYPE="dos" 
/dev/sda5        a836ead4-4d50-4f7d-9c4e-08900e1a20b6   swap                                     
/dev/sda6        f87d55ae-c505-4ce6-80bc-74deed6ef047   ext4                                     
/dev/sda7        3de6142c-5f5c-482c-8b58-d5d1d622a0f9   swap                                     
/dev/sda: PTTYPE="dos" 

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

/dev/sda6        /                        ext4       (rw,errors=remount-ro,commit=0)


=========================== sda6/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="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 part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set f87d55ae-c505-4ce6-80bc-74deed6ef047
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set f87d55ae-c505-4ce6-80bc-74deed6ef047
set locale_dir=($root)/boot/grub/locale
set lang=zh
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/06_os-prober ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos6)'
    search --no-floppy --fs-uuid --set f87d55ae-c505-4ce6-80bc-74deed6ef047
    linux    /boot/vmlinuz-2.6.35-22-generic root=UUID=f87d55ae-c505-4ce6-80bc-74deed6ef047 ro   quiet splash
    initrd    /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos6)'
    search --no-floppy --fs-uuid --set f87d55ae-c505-4ce6-80bc-74deed6ef047
    echo    'Loading Linux 2.6.35-22-generic ...'
    linux    /boot/vmlinuz-2.6.35-22-generic root=UUID=f87d55ae-c505-4ce6-80bc-74deed6ef047 ro single 
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.35-22-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/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos6)'
    search --no-floppy --fs-uuid --set f87d55ae-c505-4ce6-80bc-74deed6ef047
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos6)'
    search --no-floppy --fs-uuid --set f87d55ae-c505-4ce6-80bc-74deed6ef047
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### 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 ###

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

=============================== sda6/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/sda6 during installation
UUID=f87d55ae-c505-4ce6-80bc-74deed6ef047 /               ext4    errors=remount-ro 0       1
/dev/sda7       none            swap    sw              0       0

=================== sda6: Location of files loaded by Grub: ===================


 316.9GB: boot/grub/core.img
 316.9GB: boot/grub/grub.cfg
 317.3GB: boot/initrd.img-2.6.35-22-generic
 316.9GB: boot/vmlinuz-2.6.35-22-generic
 317.3GB: initrd.img
 316.9GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda1

00000000  02 00 00 00 00 00 00 00  a0 00 00 00 00 00 00 00  |................|
00000010  00 00 00 00 00 10 00 00  ff ff ff ff d8 03 00 00  |................|
00000020  a5 35 00 00 00 00 02 00  49 3b 4b 01 02 00 00 00  |.5......I;K.....|
00000030  00 00 00 00 a0 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 10 00 00 ff ff ff ff  00 04 00 00 97 66 01 00  |.............f..|
00000050  00 00 0c 00 4a 49 4b 01  02 00 00 00 00 00 00 00  |....JIK.........|
00000060  a0 00 00 00 00 00 00 00  00 00 00 00 00 10 00 00  |................|
00000070  ff ff ff ff 28 04 00 00  bf c8 00 00 00 00 27 00  |....(.........'.|
00000080  19 4c 4b 01 02 00 00 00  00 00 00 00 a0 00 00 00  |.LK.............|
00000090  00 00 00 00 00 00 00 00  00 10 00 00 ff ff ff ff  |................|
000000a0  50 04 00 00 51 05 00 00  00 00 05 00 ce 52 4b 01  |P...Q........RK.|
000000b0  02 00 00 00 00 00 00 00  a0 00 00 00 00 00 00 00  |................|
000000c0  00 00 00 00 00 10 00 00  ff ff ff ff 78 04 00 00  |............x...|
000000d0  2b ca 00 00 00 00 17 00  59 58 4b 01 02 00 00 00  |+.......YXK.....|
000000e0  00 00 00 00 a0 00 00 00  00 00 00 00 00 00 00 00  |................|
000000f0  00 10 00 00 ff ff ff ff  a0 04 00 00 bd c9 00 00  |................|
00000100  00 00 29 00 38 59 4b 01  02 00 00 00 00 00 00 00  |..).8YK.........|
00000110  a0 00 00 00 00 00 00 00  00 00 00 00 00 10 00 00  |................|
00000120  ff ff ff ff c8 04 00 00  15 ca 00 00 00 00 18 00  |................|
00000130  cf 59 4b 01 02 00 00 00  00 00 00 00 a0 00 00 00  |.YK.............|
00000140  00 00 00 00 00 00 00 00  00 10 00 00 ff ff ff ff  |................|
00000150  f0 04 00 00 43 b8 01 00  00 00 04 00 b6 5a 4b 01  |....C........ZK.|
00000160  02 00 00 00 00 00 00 00  a0 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 10 00 00  ff ff ff ff 18 05 00 00  |................|
00000180  4e b8 01 00 00 00 05 00  f1 63 4b 01 02 00 00 00  |N........cK.....|
00000190  00 00 00 00 a0 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 10 00 00 ff ff ff ff  40 05 00 00 b9 04 00 00  |........@.......|
000001b0  00 00 09 00 f8 65 4b 01  02 00 00 00 00 00 00 00  |.....eK.........|
000001c0  a0 00 00 00 00 00 00 00  00 00 00 00 00 10 00 00  |................|
000001d0  ff ff ff ff 68 05 00 00  1e 55 01 00 00 00 62 00  |....h....U....b.|
000001e0  0e 97 4b 01 02 00 00 00  00 00 00 00 a0 00 00 00  |..K.............|
000001f0  00 00 00 00 00 00 00 00  00 10 00 00 ff ff bf f1  |................|
00000200