GRUB nie widzi win7

Wyłącznie system! Wątpliwości dotyczące aplikacji proszę umieszczać niżej, w odpowiednich forach.
noren90
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 25 gru 2014, 22:38

GRUB nie widzi win7

Post autor: noren90 »

Witam.
Mam w laptopie 3 dyski. Na SSD mam zainstalowanego Windowsa 7, na drugim dysku mam same dane a na trzecim stworzyłem partycję 500gb na Ubuntu i dodatkowo partycję SWAP. W trakcie instalacji instalator nie wykrywa na laptopie żadnego systemu operacyjnego i instaluje normalnie Ubuntu na wybranej partycji. Po zakończeniu instalacji, gdy uruchamiam ponownie laptopa pojawia się GRUB (jeśli mam ustawione bootowannie na dysk z Ubuntu) ale bez wyboru systemów Windows i Linux, mam tylko opcję Ubuntu. Jeśli natomiast bootowanie mam na dysk SSD to normalnie włącza się Windows.
Jeśli chcę mieć dwa systemy na dwóch różnych dyskach i przy starcie mieć możliwość wyboru systemów to co powinienem zrobić?
Pozdrawiam
Awatar użytkownika
igotit4free
Przyjaciel
Przyjaciel
Posty: 6453
Rejestracja: 29 paź 2008, 22:51
Płeć: Mężczyzna
Architektura: x86_64
Lokalizacja: KRK

Re: GRUB nie widzi win7

Post autor: igotit4free »

http://sourceforge.net/projects/bootinfoscript/
Ściągnij i wykonaj, zamieść wynik na forum, wynik umieść w tagach Code.

Kod: Zaznacz cały

Code
GRUB ma się znaleźć w bootsektorze pierwszego uruchamianego dysku. Odwróciłeś kolejność dysków, więc obecnie jest na "trzecim dysku". Musisz go zainstalować na tym "pierwszym".
Windows 10 @ GA-P67A-D3-B3, i3-2100 3.10GHz, 8GB RAM, Gigabyte HD6850 1GB RAM
Android 7.0 @ Motorola Moto G4+
noren90
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 25 gru 2014, 22:38

Re: GRUB nie widzi win7

Post autor: noren90 »

Mój laptop to Lenovo Ideapad Y510p.

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 .
 => Windows is installed in the MBR of /dev/sdb.
 => Windows is installed in the MBR of /dev/sdc.
 => No boot loader? is installed in the MBR of /dev/sdd.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    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

sdb2: __________________________________________________________________________

    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

sdc1: __________________________________________________________________________

    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:        

sdd1: __________________________________________________________________________

    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:        

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

Drive: sda _____________________________________________________________________

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048    29,296,639    29,294,592  83 Linux
/dev/sda2          29,296,640 1,005,858,815   976,562,176  83 Linux
/dev/sda3       1,005,860,862 1,064,452,095    58,591,234   5 Extended
/dev/sda5       1,005,860,864 1,064,452,095    58,591,232  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 128.0 GB, 128035676160 bytes
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 15566, w sumie sektorów: 250069680
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/sdb1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sdb2             206,848   250,066,943   249,860,096   7 NTFS / exFAT / HPFS


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 121601, w sumie sektorów: 1953525168
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 4096

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1               2,048 1,953,521,663 1,953,519,616   7 NTFS / exFAT / HPFS


Drive: sdd _____________________________________________________________________

Dysk /dev/sdd: 4009 MB, bajtów: 4009754624
głowic: 16, sektorów/ścieżkę: 32, cylindrów: 15296, w sumie sektorów: 7831552
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/sdd1                  32     7,831,551     7,831,520   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        8f9a7965-c04a-4750-831b-ab5c2d4c24aa   ext4       
/dev/sda2        0dec8260-f7d2-4a6c-8c0c-22c3e43d0cb1   ext4       
/dev/sda5        e4f9bdb2-2951-4e9f-bdd3-4c1af8c1f0a4   swap       
/dev/sdb1        FC5AFAF35AFAA992                       ntfs       Zastrzeżone przez system
/dev/sdb2        68F6FE4FF6FE1CCE                       ntfs       
/dev/sdc1        A6949AEB949ABD6D                       ntfs       Dysk lokalny
/dev/sdd1        A0D6CC7FD6CC5766                       ntfs       

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

