[ltp] LILO problems

Joshua Jore linux-thinkpad@www.bm-soft.com
Mon, 13 Mar 2000 09:37:33 -0600



This is about the same advise I just saw earlier today. Download a boot/root
disk from whichever distrobution you like. Personally I like the slackware boot
disks but hey, it's personal preference. You'll want to be sure to run the 'lilo
-r .' command at the root of your linux FS on your hard drive. The idea is, if
you run 'lilo' from / or /mnt when booted from diskette you're reading
/etc/lilo.conf from the diskette and you won't be doing anything to fix your
hard drives' boot loader. So if you mount your hard drive's root and then cd to
the mount point 'lilo -r .' says to treat your current location as the root when
running lilo and you'll read the /etc/lilo.conf from your hard drive.

Happy hunting ;-D (now if only I could get my mail client to stop putting the
ASCII boxes in internet mail I'd be *really* happy).


|--------+--------------------------------------->
|        |          Anand Desai                  |
|        |          <anand@bootp-189-24.bootp.Vir|
|        |          ginia.EDU>                   |
|        |                                       |
|        |          03/12/00 05:47 PM            |
|        |          Please respond to            |
|        |          linux-thinkpad               |
|        |                                       |
|--------+--------------------------------------->
  >---------------------------------------------------------|
  |                                                         |
  |       To:     linux-thinkpad@www.bm-soft.com            |
  |       cc:     (bcc: Joshua Jore/CSTDI/Imation)          |
  |       Subject:     Re: [ltp] LILO problems              |
  >---------------------------------------------------------|





Any Linux boot disk should work.  The SuSE (you can download the image
from ftp.suse.com) boot disk is easy to use.  Simply choose "boot
installed system" at its menu.  You just need to run lilo again. That
should fix it.

Remember that the boot kernel should be in the first 1024
cylinders (sounds like since you only _shrunk) your first partition, this
isn't a problem here though.)  If the problem persists, create a small
2-4 MB /boot  partition entirely in the first 1024 cylinders and rerun
lilo.

HTH
          |||||
    _     (o o)           _
   /_\o00o_(_)_o00o _  __| |
  / _ \| ' \/ _` | ' \/ _` |
 /_/ \_\_||_\__,_|_||_\__,_|
@bullwinkle.dorm.virginia.edu

On Sun, 12 Mar 2000 dufva@dk.ibm.com wrote:

>
>
> Hi all,
>
> Ok, I did this to myself, but I thought it should be possible...
>
> I movede my linux partition using PQMagic4.  First I should explain my
> setup:  I have one hard-drive with the following partitions:
>
>   1:  Primary, Winblows95
>   2:  Extended, containing:
>       3: Linux root/boot/whatever
>       4: Linux swap
>   5: Boot Manager
>
> What I did was to shrink partition one, move the start of partittion two
> (the extended) backwards to fill the gap, move partition 3 (Linux root) to
> the start of the extended and finally resize the linux partition.
>
> I know the LILO references sectors on the disk directly, but I had expected
> it to reference sectors relative to the start of partition 3 and thus not
> be affected, but alas.
>
> All I get is the "LI".  The bootdisk HOWTO says that this can either be
> caused by a geometry mismatch, or by moving /boot/boot.b without running
> the map installer.  This is all very well, but my question is really:  How
> do I fix the problem?
>
> The installation is a plain RedHat 6.1 with everything installed.  Smart as
> I am, I didn't create a rescue disk, but isn't there a way to reload the
> LILO with the default settings, or something like that?
>
> Thanks in advance,
> Nicolai Dufva
>
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html
>

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html



----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html