windows won't boot - appears in grub boot menu NOT SOLVED-GAVE UP

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
handyman4848
Level 2
Level 2
Posts: 53
Joined: Fri Nov 30, 2012 3:41 pm

windows won't boot - appears in grub boot menu NOT SOLVED-GAVE UP

Post by handyman4848 »

Yesterday I was playing with Wine, trying to install some windows stuff with no success. I also tried with Play on Linux also without success. After giving up I tried to boot into Windows 10 from the grub menu but all that happens is the screen goes black for several seconds then the grub menu re-appears.
I went back to linux and uninstalled Wine and Play on Linux then tried to boot windows again - same result.
Next I tried "update-grub" which finds the windows boot loader on sda1 but it does not have any effect on my problem.
Any suggestions?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12337
Joined: Sun Aug 09, 2015 10:00 am

Re: windows won't boot - appears in grub boot menu

Post by deepakdeshp »

For installing windows stuff it's better to install windows as virtual machine and then install stuff in it.
Please see . https://appdb.winehq.org
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Sir Charles

Re: windows won't boot - appears in grub boot menu

Post by Sir Charles »

Could you choose Windows boot option from BIOS and see if it boots up? If it doesn't, probably, you would need to repair Windows bootloader.
How to Repair Windows Bootloader Problems (If Your Computer Won’t Start)
But just not yet. Wait for more people to drop by.
kukamuumuka

Re: windows won't boot - appears in grub boot menu

Post by kukamuumuka »

Download and run Boot Info Script.
http://bootinfoscript.sourceforge.net/
handyman4848
Level 2
Level 2
Posts: 53
Joined: Fri Nov 30, 2012 3:41 pm

Re: windows won't boot - appears in grub boot menu

Post by handyman4848 »

Marziano, thanks for the input. I do not know how to boot windows from the bios. I went into my bios settings but could not find anything that would boot windows.
handyman4848
Level 2
Level 2
Posts: 53
Joined: Fri Nov 30, 2012 3:41 pm

Re: windows won't boot - appears in grub boot menu

Post by handyman4848 »

administrollaattori , thanks for your suggestion, I did run bootinfoscript but did not see anything that looked wrong to me in the results. No errors were found in the boot parameter block and the partition table and mount points look good. If there is an error in the grub.config file I likely would not spot it in any case but it too looks good to me.
I can't understand how playing around with wine and play on linux under linux would have any effect on the bootloader but everything was working fine before that.
I could post the results.txt file if that would help.
kukamuumuka

Re: windows won't boot - appears in grub boot menu

Post by kukamuumuka »

Was Windows 10 mounted when you was playing with Wine?
Mute Ant

Re: windows won't boot - appears in grub boot menu

Post by Mute Ant »

"...how playing around with wine and play on linux under linux would have any effect on the bootloader..." It shouldn't, no, and without a sudo it can't. It looks like bad timing, Windows threw a wobbler just before you tried Wine. Dual-boot repair then...

o Repair Windows until it can boot itself.

o Boot a Live Session Mint.

o Use gparted to give the Linux OS file system a unique name, like 'MintRoot'.

o Reboot the Live Session and edit the kernel arguments to start the installed Linux...
/casper/vmlinuz initrd=/casper/initrd.lz root=LABEL=MintRoot

o Put GRUB back in charge of the boot with sudo dpkg-reconfigure grub-pc
handyman4848
Level 2
Level 2
Posts: 53
Joined: Fri Nov 30, 2012 3:41 pm

Re: windows won't boot - appears in grub boot menu

Post by handyman4848 »

Yes administrollaattori, I think it probably was, for some reason I am not sure of the windows partition seems to be automatically mounted when I run linux. Not sure when this started happening but I think it has been a while.
Sir Charles

Re: windows won't boot - appears in grub boot menu

Post by Sir Charles »

handyman4848 wrote: Sat Mar 17, 2018 4:14 pm If there is an error in the grub.config file I likely would not spot it in any case but it too looks good to me.
The menu entry for Win 10 in /boot/grub/grub.cfg on my system looks like this:

Code: Select all

menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-E840-5E8E' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  E840-5E8E
	else
	  search --no-floppy --fs-uuid --set=root E840-5E8E
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
I guess the most relevant line to look for is:

Code: Select all

chainloader /EFI/Microsoft/Boot/bootmgfw.efi
handyman4848
Level 2
Level 2
Posts: 53
Joined: Fri Nov 30, 2012 3:41 pm

Re: windows won't boot - appears in grub boot menu

Post by handyman4848 »

Marziano, here is the menu entry for Win 10 in my /boot/grub.config

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8074C9AF74C9A7EC' {
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 8074C9AF74C9A7EC
else
search --no-floppy --fs-uuid --set=root 8074C9AF74C9A7EC
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu[/code]
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
lostfarmer

Re: windows won't boot - appears in grub boot menu

Post by lostfarmer »

handyman4848 wrote: Sat Mar 17, 2018 4:14 pm I could post the results.txt file if that would help.
post the results
handyman4848
Level 2
Level 2
Posts: 53
Joined: Fri Nov 30, 2012 3:41 pm

Re: windows won't boot - appears in grub boot menu

Post by handyman4848 »

Ok lostfarmer, here is the RESULT.txt file:

Code: Select all

 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 1876334184 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:       swap
    Boot sector type:  -
    Boot sector info: 

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 18.3 Sylvia
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda7: __________________________________________________________________________

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

============================ 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
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   204,802,047   204,595,200   7 NTFS / exFAT / HPFS
/dev/sda3         204,802,048 1,843,473,922 1,638,671,875   7 NTFS / exFAT / HPFS
/dev/sda4       1,843,474,430 1,953,523,711   110,049,282   5 Extended
/dev/sda5       1,843,474,432 1,845,473,279     1,998,848  82 Linux swap / Solaris
/dev/sda6       1,845,475,328 1,884,534,783    39,059,456  83 Linux
/dev/sda7       1,884,536,832 1,953,523,711    68,986,880  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        8074C9AF74C9A7EC                       ntfs       System Reserved
/dev/sda2        2A26D00226CFCD4F                       ntfs       Win 7
/dev/sda3        0A64BB4664BB32F5                       ntfs       Data
/dev/sda5        77ce5b52-9750-44d1-ba7e-4e165e459cbe   swap       
/dev/sda6        72f7fe35-daab-4cec-bf6e-25f275ed3b84   ext4       
/dev/sda7        d1642f26-5c69-439f-9330-31020571c9ef   ext4       

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

Device           Mount_Point              Type       Options

/dev/sda2        /media/bill/Win 7        fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sda3        /media/bill/Data         fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sda6        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda7        /home                    ext4       (rw,relatime,data=ordered)


=========================== sda6/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="4"
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,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72f7fe35-daab-4cec-bf6e-25f275ed3b84
else
  search --no-floppy --fs-uuid --set=root 72f7fe35-daab-4cec-bf6e-25f275ed3b84
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_CA
  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.3 Cinnamon 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-72f7fe35-daab-4cec-bf6e-25f275ed3b84' {
	recordfail
	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,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72f7fe35-daab-4cec-bf6e-25f275ed3b84
	else
	  search --no-floppy --fs-uuid --set=root 72f7fe35-daab-4cec-bf6e-25f275ed3b84
	fi
        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=72f7fe35-daab-4cec-bf6e-25f275ed3b84 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.10.0-38-generic
}
submenu 'Advanced options for Linux Mint 18.3 Cinnamon 64-bit' $menuentry_id_option 'gnulinux-advanced-72f7fe35-daab-4cec-bf6e-25f275ed3b84' {
	menuentry 'Linux Mint 18.3 Cinnamon 64-bit, with Linux 4.10.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-advanced-72f7fe35-daab-4cec-bf6e-25f275ed3b84' {
		recordfail
		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,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72f7fe35-daab-4cec-bf6e-25f275ed3b84
		else
		  search --no-floppy --fs-uuid --set=root 72f7fe35-daab-4cec-bf6e-25f275ed3b84
		fi
		echo	'Loading Linux 4.10.0-38-generic ...'
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=72f7fe35-daab-4cec-bf6e-25f275ed3b84 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 Cinnamon 64-bit, with Linux 4.10.0-38-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-init-upstart-72f7fe35-daab-4cec-bf6e-25f275ed3b84' {
		recordfail
		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,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72f7fe35-daab-4cec-bf6e-25f275ed3b84
		else
		  search --no-floppy --fs-uuid --set=root 72f7fe35-daab-4cec-bf6e-25f275ed3b84
		fi
		echo	'Loading Linux 4.10.0-38-generic ...'
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=72f7fe35-daab-4cec-bf6e-25f275ed3b84 ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 Cinnamon 64-bit, with Linux 4.10.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-recovery-72f7fe35-daab-4cec-bf6e-25f275ed3b84' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72f7fe35-daab-4cec-bf6e-25f275ed3b84
		else
		  search --no-floppy --fs-uuid --set=root 72f7fe35-daab-4cec-bf6e-25f275ed3b84
		fi
		echo	'Loading Linux 4.10.0-38-generic ...'
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=72f7fe35-daab-4cec-bf6e-25f275ed3b84 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-38-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### 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,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72f7fe35-daab-4cec-bf6e-25f275ed3b84
	else
	  search --no-floppy --fs-uuid --set=root 72f7fe35-daab-4cec-bf6e-25f275ed3b84
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  72f7fe35-daab-4cec-bf6e-25f275ed3b84
	else
	  search --no-floppy --fs-uuid --set=root 72f7fe35-daab-4cec-bf6e-25f275ed3b84
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8074C9AF74C9A7EC' {
	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  8074C9AF74C9A7EC
	else
	  search --no-floppy --fs-uuid --set=root 8074C9AF74C9A7EC
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### 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 ###
--------------------------------------------------------------------------------

=============================== sda6/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/sda6 during installation
UUID=72f7fe35-daab-4cec-bf6e-25f275ed3b84 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda7 during installation
UUID=d1642f26-5c69-439f-9330-31020571c9ef /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=77ce5b52-9750-44d1-ba7e-4e165e459cbe none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


========= Devices which don't seem to have a corresponding hard drive: =========

no block devices found 

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

cat: /tmp/BootInfo-kIvrQYor/Tmp_Log: No such file or directory
Last edited by Moem on Mon Mar 19, 2018 7:06 am, edited 1 time in total.
Reason: Please use the code tags for long code and terminal outputs.
kukamuumuka

Re: windows won't boot - appears in grub boot menu

Post by kukamuumuka »

handyman4848 wrote: Sun Mar 18, 2018 11:12 am

Code: Select all

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 1876334184 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
Somehow grub is installed into the windows-partition, so you need to boot using Windows repair CD or DVD or USB and run

Code: Select all

bootrec /fixboot
DO NOT run bootrec /fixmbr
https://neosmart.net/wiki/bootrec/
handyman4848
Level 2
Level 2
Posts: 53
Joined: Fri Nov 30, 2012 3:41 pm

Re: windows won't boot - appears in grub boot menu

Post by handyman4848 »

Thanks administrollaattori, would a win 7 install cd work for this? I do not have a win 10 version as I upgraded from win 7.
kukamuumuka

Re: windows won't boot - appears in grub boot menu

Post by kukamuumuka »

handyman4848 wrote: Sun Mar 18, 2018 2:57 pm Thanks administrollaattori, would a win 7 install cd work for this? I do not have a win 10 version as I upgraded from win 7.
I have not tested, but it could work.
Sir Charles

Re: windows won't boot - appears in grub boot menu

Post by Sir Charles »

In case your Win7 install cd wouldn't work, you could create an installation media for Win 10 by visiting the following page:
https://www.microsoft.com/en-us/softwar ... /windows10
You would need access to a Win PC for this.

To grab just the .iso file for Win 10 visit:
https://www.microsoft.com/en-us/softwar ... ndows10ISO
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: windows won't boot - appears in grub boot menu

Post by asinoro »

Can you mount, umount from the terminal and access the Windows partition from Mint? If not what message comes?
deepakdeshp
Level 20
Level 20
Posts: 12337
Joined: Sun Aug 09, 2015 10:00 am

Re: windows won't boot - appears in grub boot menu

Post by deepakdeshp »

asinoro wrote: Mon Mar 19, 2018 11:20 am Can you mount, umount from the terminal and access the Windows partition from Mint? If not what message comes?
The Windows partition is just to be clicked and it should auto mount
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
handyman4848
Level 2
Level 2
Posts: 53
Joined: Fri Nov 30, 2012 3:41 pm

Re: windows won't boot - appears in grub boot menu

Post by handyman4848 »

administrollaattori, I did as you suggested below after using windows media creation tool to make bootable windows 10 install usb stick;

Code: Select all

Somehow grub is installed into the windows-partition, so you need to boot using Windows repair CD or DVD or USB and run

Code: Select all

bootrec /fixboot

DO NOT run bootrec /fixmbr
https://neosmart.net/wiki/bootrec/
After running the command bootrec /fixboot I get the error message Access Denied. What am I doing wrong?
Locked

Return to “Installation & Boot”