Hi all, I have a dual boot Win98/Slackware Linux system which uses LILO for the bootloader. What I want to know is is there a way I can remove Linux and replace lilo with the original Windows bootloader, i.e. restore the system to a single boot Windows system WITHOUT losing any of my Windows data? Any help very much appreciated... If you're wondering WHY I would want to remove linux let me just say 'boss's orders!'.
You might try an "fdisk /MBR", though I don't guarantee anything. It might be easier to modify lilo.conf to default to the DOS loaders and set the time delay to 0 seconds. (Don't forget to run LILO) to get the new /etc/lilo.conf to take. Are you just wasting valuable corporate resources or is there a problem with running an "insecure OS" :roll: ?
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Nov 05, 2001
Originally posted by Tim Holloway: You might try an "fdisk /MBR", though I don't guarantee anything. It might be easier to modify lilo.conf to default to the DOS loaders and set the time delay to 0 seconds. (Don't forget to run LILO) to get the new /etc/lilo.conf to take.?
Thanks, I'll give that lilo.conf a shot, should be enough to fool the Windoze-lover-boss :roll:
Originally posted by Tim Holloway: Are you just wasting valuable corporate resources or is there a problem with running an "insecure OS" :roll: ?
Yes indeed I'm guilty of wasting valuable resources that the wonderful Windoze could be hogging! [ January 14, 2002: Message edited by: alex earnshaw ]
If you reinstall windows it will overwrite the boot segment and LILO will be no more. That only leaves you the problem of an inaccessible hard disk partition. If you use disk doctor or something similar to reformat or resize the partition first, you should get back to clean.
Yup I also think what Bodie said is the easiest way out. Im not familiar with what Tim posted so I go for reinstalling Windows. A few months ago I also tried removing the Linux part from my Win98/Mandrake dual boot system. And the way I did it was a bit stupid. 1. Booted from Windows and ran Partition Magic. 2. Deleted the Partition which had Linux installed. 3. Ended up with a PC which does not boot. But luckily I tried booting from a Win98 installer CD and reinstalled my Windows. To my surprise the Apps which I installed in my Windows were still there, the way I left them before removing the Linux partition. Whew!
Thanks guys, I've modified lilo.conf for the moment to make it LOOK like linux is no more. From what you're saying there is no way to reclaim the linux partition for windows witout doing a windows re-install? I have win98 also, if I reinstall it can I be sure I won't lose my existing windows apps???
Sure you can reclaim the partition! The hard part is scrubbing out the boot loader (I saw an interesting article on backing up the bootloader and primary partition table yesterday - you use "dd" ). Just run "fdisk". The Linux partitions will show as "unknown" partitions. Delete them and recreate them as "DOS" partitions. Or use Partition Magic. Recent releases actually understand both Microsoft AND Linux partition types. But back Windows up first! Although they're getting better, I still demolished a triple-boot system (Win/95, Linux, NT) trying to get everybody some space in that critical sub-1024K cylinder area.
Joined: Nov 05, 2001
Originally posted by Tim Holloway: Just run "fdisk". The Linux partitions will show as "unknown" partitions. Delete them and recreate them as "DOS" partitions.
Now I'm getting ...If I delete the linux partition will this not also delete LILO and then I will have a PC that will not boot unless I reinstall Windows...Or is the bootloader on it's own partition - I can't remember, it's a LONG time since I created the dual boot Tim, I found that article about using the dd command to restore the boot record but am afraid to try Also saw some articles about using lilo -u option. Does anybody know anything about this?? [ January 17, 2002: Message edited by: alex earnshaw ]
When you install Red Hat at least, it asks where to put LILO - you have the option to put it in either the master boot record or in the Linux partition. I always select MBR, myself. The MBR boot code is unaffected by changes to the partitioning, and if LILO is in the Linux Partition. you won't need it after you yank Linux anyway, so no problems. Unless memory fails me, the simplest way to eradicate Lilo is to simply rerun the Windows install proogram. It will overlay the LILO boot with the Microsoft boot manager and that'll be the end of it. And no, re-running Windows install won't blast your existing Windows setup unless you command it to do so (for example, by reformatting the Windows partition). All good Windows install programs are expected to detect existing installations and switch to "repair" mode.