Windows is missing on reboot
The first time I used the Customizer I made a quick change to the delay time and hit save. I noticed in the selection list on the first page that the windows 10 boot option was not there... But it didn't 'click' with me that this was wrong and so I hit save anyway. I used to have a windows 10 boot option but now it is gone. Can you help me get it back? Thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Unless you inserted the windows menuentry manually (in the past) I cannot believe this. Grub customizer doesn't change anything that isn't set by the user.
Please paste your /boot/grub/grub.cfg and the output of "sudo /etc/grub.
Revision history for this message
|
#2 |
Thanks for the quick reply! I suppose I might have done something atypical in the past as this was my first ever install of Linux or windows 10. I never manually altered my grub file (or even knew what grub was till a couple of weeks ago) but I have been tinkering with a lot of things I don't know much about...
I'll post the info you are requesting when I get home in a few hours.
Revision history for this message
|
#3 |
Sorry for my extreme noobishness but I'm trying ;)
Thanks for all your help!
the output of sudo /etc/grub.
No volume groups found
the grub.cfg has this:
#
# 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.
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default=
set next_entry=
save_env next_entry
set boot_once=true
else
set default=
fi
if [ x"${feature_
menuentry_
else
menuentry_
fi
export menuentry_id_option
if [ "${prev_
set 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_
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_
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_
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root b63f2ac6-
fi
font=
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_
set lang=en_CA
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_
set timeout_style=menu
set timeout=1
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=1
fi
fi
### END /etc/grub.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}
if hwmatch ${prefix}
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 17.2 Cinnamon 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
savedefault
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root b63f2ac6-
fi
linux /boot/vmlinuz-
initrd /boot/initrd.
}
submenu 'Advanced options for Linux Mint 17.2 Cinnamon 64-bit' $menuentry_
menuentry 'Linux Mint 17.2 Cinnamon 64-bit, with Linux 3.16.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
savedefault
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root b63f2ac6-
fi
echo 'Loading Linux 3.16.0-38-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry 'Linux Mint 17.2 Cinnamon 64-bit, with Linux 3.16.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root b63f2ac6-
fi
echo 'Loading Linux 3.16.0-38-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root b63f2ac6-
fi
knetbsd /boot/memtest86
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root b63f2ac6-
fi
linux16 /boot/memtest86
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
# 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.
### BEGIN /etc/grub.
if [ -f ${config_
source ${config_
elif [ -z "${config_
source $prefix/custom.cfg;
fi
### END /etc/grub.
Revision history for this message
|
#4 |
Is it possible to access your windows partition from linux? (file manager…)
Revision history for this message
|
#5 |
Excellent question! Something sure doesn't look good but I'm not sure how to interpret it. Perhaps running the Grub Customizer was just a coincidence?!? In any case... thoughts?
Thanks for the great help so far!
I get this when I click on the volume :
Error mounting /dev/sda1 at /media/
Failed to mount '/dev/sda1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
And I looked up the 'df' command and ran that in the terminal and got this:
df: ‘/run/user/
Filesystem 1K-blocks Used Available Use% Mounted on
udev 4014476 4 4014472 1% /dev
tmpfs 806012 1560 804452 1% /run
/dev/sda2 31909772 8292964 21972828 28% /
none 4 0 4 0% /sys/fs/cgroup
none 5120 0 5120 0% /run/lock
none 4030048 46284 3983764 2% /run/shm
none 102400 16 102384 1% /run/user
Revision history for this message
|
#6 |
The message says that your windows is hibernated. This may by the "fast boot".
Problem is: To resume your windows you have to boot it, but you cannot boot it cause grub didn't find it ;-)
So the only way is: adding a custom menuentry.
So add a new menuentry (there's a functionality inside of grub customizer) of type "chainloader" pointing to your windows partition. Then save and reboot. You should be able to boot your windows by selecting this menuentry.
Revision history for this message
|
#7 |
Yes. Bit of a catch22. I'll give the fix a shot when I get home. Do you think this occurred because windows was in hibernation and then improperly shut down? Is it possible that this could happen again? Is there a way I can avoid it?
Thanks again for the great assistance!
Revision history for this message
|
#8 |
It is just the hibernation. When windows is hibernated it's not a good idea to change files. However os-prober seems to mount the file system with read access.
You should disable fastboot or alternatively stick with your custom menuentry.
Can you help with this problem?
Provide an answer of your own, or ask jarminator for more information if necessary.