Strona 1 z 1

win7 nie uruchamia się

: 16 lis 2014, 09:36
autor: adrian5004
Witam. Mam problem, ponieważ zainstalowałem Ubuntu 14.04 na oddzielnych partycjach. Wszystko przebiegło sprawnie i poprawnie. Jednak mam problem, ponieważ przy uruchomieniu komputera, gdy mam możliwość wyboru systemu mam Ubuntu oraz Windows 7. Jednak po wybraniu Windows 7 ekran staje się czarny na około 1 sekundy i wraca do wyboru systemu ? Może ktoś miał taki sam przypadek lub wie jak to rozwiązać ? Z góry dzięki za pomoc.

Re: win7 nie uruchamia się

: 16 lis 2014, 10:20
autor: igotit4free
Pokaż wynik polecenia:

Kod: Zaznacz cały

sudo fdisk -l
Podaj też wynik bootinfoscript.
http://sourceforge.net/projects/bootinfoscript/

Re: win7 nie uruchamia się

: 16 lis 2014, 13:18
autor: james2001
Witam.
Może spróbuj:

Kod: Zaznacz cały

sudo update-grub

Re: win7 nie uruchamia się

: 16 lis 2014, 15:23
autor: adrian5004
Sudo fdisk -l

Kod: Zaznacz cały

Disk /dev/sda: 640.1 GB, 640135028736 bytes
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 77825, w sumie sektorów: 1250263728
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0x0d0b4e86

Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   220407807   110100480    7  HPFS/NTFS/exFAT
/dev/sda3       220409854  1202003967   490797057    f  W95 Rozsz. (LBA)
/dev/sda4      1202003968  1250258943    24127488   27  Hidden NTFS WinRE
/dev/sda5       220409856   904003605   341796875    7  HPFS/NTFS/exFAT
/dev/sda6       904005632   908003327     1998848   82  Linux swap / Solaris
/dev/sda7       908005376  1202003967   146999296   83  Linux

bootinfoscript

Kod: Zaznacz cały

                  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 112 for .

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda1 
                       and looks at sector 1097186136 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       in partition 112 for . No errors found in the Boot 
                       Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /BOOT/BCD

sda2: __________________________________________________________________________

    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:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        /ubuntu/winboot/wubildr /ubuntu/winboot/wubildr.mbr

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 14.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda4: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 640.1 GB, 640135028736 bytes
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 77825, w sumie sektorów: 1250263728
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   220,407,807   220,200,960   7 NTFS / exFAT / HPFS
/dev/sda3         220,409,854 1,202,003,967   981,594,114   f W95 Extended (LBA)
/dev/sda5         220,409,856   904,003,605   683,593,750   7 NTFS / exFAT / HPFS
/dev/sda6         904,005,632   908,003,327     3,997,696  82 Linux swap / Solaris
/dev/sda7         908,005,376 1,202,003,967   293,998,592  83 Linux
/dev/sda4       1,202,003,968 1,250,258,943    48,254,976  27 Hidden NTFS (Recovery Environment)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        32BA4371BA4330A1                       ntfs       SYSTEM
/dev/sda2        EC4078014077D136                       ntfs       
/dev/sda4        B8D880A7D880660A                       ntfs       SAMSUNG_REC
/dev/sda5        C8B4B925B4B916C2                       ntfs       
/dev/sda6        b0a00b3e-0764-4ece-85cf-4c4b6194c448   swap       
/dev/sda7        dba591b7-3be9-41a3-bd57-21d2fa68eec5   ext4       

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

Device           Mount_Point              Type       Options

/dev/sda7        /                        ext4       (rw,errors=remount-ro)


