LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-07-2003, 07:28 AM   #1
hhaugnes
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
Question Installing WIN2000 from Redhat Linux


I am trying to install Win 2000 from Redhat 8.0. I don't have a CD player, but I have the Win 2000 Setup files on the filesystem.

I ONLY have Redhat 8.0 installed on this computer.

What I think I would like to do is :

1. Create FAT partition
2. Mount it and copy the Win 2000 setup files there
3. Somehow, run these files to set up Win2k.....

I am new to this, but 1 is quite trivial using parted. 2 seems to be harder, and 3 impossible (to me).

Would appreciate any help on this issue, if anyone has a clue about this, I can see this is an esoteric problem.....
 
Old 09-07-2003, 09:59 AM   #2
Likosin
Member
 
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119

Rep: Reputation: 15
ok, I have no idea how to use parted, so you are on your own there.
For 2, mount your FAT (as su) with mount -t vfat /dev/hd* /mnt/win
Change the hd* to your partition, and /mnt/win to where ever you want to mount it.
Then just copy the files over.
For number 3, I have no idea either.

What I have done;
Got and Installed VMWare, and made an *.iso with all the setup files. (K3B is good for this). I then created a virtual machine, and set it's cd-rom to the iso file. You would then boot it up, enter it's pheonix bios with f2, set the cdrom as first boot device, and reboot to start installing.

Hope I have been some help
 
Old 09-07-2003, 11:08 AM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
I also run vmware; it is an excellent solution (though not cheap).

If you want to do a native install of Win2K, you have to fake the Windows installer into thinking that Win2K is going into a clean system. It will not cooperate with the Linux boot loader.

First, create your FAT partition. Then backup your MBR using your choice of tools. Make certain you have a working Linux boot floppy.

Then, working from a DOS boot floppy, do an fdisk /mbr to write a default boot sector to the drive. Also from fdisk, set the partition that Win2K will go on as the active partition.

Then install Win2K. When you get to the point where Windows wants to define partitions and format your drive, tread carefully. It won't recognize the ext file systems for you Linux system; make sure that you only let it format your FAT partition. I would also recommend you allow it to change that partition to NTFS. Make sure you have a working Windows boot floppy for this installation.

Then restore your original boot block from the backup you made.

Finally, edit your Linux boot manager config files to include the option to boot to Win2K via the chainloader. If you are using grub, the lines for Win2K will look something like this (details might differ depending on your actual install location):

title Windows 2000
root (hd0,0)
makeactive
chainloader +1

When you have this done correctly, the Linux boot loader will come up and give you your choice. If you choose Win2K, it will boot straight into it.

If you do this incorrectly, you run the risk of rendering your system unbootable and losing your linux installation. Be sure you have backed up first.
 
Old 09-07-2003, 12:00 PM   #4
oni0n56
Member
 
Registered: Aug 2003
Location: Hollywood, California
Distribution: Linux Mandrake
Posts: 189

Rep: Reputation: 30
hmm.. since you guys seem to have a lot of knowledge on this subject, could you help me out? I started off with windows Me and mandrake, i wanted to install slack too.... so i deleted this unknown partition that was practically empty.. and made it into free space.... [hda5]... my linux partition, swap , and windows partition was still there [ [ i ddi this in the mandrake partition thingy] ] .. and my linux was fine... but when i tried to boot into WINDOWS.... it wont let me in safe mode or regular or anything.. says something about missing or bad registry files.. run scanreg to try to fix it or something...

Now i know linux is great but you gotta have windows... any suggestions how i will "run scanreg" ? i have the restoration cd's but i cant get into my bios.. there doesnt seem to be a key for it!! i tried everything.. almost all the keys on the keyboard but it wont let me in... could i just like.... copy registry files or something to C:\windows\something.... ?? I dont have a boot floppy but could i make one in linux?? i appreciate all help!
 
Old 09-07-2003, 12:15 PM   #5
c3cil
LQ Newbie
 
Registered: Aug 2003
Distribution: Suse
Posts: 8

Rep: Reputation: 0
There is an easy soloutouin it involes:
a) some money
b) a pc shop
c) buy a cd drive

besides how did you get those files on to your hdd withoutout a cd drive
 
Old 09-07-2003, 12:28 PM   #6
hhaugnes
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Question DOS boot disk

Thanks for excellent suggestions and good leads, however, after some "Googl'ing", I cannot figure out how to create a DOS boot disk from Linux.

Bootdisk.com has some good self-installing programs for windows based machines, but no images I could use with e.g. dd

Jiml8, do you know how can I create a DOS bootdisk from Linux?

tx
 
Old 09-07-2003, 12:48 PM   #7
hhaugnes
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
c3cil, I always store essential software on a separate harddrive on my harddrive. Good for clean reinstalls, and CDs get lost.

After a crash, I could install Redhat from a floppy and a network install, but helas, Windows does not offer that convenience. So without the Win2k CD, it is kind of hard to install.... Thus this thread.

I agree that an easier solution is to buy a CD-burner, burn a CD from Linux with the win2k files and off I go. But where is the fun in that....?
 
Old 09-07-2003, 12:55 PM   #8
Likosin
Member
 
Registered: Aug 2003
Location: NY
Distribution: Debian
Posts: 119

Rep: Reputation: 15
if you don't have enough money, may i suggest pricewatch.com A cd-rom drive at 56x costs just 18 bucks. Excelent value. But you might want recording also. A cd-rw at 54-32-54 is 40 bucks. happy shopping
 
Old 09-07-2003, 01:17 PM   #9
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Jiml8, do you know how can I create a DOS bootdisk from Linux?

You have to make it from Windows.
 
  


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
How to make a image file for my disk( Including win2000&Redhat Linux system)? teradyne Linux - Software 3 06-02-2004 05:25 AM
Installing win2000 from mandrake linux patman362 Linux - Newbie 2 01-09-2004 02:18 PM
Installing Linux onto existing Win2000 system kennethrgreen Linux - Newbie 9 07-22-2003 04:47 PM
Redhat, win2000 and win XP futurist Linux - Newbie 7 03-17-2003 08:05 AM
Installing with Win2000 gex8_19_98 Linux - Newbie 3 06-04-2002 12:27 PM


All times are GMT -5. The time now is 07:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration