Uninstalling Linux

I need more diskspace on my hard drive.

At present it is split between Win 3.1 and (slackware) Linux.

I boot with LILO

How do I remove linux, and repartion my disk as to get all space available again?  (Of course without losing my win3.1 data.)

(PS I intend to get a separate drive shortly for linux)

Thanks
kaspaasAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jameshuiCommented:
Hi!
We can use Dos's FDISK to delete the partition of Linux native and Linux Swap partition into a new disk drive. But we can not make the free space from the partition deleted into the win3.1 driver.
We just can create a new drive from the free space of partitions we have deleted, because we can not change the partition which have already assign as a drive.
If you want to delete the Linux and create a new drive .....
1. Boot from MS-Dos
2. Type FDISK { FDISK }
3. Delete the partition which show in FDISK call non-dos partition.
4. Create the new partition by option 1 as extended partition
5. Reboot the system
6. Format the drive you have created { format [drive-id:] /u/c }
(make sure that drive do not contain any data, the drive you need to format is the one you type DIR and it will give you an error message)
7. The drive is ready for you to use.

Hope it helps.

James Hui.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.