Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi - I have recently installed Mint 15 alongside Windows 7. I used easybcd to add a boot menu item for Mint. When I choose to boot Mint it just goes to the grub command line with a message about keywords. I think I am using grub2.
So your entry in EasyBCD does not function. What might that message be? Are Linux Mint and windows 7 the only operating systems on the computer? When you installed Mint, did you select to install Grub to its / (root) partition?
I am inferring from your post that Windows boots using GRUB, but Mint does not, with a keyword error. So that's just a simple error in the boot options for Mint probably. I don't know what EasyBCD is, but it sounds like it doesn't work very well.
Can you replace your text "a message about keywords" with something more specific, like the actual text of the error message? We might have a better chance of figuring out what is going on and maybe could provide some help.
EasyBCD is software written by the people at neosmart and has been available to boot Linux systems from a windows installation. It usually works pretty well but given the option, I would always choose Grub. From the original post, it appears the OP is using EasyBCD on windows to boot and then chainloading from that to the Mint Grub so if he didn't install Grub in the / of Mint, it obviously won't work. Without more details, it's just guessing.
You might google 'bootinfoscript' and go to the site and download and run it from Mint, post the output here as it will give a lot of pertinent information.
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
--------------------------------------------------------------------------------
#
# 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,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 387dd14f-ca92-4a98-88a6-a771ad2ac132
else
search --no-floppy --fs-uuid --set=root 387dd14f-ca92-4a98-88a6-a771ad2ac132
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=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### 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
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 15 Cinnamon 64-bit, 3.8.0-19-generic (/dev/sda6)' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
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 387dd14f-ca92-4a98-88a6-a771ad2ac132
else
search --no-floppy --fs-uuid --set=root 387dd14f-ca92-4a98-88a6-a771ad2ac132
fi
linux /boot/vmlinuz-3.8.0-19-generic root=UUID=387dd14f-ca92-4a98-88a6-a771ad2ac132 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.8.0-19-generic
}
menuentry 'Linux Mint 15 Cinnamon 64-bit, 3.8.0-19-generic (/dev/sda6) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
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 387dd14f-ca92-4a98-88a6-a771ad2ac132
else
search --no-floppy --fs-uuid --set=root 387dd14f-ca92-4a98-88a6-a771ad2ac132
fi
echo 'Loading Linux 3.8.0-19-generic ...'
linux /boot/vmlinuz-3.8.0-19-generic root=UUID=387dd14f-ca92-4a98-88a6-a771ad2ac132 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.8.0-19-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+ ###
### 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-C2B26AD3B26ACC0B' {
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 C2B26AD3B26ACC0B
else
search --no-floppy --fs-uuid --set=root C2B26AD3B26ACC0B
fi
chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-0CAEC2D5AEC2B70C' {
insmod part_msdos
insmod ntfs
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 0CAEC2D5AEC2B70C
else
search --no-floppy --fs-uuid --set=root 0CAEC2D5AEC2B70C
fi
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
# /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=387dd14f-ca92-4a98-88a6-a771ad2ac132 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=c5aa1b31-9697-40a3-83c5-fe46ce85b3b0 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda6: Location of files loaded by Grub: ====================
If your using easybcd's grub installation you will need to create \boot\grub\menu.lst on your windows installation to get a boot menu.
Not really. EasyBCD is basically a GUI for windows bootloader which uses Grub4DOS or something similar. It's been a while since I've used it. The menu he is getting is the EasyBCD created menu with an option for Mint which doesn't boot, at least according to the initial post so he has his menu.
ektron: Could you reboot and make a note of the message 'about keywords' and be more specific. It might just be showing a list of commands available in Grub2.
The bootinfoscript shows the grub.cfg and /etc/fstab on sda6 where you have Mint but does not show core.img which should be there. If it was there and your EasyBCD entry was correct, it should boot with the entry in grub.cfg. You might try copying core.img from the install medium to the Mint partition, not sure that's the only problem.
thanks for working with me on this very much! I rebooted and I guess grub4dos is being used and the message was just the standard welcome to grub message. There weren't any specific messages for my computer. Where would I copy core.img to? Just the same spot it's in in the live cd?
Start up easybcd, select add new entry, select linux/bsd tab, at type select grub2, then click add entry. click on view settings and you should have three entries, windows, neogrub and neosmart linux. Reboot and select the neosmartlinux option and you should come up with the grub2 menu. I was wrong about the location for the menu.lst. It should be in \NST\menu.lst and you would have to create it manually to get a menu with the neogrub/grub4dos.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.