LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-10-2003, 10:54 AM   #1
pingY
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Rep: Reputation: 0
How can I boot linux with MS NT loader?


I installed Linux on a separtate disk and put the boot loader on my root partition /dev/hdb2, not win2003 MBR. I then booted via cdrom into Linux and opened a command prompt:

dd if=/dev/hdb2 of=/mnt/D/bootsect.lnx bs=512 count=1

(/dev/hda1 win2003 ntfs,/dev/hda2 slackware9.1 ext3,D: E: F: fat32)
I reboot into win2003 and show hidden and system files to edit boot.ini. I add the line

C:\bootsect.lnx="Linux"

I then reboot and the MS NT loader comes up and highlight "Linux" and enter...

I am then told that windows 2003 could not load because ntoskrnl.exe is missing or corrupt. I am not trying to load windows and ntoskrnl.exe is in the correct directory (C:\win2003\system32).

I have tried to put bootsect.lnx on a fat32 partition, hoping that linux won't run on NTFS, but that spat out the same error.

Can somebody please help? I can boot to linux with cdrom, but who wants to do that?

Thanks a lot.
 
Old 12-10-2003, 10:58 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Show the rest of the boot.ini .
 
Old 12-10-2003, 10:59 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Have you read up any on the howto located here: http://www.ibiblio.org/pub/Linux/doc...NT-Loader.html
 
Old 12-10-2003, 11:02 AM   #4
pingY
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WIN2003
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WIN2003 = "Windows Server 2003, Enterprise" /fastdetect
D:\bootsect.lnx="Slackware 9.1"

http://www.ibiblio.org/pub/Linux/do...+NT-Loader.html
could not be found.
 
Old 12-10-2003, 11:53 AM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Try copying the file to C:\ in Wndows, then using 'C:\="Slac..."
 
Old 12-10-2003, 12:04 PM   #6
cozye
Member
 
Registered: Nov 2003
Location: Louisville, KY
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
Why not use lilo ? You can boot windows with it. If you mess up or change your mind you can always do a fdisk /mbr with a windows boot disk and get your old MBR and 2k boot loader working again.
 
Old 12-10-2003, 11:22 PM   #7
pingY
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by aaa
Try copying the file to C:\ in Wndows, then using 'C:\="Slac..."
It still doesn't work.


(Why not use lilo ? You can boot windows with it. If you mess up or change your mind you can always do a fdisk /mbr with a windows boot disk and get your old MBR and 2k boot loader working again.)

Because my friend share the computer with me .
He used to the MS loader and don't want to change.
 
Old 12-10-2003, 11:35 PM   #8
pingY
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
I am sorry! There is a mistake.
dd if=/dev/hdb2 of=/mnt/D/bootsect.lnx bs=512 count=1
should be dd if=/dev/hda2 of=/mnt/D/bootsect.lnx bs=512 count=1
two primary partition.
 
Old 12-12-2003, 09:58 PM   #9
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
You can set lilo's timeout to zero, so your friend won't notice unless the [shift] button is pressed @ boot, then the menu come up.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - Newbie 15 10-21-2005 10:29 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 07:08 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 07:07 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
can linux boot without grub boot loader? eye Linux - Software 11 08-28-2003 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration