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

Crash when Program Path Contains Spaces


  • Please log in to reply
4 replies to this topic

#1
HKCU

HKCU
  • Members
  • 5 posts
Great improvement over usb_prep8.

But i have one problem:

On my main machine usb_multiboot2.cmd window close by itself during the step "Make bootsector files in btsec folder".
I included that part of usb_prep.log.

Copy XP BootFiles .....
usb_xpbt\boot.ini
1 File(s) copied
usb_xpbt\BOOTFONT.BIN
1 File(s) copied
usb_xpbt\NTDETECT.COM
1 File(s) copied
usb_xpbt\NTLDR
1 File(s) copied

Copy BartPE minint\setupldr.bin as peldr and Hexedit peldr with gsar .....

Make Bootsector Files in btsec Folder ....


On another machine the program runs fine. I use the same USB-Stick on both machines.
So i think the problem is related to the windows version, but both systems run XP Pro SP2 fully updated in english.

Maybe someone have an idea???

Thanks and greetings...
HKCU


[EDIT]

Found the mistake....

I had two folders USB_MultiBoot2 on my harddrive. After i deleted one, everything went fine :thumbup

Great work guys!

[EDIT END]

Edited by HKCU, 24 January 2008 - 11:05 PM.



How to remove advertisement from MSFN

#2
DrGamut

DrGamut
  • Members
  • 1 posts

Great improvement over usb_prep8.

But i have one problem:

On my main machine usb_multiboot2.cmd window close by itself during the step "Make bootsector files in btsec folder".
I included that part of usb_prep.log.

Copy XP BootFiles .....
usb_xpbt\boot.ini
1 File(s) copied
usb_xpbt\BOOTFONT.BIN
1 File(s) copied
usb_xpbt\NTDETECT.COM
1 File(s) copied
usb_xpbt\NTLDR
1 File(s) copied

Copy BartPE minint\setupldr.bin as peldr and Hexedit peldr with gsar .....

Make Bootsector Files in btsec Folder ....


On another machine the program runs fine. I use the same USB-Stick on both machines.
So i think the problem is related to the windows version, but both systems run XP Pro SP2 fully updated in english.

Maybe someone have an idea???

Thanks and greetings...
HKCU


[EDIT]

Found the mistake....

I had two folders USB_MultiBoot2 on my harddrive. After i deleted one, everything went fine :thumbup

Great work guys!

[EDIT END]


I am experiencing the same problem, but I have not been able to resolve it.

The command window simply closes itself after displaying "Make Bootsector Files in btsec Folder ....".

#3
wimb

wimb

    Senior Member

  • Developers
  • 669 posts

I am experiencing the same problem, but I have not been able to resolve it.

The command window simply closes itself after displaying "Make Bootsector Files in btsec Folder ....".

It is not easy to say what is causing your problem. It might be hardware or OS dependant.
I did not experience this problem, but you can try to use the program
on a different computer and with another USB-stick.

wimb

#4
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,687 posts
  • OS:none specified
  • Country: Country Flag

I am experiencing the same problem, but I have not been able to resolve it.

The command window simply closes itself after displaying "Make Bootsector Files in btsec Folder ....".

Can you format your USB stick or just make sure you dont have there btsec folder, copy setupldr.bin from anywhere to USB stick root, it even could be an empty txt file renamed to setupldr.bin, open command prompt in \USB_MultiBoot2\makebt\ and type:
makeBS2.cmd X:\setupldr.bin
where X is your usb drive letter.
Tell us what happens and whether you got btsec folder on USB root, with SETUPLDR.bs and BackupBS.ori inside.

Does the path to \USB_MultiBoot2 folder contain spaces?
What is your USB stick size? Do you use PEtoUSB to format it?

#5
wimb

wimb

    Senior Member

  • Developers
  • 669 posts

Does the path to \USB_MultiBoot2 folder contain spaces?

Hi ilko,

You are quite right Thanks.
I observed the same program crash when USB_MultiBoot2 folder was deep nested in Documents and Settings,
which results in a path with spaces.
So it is necessary to avoid this and Unpack USB_MultiBoot2 Folder in the Root of your Drive.
Will have a look what is causing it exactly and how to get rid of it. MakeBS2.cmd is not giving the problem.

wimb

EDIT: 5 feb 2008
Removed %_mypath% in Making BootSector Files Section.
Uploaded correct USB_MultiBoot2.zip

Edited by wimb, 05 February 2008 - 02:41 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN