re-installing Win95 in Win95+linux system

re-installing Win95 in Win95+linux system

Post by Claudio Bettin » Thu, 09 Apr 1998 04:00:00



I have a Win95+Linux Slackware2.0 system configured with two main
partitions (msdos and ext2s) using LILO at boot.

I somehow messed up the Win95 partition (it now works only in safe mode,
while 'freezing' after a minute or so in normal mode)>.
Since I couldn't find out exactly what's wrong, I'd like to re-install
win95.
How should I procede?

(It seems I can't access the Win95 CD from safe mode, and, also, I'm not
sure if a new installation will destroy the LILO setup)

Thanks for any help

Claudio
 --
--------------------------------------------------------------------
Claudio Bettini - DSI (Information Science Dept.), Univ. of Milano.
via Comelico 39/41, 20135 Milano, ITALY

Phone: (+39) 2 55006281   ||  Fax: (+39) 2 55006276
--------------------------------------------------------------------

 
 
 

re-installing Win95 in Win95+linux system

Post by Brion Vibbe » Thu, 09 Apr 1998 04:00:00


[posted and mailed]


> I have a Win95+Linux Slackware2.0 system configured with two main
> partitions (msdos and ext2s) using LILO at boot.

> I somehow messed up the Win95 partition (it now works only in safe mode,
> while 'freezing' after a minute or so in normal mode)>.
> Since I couldn't find out exactly what's wrong, I'd like to re-install
> win95.
> How should I procede?

> (It seems I can't access the Win95 CD from safe mode, and, also, I'm not
> sure if a new installation will destroy the LILO setup)

Installing Win95 will overwrite the MBR, which will almost certainly
overwrite your LILO setup. So, create a boot disk so that you can boot up
Linux afterwards. I think you can do this from Slackware's setup program.

If your computer came with Windows 95 preinstalled, it should also have
come with a floppy disk with a DOS CD-ROM driver with which you can boot
into DOS and run the Win95 installation from the CD. If the computer is
older (came with DOS/Windows 3.1) then you should still have a DOS boot
floppy and DOS CD-ROM drivers somewhere. If it's a custom-build computer,
hopefully you've got the necessary files somewhere! In any case, find some
way into DOS with CD-ROM drivers loaded and reinstall Win95.

Now use that Linux boot disk to boot up Linux again, and run /sbin/lilo to
put LILO back into the MBR.



 
 
 

re-installing Win95 in Win95+linux system

Post by Claudio Bettin » Sat, 11 Apr 1998 04:00:00



> [posted and mailed]


> > I have a Win95+Linux Slackware2.0 system configured with two main
> > partitions (msdos and ext2s) using LILO at boot.

> > I somehow messed up the Win95 partition (it now works only in safe mode,
> > while 'freezing' after a minute or so in normal mode)>.
> > Since I couldn't find out exactly what's wrong, I'd like to re-install
> > win95.
> > How should I procede?

> > (It seems I can't access the Win95 CD from safe mode, and, also, I'm not
> > sure if a new installation will destroy the LILO setup)

> Installing Win95 will overwrite the MBR, which will almost certainly
> overwrite your LILO setup. So, create a boot disk so that you can boot up
> Linux afterwards. I think you can do this from Slackware's setup program.

> If your computer came with Windows 95 preinstalled, it should also have
> come with a floppy disk with a DOS CD-ROM driver with which you can boot
> into DOS and run the Win95 installation from the CD. If the computer is
> older (came with DOS/Windows 3.1) then you should still have a DOS boot
> floppy and DOS CD-ROM drivers somewhere. If it's a custom-build computer,
> hopefully you've got the necessary files somewhere! In any case, find some
> way into DOS with CD-ROM drivers loaded and reinstall Win95.

> Now use that Linux boot disk to boot up Linux again, and run /sbin/lilo to
> put LILO back into the MBR.



Thanks a lot for your advice! for some reasons I decided for a 'clean'
install. This is what I did:
1) delete the dos partition
2) make a new primary dos partition with same size of the previous one
(1 and 2 with MSDOS fdisk)
3) format the partition (with MSDOS format)
4) install windows (with floppy-with-cddrive + Win95CD)
5) boot with a boot/root linux floppy and mount my linux file system (at
this point I didn't succeed in running lilo, probably because the file
system was now mounted at /mnt )
Hence, I did the following:
6) run linux fdisk to toggle the 'bootable flag' ('off' for dos
partition and 'on' for linux partition)
7) reboot

this was enough to have my lilo (and whole system) back again.
Is this in contrast with the fact that Win95 overwrites the MBR?

The only problem is that verifying my partition table I get:
   Device Boot   Begin    Start      End   Blocks   Id  System
   /dev/hda1            1        1      507  1022080+   6  DOS 16-bit

Quote:>=32M

   /dev/hda2          508      508      540    66528   82  Linux swap
   /dev/hda3   *      541      541     1023   973728   83  Linux native
   Partition 3 has different physical/logical endings:
        phys=(1021, 63, 63) logical=(1022, 63, 63)
Partition 3: previous sectors 4124735 disagrees with total 4120703
62 unallocated sectors

This last message worries me. How can I fix this?

Thanks!

Claudio


 
 
 

re-installing Win95 in Win95+linux system

Post by Lene Adamczewski and Mogens Kjae » Tue, 14 Apr 1998 04:00:00


........

Quote:> at this point I didn't succeed in running lilo, probably because the file
> system was now mounted at /mnt )

You can use "lilo -r /mnt" for this

Mogens

--
Lene Adamczewski and Mogens Kj?r
C.F. Richs Vej 101C, 3.tv., 2000 Frederiksberg, Denmark

 
 
 

1. Re-installing Win95 Bootstrap loader

Hi,

Firstly, apologies if this has been asked before, but I couldn't find it....

I have both Win95 & Linux running happily on my system.  When I first installed the two together I used the loadlin utility to boot Linux from within config.sys.  However, after a while loadlin would complain that there was something in the upper memory area and failed, so I installed LILO to boot Linux or Win95.  I have since remedied the problem with loadlin and would like to remove LILO and put the old win95 bootstrapper back onto my MBR.  The question is, how?  

I asked Microsoft and they told me to boot from the Win95 rescue floppy and do a sys c:, which I did with no luck.  LILO still loads first.  

The situation at present is after switching on the computer LILO is loaded and instantly starts win95 up - I'd just like to chop out this first bit.

Answers by email please, and I'll post the answer if anyone comes up with it.

Ta,

Jon.

2. Can't dual boot, windows won't install (disk error) - I need some serious help

3. getting win95 shares on win95 machines to map with a login script with samba and win95

4. PCMIA ethernet card

5. samba: win95->linux works, linux->win95 doesnt

6. I NEED SOME HELP FOR RAID !!!

7. Win95-OSR2, System Commander, want to install Red Hat Linux

8. Please Help!! Virtual Host problem: "VirtualHost overlap on port 80"

9. Installing redhat linux onto NT4, Win95 system

10. Installing Win95 on linux system

11. What's the save way to install Win95 to a Linux/Windows 3.1 System

12. can't see Win95 shares through Linux to Win95 network

13. Linux & Win95 = Frozen Win95