Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-07-2004, 01:07 PM   #1
Registered: Feb 2004
Distribution: Slackware 9.1, Slackware 9.0, FreeBSD 4.10-RELEASE, Dragon Lite, Slax
Posts: 70

Rep: Reputation: 15
Installing Windows on a Mandrake 9.2 machine

I need to install WIndows 98 on my PC by 5:00 tonight, or my pop will kill me, so how can I do it? I only have one hard drive (I have another but its messed up. If you think it can be fixed, email that is partition like so:
hda1 5gb /home
hda5 .5gb swap
hda6 50gb /
I need to install windows onto this drive, but I cannot unmount the third partition to make room for another partition after it (I've tried using the installing and quiting after writing the partition table to the drive, but the new partition doesn't show up). I could make the /home partition smaller and add in another one there for windows, but when I do so, it gives me error upon error about not being able to find the kernel, or the superblock being bad.
So if anyone has any suggestions (I do have a windows laptop on the network that I could use as a boot server if thats possible?) I would appreciate them. Thanks
Old 04-07-2004, 02:35 PM   #2
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Hi danny_beta_read,

hda1 5gb /home
hda5 .5gb swap
hda6 50gb /
Well, After typing this entire reply, I feel that may be you wont have the Mandrake CD -1 with you, and may be you want to install windows using a Windows machine...However, I know only one way in which I could get this thing done, so here's my way of doing that thing...If you think this one is too hectic or complicated, then i suggest you wait for someone else's reply who may have done something similar to your requirement.......

You only seem to have one choice, and that is to resize the third partition... WARNING!! - Resizing your partition can lead to loss of data if not done properly..

However, you wont be able to do that when you have booted from your hard drive. You will need to boot with your Mandrake CD into rescue mode to resizing of partitons.

So, now you should do the following:

1. Check your distro and find out if it comes with the 'parted' utility. If it dosent, then you can download and install it from the following place (click the topmost link on the page that opens after you click this link below to download parted).

2. Next, set the boot sequence with CDROM as first option and then boot from your Mandrake 9.2 CD by typing at the boot prompt

linux rescue

3. Once you get the login prompt, log in as root and type


4. After that type at the parted prompt


and also


This will display details about all partitions

4. Now, you need to resize your partition /dev/hda6....So, on the parted prompt, type

resize <partition number> <start megabytes> <end megabytes>

Warning!: I am unable to guide u exactly about the 'resize' command above coz its been a long time since i used parted, so pls read parted man pages before resizing your partition.!!

5. Once you resize your partiton, type


6. Reboot

7. After you reboot, you can use fdisk to create a new partiton, set its type to WIN95 FAT32 LBA and then create a new filesystem on this new partition with

mkfs.vfat <new-partiton-device>

8 . Now you can boot with a Windows boot disk and install Windows on to this new partiton.

Hope this helps you to do your job. Guys, if anyone of you notice something that's incorrect in my reply, pls do point it out for the benefit of others.


Old 04-07-2004, 05:01 PM   #3
Registered: Feb 2004
Distribution: Slackware 9.1, Slackware 9.0, FreeBSD 4.10-RELEASE, Dragon Lite, Slax
Posts: 70

Original Poster
Rep: Reputation: 15
I like how that works on paper, but it has one big problem for me: I tried that and I tried the same thing using the installer (quiting right after the partitioning), and each time I lost the space on my third partition, and I can't seem to get it back! So, I decided to reformat the first partition (/home) as I never use it anyhow, but I came accross a problem: How do I get it into a format the windows/DOS can understand???
Old 04-07-2004, 05:10 PM   #4
Registered: Feb 2004
Distribution: Slackware 9.1, Slackware 9.0, FreeBSD 4.10-RELEASE, Dragon Lite, Slax
Posts: 70

Original Poster
Rep: Reputation: 15
Well.... i feel like such a fool.... I set it to fat32, and it looks like its gonna work.....


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
Installing Redhat 7.2 on Windows XP machine susyq78 Linux - Newbie 3 03-04-2004 06:13 PM
Installing Redhat onto a Windows Xp machine... dplumpton Linux - Newbie 5 10-11-2003 05:54 PM
Installing windows and linux on the same machine Jo_Nak Linux - Hardware 1 09-04-2003 04:42 PM
Installing Linux on Windows XP machine Pieter Linux - Newbie 8 02-24-2002 06:21 AM
Installing Linux on a Windows Machine schmidtamylee Linux - Software 5 03-22-2001 01:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration