Lilo boot problem

Lilo boot problem

Post by Claudi » Fri, 12 Oct 2001 07:30:46



Hi all

I installed a RH 7.1on a IDE disk connected to secondary channel (Disk Master - CD_Rom-Slave) while on the other IDE channel I got a Windows Box.Everything is working fine (until now at least) except for the boot sequence.Each time I setup a LILO boot configuration the MBR of the first disk (windows box) become corrupted and I have to run the fdisk /mbr option to fix it.To overcome the problem I am booting Linux from a floppy but I would like to understand and solve the problem.

Thnx all

Claudio


 
 
 

Lilo boot problem

Post by Richard Robert » Fri, 12 Oct 2001 07:45:41


check the line that starts with "boot=" near the top of /etc/lilo.conf.
  If this is "boot=/dev/hda" then lilo will put itself in the MBR of
your first drive.

if you want lilo to start when you boot, but want it to be able to load
win and lin, you need to configure an entry for windows in lilo.conf.
if you want to use a floppy to boot linux, you needn't mess with lilo on
your HD.

richard


> Hi all

> I installed a RH 7.1on a IDE disk connected to secondary channel (Disk Master - CD_Rom-Slave) while on the other IDE channel I got a Windows Box.Everything is working fine (until now at least) except for the boot sequence.Each time I setup a LILO boot configuration the MBR of the first disk (windows box) become corrupted and I have to run the fdisk /mbr option to fix it.To overcome the problem I am booting Linux from a floppy but I would like to understand and solve the problem.

> Thnx all

> Claudio




 
 
 

Lilo boot problem

Post by Rinaldi J. Montess » Fri, 12 Oct 2001 07:50:11



> Hi all

> I installed a RH 7.1on a IDE disk connected to secondary channel (Disk Master - CD_Rom-Slave) while on the other IDE channel I got a Windows Box.Everything is working fine (until now at least) except for the boot sequence.Each time I setup a LILO boot configuration the MBR of the first disk (windows box) become corrupted and I have to run the fdisk /mbr option to fix it.To overcome the problem I am booting Linux from a floppy but I would like to understand and solve the problem.

> Thnx all

> Claudio



 What flavor windows?  Nt e.g. doesn't like anything on the mbr but
it's own stuff.  

Rinaldi
--
By all means marry. If you get a good wife you will become happy,
and if you get a bad one you will become a philosopher. --Socrates

 
 
 

Lilo boot problem

Post by Claudi » Sat, 13 Oct 2001 06:55:27




>> Hi all

>> I installed a RH 7.1on a IDE disk connected to secondary channel (Disk
>> Master - CD_Rom-Slave) while on the other IDE channel I got a Windows
>> Box.Everything is working fine (until now at least) except for the boot
>> sequence.Each time I setup a LILO boot configuration the MBR of the first
>> disk (windows box) become corrupted and I have to run the fdisk /mbr
>> option to fix it.To overcome the problem I am booting Linux from a floppy
>> but I would like to understand and solve the problem.

>> Thnx all

>> Claudio


>  What flavor windows?  Nt e.g. doesn't like anything on the mbr but
> it's own stuff.

> Rinaldi

Windows 98
--


 
 
 

Lilo boot problem

Post by Steve Marti » Sat, 13 Oct 2001 08:46:35



> >> I installed a RH 7.1on a IDE disk connected to secondary channel (Disk
> >> Master - CD_Rom-Slave) while on the other IDE channel I got a Windows
> >> Box.Everything is working fine (until now at least) except for the boot
> >> sequence.Each time I setup a LILO boot configuration the MBR of the first
> >> disk (windows box) become corrupted and I have to run the fdisk /mbr
> >> option to fix it.To overcome the problem I am booting Linux from a floppy
> >> but I would like to understand and solve the problem.

Let's see your /etc/lilo.conf file. I'm booting my Linux/NT/98 machine
from the MBR on the primary IDE channel, and all is well, so I know
it's workable.

Quote:> >  What flavor windows?  Nt e.g. doesn't like anything on the mbr but
> > it's own stuff.

Not true at all. I'm running my NT on the master disk on the primary
partition, and LILO lives in the MBR of that disk. LILO boots all
three OS's on my system just fine.
 
 
 

Lilo boot problem

Post by Richard Robert » Sat, 13 Oct 2001 08:56:58


Side note if you're trying to get lilo to boot nt4.  You can put lilo on
the MBR and get it to boot nt4 by simply having it run an image of nt4's
MBR.  With nt4's *on the MBR, boot into linux w/ a floppy or
something and run "dd if=/dev/hda of=/boot/nt4-mbr bs=512 count=1".
This copies the MBR (always 512 bytes) from hda to a file in /boot.
Then add an "other" entry to lilo.conf, specifying /boot/nt4-mbr instead
of a partition.  Eg:

other = /boot/nt4-mbr
        label=winnt

The issue is that nt4's MBR loader does something other than simply
running the code at the beginning of the nt4 partition, which is all
lilo does.

Richard



>>Hi all

>>I installed a RH 7.1on a IDE disk connected to secondary channel (Disk Master - CD_Rom-Slave) while on the other IDE channel I got a Windows Box.Everything is working fine (until now at least) except for the boot sequence.Each time I setup a LILO boot configuration the MBR of the first disk (windows box) become corrupted and I have to run the fdisk /mbr option to fix it.To overcome the problem I am booting Linux from a floppy but I would like to understand and solve the problem.

>>Thnx all

>>Claudio


>  What flavor windows?  Nt e.g. doesn't like anything on the mbr but
> it's own stuff.  

> Rinaldi

 
 
 

Lilo boot problem

Post by Duane Clar » Sat, 13 Oct 2001 08:56:42





>>>Hi all

>>>I installed a RH 7.1on a IDE disk connected to secondary channel (Disk
>>>Master - CD_Rom-Slave) while on the other IDE channel I got a Windows
>>>Box.Everything is working fine (until now at least) except for the boot
>>>sequence.Each time I setup a LILO boot configuration the MBR of the first
>>>disk (windows box) become corrupted and I have to run the fdisk /mbr
>>>option to fix it.To overcome the problem I am booting Linux from a floppy
>>>but I would like to understand and solve the problem.

>>>Thnx all

>>>Claudio


>> What flavor windows?  Nt e.g. doesn't like anything on the mbr but
>>it's own stuff.

>>Rinaldi

> Windows 98

While there are a number of ways to do it, the way I would suggest is to
swap the disks so that the Win98 disk is the secondary disk. Then make
an /etc/lilo.conf entry that looks something like:

other=/dev/hdb1
         label=dos
         map-drive = 0x80 to = 0x81
         map-drive = 0x81 to = 0x80
         table=/dev/hdb

What this does when the dos entry is selected is to temporarily make
hdb look like the primary disk (the "map-drive" entries, point to the
partition table (the "table" entry), and point to the windoze partition.
Works great for me, at least.

--

 
 
 

1. Lilo boot problem: doesn't boot dos (invalid media type)

Hi,
I installed redhat 3.0.3 on my second eide hard drive. Initially I put
lilo on a floppy and it was working fine. Today I decided to reinstall
lilo on my first hard drive (master). When rebooted it could not start
windows 95. The following list tells what I did to recover and what did
not work in order.
1. boot dos from floppy
   fdisk /mbr did not work
   sys c: gave invalid media type error.
   using fdisk I viewed the partition tabel and the system was UNKNOWN

2. boot with lilo floppy to linux
   mount -t msdos /dev/hda /mnt
   ls /mnt
   gave invalid file type error.

3. I tried lilo -u but no luck.
   same problems as above: both linux and dos could not read the c drive

4. I copied boot.0300 to /dev/hda
   now linux could see some files but with weird names in my c drive

5. I rebooted without floppy and I got invalid system disk error.

Now the situation is linux can see some files with weird names and dos
gives invalid media type error.

Any help will be appreciated.

Hulya K. Kuzucu Eraslan    
Department of Economics      
University of Minnesota      
http://www.econ.umn.edu/~eraslan                          

2. Illegall Instruction(coredump) when I call EXEC SQL CONNET from a .so

3. win95 & linux (lilo) boot problems

4. Eterm compile doesn't find Imlib

5. LILO Boot Problems

6. xterm and telnet

7. LILO BOOT Problem on Intel Endeavor MB

8. question on ditroff filter for laser printer

9. LILO/Boot problem solved!

10. LILO, boot problems

11. LILO boot problem

12. lilo boot problem: hangs on LI

13. LILO BOOT PROBLEM