LILO boot problem

LILO boot problem

Post by Uwe Schuerka » Fri, 04 Apr 1997 04:00:00



Dear netters,

recently I tried to setup a lilo boot config on a friends machine
(32mb intel 133, 2gb scsi, atapi CD). I told lilo to install
itself in the mbr of the first hard disk, and it looks like it
tries to go for the atapi cd-rom! The first line in lilo.conf
contained /dev/hda, so I changed that to /dev/sda by hand and
installed lilo again. Upon boot the lose95 partition would no
longer boot up, claiming some "I/O error" on the dos partition.

Currently we're booting linux off a linux boot disk, but of course
we'd like to run it off the hd to get rid of the floppy.
Is having an 1.5gb primary dos partition on /dev/sda1 a problem?
The controller is an AHA2940 if this matters.

Thanks in advance for any help,

        Uwe
--

"Better to build a good reputation slowly than a bad one quickly."
                                        --- Dave Haynie on comp.sys.be

Quote:>>>Blue Ribbon Campaign:  Support Free Speech on the Internet.<<<

 
 
 

LILO boot problem

Post by Jim Willett » Mon, 07 Apr 1997 05:00:00


<HTML><BODY>
When using LILO to boot from a large hard drive &gt; 1024 cyl. you can
run into a problem booting. Prior to loading the kernel you are at the
mercy of bios. If you have a drive larger than 1024 cyl. then you must
load your kernal from a partition that compleatly resides in the lower
1024 cylinders.
<BR>
<BR>To avoid this problem I alway create a small partition on the first part
of the drive big enough to contain all my kernal images and files from
/boot. I usually make this 4-10MB&nbsp;
<BR>
<BR>When I have booted from diskette I rename the /boot directory, make a new
dir called /boot , mount the small partition at /boot then copy the files
from the old renamed /boot dir to the newly mounted partition at /boot.
<BR>
<BR>I then copy my image file(s) to /boot. edit lilo.conf to point to the kernel
location and run lilo.
<BR>
<BR>remember to edit the fstab if you want the /boot partition mounted automatically.
<BR>
<BR>
<BR>
<BR>

<BLOCKQUOTE TYPE=CITE>Dear netters,
<BR>
<BR>recently I tried to setup a lilo boot config on a friends machine
<BR>(32mb intel 133, 2gb scsi, atapi CD). I told lilo to install
<BR>itself in the mbr of the first hard disk, and it looks like it
<BR>tries to go for the atapi cd-rom! The first line in lilo.conf
<BR>contained /dev/hda, so I changed that to /dev/sda by hand and
<BR>installed lilo again. Upon boot the lose95 partition would no
<BR>longer boot up, claiming some &quot;I/O error&quot; on the dos partition.
<BR>
<BR>Currently we're booting linux off a linux boot disk, but of course
<BR>we'd like to run it off the hd to get rid of the floppy.
<BR>Is having an 1.5gb primary dos partition on /dev/sda1 a problem?
<BR>The controller is an AHA2940 if this matters.
<BR>
<BR>Thanks in advance for any help,
<BR>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Uwe
<BR>--

<BR>&quot;Better to build a good reputation slowly than a bad one quickly.&quot;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--- Dave Haynie on comp.sys.be
<BR><I>&gt;&gt;&gt;Blue Ribbon Campaign:&nbsp; Support Free Speech on the Internet.&lt;&lt;&lt;</I>
</BLOCKQUOTE>
&nbsp;&nbsp;
<BR>
<BR>--&nbsp;
<BR>Jim Willette&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Cornerstone Technologies&nbsp;
<BR>Network Consultant/Programmer&nbsp;&nbsp; <A HREF="http://www.netonecom.net/~jimw">http://www.netonecom.net/~jimw</A>&nbsp;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<A HREF="http://ctec.net/">http://ctec.net/</A>&nbsp;

<BR>

</BODY>
</HTML>

 
 
 

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. stop samba broadcasts on public interface?

3. win95 & linux (lilo) boot problems

4. Question about CD-ROM

5. LILO Boot Problems

6. the interview's doc program & 3rd mouse button.

7. LILO BOOT Problem on Intel Endeavor MB

8. Driver for Compaq tl891 Tape Library

9. LILO/Boot problem solved!

10. LILO, boot problems

11. lilo boot problem: hangs on LI

12. LILO BOOT PROBLEM

13. Need Help with LILO Boot Problem