LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-28-2003, 05:37 PM   #1
louie055
LQ Newbie
 
Registered: Aug 2003
Location: nyc NY
Distribution: red hat 9
Posts: 4

Rep: Reputation: 0
any windows OS


greetings,

Ok L install RH 9 and i love it,
though
now i want to add windows OS win98/2000
how do i make a dos partition?
what tool? fdisk? from linux command line?
can i first install linux and than win
i know everythin' is posible,
though i didnt find anythin' explaining
how to install win after linux
most documentation exlain how
to install win and than linux.

pls help.

spirits
louie
 
Old 08-28-2003, 05:59 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
I think Windows wants/has to be in the first partition of the first drive, so you might have a problem with having already installed linux. You could get a second small harddrive for windows, get linux working when connected as the second drive (update fstab, lilo.conf ...), and then actually install windows on the first.
 
Old 08-28-2003, 05:59 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Well, you're in luck. A program called GNU PARTED can resize ext3 and reiserfs partitions, but only the ends of the partition, not the beginning.

So you could resize your partition to make room for Windows at the end of your drive.

Then be sure to install Windows in that Free space. With WIndows98, you will have to get a bootdisk, but 2000 can partition from the CD. Read the Windows install carefully, so not to format your linux partitions.

When you install WIndows, it will overtake the MBR (Master Boot Record), making you lose LILO or GRUB.

So make sure you make a boot disk before for linux before installing Windows. You may be able to boot from the RH9 CD, im not sure. Once you boot back into Linux, you can reinstall your boot loader.


A few suggestions:

sharing between Linux and Windows can be tricky sometimes. Linux/Windows can both write to FAT32, so I suggest you make at least one FAT32 partition when you are installing Windows, so you can transfer back and forth.

Redhat cant read NTFS out of the box, but you can grab an RPM from linux-ntfs.sf.net


GNU Parted is a commandline tools thats somewhat hard to use. I suggest you look at QTPARTED. Its a GUI frontend for PARTED and its very easy to use.

Now, you cant resize an active partition, so you have to download a special utitlity boot CD, like KNOPPIX. I believe KNOPPIX comes with QTParted. So download the latest version of Knoppix.

There are others as well, a search of freshmeat for "recovery CD" should give you some options.


Of course, BACKUP before resizing, any partitioning is risky, and you dont want to lose any data.
 
Old 08-28-2003, 07:09 PM   #4
louie055
LQ Newbie
 
Registered: Aug 2003
Location: nyc NY
Distribution: red hat 9
Posts: 4

Original Poster
Rep: Reputation: 0
thanks,
proud, contrasutra,

best,
louie.
 
Old 08-28-2003, 09:02 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Yes its possible to install windows after linux. If you didn't leave free space on the drive it might be a little difficult to resize. You should also be able to run parted from the rescue mode of the install CD.

Windows 98 needs to be installed on a primary partition but it doesn't have to be the first. Make sure the boot flag is set for that partition.

I do believe that W2k can be installed on any type of partition but don't take my word for it.

Yes windows will overwrite the bootloader if installed to the MBR. Use the 1st install CD to boot to a rescue mode and then reinstall.
If using grub - grub-install
If using lilo - /sbin/lilo
 
Old 08-29-2003, 12:29 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Windows can only install in the primary partition, but you can have about four primary partitions. However, only one primary partition can be active.

parted only works with ext2 and ext3 partitions so louie055 if you have reiserfs,jfs, xfs, or any other filesystems, you have to copy the files or use the filesystem's utilities for the filesystem and put to another hard drive.

Parted - http://www.gnu.org/software/parted/

Its easier if you buy another hard drive and put Windows on that.
 
Old 08-29-2003, 12:45 AM   #7
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
it works fine on ReiserFS.
 
  


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
Linux under Windows - to use USB devices, not affect / reboot Windows, etc? pianoplayer88key General 2 12-01-2005 07:17 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 06:03 AM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 07:47 AM
Running Windows Games In Linux From Windows Hard Drive Darkstar274 Linux - Games 2 12-25-2003 11:19 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM

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

All times are GMT -5. The time now is 09:19 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