Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win98 / Linux dual boot install on a large disk 1

Status
Not open for further replies.

Kudagai

Programmer
Oct 25, 1998
19
US
Does anyone know what considerations are involved in installing Linux on a system that already contains Win98? Win98 will be in a low FAT32 (size?) partition, since I am told that it insists on that. And I intend that the top 8GB of the disk will be the D: FAT32 partition. I desire that the remainder of the disk (the extensible? partition) be Linux. But I also understand that there are a few tricks to doing this, and I don't know them.<br>
The system has System Commander on it which is what I have been using to manage the partitioning so far.
 
really no considerations, but just a few steps. ensure you have room for the linux partitions [you will need at least two -- and they can't be fat32 -- so repartition to get those] and then make sure your lilo boot loader has entries for both win98 and linux so you can dual-boot. or make either a linux boot floppy or a win98 boot floppy, and then you don't need to worry about what lilo does to your mbr.
 
Actually, I picked this up from new.redhat.com @ redhat.config. It seems to address the topic in fair detail. (Haven't tried it yet, and I may not if VMWare pans out! [WINE would be nice, but until it's a bit nearer completion, I need something that will do what I need done.] )<br>
<br>
From: Indrajit Raychaudhuri &lt;indrajitrc@hotmail.com&gt;<br>
Subject: Re: Installing Win98 and Linux on a 17 GB drive doesn't work<br>
Date: Wednesday, March 24, 1999 7:27 AM<br>
<br>
Hi Marc and George,<br>
<br>
I think I 'did' face this type of problem a few months back.<br>
Fortunately I could overcome the problem with kernel-2.0.36 itself.<br>
May be I could help you out.<br>
Since you have everything (the entire system) within your control, you can<br>
try from scratch the following way.<br>
<br>
Step - I (the Win98 part):<br>
-------------------------------<br>
1. Forget Linux.<br>
2. First boot into the system using the Win98 bootable floppy.<br>
3. Run fdisk (the one which comes with Win98 bootable floppy).<br>
4. Say 'Y' to 'Enable large drive support'<br>
5. Delete whatever partition you have in the drive. Absolutely no<br>
partition should be visible in Win98 fdisk.<br>
6. Now from Win98 fdisk itself, define the 'Primary Dos' partition and<br>
take the 4000MB you require.<br>
7. Set the Active partition (one you prepared right now)<br>
8. Exit fdisk and reboot (you can use the command 'restart')<br>
9. Now boot again with Win98 bootable and install Win98 from the CD. (all<br>
sane CD drives are recognised by the bootable floppy)<br>
<br>
Do whatever you like now with Win98, it won't have any problem.<br>
<br>
Step - II (the RedHat Linux part):<br>
----------------------------------------<br>
1. If you have the RedHat 'Bootable CD', boot from the CD (you may need to<br>
change CMOS settings to be able to do this)<br>
2. If you don't have that use the bootdisk and suppdisk (29 Dec version)<br>
to boot into the system.<br>
3. Use 'Linux fdisk' instead of 'Disk Druid' to create rest of the<br>
partition. Though fdisk is a text based tool, it is far saner.<br>
(I 'did' face problem with disk druid, so avoid that).<br>
4. Looking at your configuration, it seems this configuration should be OK<br>
for you. (Use Linux fdisk to create the partition only, exit<br>
when done and assign the mount points in Druid) If you have any<br>
problem using fdisk, learn it from ("Linux Installation and<br>
Getting Started Guide" available from <br>
&gt; hda1 /mnt/win98 4000MB WIN FAT32<br>
&gt; hda2 / 200MB Linux native<br>
&gt; hda3 "swap" 100MB Linux swap<br>
&gt; hda4 &lt;extended&gt;<br>
&gt; hda5 /usr 1000MB Linux Native<br>
&gt; hda6 /home 1000MB Linux Native<br>
&gt; hda7 /var 1000MB Linux Native<br>
5. Once you are through, install Linux and configure LILO and install it<br>
in the MBR. Also add the Win98 partition as usual.<br>
6. That, and other things being over and the system reboots, you should<br>
have things working.<br>
<br>
Try your luck, all the best.<br>
Hope you won't have to throw you computer out of the window.;-)<br>
<br>
Indrajit<br>
<br>
<br>
Marc Gianzero wrote in message &lt;36F5BE93.CEA434A@uci.edu&gt;...<br>
&gt;Well, I am just about to give up on this system all together! I have<br>
&gt;literally<br>
&gt;installed Linux on my system over 20 times with all sorts of<br>
&gt;configurations<br>
&gt;without much success. To reiterate my scenario, I am trying to install<br>
&gt;a dual<br>
&gt;operating system (Windows 98 and Linux) on my Dell P-2 450mHz, 128MB<br>
&gt;system with<br>
&gt;a 17.2 GB Maxtor hard drive (IDE primary). I can install windows<br>
&gt;without a<br>
&gt;problem, and even Linux when it is by itself using the partion scheme as<br>
&gt;<br>
&gt;follows:<br>
&gt; hda1 /boot 100MB Linux Native<br>
&gt; hda5 /usr 1000MB Linux Native<br>
&gt; hda6 /home 1000MB Linux Native<br>
&gt; hda7 /var 1000MB Linux Native<br>
&gt; hda8 "swap" 100MB Linux swap<br>
&gt; hda9 / 100MB Linux Native<br>
&gt;My understanding is only the /boot partition need to be below the 1023<br>
&gt;cylinder. What does this mean -- I thought it meant below 8 GB, but<br>
&gt;somewhere<br>
&gt;else it says &lt; 512MB? Either way, I made it the first partition in the<br>
&gt;sequence<br>
&gt;so it should satisfy that criteria, right? I booted with "linux<br>
&gt;hda=16383,16,63" and selected "linear mode" for Lilo installation. I<br>
&gt;also<br>
&gt;updated my image boot disk to one dated Dec 29th (as I was told to do).<br>
&gt;I<br>
&gt;also installed my Lilo in the Master Boot Record<br>
&gt;<br>
&gt;Now, with this configuration, my disk size records properly in partition<br>
&gt;section<br>
&gt;of Disk Druid "Drive Summaries" section of my screen. Linux boots with<br>
&gt;a boot<br>
&gt;disk and seems to run perfectly. I can even add the<br>
&gt;"append="hda=16383,16,63"<br>
&gt;to my lilo.conf file and it boots with just a return at the boot:<br>
&gt;prompt.<br>
&gt;<br>
&gt;However, now I wanted to get back to a dual operating system mode. When<br>
&gt;I try<br>
&gt;and install Windows98 after these partitions it doesn't work. The<br>
&gt;windows98<br>
&gt;program "fdisk" forces me to remove the "extended dos" partition (which<br>
&gt;is<br>
&gt;hda5-9) before it will create a primary dos partition. Then I have to<br>
&gt;go back<br>
&gt;and reinstall Linux - which is O.K. if it worked! But it doesn't! I<br>
&gt;can't get<br>
&gt;it to boot off of LILO without it locking up at the "L". I thought only<br>
&gt;the<br>
&gt;/boot partition needed to be below 1023. My partition scheme now is now<br>
&gt;as<br>
&gt;follows:<br>
&gt; hda1 /boot 100MB Linux native<br>
&gt; hda2 4000MB WIN FAT32<br>
&gt; hda5 /usr 1000MB Linux Native<br>
&gt; hda6 /home 1000MB Linux Native<br>
&gt; hda7 /var 1000MB Linux Native<br>
&gt; hda8 "swap" 100MB Linux swap<br>
&gt; hda9 / 100MB Linux Native<br>
&gt;<br>
&gt;What's going on? I then tried and combined my /boot and my root (/)<br>
&gt;partition<br>
&gt;to see if this did anything, making my partitioning look like this:<br>
&gt; hda1 /boot 200MB Linux native<br>
&gt; hda2 4000MB WIN FAT32<br>
&gt; hda5 /usr 1000MB Linux Native<br>
&gt; hda6 /home 1000MB Linux Native<br>
&gt; hda7 /var 1000MB Linux Native<br>
&gt; hda8 "swap" 100MB Linux swap<br>
&gt;<br>
&gt;O.K. now Linux works! However, when I type "dos" to run my Windows 98<br>
&gt;boot, the<br>
&gt;system just hangs. So then I thought maybe Lilo overwrote my MBR that<br>
&gt;Windows<br>
&gt;now needs. So I used the "/sbin/lilo -u" under Linux but this just<br>
&gt;prevented me<br>
&gt;from booting Lilo off the hard disk. I then tried re-installing Windows<br>
&gt;98 from<br>
&gt;scratch but Windows tells me it has to reformat the disk. I reformat<br>
&gt;the<br>
&gt;windows partition (hda2) and then it tells me it cannot read the<br>
&gt;format. I seem<br>
&gt;to be going in circles.<br>
&gt;<br>
&gt;I've installed this darn thing way too many times to make it that<br>
&gt;important.<br>
&gt;Isn't there somebody I can talk too about this in person, like a<br>
&gt;telephone<br>
&gt;call? I was even told that the newer kernel (2.2x) solves some of these<br>
&gt;<br>
&gt;problems I might be having, but how can I download it and install it on<br>
&gt;my<br>
&gt;system when my system isn't up and running yet?<br>
&gt;<br>
&gt;Please help.<br>
&gt;<br>
&gt;Marc Gianzero<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
 
That basically works, but forget LILO! If you install LILO, in the MBR then NOTHING works. It also appears that if LILO is installed in the boot partition (I shrank the Win98 partition to 6GB) then Linux doesn't work. But this may be to to a v. large partition (/work = 1024 cylinders). Actually, I *CAN* force linux to boot, but it complains visciously about bad magic numbers in the disk blocks of type ext2. This doesn't seem to be actually true, as fdisk (after telling it that I have 2048 cylinders) verifies that all is well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top