Results 1 to 6 of 6
Hello, I need help. I had a Mint 9 now installed the version 10. Everything went well but when the Grub menu appears and choose the option win7 can not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-14-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 3
Problems Grub - MInt 10 & WIn7
Hello, I need help. I had a Mint 9 now installed the version 10. Everything went well but when the Grub menu appears and choose the option win7 can not enter the seven. Someone help me? Thank you.
- 04-14-2011 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,563
Did you install Mint 10 on the same partition you previously had Mint 9?
Are you able to boot into Mint?
Did your compter come with windows 7 preinstalled?
If you can boot into Mint, do that and open a terminal so you can get your partition information to post here, run the command: sudo fdisk -l (lower case Letter L in the command).
Would also help it you posted your grub.cfg file in the /boot/grub directory.
- 04-14-2011 #3Just Joined!
- Join Date
- Mar 2011
- Posts
- 3
hi
Did you install Mint 10 on the same partition you previously had Mint 9? YES
Are you able to boot into Mint? YES
Did your compter come with windows 7 preinstalled? YES
------------------------------------------------------------------------------
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d35e8
Device Boot Start End Blocks Id System
/dev/sda1 1 13107 105280513 f W95 Ext'd (LBA)
/dev/sda2 * 13108 21636 68509192+ 7 HPFS/NTFS
/dev/sda3 26373 60801 276550942+ 7 HPFS/NTFS
/dev/sda5 1 11312 90860544 83 Linux
/dev/sda6 12569 13107 4323328 82 Linux swap / Solaris
- 04-15-2011 #4Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,563
Interesting. Most preinstalled windows 7 come with three partitions. A small boot partition, a system partition and a recovery partition. Your output shows two partitions with sda2 marked as bootable which should be the filesystem with boot files. Did you look at the /boot/grub/grub.cfg file I asked you to post earlier? Do that and see if you have an entry for windows or other and if you do, post the contents of the file.
You may be able to get the windows entry in your menu by updating Grub. Open a terminal while booted into Mint and run this command: sudo update-grub.
If that doesn't work, post your grub.cfg file as well as any error messages you get.
- 04-15-2011 #5Just Joined!
- Join Date
- Mar 2011
- Posts
- 3
hi, forgot to inform you that the pc came with Vista, but I put the 7.
#
# 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 part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 2ab17c7f-c93d-4153-8a1b-30afec76b37c
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,msdos5)'
search --no-floppy --fs-uuid --set 2ab17c7f-c93d-4153-8a1b-30afec76b37c
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,msdos5)'
search --no-floppy --fs-uuid --set 2ab17c7f-c93d-4153-8a1b-30afec76b37c
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 64-bit, 2.6.35-22-generic (/dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 2ab17c7f-c93d-4153-8a1b-30afec76b37c
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=2ab17c7f-c93d-4153-8a1b-30afec76b37c ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Linux Mint 10 64-bit, 2.6.35-22-generic (/dev/sda5) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 2ab17c7f-c93d-4153-8a1b-30afec76b37c
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=2ab17c7f-c93d-4153-8a1b-30afec76b37c ro single
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,msdos5)'
search --no-floppy --fs-uuid --set 2ab17c7f-c93d-4153-8a1b-30afec76b37c
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 2ab17c7f-c93d-4153-8a1b-30afec76b37c
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
sudo gedit /boot/grub/grub.cfg
- 04-15-2011 #6Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,563
In your first post, you indicated that after the install of Mint 10, you were given the option on the boot menu for windows 7 and when you selected it, if failed to boot into windows.
The menu you see on the screen when booting with Grub comes from the menuentry lines in the grub.cfg file you posted. As you can see by looking at it, there is no entry for windows!! No entry for "other"!!
Prior to installing Mint 10, were you using Grub to boot?
When did you install windows 7? Have you had it for some time? Is it recent? Before or after Mint 10?
When you installed Mint 10, did you install the Grub bootloader to the master boot record?
Have you run sudo update-grub? If not, that would be the first step I would suggest.
Was this a full, new install of Mint 10 or an upgrade?


Reply With Quote
