There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network operating system printer problem ram registry router security server slow software sound svchost.exe trojan ubuntu 11.10 usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Windows on a Linux Box

Reply  
Thread Tools
Big-K's Avatar
Distinguished Member with 6,954 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
23-May-2005, 09:24 PM #1
Windows on a Linux Box
I need windows on my computer. I've tried putting 98 on my slave drive, but that drive is only 1 gig. I have my master drive partitioned into my Linux Ext3, my Linux Swap, a VFAT sharing and leftover partitions. The leftover is about 14 gigs. What I want to do is get windows 98 or 2000 onto that leftover partition. My question is, is there any way to do that without reinstalling Slackware?

My first idea is drive imaging. I could make an image on an installation on another drive then move it onto the leftover partition. I'm not sure if this would work or not.

My second idea is to just install the OS directly onto it. My problem here is I'm not sure if I would be able to get LILO working again. Would I be able to just write LILO onto hda1? The leftover partion is on hda2, the linux ext3 is hda3. Hda1 is the share partition. Would windows write onto the MBR, making LILO unable to take back the booting? Would I be able to write LILO over windows stuff on the MBR?

I keep seeing that I should always install windows first, but I want to know if there's any way to do it the opposite way.
lunchbox's Avatar
Senior Member with 167 posts.
 
Join Date: May 2005
Experience: Advanced
24-May-2005, 12:46 AM #2
I havent tried this so im not sure whether it would work... BUT... there is an easy way to re-write lilo into the bootloader.

Install windows onto a separate partition, it will rewrite the MBR but all you need to do is insert your slackware cd and tell it to load the linux kernel manually. Then you can boot up to your linux installation, edit lilo accordingly and just run /sbin/lilo and you should be sweet.
__________________
Specs:

AMD64 x2 6000+ Socket AM2
MSI K9N Platinum Mobo
CORSAIR 2GB TWIN2X2048-6400C4 PC2-6400 800MHZ 4-4-4-12
Nvidia 7900GT PCI-E
1x200 gb Seagate
1x320gb WDC Sata
Samsung 16x DVD+/-RW
Antec 480W True Blue 2 PSU
Gigabyte Poseidon - Black
tdi_veedub's Avatar
Senior Member with 590 posts.
 
Join Date: Jan 2004
24-May-2005, 01:02 AM #3
lunchbox hit it. Install windows, then pop your slack cd in, boot from that by issuing the following command to boot your previously installed linux system.

vmlinuz root=/dev/hdxy noinitrd ro

where x = your drive, and,
y = your partition

example /dev/hda1 would be the first partition on the primary master disk.

Once you are booted into linux, just edit your /etc/lilo.conf (as root) to to include your new windows installation, then type lilo (also as root) to actually write the information to the Master Boot Record. Reboot, and all will be good.
__________________
Computer specs:
----------------------------------
Dell XPS 1530
Centrino 7500 2.2Ghz
GeForce 8600GT
120GB/2GB
Big-K's Avatar
Distinguished Member with 6,954 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
24-May-2005, 01:15 AM #4
Awesome, thanks. I'll try it when I get the chance to install windows and post back.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:54 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.