zmieniłem płytę główna na taką która posiada UEFI.
Debian startuje ładnie, ale windows czasem tak a czasem nie...
Error wygląda mniej więcej tak:
Kod: Zaznacz cały
hd2 cannot get c/h/s values
Kod: Zaznacz cały
Dysk /dev/sda: 1000.2 GB, bajtów: 1000203804160
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 121601, w sumie sektorów: 1953523055
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0xc750f91c
Urządzenie Rozruch Początek Koniec Bloków ID System
/dev/sda1 2048 976760831 488379392 7 HPFS/NTFS/exFAT
/dev/sda2 976762880 1953517567 488377344 7 HPFS/NTFS/exFAT
Dysk /dev/sdc: 500.1 GB, bajtów: 500106780160
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 60801, w sumie sektorów: 976771055
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0xf8d9b993
Urządzenie Rozruch Początek Koniec Bloków ID System
/dev/sdc1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdc2 206848 102402047 51097600 7 HPFS/NTFS/exFAT
/dev/sdc3 102402048 819202047 358400000 f W95 Rozsz. (LBA)
/dev/sdc4 819202048 976766975 78782464 7 HPFS/NTFS/exFAT
/dev/sdc5 102404096 204804095 51200000 7 HPFS/NTFS/exFAT
/dev/sdc6 204806144 819202047 307197952 83 Linux
Dysk /dev/sdb: 128.0 GB, bajtów: 128035676160
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
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0xb03e93f4
Urządzenie Rozruch Początek Koniec Bloków ID System
/dev/sdb1 * 2048 250067789 125032871 83 Linux
Kod: Zaznacz cały
/dev/sda1: UUID="9E20F20F20F1EE61" TYPE="ntfs"
/dev/sdb1: UUID="a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef" TYPE="ext4"
/dev/sdc1: LABEL="System Reserved" UUID="D4A469A5A4698B36" TYPE="ntfs"
/dev/sdc2: UUID="1AB67235B672120D" TYPE="ntfs"
/dev/sdc4: LABEL="Kopie" UUID="50F78DCA694E4F40" TYPE="ntfs"
/dev/sdc5: LABEL="Dane" UUID="4E64D29D64D2875D" TYPE="ntfs"
/dev/sdc6: LABEL="Working Space" UUID="eed2b46f-e0b0-4ce3-b2df-9815fd90c658" TYPE="ext4"
/dev/sda2: LABEL="Multimedia" UUID="34B8E46EB8E42FD2" TYPE="ntfs"
Kod: Zaznacz cały
#
# 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
set default="0"
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='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
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
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
fi
insmod png
if background_image /usr/share/images/desktop-base/joy-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-a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
fi
echo 'Wczytywanie systemu Linux 3.13-1-amd64...'
linux /boot/vmlinuz-3.13-1-amd64 root=UUID=a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef ro quiet
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.13-1-amd64
}
submenu 'Opcje zaawansowane dla systemu Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef' {
menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.13-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13-1-amd64-advanced-a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
fi
echo 'Wczytywanie systemu Linux 3.13-1-amd64...'
linux /boot/vmlinuz-3.13-1-amd64 root=UUID=a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef ro quiet
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.13-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.13-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13-1-amd64-recovery-a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
fi
echo 'Wczytywanie systemu Linux 3.13-1-amd64...'
linux /boot/vmlinuz-3.13-1-amd64 root=UUID=a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef ro single
echo 'Wczytywanie początkowego dysku RAM...'
initrd /boot/initrd.img-3.13-1-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_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
fi
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
fi
multiboot /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
else
search --no-floppy --fs-uuid --set=root a100fcfd-569f-4f71-b2a9-52dfc7dbf7ef
fi
multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (na /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-D4A469A5A4698B36' {
insmod part_msdos
insmod ntfs
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 D4A469A5A4698B36
else
search --no-floppy --fs-uuid --set=root D4A469A5A4698B36
fi
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###