Windows 7 can't be booted into after Mint 10 Gnome

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.
Locked
pondser

Windows 7 can't be booted into after Mint 10 Gnome

Post by pondser »

I've downloaded and burned linuxmint-10-gnome-dvd-i386.iso
I installed it with the option Install alongside other operating systems

I've now got a bootloader that shows windows 7, but cannot boot;
After I pick windows to boot the screen flashes black for a second or two and gets back to the bootloader.

Attached are reports from fdisk on where GRUB is and GRUB.cfg

fdisk:

Code: Select all

/dev/sda: No GRUB 9f83
/dev/sda1: No GRUB 55aa
/dev/sda2: GRUB 2 v1.97 or higher
/dev/sda3: No GRUB bf73
/dev/sda4: No GRUB 55aa
/dev/sda5: No GRUB 745
/dev/sda6: No GRUB 6616
/dev/sda7: No GRUB 55aa
/dev/sda8: No GRUB 00
/dev/sda9: No GRUB 00

GRUB.CFG

Code: Select all

#
# 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="4"
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 {
  insmod vbe
  insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
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 ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
insmod png
if background_image /boot/grub/linuxmint.png ; then
  set color_normal=white/black
  set color_highlight=white/light-gray
else
  set menu_color_normal=white/black
  set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Linux Mint 10, 2.6.35-22-generic (/dev/sda8)' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos8)'
	search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
	linux	/boot/vmlinuz-2.6.35-22-generic root=UUID=3445c024-3a7b-444a-9661-6158f931e76a ro  vga=769  quiet splash
	initrd	/boot/initrd.img-2.6.35-22-generic
}
menuentry 'Linux Mint 10, 2.6.35-22-generic (/dev/sda8) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos8)'
	search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
	echo	'Loading Linux 2.6.35-22-generic ...'
	linux	/boot/vmlinuz-2.6.35-22-generic root=UUID=3445c024-3a7b-444a-9661-6158f931e76a ro single  vga=769
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-22-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,msdos8)'
	search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos8)'
	search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set 64fa3da9fa3d787e
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### 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  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Help very much appreciated; what else do you need me to post?
I don't have much experience with Linux thus I didn't know what else need to be known to diagnose the issue.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
pondser

Re: Windows 7 can't be booted into after Mint 10 Gnome

Post by pondser »

In the meantime I have messed up the mbr completly. Can't boot into anything without help from super-grub disk.
I have access to my installed mint.

This is the result of what you asked me to do:

Code: Select all

                Boot Info Script 0.55    dated February 15th, 2010                    

============================= Boot Info Summary: ==============================

 => Windows is installed in the MBR of /dev/sda

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: _________________________________________________________________________

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

sda5: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  Vista: Fat 32
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2. But according to the info from fdisk, 
                       sda5 starts at sector 390236160.
    Operating System:  
    Boot files/dirs:   

sda6: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  Fat16
    Boot sector info:  According to the info in the boot sector, sda6 starts 
                       at sector 2048. According to the info in the boot 
                       sector, sda6 has 0 sectors.
    Operating System:  
    Boot files/dirs:   

sda7: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  According to the info in the boot sector, sda7 starts 
                       at sector 2048.
    Operating System:  
    Boot files/dirs:   

sda8: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Linux Mint 10 Julia
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda9: _________________________________________________________________________

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

sda4: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sda1               2,048     3,074,047     3,072,000  27 Hidden HPFS/NTFS
/dev/sda2    *      3,074,048   374,332,867   371,258,820   7 HPFS/NTFS
/dev/sda3         390,236,158   543,219,711   152,983,554   f W95 Ext d (LBA)
/dev/sda5         390,236,160   411,174,911    20,938,752   b W95 FAT32
/dev/sda6         411,176,960   411,201,535        24,576   1 FAT12
/dev/sda7         520,869,888   543,219,711    22,349,824   7 HPFS/NTFS
/dev/sda8         411,203,584   516,286,463   105,082,880  83 Linux
/dev/sda9         516,288,512   520,859,647     4,571,136  82 Linux swap / Solaris
/dev/sda4         543,219,712   625,139,711    81,920,000   7 HPFS/NTFS


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/sda1        7480373A803701E2                       ntfs       TOSHIBA SYSTEM VOLUME         
/dev/sda2        64FA3DA9FA3D787E                       ntfs       SQ004580V03                   
/dev/sda3: PTTYPE="dos" 
/dev/sda4        BC0A9B140A9ACB32                       ntfs       Games                         
/dev/sda5        D2C7-A43C                              vfat       MINT                          
/dev/sda6        D280-AF45                              vfat       BOOTLOADER                    
/dev/sda7        928CDFD08CDFACCB                       ntfs       Projekty                      
/dev/sda8        3445c024-3a7b-444a-9661-6158f931e76a   ext4                                     
/dev/sda9        a8209e75-96fb-4bab-b7e1-795c593f5964   swap                                     
/dev/sda: PTTYPE="dos" 

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

/dev/sda8        /                        ext4       (rw,errors=remount-ro,commit=0)
/dev/sda2        /media/SQ004580V03       fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)


=========================== sda8/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
set default="4"
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 {
  insmod vbe
  insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
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 ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
insmod png
if background_image /boot/grub/linuxmint.png ; then
  set color_normal=white/black
  set color_highlight=white/light-gray
else
  set menu_color_normal=white/black
  set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Linux Mint 10, 2.6.35-22-generic (/dev/sda8)' --class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos8)'
    search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
    linux    /boot/vmlinuz-2.6.35-22-generic root=UUID=3445c024-3a7b-444a-9661-6158f931e76a ro  vga=769  quiet splash
    initrd    /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Linux Mint 10, 2.6.35-22-generic (/dev/sda8) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos8)'
    search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
    echo    'Loading Linux 2.6.35-22-generic ...'
    linux    /boot/vmlinuz-2.6.35-22-generic root=UUID=3445c024-3a7b-444a-9661-6158f931e76a ro single  vga=769
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.35-22-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,msdos8)'
    search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos8)'
    search --no-floppy --fs-uuid --set 3445c024-3a7b-444a-9661-6158f931e76a
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set 64fa3da9fa3d787e
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### 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  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda8/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda8 during installation
UUID=3445c024-3a7b-444a-9661-6158f931e76a /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda9 during installation
UUID=a8209e75-96fb-4bab-b7e1-795c593f5964 none            swap    sw              0       0

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


 212.8GB: boot/grub/core.img
 217.2GB: boot/grub/grub.cfg
 219.5GB: boot/initrd.img-2.6.35-22-generic
 212.8GB: boot/vmlinuz-2.6.35-22-generic
 236.5GB: grub/stage2
 219.5GB: initrd.img
 212.8GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda3

00000000  ef a9 78 42 ae ac 60 d8  88 3e d5 8d c5 32 6f fa  |..xB..`..>...2o.|
00000010  47 bf 2c 7b 66 a4 72 7d  74 ba 2a 21 51 a3 ae 8f  |G.,{f.r}t.*!Q...|
00000020  6a 67 55 e6 71 e4 bf dc  cb 1b 65 b1 2b 3a 9a a1  |jgU.q.....e.+:..|
00000030  4e 35 4d 8b 33 5c 68 b2  89 25 c2 b8 82 e9 5a 7f  |N5M.3\h..%....Z.|
00000040  4d 1a f6 0b 66 7e 5e de  c2 3e 36 0c e7 bc 84 d1  |M...f~^..>6.....|
00000050  c2 38 af a3 85 35 bc 7a  de cb 58 f7 8f 3d ad b5  |.8...5.z..X..=..|
00000060  9f 9c d7 90 e2 ec 23 71  fe 3e 19 e8 df 97 b6 4c  |......#q.>.....L|
00000070  e3 61 00 bf 38 10 03 31  b9 9b 23 d8 a2 58 c6 68  |.a..8..1..#..X.h|
00000080  bf 73 26 7e 96 51 56 e4  37 23 79 a0 a4 8d e1 17  |.s&~.QV.7#y.....|
00000090  2f ac a2 a1 fa 9f 8e c4  2d 6a 54 38 e0 16 a1 fa  |/.......-jT8....|
000000a0  27 05 c0 12 fa b0 2f 6b  7c 3f 21 72 79 d6 46 0a  |'...../k|?!ry.F.|
000000b0  2c 88 4b 36 6c 18 6f 09  28 e6 35 5d a7 bb 7b 5a  |,.K6l.o.(.5]..{Z|
000000c0  d0 8c 08 9d 5d 8a dc cb  15 25 79 b3 d7 51 7d 46  |....]....%y..Q}F|
000000d0  1a 05 d2 a3 71 01 5e 7b  07 b9 0c ad ae 35 fa 57  |....q.^{.....5.W|
000000e0  93 2b a3 73 c8 af ac a2  a6 c4 23 63 d9 1e 7b 94  |.+.s......#c..{.|
000000f0  ef 0d 0e ee 65 e5 dc b0  19 c6 e7 5f 2c 6c 8f d9  |....e......_,l..|
00000100  e3 7b ab 74 06 08 6a ad  b1 8c 7a 17 c7 4e 2a a4  |.{.t..j...z..N*.|
00000110  64 e1 3b f0 ae 10 3c 30  3f fb 1a 8e 16 21 b5 22  |d.;...<0?....!."|
00000120  ea a3 e2 b1 27 ff 44 41  d3 d3 a9 1d 30 15 4c 62  |....'.DA....0.Lb|
00000130  0c 23 27 53 b6 17 d3 8c  05 0f 01 a9 08 25 e1 c5  |.#'S.........%..|
00000140  fd 85 39 de 5c 88 f0 93  b3 ae 33 79 b4 d2 3c aa  |..9.\.....3y..<.|
00000150  0e 80 30 db fe 49 05 55  cd 0f ac 47 2c 40 4e 3b  |..0..I.U...G,@N;|
00000160  6c cc 39 26 bf 1a 77 ab  c7 32 15 2d e0 b7 3e 13  |l.9&..w..2.-..>.|
00000170  f9 78 cf 8b d9 a1 45 5b  d3 6d 02 b6 6e 4e c5 62  |.x....E[.m..nN.b|
00000180  68 af fa d5 a8 b2 30 d1  06 a5 f4 28 5e 11 6d 05  |h.....0....(^.m.|
00000190  dc c8 a4 a9 de 5f e7 50  5e 09 c3 af ee 49 03 db  |....._.P^....I..|
000001a0  b7 bb 52 24 ac 66 5c 01  cf a1 d6 f0 22 11 33 a2  |..R$.f\.....".3.|
000001b0  7e 6f e4 39 14 72 59 15  b9 eb 12 7a 21 f1 00 fe  |~o.9.rY....z!...|
000001c0  ff ff 0b fe ff ff 02 00  00 00 00 80 3f 01 00 fe  |............?...|
000001d0  ff ff 05 fe ff ff 02 80  3f 01 00 68 00 00 00 00  |........?..h....|
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

EDIT:
I understand I need to restore GRUB. Whatever I do, I get stuck with these messages:

Code: Select all

sed: can't read /boot/grub/device.map: No such file or directory
grep: /boot/grub/device.map: No such file or directory
/dev/sda does not have any corresponding BIOS drive.
Locked

Return to “Installation & Boot”