Win95 killed my LILO!

Win95 killed my LILO!

Post by Steve L » Thu, 11 Sep 1997 04:00:00



hi,

i installed redhat 4.2 on a bootable partition on my 420meg conner

the first 200 megs is a fat16 i reserved for win95
and then i had a 50meg primary partition for /
and a 150 meg for /usr
and 20meg for swap

linux installed and booted fine

but then i installed win95 afterward on my first 200 megs and it killed
lilo and i can't get to my linux parition

is there anyway to put lilo back on my MBR and have the thing dual boot
win95 and linux.. preferably without reinstalling linux  i imagine that
would do it too.. but there has to be a better way right?

thank alot

steve

 
 
 

Win95 killed my LILO!

Post by Robert C. Paulsen, Jr » Thu, 11 Sep 1997 04:00:00



> is there anyway to put lilo back on my MBR and have the thing dual boot
> win95 and linux.. preferably without reinstalling linux  i imagine that
> would do it too.. but there has to be a better way right?

> thank alot

> steve

If you made an emergency boot diskette, use that to boot then rerun the
lilo program in /etc directory.

I not, the installation diskette may give you a way to break out of the
install process, mount the partiotion with /et in it, and run lilo from
there.

--
Robert

PGP keys on key server and web page

 
 
 

Win95 killed my LILO!

Post by Andrew Cos » Thu, 11 Sep 1997 04:00:00



Quote:>i installed redhat 4.2 on a bootable partition on my 420meg conner

Cool, I have the same drive.  (irrelevant :)

Quote:>but then i installed win95 afterward on my first 200 megs and it killed
>lilo and i can't get to my linux parition

Standard Windows-4 behaviour: arrogance.

Quote:>is there anyway to put lilo back on my MBR and have the thing dual boot
>win95 and linux.. preferably without reinstalling linux  i imagine that
>would do it too.. but there has to be a better way right?

    Yah.  Boot the Red Hat install disk and get to a shell prompt.

mount -t ext2 /dev/hda2 /mnt
                  ^------------ (or wherever your root partition is)
lilo -r /mnt

    If lilo isn't on the install disk, then

/mnt/sbin/lilo -r /mnt

    instead.  Once it's run, do

umount /mnt

halt

    You should be ready to go.

 
 
 

Win95 killed my LILO!

Post by Ryan Moo » Fri, 12 Sep 1997 04:00:00


        That is is fairly easily done, I have had to do It many times yet far,
but with Slakcware 3.1. Get you boot disk, one that your either made
afterward( the easiest) or the original one you used to first install Linux
with. If you have one that you made after the installation was complete, it
should have wrote the boot image to the floppy, so all you do is stick the
disk and the drive and press Ctrl -Alt - Del, quite simple.
        Otherwise you have to use the original that you used as a bootdisk to
install linux. put that in the drive, reboot, and when the prompt comes up
asking for any special parameters for the kernel. just enter :
mount root=/dev/HDA2, just replace the HDA2 with whatever partition you
installed Linux onto, since you only have 1 drive it must be HDAx, x probably
being 2 or 3.
        after you are able to login, run the 'setup' program and goto the
configure option, just go through all the options as you did before, and
install LILO, or there are other lilo installation procedures, of which I'm
not that familiar . . . good luck

        Ryan Moore


>hi,

>i installed redhat 4.2 on a bootable partition on my 420meg conner

>the first 200 megs is a fat16 i reserved for win95
>and then i had a 50meg primary partition for /
>and a 150 meg for /usr
>and 20meg for swap

>linux installed and booted fine

>but then i installed win95 afterward on my first 200 megs and it killed
>lilo and i can't get to my linux parition

>is there anyway to put lilo back on my MBR and have the thing dual boot
>win95 and linux.. preferably without reinstalling linux  i imagine that
>would do it too.. but there has to be a better way right?

>thank alot

>steve

 
 
 

Win95 killed my LILO!

Post by James Youngma » Fri, 12 Sep 1997 04:00:00


  Steve> but then i installed win95 afterward on my first 200 megs and
  Steve> it killed lilo and i can't get to my linux parition

This is whay I always keep LILO on the boot sector of my root
partition and not on the MBR.

 
 
 

Win95 killed my LILO!

Post by Hugh McCur » Fri, 12 Sep 1997 04:00:00





>   Steve> but then i installed win95 afterward on my first 200 megs and
>   Steve> it killed lilo and i can't get to my linux parition

> This is whay I always keep LILO on the boot sector of my root
> partition and not on the MBR.

Hmmm...sounds like a possible enhancement to LILO.  If LILO would write to
both the MBR *and* the boot sector of the partition, then if Win95 came
along and clobbered the MBR, you could just change the active partition
using FDISK from Win95 and be back in business.

On the other hand, there are so many ways to boot Linux that it's probably not
worth the LILO maintainer's effort.

--
Hugh McCurdy

 
 
 

Win95 killed my LILO!

Post by Mark Godfrey At Cyber Ware Lt » Sat, 13 Sep 1997 04:00:00





>>but then i installed win95 afterward on my first 200 megs and it killed
>>lilo and i can't get to my linux parition

>    Yah.  Boot the Red Hat install disk and get to a shell prompt.

>mount -t ext2 /dev/hda2 /mnt
>                  ^------------ (or wherever your root partition is)
>lilo -r /mnt

>    If lilo isn't on the install disk, then

>/mnt/sbin/lilo -r /mnt

>    instead.  Once it's run, do

>umount /mnt

>halt

>    You should be ready to go.

        try booting fro a boot floppy,  and at the lilo prompt type

        linux root=/dev/hda2
                   ^----------(your root partition)

        and log in as root.  (your normal passwd's will work)

        then

        lilo

        halt

PS:  I use this method alot because WIn95 keeps crapping up my HD ;(

Mark

 
 
 

Win95 killed my LILO!

Post by Clarke Bru » Sat, 13 Sep 1997 04:00:00





>> This is whay I always keep LILO on the boot sector of my root
>> partition and not on the MBR.

> Hmmm...sounds like a possible enhancement to LILO.  If LILO would write to
> both the MBR *and* the boot sector of the partition, then if Win95 came
> along and clobbered the MBR, you could just change the active partition
> using FDISK from Win95 and be back in business.

Out of interest, can this be made to work already?
I mean you can already install LILO to both places if you really
want by just changing the boot= line in lilo.conf, so can you have
a LILO in the MBR, with an 'other' section to boot a LILO in the
boot sector of the partition, to finally boot Linux itself?

I don't know about changing the active partition with Win95's
FDISK though. Seeing as it will only allow you to create
a single primary partition + an extended partition in the
first place, and won't let you set anything in the extended
partition active. Will it allow other primary partitions to
be set active assuming that they have already been created by
a more sophisticated version of FDISK?

--
Clarke Brunt (CCB), Principal Software Engineer, Laser-Scan Ltd, Science Park,
Milton Rd, CAMBRIDGE, CB4 4FY, England. Tel: (+44) (0)1223 420414; Fax: 420044

 
 
 

Win95 killed my LILO!

Post by Undergrid Founde » Wed, 17 Sep 1997 04:00:00


The easiest way to fix this would be to boot with your install boot disk
and give it the 'mount root=/dev/hdx#' then when it boots up you can
just run 'lilo' as root and it should re-install the LILO configuration
to the MBR of the harddrive...
        Jeremy Bouse
        UnderGrid Network Services


> is there anyway to put lilo back on my MBR and have the thing dual boot
> win95 and linux.. preferably without reinstalling linux  i imagine that
> would do it too.. but there has to be a better way right?

> thank alot

> steve

--
    Jeremy T. Bouse - UnderGrid Network Services - www.UnderGrid.net
  PGP ID/Fingerprint: 1024/E83D9AE5/4ACC03F098D78198  19D0593E50E597E9

         /earth is 98% full ... please delete anyone you can.
 
 
 

Win95 killed my LILO!

Post by Andre » Tue, 23 Sep 1997 04:00:00



Quote:> I don't know about changing the active partition with Win95's
> FDISK though. Seeing as it will only allow you to create
> a single primary partition + an extended partition in the
> first place, and won't let you set anything in the extended
> partition active. Will it allow other primary partitions to
> be set active assuming that they have already been created by
> a more sophisticated version of FDISK?

yes.  I set up two primary partitions with Partition Magic.  for the sake
of win95, i hide my "second" primary, but when i've used fdisk from the
command-prompt-only boot option, i was allowed to set it as active. FWIW.

andrew

 
 
 

1. reinstalling win95 killed my lilo boot stuff?!?!

ok, im sure its happened to alot of other people.
i had to re install win95 and it killed my lilo boot stuff,
question is how do i get it back?
im running redhat 4.1 on hdb2 and win95 on hda1. i can get the image
flopys to boot in rescue and mount /dev/hdb2 almost anywhere i want it
to, but nothing i can find seem to work. is there anyone out there that
can e-mail me the 'easy' way of fixing this headach?

brad wyman

2. GCC BINARIES FOR SOLARIS

3. Win95 killed my LILO

4. TBADNAME Error

5. help: killed win95 partition with lilo

6. xmkmf and imake

7. win95 killed lilo on scsi drive. Please help!

8. TCP/IP timeout.

9. Help : win95 killed LILO

10. Win95 killed lilo

11. LILO with two Win95 copies of Win95...

12. Caldera Linux: LILO win95 tag does not start win95

13. LILO+BM+Win95 mostly ok, 2nd LILO hosed by booting Linux?