mbr: LILO: installing windows *after* Linux

mbr: LILO: installing windows *after* Linux

Post by Neil Zanell » Tue, 22 Sep 1998 04:00:00



Hello,

I just replaced my disk drive.
I made a 1GB FAT32 partition on a primary DOS partition with the
DOS fdisk utility, rebooted, formatted the DOS partition and lost all
data, put the command.com program utility on the C: drive (/dev/hda1).
Unfortunately I could not reinstall win95B since when I formatted the drive
I lost my MS-DOS CD-ROM drivers, so DOS cannot access my CD-ROM.

The standard procedure when dual booting is to install windows first, then
Linux, so that when Linux installs LILO in the MBR it is not overwritten by
DOS later on.

So, I was able to install Linux with no trouble at all. I used the RH5.0
boot floppy and CD-ROM. Certainly Linux did not need any extra drivers to
access my CD-ROM, unlike windows which did not even supply the drivers.
(Toshiba, my CD-ROM manufacturer did not distribute the drivers on a floppy
either, though most manufacturers would).

Anyway, the point is sooner or later I will need to reinstall windows since
some users need to use Word and some other proprietary *that Linux can't
read, so my MBR will be overwritten and I will have to reinstall LILO to be able
to boot into Linux.

So, how will I go about reinstalling LILO in the MBR?

All suggestions are appreciated,

TIA,

Neil

 
 
 

mbr: LILO: installing windows *after* Linux

Post by Francis GALIEGU » Wed, 23 Sep 1998 04:00:00



> Hello,

> I just replaced my disk drive.
> I made a 1GB FAT32 partition on a primary DOS partition with the
> DOS fdisk utility, rebooted, formatted the DOS partition and lost all
> data, put the command.com program utility on the C: drive (/dev/hda1).
> Unfortunately I could not reinstall win95B since when I formatted the drive
> I lost my MS-DOS CD-ROM drivers, so DOS cannot access my CD-ROM.

Well, I think there might be a trick to tell LILO to boot from your
CD-ROM drive... It's a bootable CD, isn't it?

Try to look in your BIOS too.

In order to reinstall LILO afterwards, make a boot disk , simply by
replacing boot=/dev/hda by boot=/dev/fd0 in lilo.conf

--
fg

"Software is like sex, it's better when it's free"
                        (Linus Torvalds)

 
 
 

mbr: LILO: installing windows *after* Linux

Post by Ed Bruc » Wed, 30 Sep 1998 04:00:00



> In order to reinstall LILO afterwards, make a boot disk , simply by
> replacing boot=/dev/hda by boot=/dev/fd0 in lilo.conf

I can burn my own CDs. Can I build a boot disk on a CD. This would be
very helpful as I've fried the floppy disk controller on my motherboard.

later,
ed

p.s. When I need access to a floppy drive I just network share the one
on my sons machine. I doubt I can configure my machine to boot using his
floppy.

 
 
 

1. Updating MBR with LILO when installing Linux on diff. drive

My configuration is as follows:

    200 MHz pentium pro
    64 meg ram
    10.1 gig western digital ide (controlled by motherboard)
    2.1 gig samsung scsi (controlled by adaptec 2940uw scsi controller)
    6x teac ide cdrom (controlled by motherboard)
    4x masumi scsi cdrom (controlled by adaptec 2940uw scsi controller)

I have the 10.1gig drive partioned as follows with win98 installed on
the c: drive:

    primary:     c:    3.1gig
    extended:  d:    3.1gig
                     e:    4.0gig

I am having a hell of a time trying to get LILO to install to the mbr of
the 10.1 gig drive after installing Stormix (dist. based off of debian)
to the 2.1gig scsi.  The process I followed was to use a western digital
hard drive utiliy to format the 10.1gig becasue my bios can not handle
the big drive.  Then I installed win98 on the 10.1 gig drive.  After
that I booted the system with a Stormix install disk from the floppy
drive and proceeded to install Stormix.  There is an option to install
LILO to the mbr, but if you choose this it puts LILO on the first drive,
which is /dev/sda1, not /dev/hda1 like I want.  After I re-boot from the
ide drive LILO never even runs and the computer boots into win98.  If I
change my bios to boot from the scsi drive it finds LILO but hangs after
the LI is displayed.  I do not understand why I can not get LILO
installed to /dev/hda1 and why I am getting LI only, if I boot from the
scsi drive.

Any help would be greatly appriciated.

2. USB numeric keypad question

3. cannot LILO boot after Linux install ... MBR?

4. One-shot timer

5. LILO--linux says it's installed, but it's not in MBR

6. Config Help

7. Booting Linux without installing LILO in the MBR...

8. Anyone have frequent lockups with APUS?

9. Installing linux with Windows NT MBR

10. Windows delete MBR LILO?

11. Can LILO boot windows MBR on /dev/hdb?

12. lilo, mbr, and windows startup disk

13. LILO in MBR; primary partition for WIndows?