[100449] in RedHat Linux List
Re: Moving Windoze95 around your system...
daemon@ATHENA.MIT.EDU (Jyan-Min Fang)
Fri Nov 20 15:21:16 1998
Date: Fri, 20 Nov 1998 15:21:47 -0500 (EST)
From: Jyan-Min Fang <fang@beamer8.physics.yale.edu>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Federico,
be very careful about what you are doing, since you don't have cdrom drive
to reinstall window 95 again. If you want window 95 at /dev/hdb2, then you
have to make window 95 believe /dev/hdb2 is C: drive.
I will suggest the following.
1. convert /dev/hdb2 to FAT16 or FAT32 (if your linux kernel support
FAT32) under window 95.
2. reboot to linux and mount both /dev/hda1 and /dev/hdb2.
3 using 'cp -a' or tar to copy the file over to /dev/hdb2
(cd /mnt/hda1; tar -cpf . | tar -xpvf - -C /mnt/hdb2, assumed /dev/hda1
is mounted at /mnt/hda1 and same for /dev/hdb2)
don't use dd. it won't work unless /dev/hdb2 and /dev/hda1 have the
same physical size.
4 next copy the window 95 boot sector at /dev/hda1 to /dev/hdb2
dd if=/dev/hda1 of=/dev/hdb2 bs=512 count=1
5 now modify /etc/lilo.conf to include the new window 95. the section for
the new 95 at /dev/hdb2 should look like this.
other = /dev/hdb2
loader = /boot/chain.b
label = new95
table = /dev/hdb
map-drive = 0x81
to = 0x80
map-drive = 0x80
to = 0x81
also leave an entry for the old window 95 in /etc/lilo.conf. rerun lilo
and reboot. (the map-drive stuff above is trying to make BIOS and window
95 believe /dev/hdb2 is C:drive.)
6 now reboot into the new95 and see if it works. run for a couple of days
before you decide to delete the old 95 for win3.1.1
If you have problem to boot into the new95, then reboot into linux and
use fdisk to mark /dev/hdb2 active or bootable. then, rerun lilo and try
to reboot to new95 again. It should work now.
Jyan-Min Fang
"Today, I consider myself the luckiest man on the face of the earth"
--- Lou Gehrig --- Go, Yankees!
On Fri, 20 Nov 1998, Federico Strati wrote:
> Hi,
>
> > >From what I have heard, Windows 95 HATES not being on the
> > first partition of hda1. Have you considered installing
> > DOS/Win 3 onto your free partition on hdb, I'm sure that
> > would be far easier. The steps here would then simply be
> [snipped for easyness]
>
> many thanks for the guidelines, I think I'll try this next week
> (when hopefully I'll get a dos6.22 setup disk set;-).
>
> maybe in the meantime I'll try what I was speaking of in the prevoius
> post: with copying I'll not harm my system, I'm curious to see
> if that could work, if you want I can keep in contact with you
> for the results of the "experiment";-).
>
> however I thinked to move win95 around because actually my
> 2nd hd is much larger than the 1st..., so that hdb2>>hda1,
> and in the 2nd there's a fully configured linux sys I don't want to
> loose, so that I cannot swap the disks and reinstall win95 in the larger
> (I will not have space for saving linux from the destroyer...).
>
> the reason why I need dos6.22+win3.11 is that I MUST use
> some quite old prog's to analyze some data in a very difficult format... sigh!
> I tried to overcome that with hexeditor's but it's quite hard w/o right
> specifications :-(, I tried also dosemu and wine, but actually I didn't
> get anything working (I mean the interesting prog's, nor dosemu or wine).
>
> anyway many thanks again
> ciao fede
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.