当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 27 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-10 20:54 

注册: 2008-11-09 13:43
帖子: 100
送出感谢: 0 次
接收感谢: 0 次
我原来是双系统:32位的14.10和32位的win7。最近重新安装了64位的15.04 beta2,现在无法进入win7。用ubuntu的U盘进入LiveCD,使用boot repair工具修复了半天,还是不行。请问有解决办法吗?

我找到一个高手的贴,按照他的方法分析了一下启动信息,放在2楼:
https://forum.ubuntu.org.cn/viewtopic.php?f=77&t=462922


最后由 himandy 编辑于 2015-04-11 22:30,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-11 22:29 

注册: 2008-11-09 13:43
帖子: 100
送出感谢: 0 次
接收感谢: 0 次
代码:
                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 135 for .

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts
                       at sector 63.
    Operating System: 
    Boot files:       

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu Vivid Vervet
                       (development branch)
    Boot files:        /boot/grub/grub.cfg /etc/fstab

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63    48,828,187    48,828,125   7 NTFS / exFAT / HPFS
/dev/sda2          48,828,414   976,768,064   927,939,651   f W95 Extended (LBA)
/dev/sda5         102,414,438   409,625,369   307,210,932   7 NTFS / exFAT / HPFS
/dev/sda6         409,625,433   716,834,417   307,208,985  83 Linux
/dev/sda7         716,836,428   976,768,064   259,931,637  83 Linux
/dev/sda8          48,828,416    52,733,951     3,905,536  82 Linux swap / Solaris
/dev/sda9          52,736,000   102,413,734    49,677,735  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        2A923043923015B3                       ntfs       
/dev/sda5        DCA4FFBEA4FF98EA                       ntfs       
/dev/sda6        030246bd-cd62-4ae7-acdb-b3d32b4d48b5   ext4       
/dev/sda7        c629ea95-568f-45ec-820b-db8cbd00965e   ext4       
/dev/sda8        48cf90ab-aeb1-46c1-8d0a-cd4d597f5db0   swap       
/dev/sda9        1f870406-ec09-4d0a-8f23-f4c00885ec3b   ext4       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda1        /windows                 fuseblk    (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5        /dos                     fuseblk    (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
/dev/sda6        /backup                  ext4       (rw,relatime,data=ordered)
/dev/sda7        /home                    ext4       (rw,relatime,data=ordered)
/dev/sda9        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)


=========================== sda9/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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  1f870406-ec09-4d0a-8f23-f4c00885ec3b
else
  search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
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,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
   set gfxpayload="${1}"
   if [ "${1}" = "keep" ]; then
      set vt_handoff=vt.handoff=7
   else
      set vt_handoff=
   fi
}
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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos9'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  1f870406-ec09-4d0a-8f23-f4c00885ec3b
   else
     search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
   fi
   linux   /boot/vmlinuz-3.19.0-12-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro  quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.19.0-12-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
   menuentry 'Ubuntu, with Linux 3.19.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-12-generic-advanced-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  1f870406-ec09-4d0a-8f23-f4c00885ec3b
      else
        search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
      fi
      echo   'Loading Linux 3.19.0-12-generic ...'
      linux   /boot/vmlinuz-3.19.0-12-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.19.0-12-generic
   }
   menuentry 'Ubuntu, with Linux 3.19.0-12-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-12-generic-init-upstart-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  1f870406-ec09-4d0a-8f23-f4c00885ec3b
      else
        search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
      fi
      echo   'Loading Linux 3.19.0-12-generic ...'
      linux   /boot/vmlinuz-3.19.0-12-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro  quiet splash $vt_handoff init=/sbin/upstart
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.19.0-12-generic
   }
   menuentry 'Ubuntu, with Linux 3.19.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-12-generic-recovery-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  1f870406-ec09-4d0a-8f23-f4c00885ec3b
      else
        search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
      fi
      echo   'Loading Linux 3.19.0-12-generic ...'
      linux   /boot/vmlinuz-3.19.0-12-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.19.0-12-generic
   }
   menuentry 'Ubuntu, with Linux 3.19.0-10-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-10-generic-advanced-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  1f870406-ec09-4d0a-8f23-f4c00885ec3b
      else
        search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
      fi
      echo   'Loading Linux 3.19.0-10-generic ...'
      linux   /boot/vmlinuz-3.19.0-10-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.19.0-10-generic
   }
   menuentry 'Ubuntu, with Linux 3.19.0-10-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-10-generic-init-upstart-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  1f870406-ec09-4d0a-8f23-f4c00885ec3b
      else
        search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
      fi
      echo   'Loading Linux 3.19.0-10-generic ...'
      linux   /boot/vmlinuz-3.19.0-10-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro  quiet splash $vt_handoff init=/sbin/upstart
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.19.0-10-generic
   }
   menuentry 'Ubuntu, with Linux 3.19.0-10-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-10-generic-recovery-1f870406-ec09-4d0a-8f23-f4c00885ec3b' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos9'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  1f870406-ec09-4d0a-8f23-f4c00885ec3b
      else
        search --no-floppy --fs-uuid --set=root 1f870406-ec09-4d0a-8f23-f4c00885ec3b
      fi
      echo   'Loading Linux 3.19.0-10-generic ...'
      linux   /boot/vmlinuz-3.19.0-10-generic root=UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-3.19.0-10-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 $menuentry_id_option 'osprober-chain-2A923043923015B3' {
   insmod part_msdos
   insmod ntfs
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  2A923043923015B3
   else
     search --no-floppy --fs-uuid --set=root 2A923043923015B3
   fi
   parttool ${root} hidden-
   chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda9/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sda9 during installation
UUID=1f870406-ec09-4d0a-8f23-f4c00885ec3b /               ext4    errors=remount-ro 0       1
# /backup was on /dev/sda6 during installation
UUID=030246bd-cd62-4ae7-acdb-b3d32b4d48b5 /backup         ext4    defaults        0       2
# /dos was on /dev/sda5 during installation
UUID=DCA4FFBEA4FF98EA /dos            ntfs    defaults,umask=007,gid=46 0       0
# /home was on /dev/sda7 during installation
UUID=c629ea95-568f-45ec-820b-db8cbd00965e /home           ext4    defaults        0       2
# /windows was on /dev/sda1 during installation
UUID=2A923043923015B3 /windows        ntfs    defaults,umask=007,gid=46 0       0
# swap was on /dev/sda8 during installation
UUID=48cf90ab-aeb1-46c1-8d0a-cd4d597f5db0 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-TDNlPP9s/Tmp_Log: 没有那个文件或目录


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-12 6:34 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
我原来是双系统:32位的14.10和32位的win7。最近重新安装了64位的15.04 beta2,

1. 請提供 安裝 32位的14.10 與 64位的15.04 beta2 的分割區
是 安裝在不同的 分割區 還是 同一個分割區 ?
引用:
现在无法进入win7。

2. 是在開機出現的 grub 2 開機選單
選擇 Windows 7 (loader) (on /dev/sda1) 選項
無法登入 Windows 7 嗎 ?

2-1. 還是 登入 Ubuntu 桌面後
無法打開 /windows 目錄 ?

3. 如果可以 登入 Ubuntu 桌面
從終端機
uname -r
把結果複製貼上來


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-12 14:33 

注册: 2008-11-09 13:43
帖子: 100
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
引用:
我原来是双系统:32位的14.10和32位的win7。最近重新安装了64位的15.04 beta2,

1. 請提供 安裝 32位的14.10 與 64位的15.04 beta2 的分割區
是 安裝在不同的 分割區 還是 同一個分割區 ?
引用:
现在无法进入win7。

2. 是在開機出現的 grub 2 開機選單
選擇 Windows 7 (loader) (on /dev/sda1) 選項
無法登入 Windows 7 嗎 ?

2-1. 還是 登入 Ubuntu 桌面後
無法打開 /windows 目錄 ?

3. 如果可以 登入 Ubuntu 桌面
從終端機
uname -r
把結果複製貼上來

1、14.10和15.04都是装在/dev/sda9这个分区,我安装的时候,选择先格式化该分区,再安装15.04的。
2、看见grub2菜单,选win7后无法进入win7,一直黑屏(黑紫色,无文字提示)
3、uname -r结果如下:
3.19.0-12-generic


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-12 15:37 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
1. 開機 登入 Ubuntu 桌面
把下面指令 複製 貼進終端機 執行
1-1. sudo grub-install /dev/sda
1-2. sudo update-grub
1-3. sudo update-initramfs -u -k all
1-4. sudo reboot
設定 /dev/sda 為最優先開機選單
2. 選 Windows 7
看看 能否登入 Windows 7
3. 如果不行
選 Ubuntu 登入 Ubuntu 桌面
把下面指令 複製 貼進終端機 執行
3-1. sudo apt-get install pastebinit
3-2. sudo cat /boot/grub/grub.cfg | pastebinit
會回應 http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
http://paste.ubuntu.com/xxxxxxx 貼上來
3-3. sudo ls -al /windows | grep bootmgr
把結果直接複製 貼上來
引用:
/dev/sda1 /windows fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 /dos fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)

