It may be easier to just remove lilo with   lilo -U

If you cant get the machine to boot so that you can type that, just use a live cd like Knoppix or PCLinuxOS, then make symlinks so that lilo would run. IE:

mv etc etc.old
ln -s /mnt/etc /etc
mv boot boot.old
ln -s /mnt/boot /boot

then just type lilo -U and it should remove the boot stuff and grub MAY load. I've never actually tried it, but I think in theory it looks good hehe.

[EMAIL PROTECTED] wrote:

How can I get a real eyes on look at what is in the MBR.  I'm trying
this:

 dd if=/dev/hda of=mbr.img bs=512 count=1

Running strings on the result shows a litte of it:

 strings mbr.img
 LILO
 LILOu)^h
 `UUfP
 fPYX

I thought maybe it could be mounted so:
mkdir mbr
mount  -o loop mbr.img mbr

But mount wants to know what `type' filesystem it is.  I tried a few
things but really didn't expect them to work like: ext2 msdos minix iso9660

None worked of course.   So can this be done?  Any one know what
should be in there exactly and how to view it?

What this is all about is that I'm not succeding in overwriting the
lilo code mbr by running `grub setup'

The grub command succeeds but when I attempt to boot I still get a
crippled lilo response.  By crippled I mean the dread:
 Li . . . .    Hang forever


--
gentoo-user@gentoo.org mailing list

Reply via email to