Debian i Windows 10 na jednym stali dysku... Ale Windows GRUBa 2 nie lubi.

Pomoc dotycząca instalacji systemu
zajac_poziomka
Posty: 4
Rejestracja: 13 stycznia 2016, 20:46

Debian i Windows 10 na jednym stali dysku... Ale Windows GRUBa 2 nie lubi.

Post autor: zajac_poziomka »

Witam wszystkich.

Mam starego laptopa(Fujitsu Siemens Amilo Pi1505), na którym do tej pory były systemy XP i Windows 7, zaktualizowany do 10(zrobiłem to z czystej ciekawości, ale działa zaskakująco szybko).

Partycje wyglądały tak:

Kod: Zaznacz cały

Device      Boot      Start      End      Sectors      Size   ID   Type 
/dev/sda1   *      63      87586379   87586317   41.8G   7   HPFS/NTFS/exFAT 
/dev/sda2         87602444   234436544   146834101   70G   7   HPFS/NTFS/exFAT 
Na pierwszej partycji XP, na drugiej 10.

Zapragnąłem zainstalować Debiana i teraz partycje wyglądają tak:

Kod: Zaznacz cały

Device     Boot    Start       End   Sectors  Size Id Type
/dev/sda1  *        2046  87601151  87599106 41.8G  5 Extended
/dev/sda2       87602444 234436544 146834101   70G  7 HPFS/NTFS/exFAT
/dev/sda5           2048  83953663  83951616   40G 83 Linux
/dev/sda6       83955712  87601151   3645440  1.8G 82 Linux swap / Solaris 
Problem w tym, że GRUB2 kompletnie nie widzi Windowsa 10. Więc zacząłem szukać w internecie i zainstalowałem os-prober, potem zrobiłem update gruba i nic. Ręcznie zmieniłem plik 40_custom:

Kod: Zaznacz cały

#!/bin/sh
exec tail -n +3 $0
# 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.
#menuentry "Windows 10" --class windows --class os {
#insmod ntfs
#search --no-floppy --set=root --fs-uuid AC0C3A3C0C3A01BE
#ntldr /bootmgr
#}
menuentry "Windows 10" {
set root=(hd0,2)
drivemap -s (hd0)
chainloader +1
}

I teraz wpis do gruba został dodany, ale system się nie ładuje. Najpierw dostają od gruba wiadomość:
error: two arguments expected
a potem czarny ekran i:
Brak pliku NTLDR

Czy możecie mi pomóc w uruchomieniu systemu?
Awatar użytkownika
marcin1982
Moderator
Posty: 1730
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Post autor: marcin1982 »

Podaj wynik skryptu bootinfoscript:
http://sourceforge.net/projects/bootinfoscript/ .

Wynik umieść w tagach CODE.
zajac_poziomka
Posty: 4
Rejestracja: 13 stycznia 2016, 20:46

Post autor: zajac_poziomka »

Oto wynik:

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


sda1: __________________________________________________________________________


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


sda5: __________________________________________________________________________


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


sda6: __________________________________________________________________________


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


sda2: __________________________________________________________________________


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


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


Drive: sda _____________________________________________________________________


Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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    *          2,046    87,601,151    87,599,106   5 Extended
/dev/sda5               2,048    83,953,663    83,951,616  83 Linux
/dev/sda6          83,955,712    87,601,151     3,645,440  82 Linux swap / Solaris
/dev/sda2          87,602,444   234,436,544   146,834,101   7 NTFS / exFAT / HPFS




"blkid" output: ________________________________________________________________


Device           UUID                                   TYPE       LABEL


/dev/sda2        AC0C3A3C0C3A01BE                       ntfs       System2
/dev/sda5        47bac671-a17c-4224-ac90-746f3df3ec0b   ext4       
/dev/sda6        25ca5c46-80fb-4467-a0fa-bb3443a9d911   swap       


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


Device           Mount_Point              Type       Options


/dev/sda5        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)




=========================== sda5/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_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
else
  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
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=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###


### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
else
  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
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-47bac671-a17c-4224-ac90-746f3df3ec0b' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
	else
	  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
	fi
	echo	'Loading Linux 3.16.0-4-686-pae ...'
	linux	/boot/vmlinuz-3.16.0-4-686-pae root=UUID=47bac671-a17c-4224-ac90-746f3df3ec0b ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.16.0-4-686-pae
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-47bac671-a17c-4224-ac90-746f3df3ec0b' {
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-686-pae-advanced-47bac671-a17c-4224-ac90-746f3df3ec0b' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
		else
		  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
		fi
		echo	'Loading Linux 3.16.0-4-686-pae ...'
		linux	/boot/vmlinuz-3.16.0-4-686-pae root=UUID=47bac671-a17c-4224-ac90-746f3df3ec0b ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-686-pae-recovery-47bac671-a17c-4224-ac90-746f3df3ec0b' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
		else
		  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
		fi
		echo	'Loading Linux 3.16.0-4-686-pae ...'
		linux	/boot/vmlinuz-3.16.0-4-686-pae root=UUID=47bac671-a17c-4224-ac90-746f3df3ec0b ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-586' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-advanced-47bac671-a17c-4224-ac90-746f3df3ec0b' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
		else
		  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=47bac671-a17c-4224-ac90-746f3df3ec0b ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-586
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-586 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-586-recovery-47bac671-a17c-4224-ac90-746f3df3ec0b' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
		else
		  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
		fi
		echo	'Loading Linux 3.16.0-4-586 ...'
		linux	/boot/vmlinuz-3.16.0-4-586 root=UUID=47bac671-a17c-4224-ac90-746f3df3ec0b ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-4-586
	}
}


### 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,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
	else
	  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
	fi
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
	else
	  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
	else
	  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
	fi
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  47bac671-a17c-4224-ac90-746f3df3ec0b
	else
	  search --no-floppy --fs-uuid --set=root 47bac671-a17c-4224-ac90-746f3df3ec0b
	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_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.
#menuentry "Windows 10" --class windows --class os {
#insmod ntfs
#search --no-floppy --set=root --fs-uuid AC0C3A3C0C3A01BE
#ntldr /bootmgr
#}
menuentry "Windows 10" {
set root=(hd0,2)
drivemap -s (hd0)
chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------


=============================== sda5/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/sda5 during installation
UUID=47bac671-a17c-4224-ac90-746f3df3ec0b /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=25ca5c46-80fb-4467-a0fa-bb3443a9d911 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
--------------------------------------------------------------------------------


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


           GiB - GB             File                                 Fragment(s)




======================== Unknown MBRs/Boot Sectors/etc: ========================


Unknown BootLoader on sda1


00000000  fe 16 bd 92 06 c0 be ba  c1 4b f2 c6 b4 81 41 62  |.........K....Ab|
00000010  8e f5 0e a1 98 0c c0 37  45 b5 11 f0 f4 81 8d 06  |.......7E.......|
00000020  d1 96 29 a2 ae fb ae bd  65 6b ed 5a 6b b5 43 4b  |..).....ek.Zk.CK|
00000030  52 41 3e 0f e5 94 d6 25  39 5b c2 67 17 a3 6c bd  |RA>....%9[.g..l.|
00000040  a3 5f 13 f0 b8 5c c0 d6  3e bf 22 01 47 dd 83 1e  |._...\..>.".G...|
00000050  8a a7 38 b1 76 4b f7 db  6a d4 df fb bc 33 78 d7  |..8.vK..j....3x.|
00000060  7f 75 f0 e0 cb 29 d7 12  4e d3 93 5c 70 af ce f5  |.u...)..N..\p...|
00000070  9d 12 5d 7f f6 ad c3 c4  56 13 39 a3 05 4e b6 5a  |..].....V.9..N.Z|
00000080  8c 23 26 e7 c8 14 dd ce  de 45 7d 7f 6e af 10 be  |.#&......E}.n...|
00000090  27 0d de 59 86 b2 b0 18  ac 16 00 a4 0d 5f 4b b2  |'..Y........._K.|
000000a0  30 5f 0c 67 73 3a 30 c3  84 ad 78 63 64 83 d8 af  |0_.gs:0...xcd...|
000000b0  5a aa df 86 35 f2 e3 bf  fb b9 e7 af 0d 3a 8c 1a  |Z...5........:..|
000000c0  64 21 36 37 f0 0c 91 50  55 61 5e e4 78 2e c3 f0  |d!67...PUa^.x...|
000000d0  e3 03 f8 eb a3 0e fd 5d  2f b1 d2 e6 4d 9c 8d 1a  |.......]/...M...|
000000e0  e5 7d ed 43 dd c2 06 60  1f b8 06 7f fd 52 a6 a3  |.}.C...`.....R..|
000000f0  84 a4 6f 58 c7 45 76 fc  9a 12 54 03 23 39 43 2e  |..oX.Ev...T.#9C.|
00000100  0a 85 b6 8f 79 df d9 c2  bb 60 9b 15 ef 60 be e8  |....y....`...`..|
00000110  55 87 97 5f be 8b 79 ec  de f9 8a 29 0e ae 71 f9  |U.._..y....)..q.|
00000120  97 d7 d1 26 9c 88 5e 4d  d6 fd b6 e9 7a 63 cc e2  |...&..^M....zc..|
00000130  fd 3e 44 be 7c 59 56 61  70 a6 a0 7a cc aa a9 ff  |.>D.|YVap..z....|
00000140  20 bc a2 ee df 63 ce 06  01 ad 42 e6 72 3a 32 51  | ....c....B.r:2Q|
00000150  e5 07 2f 96 1e a5 4d 09  9a 91 ef 7b 7a f9 8f 98  |../...M....{z...|
00000160  78 fa d7 b7 6a d6 3e 81  90 56 e7 b9 7f 7a 55 9d  |x...j.>..V...zU.|
00000170  a5 cd 43 d1 8a b7 ba 61  a1 32 5d 71 b3 44 94 dc  |..C....a.2]q.D..|
00000180  c3 7d b6 91 85 ec 60 34  5b ed 98 fa 19 a8 e3 38  |.}....`4[......8|
00000190  80 86 11 ee 67 da 83 f0  f8 27 fd 72 be 6c 02 f0  |....g....'.r.l..|
000001a0  75 89 c8 12 4c d3 96 41  bf 39 cc f2 af 43 2e 52  |u...L..A.9...C.R|
000001b0  12 8b 5e 1d 1c 99 05 24  e5 08 c4 27 12 69 00 20  |..^....$...'.i. |
000001c0  21 00 83 fe ff ff 02 00  00 00 00 00 01 05 00 fe  |!...............|
000001d0  ff ff 05 fe ff ff ec 07  01 05 16 a0 37 00 00 00  |............7...|
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  00 00 00 00 00 00 55 aa  |..............U.|
00000200




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


cat: /tmp/BootInfo-kENfZnTU/Tmp_Log: No such file or directory
Awatar użytkownika
marcin1982
Moderator
Posty: 1730
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Post autor: marcin1982 »

Wyciąłeś partycję wielkości ok. 100 MB pod nazwą: "Zastrzeżone przez system". Windows jest, ale nie ma jego plików rozruchowych.

Musisz poszukać sam, ew. zapytać na jakimś forum GIGANTA Z REDMOND, czy możliwa jest konwersja, naprawa przez "dogranie" brakujących plików. Nie wiem czy nie będzie konieczna edycja windowsowego odpowiednika pliku /etc/fstab.

Pokaż jeszcze wynik z linuksa:

Kod: Zaznacz cały

parted -l
Na tą chwilę nie odpowiem ci na pytanie, czy "czysta" instalacja Windows 10 z nośnika jest możliwa na jednej partycji podstawowej (/dev/sda2) bez konieczności tworzenia dodatkowej 100 MB partycji na pliki rozruchowe. Ewentualnie możesz ją utworzyć, ale wiąże się to z przynajmniej z przesuwaniem systemu plików, a to jest z kolei i czasochłonne i niebezpieczne dla danych.

Co zrobić? Wybór należy do ciebie.
zajac_poziomka
Posty: 4
Rejestracja: 13 stycznia 2016, 20:46

Post autor: zajac_poziomka »

marcin1982 pisze:Wyciąłeś partycję wielkości ok. 100 MB pod nazwą: "Zastrzeżone przez system". Windows jest, ale nie ma jego plików rozruchowych.
Nie przypominam sobie, żebym usuwał jakąś dodatkową partycję. Jedynie tą z XP.

Kod: Zaznacz cały

Model: ATA WDC WD1200BEVS-0 (scsi)[/font]
[font=arial]Disk /dev/sda: 120GB[/font]
[font=arial]Sector size (logical/physical): 512B/512B[/font]
[font=arial]Partition Table: msdos[/font]
[font=arial]Disk Flags: [/font]
[font=arial]
[/font]
[font=arial]Number  Start   End     Size    Type      File system     Flags[/font]
[font=arial] 1      1048kB  44.9GB  44.9GB  extended                  boot[/font]
[font=arial] 5      1049kB  43.0GB  43.0GB  logical   ext4[/font]
[font=arial] 6      43.0GB  44.9GB  1866MB  logical   linux-swap(v1)[/font]
[font=arial] 2      44.9GB  120GB   75.2GB  primary   ntfs[/font]
Awatar użytkownika
marcin1982
Moderator
Posty: 1730
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Post autor: marcin1982 »

A tak - przeoczyłem.

Mechanizm działa tak, że nowszy Windows instaluje pliki rozruchowe (te, które umieściłby na partycji "Zastrzeżone") w miejscu, w którym pliki rozruchowe trzymał - w tym konkretnym przypadku Windows XP. Nowszy system za pomocą swojego bootloadera uruchamia starszy.

Jeśli będzie możliwość instalacji Windows 10 czy innego Win na jednej partycji podstawowej, po jego instalacji trzeba będzie naprawić Gruba przy pomocy chroot (poradnik masz na forum).
zajac_poziomka
Posty: 4
Rejestracja: 13 stycznia 2016, 20:46

Post autor: zajac_poziomka »

Na pewno W7 można było bez tej partycji uruchomić. Na szczęście zrobiłem obraz, więc może będę mógł odzyskać te pliki.
Awatar użytkownika
BeSeriousX
Posty: 1
Rejestracja: 18 stycznia 2016, 17:11

Post autor: BeSeriousX »

Polecam zapoznać się z tym: https://wiki.debian.org/DualBoot/Windows10
Awatar użytkownika
szlejk
Beginner
Posty: 100
Rejestracja: 23 marca 2011, 22:48
Lokalizacja: Warszawa

Re: Debian i Windows 10 na jednym stali dysku... Ale Windows GRUBa 2 nie lubi.

Post autor: szlejk »

ODPOWIEDZ