also @ TechSpot: Tech Tip: Turn Off your Display Using a Windows Shortcut and More
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > Operating Systems & Software > Windows OS

Dual Boot to DOS partition

Closed Thread
Page 1 of 2 1 2
Bookmark Thread Tools
  #1  
Old 11-27-2003
TechSpot Guru
 
Location: Bridgend
Member since: Nov 2003, 2,367 posts
Dual Boot to DOS partition

I run WinXP Pro and have recently installed a new hard disk. My partitions are as follows and are in order of creation.......

Disk 0 -
C: 10GB Primary NTFS - OS XP Pro
Disk 1 -
D: 12GB Primary NTFS - No OS
E: 25GB Primary NTFS - No OS
Z: 1GB Primary FAT32 - Command.com/Autoexec.bat, and NTFSDOS.exe


I have added the following line to the boot.ini file under the OS section.......

Multi(0)disk(1)rdisk(0)partition(3)\windows="MS-DOS"


As you can probably tell, I am trying to add a boot menu option to boot into DOS on the FAT32 partition with an NTFS reader invoked in the autoexec.bat file. Unfortunately, it doesnt work, as when selecting MS-DOS from the boot menu I get a message that it can't boot due to a harware problem/configuration issue, and to check the boot paths etc.

Can anybody help me solve this problem?

Last edited by Spike; 11-27-2003 at 06:58 AM..
  #2  
Old 11-27-2003
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,852 posts
System specs
Welcome to TechSpot Forums

Partition numbers start from 0, so change partition(3) to partition(2).

Some MS-DOS versions have problems booting when the partition is above 1024th cylinder, so that might cause problems too, I'm not sure.
To remove this ad, sign in. To register for a new account, click here.
  
  #3  
Old 11-27-2003
TechSpot Evangelist
 
Location: has left the building
Member since: Aug 2003, 8,160 posts
This should read:
Multi(0)disk(0)rdisk(1)partition(3)\windows="MS-DOS"

disk=0
rdisk=1
partition=3 (starts at 1, not 0)
\windows is the name of your DOS-files directory, sure it is "windows"?
  #4  
Old 11-27-2003
TechSpot Guru
 
Location: Bridgend
Member since: Nov 2003, 2,367 posts
Many thanks for the replies. being the first time I've created a non windows boot option, I thought windows referred to something to do with the master disk or something. The partition I wish to boot to (Z contains at the moment only Command.com, Autoexec.bat at the root of the drive (ie, Z:\Command.com), and an NTFS reader in a directory called z:\sysfiles. I am hoping to be able to boot it before adding anything else to the partition. Given that, any idea what \Windows should be changed to in the boot path? Given that, I'll try the line posted.

Many thanks
  #5  
Old 11-27-2003
Liquidlen's Avatar
TechSpot Paladin
 
Location: Canada
Member since: Oct 2003, 1,646 posts
Spike ;
When you get Dos to Dual- boot for you ,Please post the particulars,I would really like to see it . Iam no expert so some one correct me .
Ms Dos can only see Fat 16 disk ,2 gig limit
Windows O/S must boot from first active primary partition
Ntfsdos.exe is a shell add on to Windows O/S not a seperate O/S
  #6  
Old 11-27-2003
TechSpot Guru
 
Location: Bridgend
Member since: Nov 2003, 2,367 posts
you may be correct about ntfsdos.exe, but that isn't what's bugging me. I think MS-DOS is quite capable of reading a FAT32 disk of over 2GB, simply because Win98 could do it (I'm not talking about in win32 mode, I'm talking about from the startupdisk, or by exiting windows to DOS). I do believe that it depends greatly on the version though.

All I simply want to do is to read files on my NTFS volumes from a small DOS partition of 1GB. I'm not an expert either, but I'm sure that it is possible, given the right knowledge.


Having placed my DOS files into the directory Z:\sysfiles, I've tried the lines

multi(0)disk(0)rdisk(1)partition(3)\sysfiles="MS-DOS"
multi(0)disk(0)rdisk(1)partition(2)\sysfiles="MS-DOS"
multi(0)disk(1)rdisk(0)partition(3)\sysfiles="MS-DOS"
multi(0)disk(1)rdisk(0)partition(2)\sysfiles="MS-DOS"

None of which worked.

multi(0)disk(0)rdisk(1)partition(3)\sysfiles="MS-DOS" produced the error...

