Discussion Locked

Problem with Removing Linux

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a notebook that is partitioned in the following way... C: system files for 98 D:Corel linux partition E: personal stuff.

I installed Win98 first and then partitioned my drive with partition magic. Then i installed Corel Linux on the D: partition.
When my pc boots the Lilo takes over the booting. So my pc boots to linux first and then i have to select Windows. How do i remove this linux without destroying my Win98 ?

11 replies

by cybergod

The easiest way to remove linux is to restart to msdos mode (or to boot from a system diskette for Windows) then run fdisk and choose to remove non msdos partitions.
After removing the Linux partition you can make it msdos partition with fdisk or with partition magic.

by ryflee

Since you partitioned your harddisk using Partition Magic, I think it allows you to choose which OS to boot from. If you have partitioned your harddisk using fdisk in the first place, it would be right to use it to remove other partitions. Howeverin this case, use Partition Magic tools to remove the linux partition. See if this helps.

by schannachie

Hi,

That's no problem at all ! Try this :

1.- Get a new floppy and format it loading system files so it can boot.

2.- Copy the fdisk of the operating system you need. Win 98 in this case.

3.- Follow the answer #3 run the fdisk from the booteable floppy with the flags /mbr (fdisk c: /mbr)

Be sure that the fdisk is a genuine ms fdisk, beacause linux has an fdisk too.

Hope it helps.

by taminato

To restore the original MBR you should issue the following command.

/dd if=/boot/boot.0300 of=/dev/hda bs=446 count=1 <-- ide
/dd if=/boot/boot.0?00 of=/dev/sda bs=446 count=1 <-- scsi (I think scsi is boot.0800.)

Good luck,
Taminator

This discussion is closed to new replies.