Problems Booting Linux From Windows NT Boot Menu

Problems Booting Linux From Windows NT Boot Menu

Post by John Tople » Tue, 21 Apr 1998 04:00:00



Hi all,

I've read the FAQS and HOWTOs and the relevant postings to this group, but I
still can't get my Red Hat Linux 4.1 to boot using the NT boot loader. As
things stand I can only boot Linux from the LILO prompt which comes up when
booting my PC, not from the option that I've added to NT's boot loader using
the BootPart program. If I try I get a "system not found" type error. The
output below is from BootPart to show how my disk is organised (the
asterisks indicate bootable partitions):

0 : C:* type=6  (BIGDOS Fat16), size = 102784 KB
1 : C:  type=5  (Extended), size = 1149120 KB
2 : C:  type=1   (DOS Fat12), size = 1984 KB
3 : C:  type=5   (Extended), size = 82656 KB
4 : C:  type=82    (Linux swap), size = 82624 KB
5 : C:  type=5    (Extended), size = 425376 KB
6 : C:* type=83     (Linux native), size = 425344 KB
7 : C:  type=5     (Extended), size = 639072 KB
8 : C:  type=7      (HPFS/NTFS), size = 639040 KB

I used Linux fdisk to make my Linux partition bootable, then added Linux to
NT's boot.ini file with "BootPart 6 c:\bootsect.lnx Linux 4.1". Here's my
boot.ini file:

[boot loader]
timeout=8
default=multi(0)disk(0)rdisk(0)partition(5)\WINNT
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(5)\WINNT="Windows NT Workstation Version
4.00"
multi(0)disk(0)rdisk(0)partition(5)\WINNT="Windows NT Workstation Version
4.00 [VGA mode]" /basevideo /sos
C:\bootsect.lnx="Linux 4.1"
C:\="Windows 95"

Then I edited lilo.conf as shown below:

boot=/dev/hda7
#map=/boot/map
#install=/boot/boot.b
compact
prompt
root=current
timeout=30
append="reboot=warm"
image=/boot/vmlinuz
    label=Linux
    read-only
other=/dev/hda1
    label=Windows
    table=/dev/hda

(I commented out the map and install lines from the original installation).
Then I ran LILO to write the information to disk. Do I need to uninstall the
original LILO from my DOS boot sector? I didn't want to do this in case it
means that I can't access Linux. If anyone could shed any light on what it
is that's going wrong I'd be very grateful.

Many thanks,

John.

 
 
 

Problems Booting Linux From Windows NT Boot Menu

Post by Shinro Taniguc » Wed, 29 Apr 1998 04:00:00


I am running Win95, WinNT & Linux using the WinNT boot loader

Did you make the 'bootsect.lnx' using:
dd if=/dev/hda7 of=/dev/hda7/root bs=512 count=1

Before fiddling, have you made a bootdisk, yet? I strongly recommend to
make it

 * Hi all,

 * I've read the FAQS and HOWTOs and the relevant postings to this group, but I
 * still can't get my Red Hat Linux 4.1 to boot using the NT boot loader. As
 * things stand I can only boot Linux from the LILO prompt which comes up when
 * booting my PC, not from the option that I've added to NT's boot loader using
 * the BootPart program. If I try I get a "system not found" type error. The
 * output below is from BootPart to show how my disk is organised (the
 * asterisks indicate bootable partitions):

 * 0 : C:* type=6  (BIGDOS Fat16), size = 102784 KB
 * 1 : C:  type=5  (Extended), size = 1149120 KB
 * 2 : C:  type=1   (DOS Fat12), size = 1984 KB
 * 3 : C:  type=5   (Extended), size = 82656 KB
 * 4 : C:  type=82    (Linux swap), size = 82624 KB
 * 5 : C:  type=5    (Extended), size = 425376 KB
 * 6 : C:* type=83     (Linux native), size = 425344 KB
 * 7 : C:  type=5     (Extended), size = 639072 KB
 * 8 : C:  type=7      (HPFS/NTFS), size = 639040 KB

 * I used Linux fdisk to make my Linux partition bootable, then added Linux to
 * NT's boot.ini file with "BootPart 6 c:\bootsect.lnx Linux 4.1". Here's my
 * boot.ini file:

 * [boot loader]
 * timeout=8
 * default=multi(0)disk(0)rdisk(0)partition(5)\WINNT
 * [Operating Systems]
 * multi(0)disk(0)rdisk(0)partition(5)\WINNT="Windows NT Workstation Version
 * 4.00"
 * multi(0)disk(0)rdisk(0)partition(5)\WINNT="Windows NT Workstation Version
 * 4.00 [VGA mode]" /basevideo /sos
 * C:\bootsect.lnx="Linux 4.1"
 * C:\="Windows 95"

 * Then I edited lilo.conf as shown below:

 * boot=/dev/hda7
 * #map=/boot/map
 * #install=/boot/boot.b
 * compact
 * prompt
 * root=current
 * timeout=30
 * append="reboot=warm"
 * image=/boot/vmlinuz
 *     label=Linux
 *     read-only
 * other=/dev/hda1
 *     label=Windows
 *     table=/dev/hda

 * (I commented out the map and install lines from the original installation).
 * Then I ran LILO to write the information to disk. Do I need to uninstall the
 * original LILO from my DOS boot sector? I didn't want to do this in case it
 * means that I can't access Linux. If anyone could shed any light on what it
 * is that's going wrong I'd be very grateful.

 * Many thanks,

 * John.