Article View: ch.comp.os.linux
Article #24818Re: NT of first and Linux on second IDE HD
From: kolja
Date: Mon, 25 Jan 1999 00:00
Date: Mon, 25 Jan 1999 00:00
62 lines
2336 bytes
2336 bytes
Moritz Ritter wrote:
> Hi
>
> I have a PC with 2 IDE HDs. On the first I have a (still working) NT
> partition (2.1 GB) and on the second I had a DOS 6.2 partition (1.4 GB) (to
> experiment with). I made the second HD boot by changing the BIOS settings (I
> like the thougt that both systems can run without using the other disk.).
Disk 0x80 gets disk 0x81 and disk 0x81 gets 0x80.(These are the BIOS names)
>
>
> So, yesterday I installed RedHat 5.1 on the former DOS partition (together
> with a swap partition, of course) on HD 2. I did not install lilo in the mbr
> (on hda) but in the first sector (?, the other possible option) of hdb and
> (fortunatly made a boot disk)
>
You installed lilo in the root partition I guess.
Then your NT disk was 0x80, your Linux disk was 0x81.
Lilo "remembered" that his map file is on disk 0x81.
>
> When I now tell the BIOS to boot from the second HD, lilo says only 'LI' and
> the computer is dead. When I boot from floppy everything is (or seems to be)
> fine.
>
Lilo canot find the map file that is now on 0x80.
test it:
??? is your root partition (hdb2)?
dd if=/dev/??? of=/bootsect.lin bs=512 count=1
copy bootsect.lin to C:\
add
C:\bootsect.lin="Linux"
to C:\boot.ini
boot your NT disk.(= 0x80, mapfile on 0x81).
>
> Both HD's run in LBA mode.
>
> What is the problem?
>
> Thanks for your help!
There are options to fix the problem. Read the lilo dokumentation.
(? ?
/dev/hda
disk = 0x81
/dev/hdb
disk=0x80
? ?)
Maybe you have to use two lilo configurations (one if you booted from your NT
disk or floppy, another if you booted from your Linux disk).
bye
Kolja
Technical Details
Message-ID:
<36ACC87C.84F49747@datacomm.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<78ciiv$bok$1@bw107zhb.bluewin.ch>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4b73,f84de8bb5e61665c X-Google-Attributes: gidf4b73,public X-Google-Thread: f9b51,f84de8bb5e61665c X-Google-Attributes: gidf9b51,public From: kolja <kvonsawilski_@datacomm.ch> Subject: Re: NT of first and Linux on second IDE HD Date: 1999/01/25 Message-ID: <36ACC87C.84F49747@datacomm.ch> X-Deja-AN: 436784357 Content-Transfer-Encoding: 7bit References: <78ciiv$bok$1@bw107zhb.bluewin.ch> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 25 Jan 1999 20:44:10 +0100, 212.254.34.99 MIME-Version: 1.0 Newsgroups: ch.comp.os.linux,comp.os.linux.setup