Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
I forgot to do a /sbin/lilo after kernel compile!
Results 1 to 2 of 2

Thread: I forgot to do a /sbin/lilo after kernel compile!

Hybrid View

  1. #1
    digitalzero
    Guest

    I forgot to do a /sbin/lilo after kernel compile!

    OK this has never happened to me before. I quickly changed a kernel option in xconfig after just compiled my kernel. So I figured I didnt need to use a backup (STUPID MISTAKE which I'll never do again). Now I cant start up. I use a floppy to start up linux. Anyone know how to go back to linux just to run lilo or know how to login as a single user account whilst at lilo?
    thanks!

  2. #2
    JimH
    Guest

    Re: I forgot to do a /sbin/lilo after kernel compi

    Type: linux single
    at the boot prompt to boot single user mode.

    I don't know about Slack, but RedHat allows you to use CD1 as a rescue disk. Just boot with CD1 in your cdrom then at the prompt type: linux rescue
    It should ask you to enter your language and country. If you have multiple linux partitions it will ask which one holds your root partition. It should now tell you where your system is mounted, usually /mnt/sysimage
    When it drops you to a shell prompt type: chroot /mnt/sysimage
    Then just type: lilo -v
    Lilo will now be re-installed. To reboot type: exit
    Will have to type exit twice, once to exit the chroot environment and again to reboot.

    When you have your system booted again, don't forget to make a new bookdisk.

Similar Threads

  1. Replies: 2
    Last Post: 02-25-2011, 07:54 AM
  2. Kernel Compile
    By vwgtiturbo in forum Linux - General Topics
    Replies: 4
    Last Post: 09-16-2003, 03:36 AM
  3. Kernel Compile Question
    By tarballed in forum Linux - General Topics
    Replies: 6
    Last Post: 05-09-2002, 10:04 PM
  4. Compile kernel for power down?
    By otheos in forum Linux - General Topics
    Replies: 14
    Last Post: 12-16-2001, 07:44 PM
  5. kernel compile
    By johnqpublic in forum Linux Distros
    Replies: 38
    Last Post: 08-09-2001, 12:27 AM

Bookmarks

Posting Permissions

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