Re: Upgrading to Win98 from 3.1 without killing Linux

Randolph J. Herber (herber@dcdrjh.fnal.gov)
Mon, 06 Dec 1999 13:57:22 -0600 (CST)

The following header lines retained to affect attribution:
|Date: Mon, 06 Dec 1999 10:25:24 -0600
|From: Gerald Guglielmo <gug@fnal.gov>
|Subject: Upgrading to Win98 from 3.1 without killing Linux
|To: linux-users@fnal.gov, luni@coiinc.com
|Reply-to: gug@fnal.gov

|Hi,
| I will need to upgrade my MS side of a dual boot machine from 3.1 to
|98 soon so my daughter can use her new Barbie software. I suspect there
|is little hope that lilo won't be nuked in the process, but is there any
|way to keep from losing all of my linux partitions? I will soon after
|upgrade my linux side too, but I have one partition that has a lot of
|downloaded products which I would like to avoid having to re-install. I
|have been warned that the install might want to reformat the disk
|because win98 is not DOS based, but if so is there some way to restrict
|that to just the one partition. Unfortunately I only have on disk or
|this might be as simple as unplugging the Linux disk until the upgrade
|was over. Is there any hope?

|-Jerry->
|gug@fnal.gov
|Pepe's Theory of everything: "Under the right circumstances, things
|happen."

I have had some luck with the following (``your milage may vary''):

Using Tom's Boot Disk (see http://www.toms.net subject rtbt):

1. Using fdisk note the starting and ending block numbers for
the Linux partitions (you may have to use the u subcommand).
2. Using fdisk remove the Linux partition _definitions_.

Install Windows 98 (my experience has been with MSDOS and Windows/NT).

Using Tom's Boot Disk, using fdisk, restore the Linux partition definitions
using the block number definitions.

Reboot

Using Tom's Boot Disk, using lilo with the -r parameter, rerun lilo to
rebuild your MBR (master boot record).

Randolph J. Herber, herber@dcdrjh.fnal.gov, +1 630 840 2966, CD/CDFTF PK-149F,
Mail Stop 318, Fermilab, Kirk & Pine Rds., PO Box 500, Batavia, IL 60510-0500,
USA. (Speaking for myself and not for US, US DOE, FNAL nor URA.) (Product,
trade, or service marks herein belong to their respective owners.)