Device           Mount_Point              Type       Options

/dev/sda1        /                        ext4       (rw,errors=remount-ro)
/dev/sda2        /home                    ext4       (rw)
/dev/sdd1        /media/damian/A0D6CC7FD6CC5766 fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)


=========================== sda1/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,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  8f9a7965-c04a-4750-831b-ab5c2d4c24aa
else
  search --no-floppy --fs-uuid --set=root 8f9a7965-c04a-4750-831b-ab5c2d4c24aa
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=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  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-8f9a7965-c04a-4750-831b-ab5c2d4c24aa' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	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  8f9a7965-c04a-4750-831b-ab5c2d4c24aa
	else
	  search --no-floppy --fs-uuid --set=root 8f9a7965-c04a-4750-831b-ab5c2d4c24aa
	fi
	linux	/boot/vmlinuz-3.13.0-45-generic.efi.signed root=UUID=8f9a7965-c04a-4750-831b-ab5c2d4c24aa ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-45-generic
}
submenu 'Opcje zaawansowane dla systemu Ubuntu' $menuentry_id_option 'gnulinux-advanced-8f9a7965-c04a-4750-831b-ab5c2d4c24aa' {
	menuentry 'Ubuntu, za pomocą systemu Linux 3.13.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-45-generic-advanced-8f9a7965-c04a-4750-831b-ab5c2d4c24aa' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  8f9a7965-c04a-4750-831b-ab5c2d4c24aa
		else
		  search --no-floppy --fs-uuid --set=root 8f9a7965-c04a-4750-831b-ab5c2d4c24aa
		fi
		echo	'Wczytywanie systemu Linux 3.13.0-45-generic...'
		linux	/boot/vmlinuz-3.13.0-45-generic.efi.signed root=UUID=8f9a7965-c04a-4750-831b-ab5c2d4c24aa ro  quiet splash $vt_handoff
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.13.0-45-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-45-generic-recovery-8f9a7965-c04a-4750-831b-ab5c2d4c24aa' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  8f9a7965-c04a-4750-831b-ab5c2d4c24aa
		else
		  search --no-floppy --fs-uuid --set=root 8f9a7965-c04a-4750-831b-ab5c2d4c24aa
		fi
		echo	'Wczytywanie systemu Linux 3.13.0-45-generic...'
		linux	/boot/vmlinuz-3.13.0-45-generic.efi.signed root=UUID=8f9a7965-c04a-4750-831b-ab5c2d4c24aa ro recovery nomodeset 
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.13.0-45-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-8f9a7965-c04a-4750-831b-ab5c2d4c24aa' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  8f9a7965-c04a-4750-831b-ab5c2d4c24aa
		else
		  search --no-floppy --fs-uuid --set=root 8f9a7965-c04a-4750-831b-ab5c2d4c24aa
		fi
		echo	'Wczytywanie systemu Linux 3.13.0-32-generic...'
		linux	/boot/vmlinuz-3.13.0-32-generic root=UUID=8f9a7965-c04a-4750-831b-ab5c2d4c24aa 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-8f9a7965-c04a-4750-831b-ab5c2d4c24aa' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  8f9a7965-c04a-4750-831b-ab5c2d4c24aa
		else
		  search --no-floppy --fs-uuid --set=root 8f9a7965-c04a-4750-831b-ab5c2d4c24aa
		fi
		echo	'Wczytywanie systemu Linux 3.13.0-32-generic...'
		linux	/boot/vmlinuz-3.13.0-32-generic root=UUID=8f9a7965-c04a-4750-831b-ab5c2d4c24aa 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+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda1/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/sda1 during installation
UUID=8f9a7965-c04a-4750-831b-ab5c2d4c24aa /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda2 during installation
UUID=0dec8260-f7d2-4a6c-8c0c-22c3e43d0cb1 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=e4f9bdb2-2951-4e9f-bdd3-4c1af8c1f0a4 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

cat: /tmp/BootInfo-BPtslnag/Tmp_Log: Nie ma takiego pliku ani katalogu

-- 12 lut 2015, o 14:42 --

Czyli co dokładnie powinienem zrobić, by wszystko było okej?
ODPOWIEDZ

Wróć do „Instalacja, aktualizacja i konfiguracja Ubuntu”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 11 gości