4. 這個 fuseblk 掛載參數 少見
你能提供如何產生的嗎
4-1. 如果能提供參考網址更好
4-2. 參閱
http://www.mjmwired.net/kernel/Document ... s/fuse.txt
使用 fuseblk 搜尋


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-12 17:01 

注册: 2008-12-02 20:09
帖子: 47
送出感谢: 2
接收感谢: 0 次
500G的硬盘居然分那么多分区,mbr分区其实尽量不要超过4个分区,最好不要分扩展分区。像你这个,最多三个分区足够了,一个win7 ntfs,一个共用分区,可以ntfs也可以fat32,以备以后win7改win8了可以efi启动使用。ubuntu直接一个/分区就可以了,swap在安装系统后采用swap文件,不要专门分区。

附件:
选区_001.png
选区_001.png [ 92.17 KiB | 被浏览 2251 次 ]



个人看法,win7不能启动与grub2没关系,是windows系统故障。玩linux的总会winPE吧,用PE启动,bootice编辑BCD,看看启动windows7的条目


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-12 17:23 

注册: 2008-12-02 20:09
帖子: 47
送出感谢: 2
接收感谢: 0 次
好了,重启到windows截了几张图

1、先看主引导扇区,你的是grub2已经确认
附件:
图像 1.jpg
图像 1.jpg [ 506.58 KiB | 被浏览 2237 次 ]



