Article View: umich.linux
Article #1Re: Redhat install
From: catsoup57
Date: Sun, 01 Aug 1999 00:00
Date: Sun, 01 Aug 1999 00:00
37 lines
2239 bytes
2239 bytes
Ok heres what ive found.
Lilo is looking for AA55h at byte 510 of the boot sector of the
partition. On my system it was AA53H.
I was sure that the partition was right so I did something quite dirty!
I removed the check from LILO, recompiled, and ran it. It all worked ok.
It fixed the boot sector, and I can now use a proper unmodified LILO. I
dont know how the boot signature became wrong, and Im not sugesting this
solution would work for someone else, but is certainly worked for me.
The chenge I found best was to put a change in common.c:
volatile void die(char *fmt,...)
{
va_list ap;
return; /* Hacked. Delete when done! */
fflush(stdout);
va_start(ap,fmt);
vfprintf(stderr,fmt,ap);
va_end(ap);
fputc('\n',stderr);
exit(1);
}
If anyone else trys this technique I would stress that it should be
viewd as a quick & dirty solution to the problem I had. It may not fix
yours, and it may well make things worse.
Ive deleted my hacked version of LILO now, so I wont accidently run a
version with no sanity checks in it.
Cheers.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Technical Details
Message-ID:
<7o2lgn$inp$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<Pine.GSO.4.01.9907171701300.2534-100000@arctic.cse.msu.edu> <87vhbjymzo.fsf@pfaffben.user.msu.edu> <7np6pc$ash$1@nnrp1.deja.com> <7nrvii$702$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9b51,f1dac5c00373655c X-Google-Attributes: gidf9b51,public X-Google-Thread: 11221a,f1dac5c00373655c X-Google-Attributes: gid11221a,public X-Google-Thread: 102983,f1dac5c00373655c X-Google-Attributes: gid102983,public X-Google-Thread: 10a997,f1dac5c00373655c X-Google-Attributes: gid10a997,public From: catsoup57@hotmail.com Subject: Re: Redhat install Date: 1999/08/01 Message-ID: <7o2lgn$inp$1@nnrp1.deja.com> X-Deja-AN: 507747167 References: <Pine.GSO.4.01.9907171701300.2534-100000@arctic.cse.msu.edu> <87vhbjymzo.fsf@pfaffben.user.msu.edu> <7np6pc$ash$1@nnrp1.deja.com> <7nrvii$702$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x32.deja.com:80 (Squid/1.1.22) for client 194.164.62.92 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Sun Aug 01 23:33:43 1999 GMT X-MyDeja-Info: XMYDJUIDcatsoup Newsgroups: umich.linux,alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux.setup X-Http-User-Agent: Mozilla/4.06 [en] (Win95; I)