Grub multiboot error...

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

Grub multiboot error...

Postby hypertecz28 on Fri May 01, 2009 11:25 pm

Hello All!!! I am in need of assistance on a particular matter, amd seeing as I am definately a nOOb, here it goes:


Let me start off by giving you a pre-requisite of how my partitions WERE setup:

sda1-Restore partition [Factory loaded OS files, etc(Which I intend to keep)]
sda2-Windows Vista [I shrunk original PC partition, then used unallocated space for Mint 6 install]
sda3-Linux Mint ext3 Filesystem
sda4-Linux Swap space

that's the first HD... Which is a 600gb SATA2, in case that's important

...now for the second HD: [500gb SATA2]

sdb1-Windows 7 beta (also intend to keep)

Ok... when I installed Linux Mint, this setup worked perfect, and all operating systems would boot up normally... Untill... I used partition editor to Shrink the Windows Vista partition(sda2), which might I add took a very long time. Afterwards I decided to delete the Windows Vista Partition altogether and format the free space into ext3 partition for linux use later. Now I cannot boot Windows 7, because (I am assuming here) the windows bootloader was installed on the same partition as Windows Vista, which is now an ext3 partition.

Can someone please tell me how to setup my grub to boot Mint and Windows 7 without having to use the repair utility on the windows 7 installation DVD?? I need a step by step instruction process, because like I said, I'm relatively new to the Linux operating environment. Hopefully this can be accomplished easily without too much hassle, and preferably without screwing with my linux install. :(

Any help is greatly appreciated ...Dave
hypertecz28
Level 1
Level 1
 
Posts: 7
Joined: Wed Apr 29, 2009 3:21 pm

Linux Mint is funded by ads and donations.
 

Re: Grub multiboot error...

Postby Fred on Fri May 01, 2009 11:57 pm

hypertecz28,

Can you still boot into Mint? If not, go to the url below and download and burn the latest stable release of SuperGrub live cd iso.

http://download.linux-live-cd.org/Super ... sgd/cdrom/

You can use this to boot into your Mint or Windows install. Do not try to fix anything with SuperGrub at this point. Just use it to boot into Mint. In the Mint menu you will find a program called "gparted." It is a partitioning program. Open it and post screen shots of both of your drives. That will get us started on the right track.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub multiboot error...

Postby hypertecz28 on Sat May 02, 2009 12:32 am

Thanks Fred!! Here are the screenshots you requested:

Screenshotsda.png
/dev/sda
Screenshotsda.png (88.11 KiB) Viewed 957 times

Screenshotsdb.png
/dev/sdb
Screenshotsdb.png (65.87 KiB) Viewed 957 times
hypertecz28
Level 1
Level 1
 
Posts: 7
Joined: Wed Apr 29, 2009 3:21 pm

Re: Grub multiboot error...

Postby hypertecz28 on Sat May 02, 2009 12:37 am

BTW, Luckily, I can boot into the Mint distro, just can't boot into windows 7. I don't use windows much, but occasionally i'll need it for something
hypertecz28
Level 1
Level 1
 
Posts: 7
Joined: Wed Apr 29, 2009 3:21 pm

Re: Grub multiboot error...

Postby Fred on Sat May 02, 2009 1:33 am

hypertecz28,

ok... It is looking good so far. Now, type /boot/grub/menu.lst in the url window of your browser and post what pops up.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub multiboot error...

Postby hypertecz28 on Sat May 02, 2009 4:23 am

ok did that, here's whai I got:

# 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 change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## Graphical boot menu location
gfxmenu=/boot/gfxmenu/default.message

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

# 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/sda3 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

## 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=(single-user) 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 x64 Edition, kernel 2.6.27-7-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sda3 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Linux Mint x64 Edition, kernel 2.6.27-7-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Linux Mint x64 Edition, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
makeactive
chainloader +1
hypertecz28
Level 1
Level 1
 
Posts: 7
Joined: Wed Apr 29, 2009 3:21 pm

Re: Grub multiboot error...

Postby Fred on Sat May 02, 2009 4:59 am

hypertecz28,

I am assuming you are using the Gnome desktop. If not tell me what you are using. Open a terminal and type:

gksu gedit /boot/grub/menu.lst

This will open your menu.lst file for editing. Toward the bottom of the file you will see something that looks similar to what I have below. Change the later part so your Windows boot stanza looks like what I have posted instead of what you have. Save and close the file. Now reboot and see if you see your Windows boot stanza in the menu and tell me what happens when you boot Windows. Hopefully it will boot into Windows.

Fred


### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1

title Windows 7
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub multiboot error...

Postby hypertecz28 on Sat May 02, 2009 5:16 am

Now it's saying:

BOOTMGR is missing
press ctrl+alt+del to restart.

seems like we're on the right track, I just think the boot manager was originally installed on the Vista Partition that I deleted. Any more suggestions?
hypertecz28
Level 1
Level 1
 
Posts: 7
Joined: Wed Apr 29, 2009 3:21 pm

Re: Grub multiboot error...

Postby Fred on Sat May 02, 2009 5:23 am

hypertecz28,

I think from here on you need to be talking to someone that knows Vista/Windows 7 better than I do.

Grub should now be pointing to the right partition, not sure where to go from here with Windows 7.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Grub multiboot error...

Postby Fred on Sat May 02, 2009 8:31 pm

hypertecz28,

You may want to look at the thread referenced below. altair4 provided some very good information that might help you.

viewtopic.php?f=46&t=25295

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: Google Adsense [Bot] and 13 guests