2、再看分区引导,应该是bootmbr
附件:
图像 2.jpg
图像 2.jpg [ 281.85 KiB | 被浏览 2237 次 ]



3、正常应该有win7(我的是win8.1)的BCD引导条目,如果没有从图示中的菜单增加一个。
附件:
图像 3.jpg
图像 3.jpg [ 410.37 KiB | 被浏览 2237 次 ]



注意是winload.exe,不是winload.efi,efi文件是uefi启动用的,你的是bios启动。


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-12 18:15 

注册: 2008-11-09 13:43
帖子: 100
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
1. 開機 登入 Ubuntu 桌面
把下面指令 複製 貼進終端機 執行
1-1. sudo grub-install /dev/sda
1-2. sudo update-grub
1-3. sudo update-initramfs -u -k all
1-4. sudo reboot
設定 /dev/sda 為最優先開機選單
2. 選 Windows 7
看看 能否登入 Windows 7
3. 如果不行
選 Ubuntu 登入 Ubuntu 桌面
把下面指令 複製 貼進終端機 執行
3-1. sudo apt-get install pastebinit
3-2. sudo cat /boot/grub/grub.cfg | pastebinit
會回應 http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
http://paste.ubuntu.com/xxxxxxx 貼上來
3-3. sudo ls -al /windows | grep bootmgr
把結果直接複製 貼上來
引用:
/dev/sda1 /windows fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 /dos fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)

4. 這個 fuseblk 掛載參數 少見
你能提供如何產生的嗎
4-1. 如果能提供參考網址更好
4-2. 參閱
http://www.mjmwired.net/kernel/Document ... s/fuse.txt
使用 fuseblk 搜尋

1、试过了,无效果,不能登入win7.
3、http://paste.ubuntu.com/10807483/
sudo ls -al /windows | grep bootmgr
-rwxrwx--- 1 root plugdev 391640 Hun 28 2014 bootmgr
4、我也忘记了。。。起码2-3年前了,先装好win7,然后装10.04或11.04,上网学了某些方法修复启动。后来重新安装新版ubuntu也没问题,都是32位系统。这次换了64位才第一次遇到这种现象。


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-12 19:48 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe

引用:
sudo ls -al /windows | grep bootmgr
-rwxrwx--- 1 root plugdev 391640 Hun 28 2014 bootmgr

1. 看看 這兩個 開機檔案 在不在
sudo ls -al /windows//Boot | grep BCD
sudo ls -al /windows//Windows/System32 | grep winload.exe


页首
 用户资料  
 
10 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-12 21:19 

注册: 2008-11-09 13:43
帖子: 100
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
引用:
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe

引用:
sudo ls -al /windows | grep bootmgr
-rwxrwx--- 1 root plugdev 391640 Hun 28 2014 bootmgr

1. 看看 這兩個 開機檔案 在不在
sudo ls -al /windows//Boot | grep BCD
sudo ls -al /windows//Windows/System32 | grep winload.exe


sudo ls -al /windows//Boot | grep BCD
-rwxrwx--- 1 root plugdev 28672 Abr 12 13:07 BCD
-rwxrwx--- 1 root plugdev 25600 Abr 12 13:03 BCD.LOG
-rwxrwx--- 2 root plugdev 25600 Abr 12 13:07 BCD.LOG1
-rwxrwx--- 2 root plugdev 0 May 30 2012 BCD.LOG2

sudo ls -al /windows//Windows/System32 | grep winload.exe
-rwxrwx--- 2 root plugdev 521384 Nob 1 06:22 winload.exe


页首
 用户资料  
 
11 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-13 6:37 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
2、看见grub2菜单,选win7后无法进入win7,一直黑屏(黑紫色,无文字提示)

0. 猜測 它不知道 Windows 7 所安裝的 分割區 在哪裡

1. 打開 /boot/grub/grub.cfg
引用:
http://paste.ubuntu.com/10807483/
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-2A923043923015B3' {
menuentry 'Microsoft Windows XP Professional (於 /dev/sdg1)' --class windows --class os $menuentry_id_option 'osprober-chain-FA48E95C48E91861' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2A923043923015B3
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 FA48E95C48E91861
else
search --no-floppy --fs-uuid --set=root 2A923043923015B3
search --no-floppy --fs-uuid --set=root FA48E95C48E91861
fi
parttool ${root} hidden-
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

2. 複製
drivemap -s (hd0) ${root}
貼上 下面紅色的那一列 的位置
儲存
引用:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-2A923043923015B3' {
menuentry 'Microsoft Windows XP Professional (於 /dev/sdg1)' --class windows --class os $menuentry_id_option 'osprober-chain-FA48E95C48E91861' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2A923043923015B3
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 FA48E95C48E91861
else
search --no-floppy --fs-uuid --set=root 2A923043923015B3
search --no-floppy --fs-uuid --set=root FA48E95C48E91861
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

2-1. 詳細參閱
2-1-1. http://www.gnu.org/software/grub/manual ... 02fWindows
4.3.3 DOS/Windows
drivemap -s (hd0) (hd1)
2-1-2. http://www.gnu.org/software/grub/manual ... l#drivemap
14.3.12 drivemap
Command: drivemap -l|-r|[-s] from_drive to_drive
so you can safely use ${root} as a drive specification.
With the -s option, perform the reverse mapping as well, swapping the two drives.

3. 然後 重新開機
看看 可以不可以 啟動 Windows 7

4. 上面只是 暫時解決方法
成敗與否 請再貼文
再看看下一步


页首
 用户资料  
 
12 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-13 8:22 

注册: 2008-12-02 20:09
帖子: 47
送出感谢: 2
接收感谢: 0 次
都说了,不是grub2的问题,update-grub能生成菜单就说明能正确认出分区。
这个问题应该从windows解决,把BCD、BCD.log打个包放上来吧。


页首
 用户资料  
 
13 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-13 8:48 

注册: 2008-12-02 20:09
帖子: 47
送出感谢: 2
接收感谢: 0 次
楼主可能没有PE启动盘吧,有优盘的话可以做个grub4dos启动引导。
方法:打开BOOTICE,选择优盘,点主引导记录,安装grub4dos 0.46a,然后将grldr、menu.lst拷入优盘根目录
使用:启动电脑,选择优盘启动,菜单选择Start Windows 7/8。

附件:
grldr.zip [965.45 KiB]
被下载 3 次


页首
 用户资料  
 
14 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-13 9:01 

注册: 2008-12-02 20:09
帖子: 47
送出感谢: 2
接收感谢: 0 次
能否启动,及如果不能启动出现的屏幕提示信息贴上来看看。

忘记说了,优盘ntfs、fat32格式均不影响,如果有资料不用转移,只是写个主引导扇区然后拷入两个文件,操作很安全。


页首
 用户资料  
 
15 楼 
 文章标题 : Re: 安装64位的15.04之后,32位的win7无法启动
帖子发表于 : 2015-04-13 9:17 

注册: 2008-11-09 13:43
帖子: 100
送出感谢: 0 次
接收感谢: 0 次
crshen 写道:
1、先看主引导扇区,你的是grub2已经确认
2、再看分区引导,应该是bootmbr
3、正常应该有win7(我的是win8.1)的BCD引导条目,如果没有从图示中的菜单增加一个。
注意是winload.exe,不是winload.efi,efi文件是uefi启动用的,你的是bios启动。

按照你的方法做了,用winpe启动,使用bootice(64位和32位都试过)检查了主引导、分区引导、BCD内容,都没有问题,还是无法启动win7。等我试试你今天发的新方法。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 27 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译