Re: Help: "No boot signature found on partition" (LILO)

From: Lars (noemail_at_hotmail.com)
Date: 09/14/04


Date: Tue, 14 Sep 2004 16:34:41 GMT

Thank you very much for your help, John. I just tried without the -M and
simply did: "lilo -C ./lilo.conf" instead, and now everything is working
fine!

/ Lars

"JohnInSD At san DOT rr dot COM" <bitbucket@hotmail.com> wrote in message
news:mevdk0ph180a3bomh7fkpco70h6ulrr949@4ax.com...
> On Tue, 14 Sep 2004 06:07:31 GMT, "Lars" <noemail@hotmail.com> wrote:
>
> >I have trouble with LILO and slackware 10.0 (working
> >on unattended install).
> >
> >What I am trying to do is to boot from boot CD, mount
> >an existing slackware root partition and install LILO
> >based on /(mount-point)/etc/lilo.conf.
> >
> >For debug purposes I have tried this:
> >1) Install Slackware the "normal way" from CD and simply
> > select "LILO: Simple installation."
> > So far, booting on /dev/hda works fine!
> >
> >2) I boot from CD to the root prompt, mount /dev/hda under /mnt
> >
> >3) I run "lilo -M /dev/hda -C /mnt/etc/lilo.conf", and get
> > "Master boot record on /dev/hda has been updated."
> > But after this, I can no longer boot:
> > "No boot signature found on partition."
>
> You have overwritten the LILO boot record, which was installed on /dev/hda
to
> begin with.
>
> I think there is some confusion over the use of the -M switch. -M
installs a
> "Master Boot Record", not the LILO boot record. When this switch is use,
> nothing in /etc/lilo.conf is read. A "Master Boot Record" merely
transfers
> control to the first active partition.
>
> Generally, when -M is used, it is followed by -A to activate a particular
> partition.
>
> You don't want to use -M; you have written your LILO boot record on the
master
> boot sector of /dev/hda.
>
> To recover, just re-run /sbin/lilo to overwrite the master boot sector.
>
> Or, using the LILO boot record on /dev/hda2
>
> [boot=/dev/hda2] not [boot=/dev/hda]
>
> lilo -b /dev/hda2
> lilo -M /dev/hda
> lilo -A /dev/hda 2 # note the space
>
> Right now, if /dev/hda2 is marked active, there is no boot record; hence
the
> correct error message is being displayed.
>
> --John
>
>
>
> >
> >Note that I did not change lilo.conf, so I don't think the problem
> >is there.
> >
> >The partitions are
> >/dev/hda1, block 1-64, type 82 (swap)
> >/dev/hda2, block 65-1000, type 83 (formatted ext 3). ACTIVE.
> >
> >I have verified that the boot signature is on /dev/hda (using dd and
> >hexdump), and it is there (offset 0x01FE=0xAA55).
> >
> >My lilo.conf:
> >-------------------------------
> ># Start LILO global section
> >boot = /dev/hda
> >message = /boot/boot_message.txt
> >prompt
> >timeout = 1200
> ># Override dangerous defaults that rewrite the partition table:
> >change-rules
> > reset
> ># Normal VGA console
> >vga = normal
> ># Linux bootable partition config begins
> >image = /boot/vmlinuz
> > root = /dev/hda2
> > label = Linux
> > read-only
> ># Linux bootable partition config ends
> >-------------------------------
> >
> >As a test, I have tried to chroot to /mnt and use liloconfig,
> >but it failed (missing /proc stuff).
> >
> >Any help on this would be greatly appreciated.
> >
> >Thanks,
> >Lars
> >
> >
>



Relevant Pages

  • Re: Suse 9.1 is Multi-boot very unfriendly: a disaster.
    ... updated by the SUSE 9.1 install, ... two linux distros including SuSE 9.1), ... I am not using anymore Lilo, but even there if there it would usefull ... > My attempt to install SUSE 9.1 and overwrite the Mandrake partition ...
    (alt.os.linux.suse)
  • Re: Install Win XP over Linux
    ... I need real Windows XP Home edition to be compatible with my ... If a procedure works on my partition it should work on ... through all the install steps for Win 2000 I rebooted the Win XP CD ... formatted a floppy and ran Lilo. ...
    (comp.os.linux.setup)
  • Lilo & Maxtor 300GB drives?
    ... I've been able to install Linux (Slackware ... Now, my kernel is being placed in /boot, which is on /dev/hda5, which ... When I run lilo, it's kinda flaky. ... kernel is on an Extended/Logical partition that begins over 250GB into ...
    (comp.os.linux.setup)
  • Re: Challenge: Multi-Operating system on one big hard disk (intel based PC)
    ... Using Partition Magic v7 or later create: ... Part 4 for Linux ext2 or 3 as needed. ... Install Windows to part 2 after final reboot loadup all the fix paks & ... knows exactly where that is regardless of drive specs but install Lilo to MBR ...
    (linux.redhat.install)
  • Re: ressurecting a failed attempt to upgrade to sarge, w/out tossing /home
    ... >>Home is part of partition 3 and it is not a dual boot system. ... And then run lilo again. ... >hda, and move the present hda to hdb. ... Install whole new system on hda. ...
    (Debian-User)