Windows could not start because the following file is missing or corrupt:
<windows root>\System32\hal.dll
Please re-install a copy of the above file.
  #7  
Old 11-27-2003
TechSpot Evangelist
 
Location: has left the building
Member since: Aug 2003, 8,160 posts
DOS can only be booted from the first Harddisk, first partition, and that partition must be active (and of course from a floppy).
This partition must be FAT16 or FAT32.
Last known stand-alone MS-DOS was V6.22, PC-DOS/DR-DOS V7.something

If you want to read NTFS from that Z-partition, forget about booting into DOS from HD. The easiest solution would be to start from a floppy, then go to Z:\. On Z: have a subdirectory \DOS with all your Dos-files in it.
To get the system-files on Z:, go to the boot-floppy A:
from there type SYS Z:\ and Bob is your uncle.
On the Z-drive make a batch-file or type in:
set path=.;..;z:\;z:\dos; plus whatever directories you want.

Last edited by realblackstuff; 11-27-2003 at 01:21 PM..
  #8  
Old 11-27-2003
TechSpot Guru
 
Location: Bridgend
Member since: Nov 2003, 2,367 posts
Thanks for that. Given that tip, rather than finding the DOS i need to do it, I'll see about creating a floppy. Such a simple thing I wanted too! Ah well, such is microsoft.
  #9  
Old 11-27-2003
TechSpot Guru
 
Location: Bridgend
Member since: Nov 2003, 2,367 posts
sorry! I missed the second half of that post when I read it first time. Could you please explain what you mean in detail. Also, the Win XP DOS startup disk is seems only to recognise the floppy drive letters a: and b: . Does that matter?
To remove this ad, sign in. To register for a new account, click here.
  
  #10  
Old 11-27-2003
Liquidlen's Avatar
TechSpot Paladin
 
Location: Canada
Member since: Oct 2003, 1,646 posts
Spike , the page below is from Microsoft Q306559 it confirms what I didnot state clearly on my first reply. I was under the impression that you wanted to have a MS dos operating system ,dual booting with XP. In which case you have to install DOS first and then XP. After that would ntfsdos.exe work for you in the Dos O/S ?




To Create a Multiple-Boot System with Windows XP and MS-DOS, Windows 95, Windows 98, or Windows Me
NOTE: You cannot install both Windows 95 and Windows 98 in a multiple-boot configuration. Windows 98 is intended as an upgrade to Windows 95 and it will try to use the same boot file.

You have to install Windows XP only after installing MS-DOS, Windows 95, Windows 98, or Windows Me to prevent these operating systems from overwriting the Windows XP boot sector and the Windows XP startup files.

To create a multiple-boot system with Windows XP and MS-DOS, Windows 95, Windows 98 or Windows Me:
Ensure that your hard disk is formatted with the correct file system.
Install the multiple operating systems into separate volumes, in the following order: MS-DOS, Windows 95, Windows 98, Windows Me, and then Windows XP.
Do one of the following:
If you want a multiple-boot system with MS-DOS, Windows 95, Windows 98 or Windows Me along with Windows XP, install MS-DOS, Windows 95, Windows 98 or Windows Me, and then install Windows XP.
If you want a dual-boot system with only Windows 95, Windows 98 or Windows Me, install Windows 95, Windows 98 or Windows Me, and then install Windows XP.
Install each operating system according to the standard installation procedure.
  #11  
Old 11-27-2003
TechSpot Guru
 
Location: Bridgend
Member since: Nov 2003, 2,367 posts
liquidlen; Thanks very much. I see what you mean now. That would be a lot of work for the sake of convenience. I think I'll look at it again perhaps next time I format. The floppy suggestion is definatly a better option right now though. The winXP DOS startup disc doesn't read NTFS, but with it's drive assignment method, it does indeed read the FAT32 Volume as C:

With regards to the fact it must be Disk(0) partition (1) to boot DOS, It may be possible to look at booting to a folder in said partition perhaps, and batchscripting to boot Drive Z. Something to think about for another day though.

Thanks a lot guys.
  #12  
Old 11-29-2003
alphnumeric's Avatar
TechSpot Member
 
Member since: Jun 2003, 203 posts
Actually all you need to add is C:\="MS-DOS"
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT"
C:\="MS-DOS"

As you have surmised Dos has to be installed to the primary partition of the first hard drive and that partition needs to be set to active.
  #13  
Old 12-16-2003
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,703 posts
I believe that alphnumeric is right. All you need is

C:\="MS-DOS"
  #14  
Old 12-16-2003
TechSpot Guru
 
Location: Bridgend
Member since: Nov 2003, 2,367 posts
brilliant. I do seem to havve a tendancy to overcomplicate things. lol.

Given that C: is ntfs, I think I'll now give it a miss untill my other project is over. I've found it's almost as easy to use a 98 startup disk and an ntfs read/writer for now. Just means that the drive letters are different to those within windows.

When I'm happy with it all, I'll re-structure my drives anyway.

Thanks a lot guys
  #15  
Old 03-15-2004
e-Willem's Avatar
Newcomer, in training
 
Location: the Netherlands
Member since: Nov 2003, 33 posts
Hello,

I've installed XP on my IDE-0 and on also on IDE-1, is there anyway that I can get a dual-boot screen on startup where I can choose from the two, or have I got to keep going into BIOS-setup and change the boot-devices if I want to switch?

Thanks for any sugestions.
  #16  
Old 03-15-2004
TechSpot Evangelist
 
Location: has left the building
Member since: Aug 2003, 8,160 posts
You need to add only one line to your BOOT.INI file on the C-drive.
Boot.ini should look like:

[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="WinXP on IDE-0" /fastdetect
multi(0)disk(0)rdisk(1)partition(1)\WINNT="WinXP on IDE-1" /fastdetect

note that rdisk is your harddisk number (starting from 0)
note that partition starts from 1
  #17  
Old 03-15-2004
e-Willem's Avatar
Newcomer, in training
 
Location: the Netherlands
Member since: Nov 2003, 33 posts
Thnkzzz
  #18  
Old 06-16-2005
Bipolar_Gargoyl's Avatar
TechSpot Member
 
Location: Beaverton, Michigan
Member since: May 2005, 101 posts
ok i am a little slow, "Ensure that your hard disk is formatted with the correct file system. Install the multiple operating systems into separate volumes, in the following order: MS-DOS, Windows 95, Windows 98, Windows Me, and then Windows XP." Does that mean i have to partition the hard drive? and do i install xp to a fat32 format? i am trying to dual boot 98 and XP on the same hardrive. i tried to do a DOS partition, but i couldn't get 98 or XP to load. don't nead the DOS partition, thought i had to have it to dual boot. Any clarifying is appreciated!

Thanks Bipolar
  #19  
Old 06-16-2005
alphnumeric's Avatar
TechSpot Member
 
Member since: Jun 2003, 203 posts
If you are going to let windows handle the bootloader then you need to install windows 98 first. I would recommend installing each OS on it's own partition or drive. Windows 98 will have to be fat 32 because that's all it supports. The windows 98 partition will be a dos (Dos 8) partition. You don't need to install dos first. For things to work correctly it should be the first drive "C" and be marked active. Windows XP can be installed next, it will install the bootloader to the win 98 partition and setup the duel boot for you. If you want to be able to access the windows XP partition from win 98 you will need to install XP using fat 32. There is nothing stopping you from using NTFS for XP if you want to though. It just makes it invisible (so to speak) when you boot up in windows 98. XP will be able to see the win 98 partition regardless of the file system you use to install it.
  #20  
Old 06-16-2005
TechSpot Addict
 
Location: London
Member since: Apr 2005, 1,267 posts
Install Win98 first creating a partition around 1GB for Win 98 another for XP around 5GB. The remainder for data this needs to be Fat32 so it can be read by both systems. You can of course fiddle with these sizes according to the size of you disc.
Closed Thread
Page 1 of 2 1 2

Tip: Download Advanced SystemCare 3 Freeware - 1 Click A Day to Clean, Repair, Protect & Optimize your PC.

Thread Tools


Similar Topics
Topic Category Replies Last Post
HOW TO: Install Windows 2000 (or XP perhaps) from DOS without a bootable CDROM Guides and Tutorials 44 2 Weeks Ago 04:36 AM
autochk.exe not found Windows OS 79 05-24-2009 09:22 PM
XP dual boot and IRQ conflicts on a laptop Windows OS 1 09-22-2004 03:40 AM
Dual boot OS Windows OS 10 02-27-2003 05:31 PM
Dual boot directory Windows OS 12 04-23-2002 03:18 PM


All times are GMT -4. The time now is 03:09 AM.