Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

BOOT Partition made with USB_MultiBoot4.cmd


  • Please log in to reply
2 replies to this topic

#1
wimb

wimb

    Senior Member

  • Developer
  • 679 posts
USB_MultiBoot4.cmd was originally developed to make USB-Drives for Install of Windows XP from USB.
However, when working with the program, I got the idea it would be nice
to use USB_MultiBoot4.cmd for making a special Boot Partition on my Computer Harddisk. ;)
Booting from this Partition with boot.ini Menu you would be able to make any desired Boot Selection:
Windows XP, BartPE, MS-DOS or via GRUB4DOS select Floppy Images Or chainload bootmgr to launch Vista.

***** FOR EXPERTS ONLY *****

Use this Procedure Only When you are Normally Booting from Windows XP,
and when your DATA are in a seperate partition not being the XP SYSTEM partition.
Vista is not compatible with Partition Magic, so don't use this procedure when VISTA is your System.

- In my Computer System and Data are well separated.
I have a 30 GB Windows XP SYSTEM Partition (including all Programs) and
a 135 GB DATA Partition + 135 GB MEDIA Partition.
Booting with MS-DOS and using Norton Ghost 2003, I can first make in 1 minute
a Backup Image of the Windows XP SYSTEM (including all Programs) on the DATA Partition.

- For making a BOOT Partition, I than reduce the size of the 30 GB Windows XP System Partition
on the back side by 1900 MB using PQ Partition Magic, thus creating a 1900 MB FAT Boot Partition.
This is a rather save method since the large DATA and MEDIA Partitions are Not Involved
and last part of the SYSTEM Partition is almost empty.
Let Windows XP Format this FAT BOOT partition so that it will have NTLDR BootSector.
Partition Magic would leave you with IO.SYS type BootSector.

- Than I used USB_MultiBoot4.cmd, but now at the copy stage Select No
so that the Boot Partition is filled with files from MULTI_CONTENT Source Folder only.
In this case the necessary XP Bootfiles (NTLDR, NTDETECT.COM and boot.ini) are copied and
BootSector Files for Booting with BartPE, Windows PE 2.0 and MS-DOS are nicely made.
And Install of XP is not our goal in this case, so we don't copy the XP Source.
Check that $WIN_NT$.~BT Windows XP Bootfolder and the $WIN_NT$.~LS folder are not made this time.
Take care that your MULTI_CONTENT folder is containing some extra files such as
Boot Floppy Images and PTEDIT.exe in DOSPRG so that you are able to reverse the Boot Priority.
Adding BartPE to have in any case access to your computer harddisk is also advisable.

- Adjust boot.ini on Boot Partition for loading WINDOWS XP from rdisk(0)
Be carefull to make the right adjustments, otherwise your SYSTEM might be Unbootable.
Change menu.lst such that for the chainload Harddisk and Partition number
correspond to where your Windows XP and Vista are located.
Note that partition numbering is different in menu.lst as compared to boot.ini
In GRUB4DOS menu.lst the first partition is partition 0,
whereas in boot.ini the first partition is partition 1
Change menu.lst such that the Direct Mapping for Floppy Disk Emulation occurs from (hd0,1)

- Finally Open Windows XP Disk Management
Select your Boot Partition and Set Active
so that booting will occur from your new Boot Partition, instead of from your XP Partition.
Do this ONLY when you are absolutely sure what you are doing and
have enough repair options available e.g. PTEDIT32.exe via Booting with BartPE.

- Reboot your computer so that you get the boot.ini menu located on the Boot Partition.
From here you are able to make any desired selection:
Windows XP, BartPE, MS-DOS or via GRUB4DOS select Floppy Images Or chainload bootmgr to launch Vista.

The intersesting point is:
Windows XP can be launched from any partition of any harddisk using the boot.ini Menu.
Windows Vista can be launched from any partition of any harddisk using the menu.lst Menu of GRUB4DOS.
Booting direct with MS-DOS enables to use Ghost for making a Backup Image of the System Partitions.
Booting with BartPE and Windows PE 2.0 is extremely FAST, about 40 sec instead of 3 minutes from DVD. :)

Just as an example I give here my boot.ini and menu.lst of the BOOT Partition.
Yours will be different depending on where Windows XP and Vista are Located. ;)
In my case Windows XP is located on Harddisk 0 - Partition 1
and Windows Vista is located on Harddisk 1 - Partition 1 , which in menu.lst is (hd1,0)
whereas the BOOT Partition is Harddisk 0 - Partition 2 , which in menu.lst is (hd0,1)

boot.ini
[Boot Loader]
Timeout=10
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="2. Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\grldr="4. Start GRUB4DOS Menu - DOS FLOPPY IMAGES - Start Vista"
C:\btsec\PELDR.bs="5. BartPE - MINI XP" 
C:\btsec\BOOTMGR.bs="6. Windows PE 2.0"
C:\btsec\MSBOOT.bs="8. MS-DOS 7.10"

menu.lst
color white/blue  black/light-gray
timeout 30

default 0

title 0 - Start Vista - Load bootmgr From HD 1 - Partition 0
root (hd1,0)
chainloader (hd1,0)/bootmgr

title 1 - Start Windows XP Professional via boot.ini HD 0
root (hd0,0)
chainloader (hd0,0)/ntldr

title 2 - Memtest86+  V1.51 - RAM Memory Test
find --set-root /grldr
kernel /memdisk
initrd /images/memtp151.img

title 3 - Floppy Image - MS-DOS  - UBCD Bart's Modboot
map (hd0,1)/images/msubcd.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title 4 - Floppy Image - FREEDOS - UBCD FreeDOS Bart's Modboot
map (hd0,1)/images/fdubcd.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title 5 - BartPE - MINI XP
find --set-root /grldr
chainloader /peldr

title 6 - Windows PE 2.0
root (hd0,1)
chainloader (hd0,1)/bootmgr

title 7 - Boot floppy image - FREEDOS + UMB-Menu	+ PRG-Menu + GHOST
map (hd0,1)/images/fdboot1.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd1)

title 8 - MS-DOS  Direct Load io.sys
root (hd0,1)
chainloader (hd0,1)/io.sys

title 9 - FREEDOS Direct Load kernel.sys
root (hd0,1)
chainloader (hd0,1)/kernel.sys

Regards,

wimb

Edited by wimb, 03 March 2008 - 09:09 AM.



How to remove advertisement from MSFN

#2
Ponch

Ponch

    MSFN Junkie

  • Patrons
  • 3,273 posts
  • OS:none specified
  • Country: Country Flag

- In my Computer System and Data are well separated.
I have a 30 GB Windows XP SYSTEM Partition (including all Programs) and a 260 GB DATA Partition.
Booting with MS-DOS and using Norton Ghost 2003, I can first make in 1 minute a Backup Image of the Windows XP SYSTEM (including all Programs) on the DATA Partition.

What DOS are you running to be able to write to a 260GB partition ? :blink: Is it home brewed ?

#3
wimb

wimb

    Senior Member

  • Developer
  • 679 posts

What DOS are you running to be able to write to a 260GB partition ? :blink: Is it home brewed ?

It is just MS-DOS 7.10 from Windows 98 SE.
It is the DOS Program Ghost 2003 (only 1008 kB) , which is able to read/write to such large NTFS Partition, not MS-DOS ;)

Regards,

wimb




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN