Re: Help: "No boot signature found on partition" (LILO)
From: Lars (noemail_at_hotmail.com)
Date: 09/14/04
- Next message: Joe: "Re: Questions about dual-booting Rh9 & XP"
- Previous message: Davide Bianchi: "Re: Monitor utility"
- In reply to: JohnInSD At san DOT rr dot COM: "Re: Help: "No boot signature found on partition" (LILO)"
- Next in thread: +Alan Hicks+: "Re: Help: "No boot signature found on partition" (LILO)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
> >
> >
>
- Next message: Joe: "Re: Questions about dual-booting Rh9 & XP"
- Previous message: Davide Bianchi: "Re: Monitor utility"
- In reply to: JohnInSD At san DOT rr dot COM: "Re: Help: "No boot signature found on partition" (LILO)"
- Next in thread: +Alan Hicks+: "Re: Help: "No boot signature found on partition" (LILO)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|