LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-28-2005, 05:21 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,679

Rep: Reputation: Disabled
Loading DOS by GRUB without NT-loader?


I'm currently triple-booting with GRUB in the MBR the master boot-loader. It can call the NT-loader which in turn can call DOS.

DOS resides in hda1, NT in hda2 (ntldr in hda1 of course), Linux in hdb5.

The boot.ini of NT uses just C:\ to call on DOS. What "stanza" would do the trick for GRUB? Just calling on hd(0,0) already gets the NT-loader...

Anybody knows the trick? Thanks in advance .
 
Old 09-28-2005, 10:24 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,796

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
Perhaps this will help.
 
Old 09-29-2005, 03:28 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,679

Original Poster
Rep: Reputation: Disabled
Thank you for the link (should have looked myself ), I'll certainly try it.

My lingering suspicion is, though, that the NT-loader will grab the show, since it is in the DOS partition, but testing will show. I'll return with the results...
 
Old 10-07-2005, 02:58 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,679

Original Poster
Rep: Reputation: Disabled
Quote:
Originally posted by JZL240I-U
...My lingering suspicion is, though, that the NT-loader will grab the show, since it is in the DOS partition, but testing will show. I'll return with the results...
Yup, that's exactly what happened, the NT-loader poked its dirty nose to the fore .

Obviously the microsoft loader(s) are so much intertwined, that GRUB can't seperate them with normal measures. Question remains, though, can GRUB do it at all? Anyone with ideas?

Quote:
from the link posted above
Another problem arises if you installed more than one set of DOS/Windows onto one disk, because they could be confused if there are more than one primary partitions for DOS/Windows. Certainly you should avoid doing this, but there is a solution if you do want to do so. Use the partition hiding/unhiding technique.

If GRUB hides a DOS (or Windows) partition (see hide), DOS (or Windows) will ignore the partition. If GRUB unhides a DOS (or Windows) partition (see unhide), DOS (or Windows) will detect the partition. Thus, if you have installed DOS (or Windows) on the first and the second partition of the first hard disk, and you want to boot the copy on the first partition, do the following:
Code:
     grub> unhide (hd0,0)
     grub> hide (hd0,1)
     grub> rootnoverify (hd0,0)
     grub> chainloader +1
     grub> makeactive
     grub> boot
I put the above stanza into the /boot/grub/menu.lst (omitting the "boot" command). Now Win-NT crashes and Linux gets a Kernel panic, even though I deleted this stanza promptly ...


Last edited by JZL240I-U; 10-07-2005 at 03:09 AM.
 
  


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
Grub loader not loading Windows XP or Fedora Core 1 after changing partition size. zetafunc Fedora - Installation 17 06-12-2005 02:27 AM
GRUB boot loader not loading jojotx0 Fedora 6 12-08-2004 11:12 AM
GRUB boot loader not loading jojotx0 Fedora 11 08-29-2004 01:48 PM
lilo loader configure (no dos det4ected) infinitiiz Linux - Newbie 2 04-12-2004 03:14 PM
Boot problem with GRUB (for loading DOS) djkoe Linux - General 1 01-03-2004 09:00 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration