LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-08-2014, 03:52 PM   #1
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 161

Rep: Reputation: 9
Angry GRUB won't boot Windows 7 - Tried fixing it and borked my entire system


I just reinstalled Windows 7 and Linux Mint (both 64-bit) on my computer. I installed Windows first as is recommended. After installing Linux, I tried to boot Windows, but got:
Code:
error: invalid signature

Press any key to continue...
Linux booted fine, but Windows refuses to boot. I tried running sudo update-grub and got this:
Code:
Generating grub.cfg
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
Found memtest86+ image: /boot/memtest86+.bin
  No volume groups found
grub-probe: error: unknown filesystem.
Found Windows 7 (loader) on /dev/sda1
/usr/sbin/grub-probe: error: unknown filesystem.
done
Unknown filesystem... What?
Rebooted. No change.

I tried purging GRUB and installing GRUB-legacy, but I couldn't boot either OS. Windows wasn't even on the list. Don't remember what the error messages were, though. I reinstalled GRUB2 from a chrooted environment and neither OS boots. I get the same invalid signature message with Windows and when I try Linux Mint (listed as Ubuntu instead for some reason)
Code:
error: attempt to read or write outside of disk 'hd0'

Press any key to continue...
After waiting a while, I get this:
Code:
[    0.554168] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
I used the Windows and Linux installation media to run their respective disk checking routines and all filesystems reported clean. Windows Startup Repair detected no problems and therefore did nothing.
Should I just spend 3 hours reinstalling both OSes (and possibly run into the same problem) or is there any way to fix it?

Last edited by CamTheSaxMan; 02-08-2014 at 03:59 PM.
 
Old 02-08-2014, 04:21 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,102

Rep: Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327
From Mint go here, download, un-tar and run thw script. Post the RESULTS.txt here so we can see the boot layout of your system.
 
Old 02-08-2014, 07:08 PM   #3
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 161

Original Poster
Rep: Reputation: 9
Alright, here goes. It's super long.
Just so you know: sda1 is my Windows 7 partition, sda2 is my Linux partition, sda3 is a data partition that I'm going to share between both OSes. sda5 is a swap partition.
Code:
                  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 
    for (,msdos2)/boot/grub on this drive.
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 16 Petra
    Boot files:        /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/core.img

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:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.05 20120702
    Boot sector info:  Syslinux looks at sector 1705304 of /dev/sdb1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       According to the info in the boot sector, sdb1 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb1 starts at sector 63.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/boot/bootx64.efi /boot/bcd /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   104,859,647   104,857,600   7 NTFS / exFAT / HPFS
/dev/sda2         104,859,648   204,859,391    99,999,744  83 Linux
/dev/sda3         743,454,720   972,771,327   229,316,608   7 NTFS / exFAT / HPFS
/dev/sda4         972,773,374   976,771,071     3,997,698   5 Extended
/dev/sda5         972,773,376   976,771,071     3,997,696  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 4026 MB, 4026531840 bytes
255 heads, 63 sectors/track, 489 cylinders, total 7864320 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *             63     7,855,784     7,855,722   b W95 FAT32


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        78FA9DACFA9D6762                       ntfs       
/dev/sda2        12f191ed-58be-4806-9e81-7b6467d4a875   ext3       
/dev/sda3        50784E843074239C                       ntfs       
/dev/sda5        aae3f5f2-81c8-4d40-848c-3c2f232e2d35   swap       
/dev/sdb1        5591-6D3F                              vfat       

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda2/boot/grub/menu.lst: ===========================

--------------------------------------------------------------------------------
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=12f191ed-58be-4806-9e81-7b6467d4a875 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=12f191ed-58be-4806-9e81-7b6467d4a875

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Linux Mint 16 Petra, kernel 3.11.0-12-generic
uuid		12f191ed-58be-4806-9e81-7b6467d4a875
kernel		/boot/vmlinuz-3.11.0-12-generic root=UUID=12f191ed-58be-4806-9e81-7b6467d4a875 ro quiet splash
initrd		/boot/initrd.img-3.11.0-12-generic
quiet

title		Linux Mint 16 Petra, kernel 3.11.0-12-generic (recovery mode)
uuid		12f191ed-58be-4806-9e81-7b6467d4a875
kernel		/boot/vmlinuz-3.11.0-12-generic root=UUID=12f191ed-58be-4806-9e81-7b6467d4a875 ro single
initrd		/boot/initrd.img-3.11.0-12-generic

title		Linux Mint 16 Petra, memtest86+
uuid		12f191ed-58be-4806-9e81-7b6467d4a875
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
--------------------------------------------------------------------------------

=========================== sda2/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="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 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,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  12f191ed-58be-4806-9e81-7b6467d4a875
else
  search --no-floppy --fs-uuid --set=root 12f191ed-58be-4806-9e81-7b6467d4a875
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_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=3
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 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-12f191ed-58be-4806-9e81-7b6467d4a875' {
recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  12f191ed-58be-4806-9e81-7b6467d4a875
	else
	  search --no-floppy --fs-uuid --set=root 12f191ed-58be-4806-9e81-7b6467d4a875
	fi
	linux	/boot/vmlinuz-3.11.0-12-generic root=UUID=12f191ed-58be-4806-9e81-7b6467d4a875 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.11.0-12-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-12f191ed-58be-4806-9e81-7b6467d4a875' {
	menuentry 'Ubuntu, with Linux 3.11.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-advanced-12f191ed-58be-4806-9e81-7b6467d4a875' {
	recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  12f191ed-58be-4806-9e81-7b6467d4a875
		else
		  search --no-floppy --fs-uuid --set=root 12f191ed-58be-4806-9e81-7b6467d4a875
		fi
		echo	'Loading Linux 3.11.0-12-generic ...'
		linux	/boot/vmlinuz-3.11.0-12-generic root=UUID=12f191ed-58be-4806-9e81-7b6467d4a875 ro   quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.11.0-12-generic
	}
	menuentry 'Ubuntu, with Linux 3.11.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-recovery-12f191ed-58be-4806-9e81-7b6467d4a875' {
	recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  12f191ed-58be-4806-9e81-7b6467d4a875
		else
		  search --no-floppy --fs-uuid --set=root 12f191ed-58be-4806-9e81-7b6467d4a875
		fi
		echo	'Loading Linux 3.11.0-12-generic ...'
		linux	/boot/vmlinuz-3.11.0-12-generic root=UUID=12f191ed-58be-4806-9e81-7b6467d4a875 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.11.0-12-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,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  12f191ed-58be-4806-9e81-7b6467d4a875
	else
	  search --no-floppy --fs-uuid --set=root 12f191ed-58be-4806-9e81-7b6467d4a875
	fi
	linux16	/boot/memtest86+.bin
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  12f191ed-58be-4806-9e81-7b6467d4a875
	else
	  search --no-floppy --fs-uuid --set=root 12f191ed-58be-4806-9e81-7b6467d4a875
	fi
	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/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-/dev/sda1' {
	insmod ldm
	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 ###
--------------------------------------------------------------------------------

=============================== sda2/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/sda2 during installation
UUID=12f191ed-58be-4806-9e81-7b6467d4a875 /               ext3    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=aae3f5f2-81c8-4d40-848c-3c2f232e2d35 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  88.509120941 = 95.035944960   boot/grub/core.img                             1
  88.579120636 = 95.111106560   boot/grub/grub.cfg                             1
  88.540050507 = 95.069155328   boot/grub/menu.lst                             1
  88.532505035 = 95.061053440   boot/grub/stage2                               4
  88.650764465 = 95.188033536   boot/initrd.img-3.11.0-12-generic             13
  88.629898071 = 95.165628416   boot/vmlinuz-3.11.0-12-generic                 4
  88.650764465 = 95.188033536   initrd.img                                    13
  88.629898071 = 95.165628416   vmlinuz                                        4

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=white/light-gray

menuentry "Start Linux Mint" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/mint.seed boot=casper quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "Start Linux Mint (compatibility mode)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/mint.seed boot=casper xforcevesa ramdisk_size=1048576 root=/dev/ram rw noapic noapci nosplash irqpoll --
	initrd	/casper/initrd.lz
}
menuentry "Check the integrity of the medium" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  boot=casper integrity-check quiet splash --
	initrd	/casper/initrd.lz
}


--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/mint.seed boot=casper quiet splash --

label ubnentry0
menu label Start Linux Mint
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/mint.seed boot=casper  quiet splash --

label ubnentry1
menu label Start in compatibility mode
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/mint.seed boot=casper xforcevesa nomodeset b43.blacklist=yes  ramdisk_size=1048576 root=/dev/ram rw noapic noapci nosplash irqpoll --

label ubnentry2
menu label Integrity check
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash --

label ubnentry3
menu label Memory test
kernel /isolinux/memtest
append initrd=/ubninit 

label ubnentry4
menu label Boot from local drive
kernel /ubnkern
append initrd=/ubninit 

label ubnentry5
menu label Start Linux Mint (compatibility mode)
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/mint.seed boot=casper xforcevesa ramdisk_size=1048576 root=/dev/ram rw noapic noapci nosplash irqpoll --

label ubnentry6
menu label Check the integrity of the medium
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash --

--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

================= sdb1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1
            ?? = ??             syslinux.cfg                                   1

============== sdb1: Version of COM32(R) files used by Syslinux: ===============

 menu.c32                           :  COM32R module (v4.xx)

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000  66 20 72 65 73 74 28 73  65 6c 66 29 3a 0a 20 20  |f rest(self):.  |
00000010  20 20 20 20 20 20 22 22  22 20 43 75 72 72 65 6e  |      """ Curren|
00000020  74 20 72 65 73 74 20 6f  66 20 6c 69 6e 65 2c 20  |t rest of line, |
00000030  73 61 6d 65 20 61 73 20  2e 72 65 73 74 5f 73 70  |same as .rest_sp|
00000040  6c 69 74 28 66 69 78 65  64 3d 30 2c 20 65 6c 65  |lit(fixed=0, ele|
00000050  6d 65 6e 74 73 3d 31 29  2e 20 22 22 22 0a 20 20  |ments=1). """.  |
00000060  20 20 20 20 20 20 72 65  74 75 72 6e 20 73 65 6c  |      return sel|
00000070  66 2e 5f 6c 6c 65 6e 0a  0a 63 6c 61 73 73 20 42  |f._llen..class B|
00000080  61 73 65 4d 65 74 65 72  3a 0a 20 20 20 20 64 65  |aseMeter:.    de|
00000090  66 20 5f 5f 69 6e 69 74  5f 5f 28 73 65 6c 66 29  |f __init__(self)|
000000a0  3a 0a 20 20 20 20 20 20  20 20 73 65 6c 66 2e 75  |:.        self.u|
000000b0  70 64 61 74 65 5f 70 65  72 69 6f 64 20 3d 20 30  |pdate_period = 0|
000000c0  2e 33 20 23 20 73 65 63  6f 6e 64 73 0a 0a 20 20  |.3 # seconds..  |
000000d0  20 20 20 20 20 20 73 65  6c 66 2e 66 69 6c 65 6e  |      self.filen|
000000e0  61 6d 65 20 20 20 3d 20  4e 6f 6e 65 0a 20 20 20  |ame   = None.   |
000000f0  20 20 20 20 20 73 65 6c  66 2e 75 72 6c 20 20 20  |     self.url   |
00000100  20 20 20 20 20 3d 20 4e  6f 6e 65 0a 20 20 20 20  |     = None.    |
00000110  20 20 20 20 73 65 6c 66  2e 62 61 73 65 6e 61 6d  |    self.basenam|
00000120  65 20 20 20 3d 20 4e 6f  6e 65 0a 20 20 20 20 20  |e   = None.     |
00000130  20 20 20 73 65 6c 66 2e  74 65 78 74 20 20 20 20  |   self.text    |
00000140  20 20 20 3d 20 4e 6f 6e  65 0a 20 20 20 20 20 20  |   = None.      |
00000150  20 20 73 65 6c 66 2e 73  69 7a 65 20 20 20 20 20  |  self.size     |
00000160  20 20 3d 20 4e 6f 6e 65  0a 20 20 20 20 20 20 20  |  = None.       |
00000170  20 73 65 6c 66 2e 73 74  61 72 74 5f 74 69 6d 65  | self.start_time|
00000180  20 3d 20 4e 6f 6e 65 0a  20 20 20 20 20 20 20 20  | = None.        |
00000190  73 65 6c 66 2e 6c 61 73  74 5f 61 6d 6f 75 6e 74  |self.last_amount|
000001a0  5f 72 65 61 64 20 3d 20  30 0a 20 20 20 20 20 20  |_read = 0.      |
000001b0  20 20 73 65 6c 66 2e 6c  61 73 74 5f 75 70 00 fe  |  self.last_up..|
000001c0  ff ff 82 fe ff ff 02 00  00 00 00 00 3d 00 00 00  |............=...|
000001d0  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


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

