Grub Doesn't Show boot Windows 7 as option
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Grub Doesn't Show boot Windows 7 as option
hey,
I just installed mint. I created a 64gb partition manually and have successfully installed mint but.....
in grub there isn't an option to boot my windows partition even though I can browse it in mint.
sorry for being a noob,
ducis
I just installed mint. I created a 64gb partition manually and have successfully installed mint but.....
in grub there isn't an option to boot my windows partition even though I can browse it in mint.
sorry for being a noob,
ducis
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Grub Doesn't Show boot Windows 7 as option
Try in the terminal doing for some reason it isn't always detected in the first place.
Reboot and see if that works. If not, can you post the output of the boot info script? http://sourceforge.net/projects/bootinfoscript/
Code: Select all
sudo update-grub
Reboot and see if that works. If not, can you post the output of the boot info script? http://sourceforge.net/projects/bootinfoscript/
Re: Grub Doesn't Show boot Windows 7 as option
did not work?
ok download the file and save it. It should save it in your downloads folder. In a terminal then
That should create a results.txt in your downloads folder which you just need to copy the contents and put them here
Code: Select all
sudo update-grub
ok download the file and save it. It should save it in your downloads folder. In a terminal
Code: Select all
cd ~/Downloads
Code: Select all
./boot_info_script055.sh
Re: Grub Doesn't Show boot Windows 7 as option
http://forums.linuxmint.com/viewtopic.php?t=46203
This is a pain in the rear for new Linux users like us
See my thread above.
This is a pain in the rear for new Linux users like us
See my thread above.
Re: Grub Doesn't Show boot Windows 7 as option
terminal replies when I enter ./boot_info_script055.sh
bash: ./boot_info_script055.sh: Permission denied
bash: ./boot_info_script055.sh: Permission denied
Re: Grub Doesn't Show boot Windows 7 as option
woops sorry should be as root
Code: Select all
sudo ./boot_info_script055.sh
Re: Grub Doesn't Show boot Windows 7 as option
all i get now is
sudo: ./boot_info_script055.sh: command not found
(sadface)
sudo: ./boot_info_script055.sh: command not found
(sadface)
Re: Grub Doesn't Show boot Windows 7 as option
still need to be in the same dir so then sorry i didnt make that clear!
Code: Select all
cd ~/Downloads
Code: Select all
sudo ./boot_info_script055.sh
Re: Grub Doesn't Show boot Windows 7 as option
Thanks for being so helpful,
but i still get the same thing
did I need to specify I was going for a dual boot when i installed? I just made a swap and file system partition.
but i still get the same thing
did I need to specify I was going for a dual boot when i installed? I just made a swap and file system partition.
Re: Grub Doesn't Show boot Windows 7 as option
In order to allow the OS to run a script, you must first make it executeable. This is an easy to forget step, but it would account for the error you are receiving. Try this:
Good Luck! Grub can be more than a bit stubborn at times.
Code: Select all
cd ~/Downloads
chmod +x boot_info_script055.sh
./boot_info_script055.sh
Re: Grub Doesn't Show boot Windows 7 as option
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> No boot loader is installed in the MBR of /dev/sdb
=> Grub 0.97 is installed in the MBR of /dev/mapper/isw_cdcciiebad_fusion1
and looks on the same drive in partition #5 for /boot/grub/stage2 and
/boot/grub/menu.lst.
sdb1: _________________________________________________________________________
File system:
Boot sector type: Windows Vista/7
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''
isw_cdcciiebad_fusion11: _________________________________________________________________________
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
isw_cdcciiebad_fusion12: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
isw_cdcciiebad_fusion15: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 8 Helena - Main
Edition
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
isw_cdcciiebad_fusion16: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x02b78f50
Partition Boot Start End Size Id System
/dev/sdb1 * 63 976,768,064 976,768,002 7 HPFS/NTFS
Drive: isw_cdcciiebad_fusion1 ___________________ _____________________________________________________
Disk /dev/mapper/isw_cdcciiebad_fusion1: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders, total 1953536512 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xa4928402
Partition Boot Start End Size Id System
/dev/mapper/isw_cdcciiebad_fusion11 * 2,048 1,822,461,951 1,822,459,904 7 HPFS/NTFS
/dev/mapper/isw_cdcciiebad_fusion12 1,822,477,860 1,953,536,129 131,058,270 5 Extended
/dev/mapper/isw_cdcciiebad_fusion15 1,822,477,923 1,947,463,559 124,985,637 83 Linux
/dev/mapper/isw_cdcciiebad_fusion16 1,947,463,623 1,953,536,129 6,072,507 82 Linux swap / Solaris
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/isw_cdcciiebad_fusion11 D876BD7A76BD5A48 ntfs
/dev/mapper/isw_cdcciiebad_fusion15 8e2ae905-9a23-4cac-aaa7-852670df9e8e ext3
/dev/mapper/isw_cdcciiebad_fusion16 fda2954e-853e-4fcb-9035-181b8346f23e swap
/dev/sda isw_raid_member
/dev/sdb isw_raid_member
=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
isw_cdcciiebad_fusion1
isw_cdcciiebad_fusion11
isw_cdcciiebad_fusion15
isw_cdcciiebad_fusion16
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/mapper/isw_cdcciiebad_fusion15 / ext3 (rw,errors=remount-ro)
================= isw_cdcciiebad_fusion15/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-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 10
## 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=/dev/mapper/isw_cdcciiebad_fusion15 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 8 Helena - Main Edition, kernel 2.6.31-14-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/mapper/isw_cdcciiebad_fusion15 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
title Linux Mint 8 Helena - Main Edition, kernel 2.6.31-14-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/mapper/isw_cdcciiebad_fusion15 ro single
initrd /boot/initrd.img-2.6.31-14-generic
title Linux Mint 8 Helena - Main Edition, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
====================== isw_cdcciiebad_fusion15/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 defaults 0 0
/dev/mapper/isw_cdcciiebad_fusion15 / ext3 errors=remount-ro 0 1
/dev/mapper/isw_cdcciiebad_fusion16 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
========== isw_cdcciiebad_fusion15: Location of files loaded by Grub: ==========
942.4GB: boot/grub/menu.lst
942.4GB: boot/grub/stage2
942.4GB: boot/initrd.img-2.6.31-14-generic
942.4GB: boot/vmlinuz-2.6.31-14-generic
942.4GB: initrd.img
942.4GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on isw_cdcciiebad_fusion12
=============================== StdErr Messages: ===============================
hexdump: /dev/mapper/isw_cdcciiebad_fusion12: No such file or directory
hexdump: /dev/mapper/isw_cdcciiebad_fusion12: No such file or directory
Re: Grub Doesn't Show boot Windows 7 as option
IMO check out the link I posted. I was having the exact same problem as you... and now I dont.
Re: Grub Doesn't Show boot Windows 7 as option
cebalrai may be right, you might want to try adding Windows 7 to your menu.lst. You presumably upgraded from Mint 7?
Cebalrai, could you post what you added to menu.lst, been a while since I dealt with grub1?
Cebalrai, could you post what you added to menu.lst, been a while since I dealt with grub1?
Re: Grub Doesn't Show boot Windows 7 as option
i added
to the end of the menu.lst, and got windows 7 as a boot option in grub, but when i select it I get "Invalid Device Requested".
How do I know what root hd# my windows 7 partition is?
Code: Select all
title Windows 7
root (hd0,1)
makeactive
chainloader +1
How do I know what root hd# my windows 7 partition is?