=========================== sda7/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,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  dba591b7-3be9-41a3-bd57-21d2fa68eec5
else
  search --no-floppy --fs-uuid --set=root dba591b7-3be9-41a3-bd57-21d2fa68eec5
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=pl_PL
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
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; 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-dba591b7-3be9-41a3-bd57-21d2fa68eec5' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  dba591b7-3be9-41a3-bd57-21d2fa68eec5
	else
	  search --no-floppy --fs-uuid --set=root dba591b7-3be9-41a3-bd57-21d2fa68eec5
	fi
	linux	/boot/vmlinuz-3.13.0-39-generic root=UUID=dba591b7-3be9-41a3-bd57-21d2fa68eec5 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-39-generic
}
submenu 'Opcje zaawansowane dla systemu Ubuntu' $menuentry_id_option 'gnulinux-advanced-dba591b7-3be9-41a3-bd57-21d2fa68eec5' {
	menuentry 'Ubuntu, za pomocą systemu Linux 3.13.0-39-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-39-generic-advanced-dba591b7-3be9-41a3-bd57-21d2fa68eec5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  dba591b7-3be9-41a3-bd57-21d2fa68eec5
		else
		  search --no-floppy --fs-uuid --set=root dba591b7-3be9-41a3-bd57-21d2fa68eec5
		fi
		echo	'Wczytywanie systemu Linux 3.13.0-39-generic...'
		linux	/boot/vmlinuz-3.13.0-39-generic root=UUID=dba591b7-3be9-41a3-bd57-21d2fa68eec5 ro  quiet splash $vt_handoff
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.13.0-39-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-39-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-39-generic-recovery-dba591b7-3be9-41a3-bd57-21d2fa68eec5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  dba591b7-3be9-41a3-bd57-21d2fa68eec5
		else
		  search --no-floppy --fs-uuid --set=root dba591b7-3be9-41a3-bd57-21d2fa68eec5
		fi
		echo	'Wczytywanie systemu Linux 3.13.0-39-generic...'
		linux	/boot/vmlinuz-3.13.0-39-generic root=UUID=dba591b7-3be9-41a3-bd57-21d2fa68eec5 ro recovery nomodeset 
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.13.0-39-generic
	}
	menuentry 'Ubuntu, za pomocą systemu Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-dba591b7-3be9-41a3-bd57-21d2fa68eec5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  dba591b7-3be9-41a3-bd57-21d2fa68eec5
		else
		  search --no-floppy --fs-uuid --set=root dba591b7-3be9-41a3-bd57-21d2fa68eec5
		fi
		echo	'Wczytywanie systemu Linux 3.13.0-32-generic...'
		linux	/boot/vmlinuz-3.13.0-32-generic root=UUID=dba591b7-3be9-41a3-bd57-21d2fa68eec5 ro  quiet splash $vt_handoff
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-dba591b7-3be9-41a3-bd57-21d2fa68eec5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  dba591b7-3be9-41a3-bd57-21d2fa68eec5
		else
		  search --no-floppy --fs-uuid --set=root dba591b7-3be9-41a3-bd57-21d2fa68eec5
		fi
		echo	'Wczytywanie systemu Linux 3.13.0-32-generic...'
		linux	/boot/vmlinuz-3.13.0-32-generic root=UUID=dba591b7-3be9-41a3-bd57-21d2fa68eec5 ro recovery nomodeset 
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.13.0-32-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,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  dba591b7-3be9-41a3-bd57-21d2fa68eec5
	else
	  search --no-floppy --fs-uuid --set=root dba591b7-3be9-41a3-bd57-21d2fa68eec5
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  dba591b7-3be9-41a3-bd57-21d2fa68eec5
	else
	  search --no-floppy --fs-uuid --set=root dba591b7-3be9-41a3-bd57-21d2fa68eec5
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (na /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-32BA4371BA4330A1' {
	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  32BA4371BA4330A1
	else
	  search --no-floppy --fs-uuid --set=root 32BA4371BA4330A1
	fi
	parttool ${root} hidden-
	chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (na /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-B8D880A7D880660A' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  B8D880A7D880660A
	else
	  search --no-floppy --fs-uuid --set=root B8D880A7D880660A
	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 ###

### 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 ###
--------------------------------------------------------------------------------

=============================== sda7/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/sda7 during installation
UUID=dba591b7-3be9-41a3-bd57-21d2fa68eec5 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=b0a00b3e-0764-4ece-85cf-4c4b6194c448 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

cat: /tmp/BootInfo-V2dKg9gA/Tmp_Log: Nie ma takiego pliku ani katalogu
PS.
Dodam, że sudo update -grub próbowałem i nie pomogło

Re: win7 nie uruchamia się

: 16 lis 2014, 16:58
autor: marcin1982
Tutaj jest problem:
Grub2 (v1.99) is installed in the boot sector of sda1
Zajrzyj tutaj:
http://support.microsoft.com/kb/927392
http://www.howtogeek.com/howto/32523/ho ... d=noscript

Żeby nie było. Błąd jest po twojej stronie. Niepotrzebnie była próba ładowania Gruba2 do VBR (główny rekord rozruchowy partycji) partycji rozruchowej Windowsa (50 MB).

Re: win7 nie uruchamia się

: 16 lis 2014, 18:01
autor: igotit4free
@ adrian5004:
Musisz naprawić start Windowsa, a następnie przywrócić GRUBa.

Re: win7 nie uruchamia się

: 16 lis 2014, 19:27
autor: adrian5004
A mam pytanie jak naprawić ten start windowsa jeśli nie mam płyty z Windowsem, tylko mam Program Samsung recovery gdzie mogę zainstalować od nowa albo przywrócić kopie ?

Re: win7 nie uruchamia się

: 16 lis 2014, 20:09
autor: igotit4free
Ja bym szukał żywego człowieka z płytą... kolega, koleżanka, wujek, dziecko sąsiada? Ewentualnie próbować przywrócić, ale czy to odpali jak zmieniłeś strukturę dysku? Nie wiem... może.