LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2008, 06:21 AM   #1
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Rep: Reputation: 31
Vista and linux on same hard drive


Now that Vista has been out for a while, has anyone found a way to put it on a hard drive partition without having it take over the computer? I have a 100 Gb hard drive and want to give Vista 20 leaving the rest for linux. At present my computer is all linux but once in a while I encounter a web site that requires Windows.
 
Old 02-19-2008, 06:44 AM   #2
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 74
It is no different than dual booting any other Windows OS. It is always best to install Windows first, then install Linux, then configure the Linux boot loader (grub or lilo) to boot Windows. The boot loader entry needed for Vista is no different than the one needed for XP, no black magic involved.

Here is what I use to boot Vista, it is the default install that came with this laptop, I just shrunk the partition and put ArchLinux beside it.
Code:
# (2) Windows
title Windows Vista Home Basic
rootnoverify (hd0,1)
chainloader +1

Last edited by elliott678; 02-19-2008 at 06:46 AM.
 
Old 02-19-2008, 07:21 AM   #3
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
I haven't played with this for quite a while. However as I remember it, doing what you suggested did not work. Therefore, let me review the steps and see if I understand them.

1) Install Vista on entire hard drive
2) Use gparted to shrink the partition
3) Use gparted to create new linux partitions (I want at least two)
4) Then install linux using grub

It seems that I tried this before, but I will attempt to do it again.

Last edited by sheine; 02-19-2008 at 08:21 AM.
 
Old 02-19-2008, 09:20 AM   #4
timks
LQ Newbie
 
Registered: Feb 2008
Distribution: Kubuntu
Posts: 3

Rep: Reputation: 0
Hey sheine don't bother with shrinking partitions. Just split your drive in two. 20g for vista and just leave the rest untouched. Linux will see the rest of the hard drive when you install it. I am assuming you have a blank drive. I never installed vista but I assume its like installing xp.
Good Luck!
 
Old 02-19-2008, 09:59 AM   #5
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
It seems to me that I tried that. As I remember when I tried to install Vista, it insisted on the whole disk, otherwise it did not install but kept taking me back to the starting point.

At present, I have only linux distributions on my hard drive.
 
Old 02-19-2008, 11:13 AM   #6
jjhunt
LQ Newbie
 
Registered: Mar 2007
Location: Florida
Distribution: Fedora, Knoppix, Slackware, openSuse, and SystemRescueCD
Posts: 9

Rep: Reputation: 0
Use Gparted to partition the hard drive before you even put the Vista disk in the computer. In GParted, set one partition to be formatted as NTFS, and format another partition with a Linux File System. Vista will never see that second partition. It will only take over the NTFS partition.
 
Old 02-19-2008, 08:14 PM   #7
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 39
By far the easiest method I have used on several computers was to install Vista and then use Vista's " disk management tool" to shrink the NTFS partition.

When the shrink process to the size you want Vista is finished you will have "unallocated free space" left on the drive and you can install Linux to that. I have done it using Fedora 6,7 and 8 and let the installer create a "default" partition setup it was quite painless and smooth.

You can use a partitioning tool if you want and "carve" your free space to any configuration but if you are unsure of "how" then use the default install to the free space.
 
Old 02-20-2008, 05:19 AM   #8
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Oddly enough I tried every method recommended here without success when I first bought the computer. Maybe it was the OEM version of software that came with the computer.

Now I intend to buy another computer with a large hard drive. Maybe with a different brand these ideas will work.
 
Old 02-20-2008, 07:37 AM   #9
jjhunt
LQ Newbie
 
Registered: Mar 2007
Location: Florida
Distribution: Fedora, Knoppix, Slackware, openSuse, and SystemRescueCD
Posts: 9

Rep: Reputation: 0
When I tried to use Vista's Disk Management utilities, it would not allow me to shrink the Vista Partition more than 5Gigs, even though I had 60Gigs available. That's bunk. It also does not allow you to move partitions the way that GParted or QTParted allow you to. Ultimately, you're better off having the drive partitioned in advance (whether you format the Linux partition or not) before you install Vista or XP for that matter. They will only recognize the NTFS partition. Windows is not smart enough to recognize other file systems, so it will only think the hard drive is as big as the NTFS partition, that's why I prefer to go ahead and make the second partition ext2/3 and then during the install of Linux split it up into other partitions swap/root/var/home/etc...
 
Old 02-20-2008, 08:31 AM   #10
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jjhunt View Post
When I tried to use Vista's Disk Management utilities, it would not allow me to shrink the Vista Partition more than 5Gigs, even though I had 60Gigs available. That's bunk. It also does not allow you to move partitions the way that GParted or QTParted allow you to. Ultimately, you're better off having the drive partitioned in advance (whether you format the Linux partition or not) before you install Vista or XP for that matter. They will only recognize the NTFS partition. Windows is not smart enough to recognize other file systems, so it will only think the hard drive is as big as the NTFS partition, that's why I prefer to go ahead and make the second partition ext2/3 and then during the install of Linux split it up into other partitions swap/root/var/home/etc...
This is closer to my experience.
 
Old 02-20-2008, 05:41 PM   #11
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 39
Quote:
Originally Posted by sheine View Post
This is closer to my experience.
Mine was straightforward and simple using "disk management tool" with Acer and Sony computers. No problem shrinking NTFS more than 30 GB and then installing Fedora.

Just like everything with Linux on various hardware configurations YMMV!
 
Old 02-21-2008, 12:02 AM   #12
NoahT1BM
Member
 
Registered: Feb 2008
Distribution: Mandriva One 2008.1, Vector 5.8 SOHO, Knoppix 5.1.1
Posts: 50

Rep: Reputation: 15
Lightbulb

Try QParted in Knoppix to shrink your NTFS partition, then install Linux, and be sure to install GRUB in the MBR.

Be sure to backup all your valuable data, or consider using something like Nero BackItUp to burn an "image" of your entire Vista system to DVDs.
 
Old 02-21-2008, 08:05 AM   #13
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Following some suggestions here and using partition magic I created an NTFS partition. I then used my vista recovery disk, OEM. The first thing that it said was that it will wipe out all data on my hard drive. Since I did not want to lose my linux partitions, I stopped right there.
 
Old 02-21-2008, 02:23 PM   #14
timks
LQ Newbie
 
Registered: Feb 2008
Distribution: Kubuntu
Posts: 3

Rep: Reputation: 0
Sounds like you are on the right track now. It should only wipe data from the (drive)partition you are installing to. I have not installed vista yet myself I don't think it will see your linux partitions. If it would it should be unknown format to vista. Hope you get it installed. Nothing ventured nothing gained.
 
Old 02-22-2008, 05:23 AM   #15
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Funny how things always go wrong. I just bought a new computer with Vista preinstalled. I was then able to use gparted to partition it. I now have it dual booting Vista and pclinuxos. This settles the question of this thread.

However, I have had trouble with three linux distributions on the computer.
pclinuxos - can't get a proper screen resolution or get an internet connection with my DSL
Simply mepis - wont install at all
Ubuntu -live CD installs and makes internet connection. However when I try to install it to my hard drive it stops at 42% of the installation.

I guess that there is a lot of work ahead of me.

Thanks for the help with this problem.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 09:19 AM
Installing vista from a hard drive akurtis General 2 06-25-2006 09:43 PM
trouble installing windows vista beta on second hard drive cyprusidiot General 7 06-21-2006 05:45 PM
Novell: Vista will drive users to Linux J_K9 Linux - News 111 06-04-2006 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration