Even after having read through the pages of "rodsbooks" over and over again, my linux system just won't boot as I wish. They won't boot at all.
When I found a page telling me that "if efibootmgr does not work, its in most cases because you try to boot a 64bit OS with a 32bit UEFI". Yay. That was enough for me.
Before my head exploded, I decided to buy a new motherboard. I surrended. I _hate_ Hybrid - EFI, because i'm too stupid to fix it on my own.
Still, thanks go to spandey and srs5694.
Original Text:
Hey there,
I'm having real big trouble with my new system setup at the moment. I'm absolutely unexperienced with (U)EFI and hope to find help here.
My new motherboard is a Gigabyte GA-P67A-UD7-BR3 (http://www.gigabyte.com/products/product-page.aspx?pid=3761#ov).
This board uses Hybrid EFI. I kind of suspect this feature to be the cause of my problems. I use two 3.0TB drives at the moment.
When I installed Windows 7, it ran without further problems. When I installed Linux Mint 12 (Without Windows 7), it also ran. But the first problem came up with grub. Grub simply does not start. Or at least I can't see it starting. The system boots, a white text "Loading operating system..." appears, the screen turns black for a while and I find myself on the linux mint login screen a little later.
If I install Windows 7 and then Linux Mint 12, my system still does not boot into grub but directly starts windows 7. However, when I deleted the windows partitions, grub recovery started.
Also linux mint did not find my windows 7 installation when I tried to install it. There was no option "install linux mint alongside windows" or something like that.
I just had to chose between erasing the complete disk and setting up the partitions by myself.
I really hope someone can help me. My goal is to get my dual boot system with Win7 / LM12 running again, but I even would be happy if just grub2 ran properly
If you need any further information to help me, just ask for it, I will do what I can. I'm sorry for my bad english, it is not my native language. I hope you understand what I'm asking for.
Thank you in advance!
The following is the output of boot_info_script.sh.
- Code: Select all
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 34
of the same hard drive for core.img. core.img is at this location and
looks for ?? on this drive.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 12 Lisa
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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 1 4,294,967,295 4,294,967,295 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 34 1,987 1,954 BIOS Boot partition
/dev/sda2 1,988 2,622,563,625 2,622,561,638 Data partition (Windows/Linux)
/dev/sda3 2,622,563,626 2,639,307,646 16,744,021 Swap partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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 1 4,294,967,295 4,294,967,295 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda2 7a59e4b2-5c89-4c32-9724-6cd97f5ef217 ext4
/dev/sda3 472b9a1c-de3e-4ac8-b7c8-b7edb16accfc swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda2 / ext4 (rw,errors=remount-ro,commit=0)
=========================== 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 [ "${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 video_bochs
insmod video_cirrus
}
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7a59e4b2-5c89-4c32-9724-6cd97f5ef217
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7a59e4b2-5c89-4c32-9724-6cd97f5ef217
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
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
if background_color 0,0,0; then
clear
fi
### 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 ###
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
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda2)' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7a59e4b2-5c89-4c32-9724-6cd97f5ef217
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=7a59e4b2-5c89-4c32-9724-6cd97f5ef217 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry 'Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda2) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7a59e4b2-5c89-4c32-9724-6cd97f5ef217
echo 'Loading Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=7a59e4b2-5c89-4c32-9724-6cd97f5ef217 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.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_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7a59e4b2-5c89-4c32-9724-6cd97f5ef217
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7a59e4b2-5c89-4c32-9724-6cd97f5ef217
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###
--------------------------------------------------------------------------------
=============================== 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=7a59e4b2-5c89-4c32-9724-6cd97f5ef217 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=472b9a1c-de3e-4ac8-b7c8-b7edb16accfc none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
1532.247186661 = 1645.237889024 boot/grub/core.img 1
1188.276468277 = 1275.902142464 boot/grub/grub.cfg 1
2.505933762 = 2.690725888 boot/initrd.img-3.0.0-12-generic 1
1892.133947372 = 2031.663355904 boot/vmlinuz-3.0.0-12-generic 1
2.505933762 = 2.690725888 initrd.img 1
1892.133947372 = 2031.663355904 vmlinuz 1
========= Devices which don't seem to have a corresponding hard drive: =========
sdc sdd sde sdf sdg sdh
=============================== StdErr Messages: ===============================
To be able to see for which directory Grub2 (v1.99) looks for, install "unlzma".




