jak dodać do gruba windowsa w uefi

Tematy związane z oprogramowaniem, instalacją, konfiguracją
Awatar użytkownika
spidi
Posty: 38
Rejestracja: 21 marca 2016, 02:30

jak dodać do gruba windowsa w uefi

Post autor: spidi »

witam . Windows 8 zainstalował się w uefi i nie wiem jak go dodać do gruba

DEBIAN JESSI 64


[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"

Kod: Zaznacz cały

Legacy boot on HDD

Kod: Zaznacz cały

fdisk -l

Dysk /dev/sda: 931,5 GiB, bajtów: 1000204886016, sektorów: 1953525168
Jednostki: sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 4096
Rozmiar we/wy (minimalny/optymalny) w bajtach: 4096 / 4096
Typ etykiety dysku: gpt
Identyfikator dysku: 3B10F99D-E445-41B8-9171-5E69FBA22489

Device          Start        End   Sectors   Size Type
/dev/sda1        2048   85747711  85745664  40,9G Microsoft basic data
/dev/sda2    85747712  315123711 229376000 109,4G Microsoft basic data
/dev/sda3   315123712  929523711 614400000   293G Microsoft basic data
/dev/sda4   929523712  976984063  47460352  22,6G Linux filesystem
/dev/sda5   976984064 1023858687  46874624  22,4G Linux filesystem
/dev/sda6  1023858688 1219170303 195311616  93,1G Linux filesystem
/dev/sda7  1219170304 1228935167   9764864   4,7G Linux swap
/dev/sda8  1228935168 1229549567    614400   300M Windows recovery environment
/dev/sda9  1229549568 1229754367    204800   100M EFI System
/dev/sda10 1229754368 1230016511    262144   128M Microsoft reserved

log boot-repair

Kod: Zaznacz cały


Paste2

    Create Paste
    Followup Paste
    QR

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 9Feb2015]


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    954963984 of the same hard drive for core.img. core.img is at this 
    location and looks for (,gpt4)/boot/grub.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Debian GNU/Linux 8 
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sda8: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda9: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bootx64.efi /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda10: _________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''
mount: unknown filesystem type ''

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048    85,747,711    85,745,664 Data partition (Windows/Linux)
/dev/sda2      85,747,712   315,123,711   229,376,000 Data partition (Windows/Linux)
/dev/sda3     315,123,712   929,523,711   614,400,000 Data partition (Windows/Linux)
/dev/sda4     929,523,712   976,984,063    47,460,352 Data partition (Linux)
/dev/sda5     976,984,064 1,023,858,687    46,874,624 Data partition (Linux)
/dev/sda6   1,023,858,688 1,219,170,303   195,311,616 Data partition (Linux)
/dev/sda7   1,219,170,304 1,228,935,167     9,764,864 Swap partition (Linux)
/dev/sda8   1,228,935,168 1,229,549,567       614,400 Windows Recovery Environment (Windows)
/dev/sda9   1,229,549,568 1,229,754,367       204,800 EFI System partition
/dev/sda10  1,229,754,368 1,230,016,511       262,144 Microsoft Reserved Partition (Windows)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        5A902C44902C28C9                       ntfs       
/dev/sda10                                                         
/dev/sda2        C2F427A0F4279627                       ntfs       
/dev/sda3                                                          
/dev/sda4        1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3   ext4       
/dev/sda5        6b06c4db-571e-4b69-826f-5728e6f50ca1   ext4       
/dev/sda6        41cb8292-c9bb-45b6-8cb4-d7fdfcdf9b79   ext4       
/dev/sda7        88128619-b9a4-4403-b5d4-462bfdbb6108   swap       
/dev/sda8        BA32065F320620CD                       ntfs       Recovery
/dev/sda9        3609-2EEE                              vfat       
/dev/sr0         2016-03-17-07-07-48-31                 iso9660    Gentoo Linux amd64 20160317

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Mar 23 12:40 ata-ST1000DM003-1ER162_Z4Y7ZZP0 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 23 12:42 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 11 Mar 23 12:41 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part10 -> ../../sda10
lrwxrwxrwx 1 root root 10 Mar 23 12:42 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 23 12:41 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 23 12:40 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 23 12:41 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar 23 12:40 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Mar 23 12:40 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Mar 23 12:42 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Mar 23 12:41 ata-ST1000DM003-1ER162_Z4Y7ZZP0-part9 -> ../../sda9
lrwxrwxrwx 1 root root  9 Mar 23 12:40 ata-TSSTcorp_DVD+_-RW_TS-H653G_R4606GBSB1300300 -> ../../sr0
lrwxrwxrwx 1 root root  9 Mar 23 12:40 wwn-0x5000c5007b8579e8 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 23 12:42 wwn-0x5000c5007b8579e8-part1 -> ../../sda1
lrwxrwxrwx 1 root root 11 Mar 23 12:41 wwn-0x5000c5007b8579e8-part10 -> ../../sda10
lrwxrwxrwx 1 root root 10 Mar 23 12:42 wwn-0x5000c5007b8579e8-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 23 12:41 wwn-0x5000c5007b8579e8-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 23 12:40 wwn-0x5000c5007b8579e8-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 23 12:41 wwn-0x5000c5007b8579e8-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Mar 23 12:40 wwn-0x5000c5007b8579e8-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Mar 23 12:40 wwn-0x5000c5007b8579e8-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Mar 23 12:42 wwn-0x5000c5007b8579e8-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Mar 23 12:41 wwn-0x5000c5007b8579e8-part9 -> ../../sda9

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

Device           Mount_Point              Type       Options

/dev/sda4        /                        ext4       (rw,noatime,nodiratime,nobarrier,errors=remount-ro,commit=600)
/dev/sda6        /home                    ext4       (rw,noatime,nodiratime,nobarrier,commit=600)
/dev/sr0         /media/cdrom0            iso9660    (ro,nosuid,nodev,noexec,relatime,user)


=========================== sda4/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 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_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
else
  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
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=3
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=3
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
else
  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
fi
insmod png
if background_image /usr/share/images/desktop-base/lines-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	else
	  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	fi
	echo	'Wczytywanie systemu Linux 3.16.0-4-amd64...'
	linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3 ro initrd=/install/initrd.gz ipv6.disable=1 rootflags=data=writeback  hpet=force clocksource=hpet
	echo	'Wczytywanie początkowego dysku RAM...'
	initrd	/boot/initrd.img-3.16.0-4-amd64
}
submenu 'Opcje zaawansowane dla systemu Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3' {
	menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.16.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-advanced-1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
		else
		  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
		fi
		echo	'Wczytywanie systemu Linux 3.16.0-4-amd64...'
		linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3 ro initrd=/install/initrd.gz ipv6.disable=1 rootflags=data=writeback  hpet=force clocksource=hpet
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.16.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
		else
		  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
		fi
		echo	'Wczytywanie systemu Linux 3.16.0-4-amd64...'
		linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3 ro single initrd=/install/initrd.gz
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.16.0-4-amd64
	}
}

### 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_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	else
	  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	fi
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	else
	  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	else
	  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	fi
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	else
	  search --no-floppy --fs-uuid --set=root 1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3
	fi
	multiboot	/boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### 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_otheros ###

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
menuentry "Windows Vista (loader)" {
	set root=(hostdisk//dev/sdb,msdos1)
	search --no-floppy --fs-uuid --set=root 0000-0000
	chainloader +1
}
### END /etc/grub.d/30_otheros ###

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

=============================== sda4/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/sda8 during installation
UUID=1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3 /               ext4   noatime,nodiratime,relatime,commit=600,data=writeback,barrier=0,errors=remount-ro   0       1
# /home was on /dev/sda10 during installation
UUID=41cb8292-c9bb-45b6-8cb4-d7fdfcdf9b79 /home           ext4    noatime,nodiratime,relatime,commit=600,data=writeback,barrier=0   0       2
# swap was on /dev/sda11 during installation
UUID=88128619-b9a4-4403-b5d4-462bfdbb6108 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0



tmpfs   /home/user/.cache tmpfs   noatime,nodev,nosuid,size=700M  0   0
--------------------------------------------------------------------------------

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

cat: write error: Broken pipe

ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-03-23__12h41 ===================
boot-repair version : 4ppa35
boot-sav version : 4ppa35
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa35
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.
boot-repair is executed in installed-session (Debian GNU/Linux 8.3 (jessie), jessie, Debian, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3 ro initrd=/install/initrd.gz ipv6.disable=1 rootflags=data=writeback hpet=force clocksource=hpet
mount: /dev/sda3 jest zabezpieczone przed zapisem, montowanie tylko do odczytu
NTFS signature is missing.
Failed to mount '/dev/sda3': Zły argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda3 : Error code 12
mount -r /dev/sda3 /mnt/boot-sav/sda3
NTFS signature is missing.
Failed to mount '/dev/sda3': Zły argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda3 : Error code 12

=================== os-prober:
/dev/sda4:System w użyciu - Debian GNU/Linux 8.3 (jessie) CurrentSession:linux

=================== blkid:
/dev/sr0: UUID="2016-03-17-07-07-48-31" LABEL="Gentoo Linux amd64 20160317" TYPE="iso9660" PTUUID="2c5894b4" PTTYPE="dos"
/dev/sda1: UUID="5A902C44902C28C9" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="ca4629d9-7029-48c8-a589-c844021286d4"
/dev/sda2: UUID="C2F427A0F4279627" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="0bc89edf-fcee-468b-a802-e7707e6b829a"
/dev/sda4: UUID="1fe62d39-29e9-49c2-8fd3-2e0b0ab7b4c3" TYPE="ext4" PARTUUID="c6bb4434-f75b-4aa8-b8c5-996c6d850d35"
/dev/sda5: UUID="6b06c4db-571e-4b69-826f-5728e6f50ca1" TYPE="ext4" PARTUUID="fc29e1d5-40b7-4c39-9002-d92807b1cc93"
/dev/sda6: UUID="41cb8292-c9bb-45b6-8cb4-d7fdfcdf9b79" TYPE="ext4" PARTUUID="ac6150ed-7f2f-4b0a-91f2-c3f9bd6ca261"
/dev/sda7: UUID="88128619-b9a4-4403-b5d4-462bfdbb6108" TYPE="swap" PARTUUID="228769e0-433f-4232-a2af-8ebf40edda93"
/dev/sda8: LABEL="Recovery" UUID="BA32065F320620CD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="18f4923a-0b37-43c1-a40e-5cdf263f99ea"
/dev/sda9: UUID="3609-2EEE" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="5fd11e9f-4d6a-4497-b16e-baee139adeb4"
/dev/sda3: PARTLABEL="Basic data partition" PARTUUID="fb3a2256-17d3-443d-8916-2cbe156b850c"
/dev/sda10: PARTLABEL="Microsoft reserved partition" PARTUUID="18bbc654-898b-4f34-b214-5ee15724e683"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

mount: /dev/sda3 jest zabezpieczone przed zapisem, montowanie tylko do odczytu
NTFS signature is missing.
Failed to mount '/dev/sda3': Zły argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda3 : Error code 12
mount -r /dev/sda3 /mnt/boot-sav/sda3
NTFS signature is missing.
Failed to mount '/dev/sda3': Zły argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda3 : Error code 12
Windows not detected by os-prober on sda1.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 mar 20 19:31 grub.d
razem 80
-rwxr-xr-x 1 root root  9424 gru 14 18:37 00_header
-rwxr-xr-x 1 root root  6058 gru 14 14:13 05_debian_theme
-rwxr-xr-x 1 root root 12261 gru 14 18:37 10_linux
-rwxr-xr-x 1 root root 11082 gru 14 18:37 20_linux_xen
-rwxr-xr-x 1 root root  1570 wrz 10  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 gru 14 18:37 30_os-prober
-rwxr-xr-x 1 root root   264 mar 20 19:31 30_otheros
-rwxr-xr-x 1 root root  1416 gru 14 18:37 30_uefi-firmware
-rwxr-xr-x 1 root root   214 gru 14 18:37 40_custom
-rwxr-xr-x 1 root root   216 gru 14 18:37 41_custom
-rw-r--r-- 1 root root   483 gru 14 18:37 README




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 rootflags=data=writeback  hpet=force clocksource=hpet"
GRUB_CMDLINE_LINUX="initrd=/install/initrd.gz"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda9/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda9/EFI/Boot/bootx64.efi

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this installed-session.
EFI in dmesg.
[    0.000000] ACPI: UEFI 0x000000008F256BC0 000042 (v01                 00000000      00000000)
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda4	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda2.
sda5	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda5.
sda6	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/home.
sda8	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda8.
sda9	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda9.
sda3	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda3.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	has-os,	2048 sectors * 512 bytes


=================== parted -l:

Model: ATA ST1000DM003-1ER1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  43.9GB  43.9GB  ntfs            Basic data partition          msftdata
2      43.9GB  161GB   117GB   ntfs            Basic data partition          msftdata
3      161GB   476GB   315GB                   Basic data partition          msftdata
4      476GB   500GB   24.3GB  ext4
5      500GB   524GB   24.0GB  ext4
6      524GB   624GB   100GB   ext4
7      624GB   629GB   5000MB  linux-swap(v1)
8      629GB   630GB   315MB   ntfs            Basic data partition          hidden, diag
9      630GB   630GB   105MB   fat32           EFI system partition          boot, esp
10      630GB   630GB   134MB                   Microsoft reserved partition  msftres


Model: TSSTcorp DVD+-RW TS-H653G (scsi)
Disk /dev/sr0: 268MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:

=================== parted -lm:

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA ST1000DM003-1ER1:;
1:1049kB:43.9GB:43.9GB:ntfs:Basic data partition:msftdata;
2:43.9GB:161GB:117GB:ntfs:Basic data partition:msftdata;
3:161GB:476GB:315GB::Basic data partition:msftdata;
4:476GB:500GB:24.3GB:ext4::;
5:500GB:524GB:24.0GB:ext4::;
6:524GB:624GB:100GB:ext4::;
7:624GB:629GB:5000MB:linux-swap(v1)::;
8:629GB:630GB:315MB:ntfs:Basic data partition:hidden, diag;
9:630GB:630GB:105MB:fat32:EFI system partition:boot, esp;
10:630GB:630GB:134MB::Microsoft reserved partition:msftres;

BYT;
/dev/sr0:268MB:scsi:2048:2048:unknown:TSSTcorp DVD+-RW TS-H653G:;

=================== lsblk:
KNAME TYPE FSTYPE    SIZE LABEL
sda   disk         931,5G
sda1  part ntfs     40,9G
sda2  part ntfs    109,4G
sda3  part           293G
sda4  part ext4     22,6G
sda5  part ext4     22,4G
sda6  part ext4     93,1G
sda7  part swap      4,7G
sda8  part ntfs      300M Recovery
sda9  part vfat      100M
sda10 part           128M
sr0   rom  iso9660   256M Gentoo Linux amd64 20160317

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0
sda4     1  0  0         /
sda5     1  0  0         /mnt/boot-sav/sda5
sda6     1  0  0         /home
sda7     1  0  0         [SWAP]
sda8     1  0  0         /mnt/boot-sav/sda8
sda9     1  0  0         /mnt/boot-sav/sda9
sda10    1  0  0
sr0      1  0  1 running /media/cdrom0


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1014161,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=1627480k,mode=755)
/dev/sda4 on / type ext4 (rw,noatime,nodiratime,nobarrier,errors=remount-ro,commit=600)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
tmpfs on /etc/machine-id type tmpfs (ro,relatime,size=1627480k,mode=755)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda6 on /home type ext4 (rw,noatime,nodiratime,nobarrier,commit=600)
tmpfs on /home/user/.cache type tmpfs (rw,nosuid,nodev,noatime,size=716800k)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=813740k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sr0 on /media/cdrom0 type iso9660 (ro,nosuid,nodev,noexec,relatime,user)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /mnt/boot-sav/sda8 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda9 on /mnt/boot-sav/sda9 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda10 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  ati autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dvd dvdrw fd full fuse hidraw0 hidraw1 hpet hugepages initctl input kmsg kvm log lp0 mapper mcelog mem mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda10 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vfio vga_arbiter vhci vhost-net vmci xconsole zero
ls /dev/mapper:  control
ls: nie ma dostępu do : Nie ma takiego pliku ani katalogu

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 5f 1c 05 00 00 00 00  |........._......|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  c9 28 2c 90 44 2c 90 5a  |.........(,.D,.Z|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 68 1c 05  |........?....h..|
00000020  00 00 00 00 80 00 80 00  ff ff ab 0d 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  27 96 27 f4 a0 27 f4 c2  |........'.'..'..|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda8
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 10 40 49  |........?.....@I|
00000020  00 00 00 00 80 00 80 00  ff 5f 09 00 00 00 00 00  |........._......|
00000030  00 64 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.d..............|
00000040  f6 00 00 00 01 00 00 00  cd 20 06 32 5f 06 32 ba  |......... .2_.2.|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda9
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 fe 19  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 70 49 49  |........?....pII|
00000020  00 20 03 00 01 03 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 ee 2e 09 36 4e  4f 20 4e 41 4d 45 20 20  |..)...6NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda4      ext4       23G  6.3G   15G  30% /
udev           devtmpfs   10M     0   10M   0% /dev
tmpfs          tmpfs     1.6G  9.2M  1.6G   1% /run
tmpfs          tmpfs     3.9G   11M  3.9G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda6      ext4       92G   21G   67G  24% /home
tmpfs          tmpfs     700M  9.1M  691M   2% /home/user/.cache
tmpfs          tmpfs     795M  8.0K  795M   1% /run/user/1000
/dev/sr0       iso9660   256M  256M     0 100% /media/cdrom0
/dev/sda1      fuseblk    41G   16G   25G  39% /mnt/boot-sav/sda1
/dev/sda2      fuseblk   110G  108M  110G   1% /mnt/boot-sav/sda2
/dev/sda5      ext4       22G   44M   21G   1% /mnt/boot-sav/sda5
/dev/sda8      fuseblk   300M  237M   64M  79% /mnt/boot-sav/sda8
/dev/sda9      vfat       96M   26M   71M  27% /mnt/boot-sav/sda9

=================== fdisk -l:

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 3B10F99D-E445-41B8-9171-5E69FBA22489

Device          Start        End   Sectors   Size Type
/dev/sda1        2048   85747711  85745664  40.9G Microsoft basic data
/dev/sda2    85747712  315123711 229376000 109.4G Microsoft basic data
/dev/sda3   315123712  929523711 614400000   293G Microsoft basic data
/dev/sda4   929523712  976984063  47460352  22.6G Linux filesystem
/dev/sda5   976984064 1023858687  46874624  22.4G Linux filesystem
/dev/sda6  1023858688 1219170303 195311616  93.1G Linux filesystem
/dev/sda7  1219170304 1228935167   9764864   4.7G Linux swap
/dev/sda8  1228935168 1229549567    614400   300M Windows recovery environment
/dev/sda9  1229549568 1229754367    204800   100M EFI System
/dev/sda10 1229754368 1230016511    262144   128M Microsoft reserved


Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.


=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of sda4, using the following options:        sda9/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems  fix-windows-boot use-standard-efi-file


=================== Blockers in case of suggested repair
The current session is in Legacy mode. Please reboot the computer, and use this software in an EFI session. Pozwoli to na tę funkcję. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode.


=================== Advice in case of suggested repair
Uwaga: kontynuowanie bez połączenia z Internetem sprawi, że Twój system stanie się niebootowalny. Podłącz proszę internet.
Uruchamianie twojego komputera jest w trybie Legacy. Możesz spróbować zmienić to do trybu EFI
Czy chcesz kontynuować?


=================== Final advice in case of suggested repair
Proszę nie zapomniećaby dokonać BIOS rozruch na sda9/efi/.../grub*.efi plik!

Pliki startowe (boot) [System w użyciu - Debian GNU/Linux 8.3 (jessie)] są daleko od początku dysku. Twój BIOS może mieć problemy z ich znalezieniem. Możesz spróbować ponownie po utworzeniu /boot partycji (EXT4, >200MB, początku dysku). Możesz to osiągnąć używając na przykład: gParted. Następnie zaznacz tę partycję poprzez [Osobna /boot partycja:] opcję z [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)

Pliki startowe (boot) [System w użyciu - Debian GNU/Linux 8.3 (jessie)] są daleko od początku dysku. Twój BIOS może mieć problemy z ich znalezieniem. Możesz spróbować ponownie po utworzeniu /boot/efi partycji (FAT32, 100MB~250MB, początku dysku, boot flaga). Możesz to osiągnąć używając na przykład: gParted. Następnie zaznacz tę partycję poprzez [Osobna /boot/efi partycja:] opcję z [Boot Repair].

If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\...\grub*.efi

Uruchamianie twojego komputera jest w trybie Legacy. Możesz spróbować zmienić to do trybu EFI


=================== User settings
The settings chosen by the user will not act on the boot.




paste.debian.net ko (http://paste.debian.net/), using paste2


© 2006 - 2016 Paste2.org.
Follow paste2.org on Twitter

Awatar użytkownika
marcin1982
Moderator
Posty: 1732
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Re: jak dodać do gruba windowsa w uefi

Post autor: marcin1982 »

No to teraz musiałbyś przerobić Debiana na UEFI. Jak uruchamiasz Debiana to musisz przestawić BIOS w tryb legacy czy czegoś nie rozumiem?
Awatar użytkownika
spidi
Posty: 38
Rejestracja: 21 marca 2016, 02:30

Re: jak dodać do gruba windowsa w uefi

Post autor: spidi »

Bios mam ustawiony na uefi .
Awatar użytkownika
spidi
Posty: 38
Rejestracja: 21 marca 2016, 02:30

Re: jak dodać do gruba windowsa w uefi

Post autor: spidi »

no to jak przerobić debiana na uefi ??? może ktoś pomoże
Awatar użytkownika
marcin1982
Moderator
Posty: 1732
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Re: jak dodać do gruba windowsa w uefi

Post autor: marcin1982 »

Awatar użytkownika
spidi
Posty: 38
Rejestracja: 21 marca 2016, 02:30

Re: jak dodać do gruba windowsa w uefi

Post autor: spidi »

mam partycje 100mb w uefi na ktorej chyba jest windowsowy bootmgr
.robilem ten tutorial z debian livecd jessie

mount /dev/sda /mnt/boot/efi
mount point does not exist

jak robie grub-install /dev/sda z chroota to mam

gpt partition label contains no bios boot partition embedding not possible

grub can be only install using blocklists
error will not proceed with blocklist

i ten blad ominelem co kolega podal juz wczesniej za pomoca grub-install force na chroocie tylko chcialbym zeby system czy grub rozpoznal windowsa w uefi to wszystko mysle ze jak rozpozna to potem juz sie latwiej doda ale przeceniles moje sily kolego bo z tym jest jak dla mnie duzonzachodu .ale pewnie wystarczy jedno polecenie i na nie licze. nie kierujcie mnie do tutoriali bo moj przypadek jest szczegolny. jak ktos to robil to niech pomoze bo to irytujace odpalac windowsa nie z gruba tylko przez f11. po polsku nigdzie nie ma takiego watku to moze czas najwyzszy moj bedzie kiedy czytany przez kogos bo uefi to przyszlosc i co przeczyta ? szukaj sobie poradnika ?
ODPOWIEDZ