LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2001, 12:42 PM   #1
Thomas_Delrue
Registered User
 
Registered: Jul 2001
Posts: 41

Rep: Reputation: 15
windows2000 boot manager (boot.ini)


OK, so I tried to to make windows2000 handle my dual booting...

this is what I did...

In Linux:
# dd if=/dev/hda1 of=/BOOTSECT.LNX bs=512 count=1

(NOTE that hda1 is where my /boot directory is located; hdb1=/ hdb2=swap hdb3=/home)

then I placed this 'BOOTSECT.LNX' file in my c:\-directory of windows (on my system-disk) (the file is indeed 512b in size)

In Windows: I opened boot.ini and this is the result of adding only the last line to boot.ini

[boot loader]
timeout=20
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows2000 Pro"
C:\BOOTSECT.LNX="Linux"

(only last line has been added)

so, I reboot, and everything goes well, I can select both Win and Linux...

BUT, when I select linux and hit enter, the following occurs...

1.) it says NTLDR is missing...
2.) it says that it can not boot windows 2000 from that disk because there are actions performed from that disk...

both these messages I have gotten already...

What is wrong (read: what am I doing wrong)?

P.S.: I followed the instructions on http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html

Last edited by Thomas_Delrue; 07-18-2001 at 12:47 PM.
 
Old 07-18-2001, 01:14 PM   #2
Thomas_Delrue
Registered User
 
Registered: Jul 2001
Posts: 41

Original Poster
Rep: Reputation: 15
Came accross

I just came accross the following article in MS-knowledge base
http://www.microsoft.com/WINDOWS2000...s_gs_03010.htm

could this be the answer to my prayers?
 
Old 07-18-2001, 02:25 PM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Just to make sure we donšt miss anything.
You did install lilo?
And did you install lilo to /dev/hda1, check your /etc/lilo.conf file?
 
Old 07-19-2001, 07:07 AM   #4
Thomas_Delrue
Registered User
 
Registered: Jul 2001
Posts: 41

Original Poster
Rep: Reputation: 15
terribly sorry

I am terribly sorry to report that...

I have found a solution to boot windows and linux from within LiLo...

So, I'm sorry to have taken your time...
 
Old 07-20-2001, 03:02 PM   #5
HHH
Member
 
Registered: Jun 2001
Posts: 78

Rep: Reputation: 15
How'd you do it?
 
Old 07-20-2001, 03:19 PM   #6
Thomas_Delrue
Registered User
 
Registered: Jul 2001
Posts: 41

Original Poster
Rep: Reputation: 15
just used lilo

Just added my windows partition to lilo.conf... and executed /sbin/lilo...

apparently this time it did not overwrite NTLDR... (pfffw)
 
Old 08-31-2004, 12:18 PM   #7
Biscquix
LQ Newbie
 
Registered: Aug 2004
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Using a separate boot and root device, I figured out that not the root device should be used but the boot device.
My boot device is /dev/hde3
My root device is /dev/hde4

So this is what I did
First I start linux from install cd in the rescue mode.
Then I look which file system is mounted on /boot with the df command. Which in my case is /dev/hde3.
Make the bootsect.lnx file "dd if=/dev/hde3 of=/bootsect.lnx bs=512 count=1"

My hard drive has a fat32 partition which i use to share files with windows 2000, it is located at /dev/hde6.
mount the fat32 file system
mkdir /fat32
mount -t vfat /dev/hde6 /fat32
mv /bootsect.lnx /fat32/bootsect.lnx
reboot in windows2000

add the C:\BOOTSECT.LNX="Linux" line to boot.ini
copy the bootsect.lnx from the fat32 partition to C:\

reboot
now i can choose to start lilo from the windows2000 boot menu
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WinXP Won't boot - Write to NTFS Boot.ini File GNewbie Linux - Newbie 9 11-14-2005 01:41 AM
Dual Boot - XP & Suse 9.1 - Need help with boot.ini johnnytriumph Linux - Newbie 1 04-05-2005 07:18 AM
Configuring XP boot.ini for Dual Boot jarnix Linux - Software 5 02-02-2005 03:37 AM
Boot Linux Suse using boot.ini from Windows XP theewolizer SUSE / openSUSE 10 10-21-2004 02:11 PM
Dual Boot Win2000Pro & RH 8 w/Boot.ini JinxU1 Linux - Newbie 9 01-31-2003 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration