LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-01-2009, 09:33 AM   #1
mpoplawski
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 0
installing RedHat on Windows Vista without destroying the Windows partition


I've tried 2 times now to install RedHat on a Windows Vista laptop to give me a little experience working with Linux.

Ultimately, I somehow destroyed the Windows partition (twice) and had to reinstall windows with all my software.

I somehow don't get it. There's a way to keep an existing partition, in this case, my Windows Vista partition. I am yet to figure out how to do this. I keep killing the Windows partition, which is what most of you will recommend I do anyway. For now, I have to keep Windows because I am such a newbie to the Linux world. I have yet to figure out the extreme basics in Linux. For example, I could not successfully add a printer to Red Hat. Until then, I still need a printer and therefore, I need to use Windows.

While installing the Red Hat software, I remember a series of questions about the partitions. This is where I am confused what to do. I tried searching google for this topic but haven't found the answer I need.

anyway, if anybody has successfully installed Red Hat (I am not interested in any other distribution of Linux) alongside your Windows OS (XP or Vista) so they both work together, I need to have a conversation with you.

Maybe I am just retarded. I need a few tidbits of advice as to what are the proper steps to use both my windows partition and Red hat partition. Since I blew 2 attempts at installing Red Hat, I won't try again until I hear from some of you veterans.

Thanks in advance.
 
Old 06-01-2009, 10:04 AM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
I have dual booted Red Hat, Fedora and all sorts of distro's with all versions of Windows many times without ever destroying another partition, wether it be Linux or Windows on that partition.

What version of Red Hat are we talking here?

XP is fine with all Red Hat versions, but with Vista, you need a recent version of the GRUB bootloader that supports Vista's partitioning mechanism. GRUB 0.94+ IIRC.
 
Old 06-01-2009, 10:12 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I don't believe you are retarded, you need some direction on how to proceed.

The trick, if you want to call it, is to find a partitoning tool that will shrink your existing windows partition. Windows, by default will grab the entire disk, for example if you have a 100 gig disk, a windows will take the entire space. You need to decide how big a windows partiton you need. Then you shrink that partition, leaving empty space, not allocated to anything. This can be done with Partition Magic. You could also do it if you partitioned your disk before you installed windows. But since you have it installed, you will need to shrink it later.

There are linux programs that can do it also, I would not recommend you try them yet, you don't have a lot of experience.

Once you have the empty space you need, then you can install linux to that space. Almost every distro will have tools built in you can use to add the partitions for linux. Then you install it to that space.

You will also have to install a boot loader, most likely grub. That will allow you to boot either system.

Ask questions, it would help if you knew more about the size to partition to, so if you need help, ask, before you do something to cause another re-install.

Hope this helps.
 
Old 06-01-2009, 10:24 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
well back in 1999 redhat 7 had I remember had an option to load what we call a frugal install.
where it takes a chunk of your hard drive turns it into a folder. in that folder is an image of a ext2 partition. then the system is installed to that folder. but there will be a boot loader lilo or grob put on your master boot record MBR.

So now when you boot you have a choice of linux or windows. what you do on the install is set up your partition and swap and it is loaded on your c drive. I found this to be a little hard on windows scandisk. make sure you defrag your c drive first.

The best option is to defrag your c drive Then boot your cdrom red hat then do a custom partition re size the windows partition from the rear to the front. then use that left over space to create a ext3 partition and you must leave enough space for a swap partion for ram.
about 1 gig should do. your ext3 will be mounted as /<----- the installer will format it and install the system. It will over write your MBR and then when you reboot the machine you will have the option of windows or linux and you still have all your windows folders and linux can read them.
good luck
 
Old 06-01-2009, 02:17 PM   #5
stefan_578
LQ Newbie
 
Registered: Jun 2006
Posts: 25

Rep: Reputation: 15
Hi,

Although I use Debian and not RedHat,
maybe my experience could be useful.
I have a long story of coexistence of XP+linux
on one computer. It is never obvious to install them both.

You do not need to erase you Windows,
but certainly you need to shrink the space which it occupies, since you need some space for your Linux. That means you will need to re-size the Win partition, for this there are tools, you can not do it by hand. There is an XP program called
Partition Magic, i used it several times.

Then you will have some free space and you will install your Linux inside.

There is one problem which I came across sometimes:

if you install first Linux, and then Windows,
it can happen that you will be able to boot only Windows, since XP occupies the boot sectors of the disks for itself, and no other OS is welcome. So I usually install first Windows,
and then Linux, who has a good boot manager,
(lilo or grub) taking in account all OS which exist on your box.

Hope this helps

Stef
 
Old 07-10-2009, 05:32 AM   #6
mongolka
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
how to install vista over redhat

Nothing to add for the problem, can you tell me how to install back my vista over redhat5, as it doesnot boot from vista, xp what should i use.

thanks
 
Old 07-10-2009, 06:25 AM   #7
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
Guides...

There are these guides. Note the recommendation about using the Vista partitioning tool to shrink the Vista partition as much as is possible in vista_first. The site has several more guides and is useful at least as a starting point.

http://apcmag.com/how_to_dualboot_vi...lled_first.htm

http://apcmag.com/how_to_dualboot_vi..._installed.htm

If you are beginning with an empty HDD, you can use a live-cd such as PartedMagic to divide the disk before you install a Windows OS. Windows can then be installed on the first partition without any boot problem associated with changing a Windows partition. After installing linux, Grub should pick up the Windows boot loader and chain load.

There are some versions of linux whose partitioner will propose that linux be installed so that it overtakes HDD space used by Windows. Be cautious when using a partitioning tool with a GUI that only shows you its size in GB/MB.

Last edited by thorkelljarl; 07-10-2009 at 06:45 AM.
 
  


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
HP compaq CQ60-104TU with RedHat Linux and Windows VISTA gaynut Linux - Laptop and Netbook 3 10-28-2008 12:51 AM
Installing Ubuntu on a PC currently running Windows Vista freerid3 Ubuntu 3 04-20-2008 02:14 PM
installing windows vista after linux Virtuality Linux - Software 3 01-22-2008 11:34 PM
installing vista upgrade on my windows partion, will GRUB get in the way? chris598 Linux - General 2 05-19-2007 08:44 AM
Installing Winblows (I know - GASP) without destroying linux partition. cmack Linux - General 13 11-17-2003 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 AM.

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