Professional Web Applications Themes

lilo is missing (unused?) harddisk - Linux Setup, Configuration & Administration

Hello, My problem is not really a setup- problem, but i guess it affects lilo. The most postings about lilo i found here. I have two hard disks in my PC. The system boots with lilo, written to the MBR of /dev/hda. I installed lilo from /dev/hdb7 (means /dev/hdb7 was the partition with lilo.conf). Everything worked fine so far. Now i'd like to replace /dev/hdb with a bigger hd. I deleted all the partitions on it, made a new one and forated it. Still everything worked fine. Just when i unplug the drive, it won't boot anymore. Instead of a ...

  1. #1

    Default lilo is missing (unused?) harddisk

    Hello,

    My problem is not really a setup- problem, but i guess it affects
    lilo. The most postings about lilo i found here.

    I have two hard disks in my PC. The system boots with lilo, written to
    the MBR of /dev/hda. I installed lilo from /dev/hdb7 (means /dev/hdb7
    was the partition with lilo.conf). Everything worked fine so far. Now
    i'd like to replace /dev/hdb with a bigger hd. I deleted all the
    partitions on it, made a new one and forated it. Still everything
    worked fine. Just when i unplug the drive, it won't boot anymore.

    Instead of a boot prompt i get an output like this:

    L 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
    01 01 01 01 01 01 01 01 01 01 01 01 01 ... and so on.

    When i unplug the other hd, the same happens.I can not imagine why.
    Aren't all the informations, lilo needs to boot, written to the MBR of
    hda? If not, why it will boot with the fresh formated (imho empy) hdb?

    btw. on hda are only windows- partitions, but is guess this should not
    affect the problem.

    I am sure to be able to fix it with a new lilo- installation from a
    boot- floppy. But i just like to know whats wrong in my understanding.


    Thanks a lot
    Michi
    Michi Guest

  2. #2

    Default Re: lilo is missing (unused?) harddisk

    > My problem is not really a setup- problem, but i guess it affects lilo. 

    Where was /boot
    Also on hdb7? LILO's second stage loader is located there.
     

    Formatting from linux?
    That just writes new filesystem accounting information.
    Most of the old data is still left intact.
     

    Sounds to me as if lilo is attempting to access a disc it cannot find.
     

    That is because 0x81 then becomes 0x80 (`hdb => hda`)
     

    no. There's also a second stage loader.
    formatted != empty
     

    not really. But you'll need a linux /boot partition for lilo to
    function properly. Your best bet now is to write a default DOS bootloader
    to the MBR.
     

    LILO is a two step approach. All the fancy stuff lilo can do just cannot
    fit in the 512 bytes (actually even a bit less) of the MBR.

    Eric
    Eric Guest

  3. #3

    Default Re: lilo is missing (unused?) harddisk

    Eric Moors <land> wrote in message news:<land>...
     

    yes
     
     
    >
    > no. There's also a second stage loader.
    > formatted != empty[/ref]
     

    This explains the behavior, thanks for your good awnser.
    Michi
    Michi Guest

Similar Threads

  1. server harddisk
    By Christian Christmann in forum Linux / Unix Administration
    Replies: 7
    Last Post: May 1st, 02:27 PM
  2. 80286 harddisk
    By Theo Vermeulen in forum Linux / Unix Administration
    Replies: 11
    Last Post: October 25th, 03:18 PM
  3. saving a pdf to users harddisk?
    By JAYC in forum Macromedia Director Basics
    Replies: 5
    Last Post: October 21st, 10:59 AM
  4. harddisk for SS20
    By ak_father in forum Sun Solaris
    Replies: 2
    Last Post: August 1st, 04:22 PM
  5. harddisk problems
    By Junior Says Hi in forum Sun Solaris
    Replies: 0
    Last Post: June 27th, 08:57 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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139