LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-21-2003, 04:51 PM   #1
ccflashback
LQ Newbie
 
Registered: Oct 2003
Distribution: RH9
Posts: 8

Rep: Reputation: 0
Question having both linux and windows partitions


greetings-

I have redhat 9 on my computer right now and i'd also like to put win 98 on there as well. When i boot with the win 98 cd nothing happens; it ignores it totally. Do i have to install windows first and then red hat or is there some partition editing software that i need to tango with? I'm really at a loss on this. Thank you in advance for any help and feel free to ask questions if i have left anything out!

ccflashback
 
Old 12-21-2003, 04:54 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
windows first, then linux (with lilo for me, grub for you), i know, is a very easy setup.
im not sure bout the bootloader issue when u install windows last, but there was an article on tldp.org that described how to do linux first, and then win32.

if ur doin a fresh install of a system on ur machine, then skip that article, and do win32 first, followed by linux - no issues.
 
Old 12-21-2003, 04:55 PM   #3
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
it works best if windows goes first. putting it on second can be done , but, it's not easy and will take alot reading. search the forum here, there are plenty of threads dealing w/this subject.
good luck.
 
Old 12-21-2003, 04:56 PM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Windows likes to be installed on the "first" partition of the "Master" Drive.
 
Old 12-21-2003, 04:59 PM   #5
killer_bunny
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: RedHat 9, Slack
Posts: 106

Rep: Reputation: 15
Try by editing your boot sequence in BIOS...
And make your cd rom first boot device...

I hope you know what i am taking about...
Are you sure that your windows cd is bootable?

But i didn't understand do you need window partition or you want to install win98...

If you only need partitions then you can make them with
/sbin/fdisk

And there is no special order for instaling OS...
Doesn't matter who goes first...

(that part comes later whan you configure your lilo.conf)

until i finished writing allready five guys answerd

In my case windows are second and booting up quite fine..

Last edited by killer_bunny; 12-21-2003 at 05:01 PM.
 
Old 12-21-2003, 05:03 PM   #6
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
Quote:
And there is no special order for instaling OS...
with windows, yes there is... ever tried installing win 95, 95b, 95c, 98, 98se, me, and 2k on the same hardrive? i did for a month...

theres issues..

as to where i can install 10 20 30 versions of lin with almost no issues.. in about 30-50 minutes per install
 
Old 12-21-2003, 05:56 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,971

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
It is possible to install windows after linux without problems. I've done it with W95,98, NT, and W2K. Is your BIOS set to boot from CDROM first?

You can use Partition Magic if you have it or linux utilities, parted or GTKParted.

Windows needs to be installed to a primary partition i.e. 1-4. It doesn't need to be the 1st. You just have to change the partition flag to bootable.
Did you create a boot floppy during the install? If not you can use the 1st install CD and boot to recovery mode or create one using the mkbootdisk console command.

To see if you have a free primary partition you can use the fdisk console utility. Log in as root:
fdisk -l (small L)

I'm not sure what RH's hard drive GUI is called. If all 4 primary partitions are used then it will be eaiser just to start over and install windows first then linux. You will need to boot the windows CD and reformat the hard drive before installing. Use delete non-DOS partitions option.

Once windows is installed you will need to reinstall grub (default bootloader) or lilo back to the MBR. Use the boot floppy to reboot back into linux and then run:
grub-install
or
lilo

Then you can modify your grub.conf or lilo.conf file to include booting windows.
 
Old 12-21-2003, 09:04 PM   #8
ccflashback
LQ Newbie
 
Registered: Oct 2003
Distribution: RH9
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you all for your help! It has indeed been helpful.

I tryed puting windows on top of linux first and that is proving to be more of a pain then i'm willing to put up with. So i've decided to start over. My problem is that i can't get the win 98SE cd to boot. I've set the CDROM to boot first in the bios and it just won't take. The redhat 9 install cd boots just fine. I've tryed two diffrent 98SE cds and no dice. Is there something i'm overlooking? Also, is there a way to wipe the harddrive using the redhat install cd?

Once again thank you all! You have been a great help!

ccflashback
 
Old 12-21-2003, 11:11 PM   #9
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
you need a windows 98 startup disk(floppy) with fdisk on it...the problem i think, is that redhat has formatted your harddrive with partitions that windows can't read. you need to delete those partitions first. your documentation with redhat should be able to tell you how... then format the harddrive with fdisk...then you should be able to boot with the windows cd and install it. i'm running a dual boot with 98se and SuSE now, but i did have redhat once, and i know the partitions were not recognized by windows. you can make a windows 98 startup disk from any system running windows 98...and you can prolly find a copy to download from microsoft...
 
