Find the answer to your Linux question:
Results 1 to 3 of 3
Alrighty... Just now, I updated my kernel to gentoo-source-2.6.11-r11. I ran make install, as usual. When it tried to re-install LILO, I received an error: Code: Should I run /sbin/lilo? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252

    LILO Is Not Working... *SOLVED*


    Alrighty...

    Just now, I updated my kernel to gentoo-source-2.6.11-r11. I ran make install, as usual. When it tried to re-install LILO, I received an error:

    Code:
    Should I run /sbin/lilo? (y/N) y
    Warning: The boot sector and map file are on different disks.
    Added Gentoo-2611-r9 *
    Added Gentoo-2611-r8
    Added Gentoo-2611-r6
    Fatal: First sector of /dev/hda1 doesn't have a valid boot signature
    There was a problem running /sbin/lilo.
    
    Checking for SILO...No
    
    Checking for PALO...No
    
    Should I make a bootdisk? (y/N) n
    
    WARNING: Your system is probably unbootable now.  After correcting any
    problems, rerun this script with the command `mkboot -installkernel'.
    make[1]: *** [install] Error 1
    make: *** [install] Error 2
    I have never received this error before. My assumption is that it is here because I have recently uninstalled Windows, and therefore had my hda as a single, 60 GB ext3 partition.

    My main system is on hdb, by the way.


    Now then, I next tried making a small, 100 MB partition (as an ext2) and ensuring that its boot flag was set. Here is my output from "fdisk -l":

    Code:
    Disk /dev/hda: 60.0 GB, 60000000000 bytes
    255 heads, 63 sectors/track, 7294 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1           1        8001   83  Linux
    /dev/hda2               2        7294    58581022+  83  Linux
    
    Disk /dev/hdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdb1               1        1217     9775521    b  W95 FAT32
    /dev/hdb2   *        1218        1222       40162+  83  Linux
    /dev/hdb3            1223        1466     1959930   82  Linux swap / Solaris
    /dev/hdb4            1467       19457   144512707+  83  Linux
    So I dunno what I did wrong, but apparently, my computer is unbootable now. So if anyone can help, I would be very grateful.

  2. #2
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Could you post your lilo.conf file? And the output of
    Code:
    df -hT
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    I'm officially retarded...

    The problem was that I had left my Windows partition in my lilo.conf . After removed that section, all is well.


    Gagh.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •