Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > Getting Vista to load from Grub [Linux Mint]

Forgot Password?
 Other Distributions   Post questions about distributions that do not have their own forums in here

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-06-2009   #1 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 2
Getting Vista to load from Grub [Linux Mint]

Hello,

I was originally running two separate installs of Vista, deleted the first one and replaced it with Linux Mint yesterday. Vista did not appear in the grub loader at start-up, and I haven't been able to boot from it by adding it to the menu.lst

Here's my sudo fdisk -l

Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x06f506f5

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9258    74364853+  83  Linux
/dev/sda2            9259       19457    81923467+   f  W95 Ext'd (LBA)
/dev/sda5            9624       19439    78846988+   7  HPFS/NTFS
/dev/sda6            9259        9623     2931799+  82  Linux swap / Solaris
/dev/sda7           19440       19457      144553+  83  Linux

Partition table entries are not in disk order
As for actual partition order, it went like this from start to end:
Linux Mint
3gb swap
Vista
144mb ext3 at end

What I've tried so far is to add the following to my menu.lst:

Code:
title		Windows Vista 64
rootnoverify	(hd0,1)
savedefault
makeactive
chainloader	+1
and tried hd0,1 through hd0,9 and all returned "invalid device requested"

The format for hdx,x is drive, partition right?

Not sure where to go from here. If I remove linux mint I'll still have to make a new mbr so that Vista will load right?
Gsky is offline  



Reply With Quote
Old 03-06-2009   #2 (permalink)
Linux Engineer
 
Lakshmipathi's Avatar
 
Join Date: Sep 2006
Location: 3rd rock from sun - Often seen near moon
Posts: 1,252
Exclamation

Code:
and tried hd0,1 through hd0,9 and all returned "invalid device requested"
Is (hd0,4) not working??

Quote:
title Windows Vista 64
rootnoverify (hd0,4)
savedefault
makeactive
chainloader +1
__________________
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
Lakshmipathi is offline   Reply With Quote
Old 03-06-2009   #3 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 2
*facepalm*

Somehow I had the second Vista installed as a logical partition. Not sure how that came about as I wouldn't have been able to boot from it before the linux install if that was the case right? Perhaps deleting and reformatting the first vista partition to use for Linux caused it?
Gsky is offline   Reply With Quote
Old 03-06-2009   #4 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 22,132
Quote:
Originally Posted by Gsky View Post
*facepalm*

Somehow I had the second Vista installed as a logical partition. Not sure how that came about as I wouldn't have been able to boot from it before the linux install if that was the case right? Perhaps deleting and reformatting the first vista partition to use for Linux caused it?
Vista installed in Primary partition was main OS in Vista/Vista dual boot setup. You have removed that and all files necessary to boot second Vista are gone now. Its not possible to boot up Vista installed in Logical Partition now. You can back data from it easily.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:14 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1