Old 12-22-2003, 01:22 AM   #10
In2Fords
LQ Newbie
 
Registered: Dec 2003
Location: Salt Lake, Oahu, Hawaii
Distribution: Dual boot desk topXP
Posts: 3

Rep: Reputation: 0
Im running xp and red hat on my comp. just ran fdisk to wipe the HD clean and during xp install set up a partition at 10 gigs and 190 gigs. Installed xp on the 10 and RH9 on the 190. Im such a newbie I dont even know what grub is, but I know i saw LILO while installing RH9. if I can do it on first try it must be the right way, anyway good luck. Jeremy
 
Old 12-22-2003, 03:42 AM   #11
TyrranzzX
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Rep: Reputation: 0
Windows 95/98 like to be on the primary partition. They usually won't work if you do it otherwise. Install all of your windows distro's first, then linux. You CAN do it the other way, but you'll need to use your own bootloader.

As for your system not booting, mayhap you're not using a bootable win98 cd? If you aren't, get a bootable floppy and format it as a win98 backup disk and then run setup from there. Goto bootdisk.com to get the files. Go onto the CD drive and type in setup to get the win98 setup going.
 
Old 12-22-2003, 06:59 AM   #12
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Quote:
Originally posted by detpenguin
you need a windows 98 startup disk(floppy) with fdisk on it...the problem i think, is that redhat has formatted your harddrive with partitions that windows can't read.
just to add here, i've had that exact problem. what i finally resolved to do was put in the mandrake(or in this case redhat) cd, start the install, and repartition the disk and format everything fat 32(or os/2 can't remember) so that windows fdisk could recognize the partitions. before i done that windows fdisk couldn't even delete the existing partitions because it couldn't see them.
hope that helps.
 
Old 12-28-2003, 11:26 PM   #13
robbage
Member
 
Registered: Dec 2002
Location: Western Australia
Distribution: OpenSuSe 11.x
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by ccflashback
I tryed puting windows on top of linux first and that is proving to be more of a pain then i'm willing to put up with. So i've decided to start over. My problem is that i can't get the win 98SE cd to boot. I've set the CDROM to boot first in the bios and it just won't take. The redhat 9 install cd boots just fine. I've tryed two diffrent 98SE cds and no dice. Is there something i'm overlooking? Also, is there a way to wipe the harddrive using the redhat install cd?
ccflashback
I think everyone's missing the point. If you can't boot the Win98SE CD then you won't be able to install from the CD. Be aware that there are at least two versions of the Windows 98 SE CDROM. One is the update disc which requires you to install the original Win98 CD first, then load the SE update from the operating win98 OS (this is an upgrade) That disc is not bootable!

The other is a later release and _IS_ bootable and is not an update but (in effect) Win98 plus Win98SE update combined. So... the question is: which disc do you have? Try booting it on another PC...

As for wiping a HDD.. unless you are trying to erase info for security reasons, then you don't need to wipe it.. just delete all partitions using fdisk or similar.
 
Old 01-22-2004, 04:08 PM   #14
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

Rep: Reputation: 30
HI there,

Is there any way to change my Windows partition from being /hda7 to /hda2? I have no partitions from hda2 to hda4, so I don't know why stupid Mandrake decided to make my Windows partition /hda7.

Right now, when I try to install Windows ME, it tells me that my partitioning scheme doesn't support Windows and therefore my hard disk needs to be erased. Will renumbering hda7 to hda2 fix it?

Last edited by vincebs; 01-22-2004 at 04:09 PM.
 
Old 01-22-2004, 07:10 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,971

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
vincebs,
Actually you have another primary partition i.e. an extended. An extended partition in a nutshell is a container for logical partitions. Primary partitions are 1-4, logical partitions anything >=5.

The only way I know of renumbering is, asuming your entire drive is allocated would be to delete hda7, resize the extended. Create a primary partition, set it active, format it and then install windows. And then restore the bootloader to MBR if required. Be sure to create a MDK boot floppy using mkbootdisk too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
windows linux partitions daveoily Amigo 8 01-16-2007 10:58 AM
Linux Partitions in Windows BRC Linux - Newbie 8 11-07-2004 06:32 PM
Linux and Windows on different partitions? shaun89 Linux - General 8 07-29-2004 01:59 AM
Linux partitions under windows secprovider Linux - Newbie 1 08-21-2003 06:23 AM
windows/linux partitions??? MeanJoshGreen Linux - Newbie 13 02-18-2002 08:29 AM


All times are GMT -5. The time now is 09:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration