Ahoj. Nechci zakládat nové téma, když mám podobný problém, tak snad mě neukamenujete za kryptopost
Měl jsem dualboot Win7 a Linux Mint 18.1, všechno fungovalo ok, jenže jsem si při instalaci Mintu zvolil šifrování dom. složky a nerozdělil si disk na dostatečně velký oddíl, takže mi včera začal hlásit, že zbývá málo místa na disku.
Win7 používám vpodstatě jen kvůli jedinému specifickému programu a měl jsem disk rozdělený ještě na jednu logickou jednotku cca 20GB kvůli datům a aby se mi ty všechny pracovní věci neválely na C: u Windows. Takže jsem měl 3 disky: Win, data a Mint
Když jsem zjistil, že má Mint málo místa, rozhodl jsem se jít tou nejsnažšší cestou, protože se mi nechtělo další 3dny přeinstalovávat win, když je linux přeinstalovaný za pár minut. Rozhodl jsem se, že si z Win disku ještě kousek ukrojím, odeberu diskové oddíly s daty a linuxem a udělám z toho jeden velký, na který znova nainstaluju Mint.
To jsem udělal ve Windows ve správě disků, ale asi jsem měl restartovat a ještě jednou nechat naběhnout win, aby si to porovnal. Bohužel jsem restartoval a rovnou z flashky znova nainstaloval Mint. Tentokrát bez šifrování dom. složky.
Disk rozdělen, Mint šlape, ale když v Grubu vyberu spuštění Windows, obrazovka na vteřinu zčerná a vrátí mě to do Grubu.
Zkoušel jsem už snad všechno možné, co jsem na internetu našel, co se týkalo problémů spuštění windows. V Grub-customizeru měnit co se dalo, ale stejně ty prokleté Windows prostě nenastartují a vrací se to do Grubu.
Vím, že to bude jen nějaká hovadina, někde to bude chtít jen přepsat jedno číslo, ale já fakt nevím. Můžete mi na to prosím někdo mrknout a poradit?
fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 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: dos
Disk identifier: 0x0ef61ca8
Zařízení Zaveditelný Start Konec Sektory Size Id Druh
/dev/sda1 * 2048 1024061 1022014 499M 7 HPFS/NTFS/exFAT
/dev/sda2 1026048 344878512 343852465 164G 7 HPFS/NTFS/exFAT
/dev/sda3 344879104 388675583 43796480 20,9G 7 HPFS/NTFS/exFAT
/dev/sda4 388677630 468860927 80183298 38,2G 5 Rozšířený
/dev/sda5 388677632 452257791 63580160 30,3G 83 Linux
/dev/sda6 452259840 468860927 16601088 7,9G 82 Linux swap/Solaris
Partition 4 does not start on physical sector boundary.
boot info script:
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 97 for .
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Grub2 (v1.99)
Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1
and looks at sector 406230992 of the same hard drive
for core.img. core.img is at this location and looks
in partition 97 for . No errors found in the Boot
Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
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:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 18.1 Serena
Boot files: /boot/grub/grub.cfg /etc/fstab
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 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: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 1,024,061 1,022,014 7 NTFS / exFAT / HPFS
/dev/sda2 1,026,048 344,878,512 343,852,465 7 NTFS / exFAT / HPFS
/dev/sda3 344,879,104 388,675,583 43,796,480 7 NTFS / exFAT / HPFS
/dev/sda4 388,677,630 468,860,927 80,183,298 5 Extended
/dev/sda5 388,677,632 452,257,791 63,580,160 83 Linux
/dev/sda6 452,259,840 468,860,927 16,601,088 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 9A32EC0732EBE5EB ntfs Rezervováno systémem
/dev/sda2 CE2AF26E2AF252C7 ntfs
/dev/sda3 28607BDB607BADE6 ntfs Nový svazek
/dev/sda5 c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea ext4
/dev/sda6 e12e33c9-864d-452d-b5ac-eedaffb7d0e3 swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda2 /media/apin/CE2AF26E2AF252C7 fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/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="${saved_entry}"
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,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 c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
else
search --no-floppy --fs-uuid --set=root c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
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=cs_CZ
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_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 'Linux Mint 18.1 Cinnamon 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea' {
recordfail
savedefault
load_video
gfxmode $linux_gfx_mode
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 c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
else
search --no-floppy --fs-uuid --set=root c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
fi
linux /boot/vmlinuz-4.4.0-53-generic root=UUID=c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.4.0-53-generic
}
submenu 'Advanced options for Linux Mint 18.1 Cinnamon 64-bit' $menuentry_id_option 'gnulinux-advanced-c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea' {
menuentry 'Linux Mint 18.1 Cinnamon 64-bit, with Linux 4.4.0-53-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-53-generic-advanced-c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea' {
recordfail
savedefault
load_video
gfxmode $linux_gfx_mode
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 c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
else
search --no-floppy --fs-uuid --set=root c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
fi
echo 'Loading Linux 4.4.0-53-generic ...'
linux /boot/vmlinuz-4.4.0-53-generic root=UUID=c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-53-generic
}
menuentry 'Linux Mint 18.1 Cinnamon 64-bit, with Linux 4.4.0-53-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-53-generic-init-upstart-c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea' {
recordfail
savedefault
load_video
gfxmode $linux_gfx_mode
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 c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
else
search --no-floppy --fs-uuid --set=root c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
fi
echo 'Loading Linux 4.4.0-53-generic ...'
linux /boot/vmlinuz-4.4.0-53-generic root=UUID=c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-53-generic
}
menuentry 'Linux Mint 18.1 Cinnamon 64-bit, with Linux 4.4.0-53-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-53-generic-recovery-c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea' {
recordfail
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 c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
else
search --no-floppy --fs-uuid --set=root c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
fi
echo 'Loading Linux 4.4.0-53-generic ...'
linux /boot/vmlinuz-4.4.0-53-generic root=UUID=c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.4.0-53-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/11_lupin ###
### END /etc/grub.d/11_lupin ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/21_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 c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
else
search --no-floppy --fs-uuid --set=root c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
fi
knetbsd /boot/memtest86+.elf
}
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 c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
else
search --no-floppy --fs-uuid --set=root c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/21_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober_proxy ###
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober_proxy ###
### BEGIN /etc/grub.d/40_custom_proxy ###
menuentry "Windows 7 (loader) (on /dev/sda1) stary" --class windows --class os $menuentry_id_option 'osprober-chain-9A32EC0732EBE5EB' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci1,msdos1 9A32EC0732EBE5EB
else
search --no-floppy --fs-uuid --set=root 9A32EC0732EBE5EB
fi
parttool ${root} hidden-
chainloader +1
}
### END /etc/grub.d/40_custom_proxy ###
### BEGIN /etc/grub.d/41_uefi-firmware ###
### END /etc/grub.d/41_uefi-firmware ###
### BEGIN /etc/grub.d/42_custom_proxy ###
# 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/42_custom_proxy ###
### BEGIN /etc/grub.d/43_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/43_custom ###
### BEGIN /etc/grub.d/44_os-prober_proxy ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os $menuentry_id_option 'osprober-chain-9A32EC0732EBE5EB' {
savedefault
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9A32EC0732EBE5EB
else
search --no-floppy --fs-uuid --set=root 9A32EC0732EBE5EB
fi
parttool ${root} hidden-
chainloader +1
}
### END /etc/grub.d/44_os-prober_proxy ###
--------------------------------------------------------------------------------
=============================== 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=c7845b28-9c91-4c08-b8f8-ffcc9f4aaaea / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=e12e33c9-864d-452d-b5ac-eedaffb7d0e3 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-6JTNdstI/Tmp_Log: Adresář nebo soubor neexistuje