Thread View: ch.comp.os.linux
2 messages
2 total messages
Started by Moritz Ritter
Sat, 23 Jan 1999 00:00
NT of first and Linux on second IDE HD
Author: Moritz Ritter
Date: Sat, 23 Jan 1999 00:00
Date: Sat, 23 Jan 1999 00:00
21 lines
1368 bytes
1368 bytes
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.). 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) 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. Both HD's run in LBA mode. What is the problem? Thanks for your help!
Re: NT of first and Linux on second IDE HD
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads