Linux and Vista

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Linux and Vista

Postby Calon Merc on Sat Sep 13, 2008 1:43 pm

I have had Windows Vista Ultimate installed, for a year or so now. I installed Mint yesterday, and am hooked. My only problem however, is that I cannot boot into Vista. Grub does not find it, and when I use GParted to view my partitions, it says the filetype is unknown. I know the file type is NTFS, unless installing Mint on a seperate hard drive messed up the first drive.
Calon Merc
Level 1
Level 1
 
Posts: 26
Joined: Sat Sep 13, 2008 1:39 pm

Linux Mint is funded by ads and donations.
 

Re: Linux and Vista

Postby nelamvr6 on Sat Sep 13, 2008 2:10 pm

Calon Merc wrote:I have had Windows Vista Ultimate installed, for a year or so now. I installed Mint yesterday, and am hooked. My only problem however, is that I cannot boot into Vista. Grub does not find it, and when I use GParted to view my partitions, it says the filetype is unknown. I know the file type is NTFS, unless installing Mint on a seperate hard drive messed up the first drive.



Installing Mint on a separate drive should not nave done anything to your Vista drive...
nelamvr6
Level 4
Level 4
 
Posts: 325
Joined: Sun Jul 08, 2007 8:14 pm
Location: New London, CT USA

Re: Linux and Vista

Postby Calon Merc on Sat Sep 13, 2008 3:00 pm

I did not think so, but the filesystem cannot be identified by GParted, from the Mint drive.

Thanks for the fast response, btw.
Calon Merc
Level 1
Level 1
 
Posts: 26
Joined: Sat Sep 13, 2008 1:39 pm

Re: Linux and Vista

Postby merlwiz79 on Sat Sep 13, 2008 4:52 pm

Maybe it will still boot.
Make a backup of /boot/grub/menu.lst.
Now edit it and add this to the bottom.
Code: Select all
title      Windows Vista/Longhorn (loader)
root      (hd1,0)
savedefault
map      (hd0) (hd1)
map      (hd1) (hd0)
chainloader   +1

Make sure to edit it for your system.
(hd0) = /dev/sda
(hd1) = /dev/sdb
(hd2) = /dev/sdc
User avatar
merlwiz79
Level 11
Level 11
 
Posts: 3637
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: Linux and Vista

Postby Calon Merc on Sun Sep 14, 2008 1:08 am

I just tried that, not sure if I get what you mean edit it, I edited the root one, to (hd0,0) but what about the map parts? What's that for and what would I edit it to?
Thanks for the response.

I took out the map parts, and I figured out why I cannot get it to be automatically recognized. My brother decided to try and install Solaris, and did it on my main Windows Drive. Because of that, I think I've lost all of my files, but is there a way I can get into the drive and possibly save any files?
Calon Merc
Level 1
Level 1
 
Posts: 26
Joined: Sat Sep 13, 2008 1:39 pm

Re: Linux and Vista

Postby kansasnoob on Mon Sep 15, 2008 3:51 am

Please post the output of:

Code: Select all
 sudo fdisk -l


That's a lower case L at the end, not a one. That'll show what's on your drives.
kansasnoob
Level 4
Level 4
 
Posts: 294
Joined: Sun Jul 20, 2008 1:45 pm

Re: Linux and Vista

Postby Fred on Mon Sep 15, 2008 10:17 am

Calon Merc,

I fear you have bigger problems than just not booting. I would suggest you download and burn one of the later versions of Puppy Linux and/or Knoppix. If one of those two live cds can't read your Windows NTFS partition, your Windows install is gone. If you can read that partition with one of those Live cds, I would try to save as much of your important data as you can to somewhere else while you still can. Definitely stop trying to boot it. You may very well be just causing more damage to the file system.

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: Linux and Vista

Postby Calon Merc on Mon Sep 15, 2008 5:47 pm

Thanks for trying to help. I solved my problem, but not in the way I hoped. I had a checkdisc from my friend, and in it's process of checking my hard drive configuration, it erased half of my windows files. I could not save any of the files, so I am going to be re-installing, after I get some other not-so-finicky operating systems installed to partitions.
Calon Merc
Level 1
Level 1
 
Posts: 26
Joined: Sat Sep 13, 2008 1:39 pm

Re: Linux and Vista

Postby AK Dave on Mon Sep 15, 2008 8:35 pm

There are some good walkthroughs on how to install Vista and linux together for dualboot.
User avatar
AK Dave
Level 6
Level 6
 
Posts: 1042
Joined: Wed May 14, 2008 3:39 pm
Location: Anchorage, AK USA

Re: Linux and Vista

Postby curt_grymala on Mon Sep 15, 2008 9:31 pm

AK Dave wrote:There are some good walkthroughs on how to install Vista and linux together for dualboot.


While that may be true, the absolute best advice I can give anyone that's thinking of dual-booting with Vista is to use a separate hard drive for Linux. Although the Linux community has made great strides in working with Vista partitions, it is still much safer just to leave your Vista drive exactly the way it was when you installed Vista. :)
curt_grymala
Level 3
Level 3
 
Posts: 128
Joined: Fri Sep 12, 2008 10:16 pm

Re: Linux and Vista

Postby Fred on Tue Sep 16, 2008 8:09 am

curt_grymala,

Careful with false security my friend. If you don't have the option to switch the boot drive easily on boot, that idea doesn't work too well. Also, when you install Linux on a separate drive you still need to pay close attention to where you put the grub kernel or you will still disable your Vista install. In short, there is no difference between putting Linux on another drive or just another partition on the same drive. It is only the perception of more safety. The risk comes when you need to shrink and or rearrange Windows partitions. These operations are never 100% safe but can usually be done without breaking anything if done correctly.

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: Linux and Vista

Postby Calon Merc on Sun Sep 21, 2008 11:31 am

I have tried to reinstall Windows Vista now, since it had been wiped, and I cannot boot into Mint. I cannot install the Grub bootloader onto my first drive, either, because of this message:
Code: Select all
grub> root (hd0,0)
 Filesystem type unknown, partition type 0x7

grub> setup (hd0)

Error 17: Cannot mount selected partition

grub>


Anything I can do? I can get my computer to boot into Windows Vista, but I would prefer to also be able to boot into Mint, preferably using Grub.

I'm working from the Live CD, so my options are limited.
Calon Merc
Level 1
Level 1
 
Posts: 26
Joined: Sat Sep 13, 2008 1:39 pm

Re: Linux and Vista

Postby linuxviolin on Sun Sep 21, 2008 12:51 pm

Calon Merc, maybe this page will help you *to repair your Grub* :wink:
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2055
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Linux and Vista

Postby Calon Merc on Sun Sep 21, 2008 2:22 pm

Thanks for that, but I know the Grub is fine, it just doesn't appear. Basically, it skips the bootloader and starts windows instantly.

It goes to the Dell Bios loading screen, then to the Windows Vista loading screen.

My sudo fdisk -l:
Code: Select all
mint@mint ~ $  sudo fdisk -l

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       19458   156288000    7  HPFS/NTFS

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000df3f5

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        4660    37431418+  83  Linux
/dev/sdb2            4661        4865     1646662+   5  Extended
/dev/sdb5            4661        4865     1646631   82  Linux swap / Solaris

Disk /dev/sdc: 2047 MB, 2047678976 bytes
64 heads, 63 sectors/track, 991 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         991     1997733+   6  FAT16



/dev/sdc1 is my USB flash drive that I have been using to try and get my Windows Vista connected to the internet.


So now it seems that I can mount my Vista partition in Linux Mint (Live CD), but I cannot install grub to the hard drive. Is there any way to put the grub install files onto the partition, then install from Windows?
Calon Merc
Level 1
Level 1
 
Posts: 26
Joined: Sat Sep 13, 2008 1:39 pm

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 19 guests