sdc 

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

xz: (stdin): Compressed data is corrupt
 
Old 02-08-2014, 07:55 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,102

Rep: Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327Reputation: 3327
Looks like os-prober is messing up - in Mint edit /boot/grub/grub.cfg and change the line in red to "insmod ntfs" (no quotes) and run "sudo update-grub", then reboot and try Win7.
Code:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-/dev/sda1' {
	insmod ldm
	chainloader +1
}
 
Old 02-08-2014, 09:13 PM   #5
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 161

Original Poster
Rep: Reputation: 9
I tried the Ubuntu boot-repair tool, and it was able to boot Mint, but still no Windows. I was having other problems in Mint (no internet, firefox segfaulting, computer won't shutdown). I'm on my third attempt at reinstalling (this time with a DVD instead of USB) and I'm going to see how it goes. With Linux, doing the same thing over and over again produces different results. Ignore what Einstein said.

EDIT: Installer crashed... This is going very well!

Last edited by CamTheSaxMan; 02-08-2014 at 09:26 PM.
 
Old 02-08-2014, 10:17 PM   #6
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 161

Original Poster
Rep: Reputation: 9
I finally got Mint to reinstall without Ubiquity crashing, though it threw a slew of permission denied errors during installation. Am I supposed to run the installer as root? System would not shut down. Got a whole bunch of errors about the "system bus". Had to hold down power button to reboot. Upon rebooting, I get this:
Code:
keys:Press F to attempt to fix the errors, I to ignore, S to skip mounting, or M for manual recovery
I pressed F
I waited a while and the computer just rebooted.
I tried every combination of keys and could not get Mint to boot.
So I tried booting into Windows

error: invalid signature

Press any key to continue...


Arrgh! This is ridiculous! I'm about to give up and just try another distro unless someone has a workaround. And yes, I did md5sum the iso image and it was correct.
 
Old 02-09-2014, 04:33 AM   #7
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
do you have UEFI bios enabled?
 
Old 02-09-2014, 11:03 AM   #8
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 161

Original Poster
Rep: Reputation: 9
My computer doesn't have UEFI. It's a HP Pavilion g7-1338dx if you're wondering. I pressed ctrl+alt+f1 during the hanging splash screen and I see a ton of scrolling read/write errors. It goes too fast, so I can't post output. I hope my hard drive isn't failing. This is a fairly new computer.
 
Old 02-09-2014, 04:59 PM   #9
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
ok then we don't need an 64 bit UEFI cd/dvd

I suggest you download ultimatebootcd and try that to rescue

http://www.ultimatebootcd.com/

and on first link you will find super grub2 and its doc is here
http://www.supergrubdisk.org/
 
Old 02-09-2014, 05:05 PM   #10
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 161

Original Poster
Rep: Reputation: 9
I gave up on Mint 16 and went back to 13 and it installed successfully, but I think I have hard drive problems.
 
Old 02-10-2014, 05:04 AM   #11
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
UBCD can test your drives as well.

good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB won't boot into windows 7, and windows 7 recovery erases ubuntu... amiejay Linux - Newbie 2 01-03-2010 01:07 AM
System won't boot--just says GRUB and restarts griffey Red Hat 2 01-22-2009 08:31 AM
How To:fixing Grub Re-install After Mbr Recovery In A Fedora/windows Multiple Boot DOTT.EVARISTI Fedora 8 06-01-2008 04:36 AM
dual boot - Grub won't boot Windows on /windows/D partition biosol SUSE / openSUSE 9 04-09-2006 08:14 PM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration