web statistics


Pages: (2) [1] 2  ( Go to first unread post )

 BartAIO RAM to CD or USB, selecting the preferred install
edborg
Posted: May 10 2006, 07:15 AM


Member
*

Group: .script developer
Posts: 32
Member No.: 6
Joined: 9-May 06



I've been testing BARTAIO since it's birth, and it's an excellent program!
The RAM approach is ideal for small BartPE builds, as it's faster and allows extraction of the booting device after booting.
To further improve its features, the author has recently added the capability to install the RAM booting PE to an USB stick, which works great. smile.gif

However, as he asks for comments/suggestions, here are mine:

EDIT
I would change the "Boot into RAM" step (which now includes the "Install PE to USB" substep) into a "Create ISO" step, and the "Burn to ISO" step into an "Install ISO", including the "Burn ISO to CD" and "Transfer ISO to USB" substeps.
This would help better understand the creation process. wink.gif

As for installing to USB, BARTAIO now uses Bart's pe2usb approach, to format the stick with MS Format and install Bart's special bootsector with MKBT.
Based on my experience, this works fine in most cases, but there are sticks that don't like it and only boot if formatted with the HP Format tool, which in turn doesn't work for all sticks. unsure.gif
The "Install PE to USB" step could therefore include the following substeps that one could select according to needs:
"Format MKBT"
"Format HP"
"Install"

edborg
P.S. I have made a small script, similar to pe2usb, that formats with HP Format, which I alternatively use when manually installing RAM PE to sticks.
That could be used by BARTAIO as well
Top
Nuno Brito
Posted: May 10 2006, 07:23 AM


Frequent
*

Group: .script developer
Posts: 342
Member No.: 1
Joined: 8-May 06



Can you post your script? I'll be glad to test it too.. laugh.gif


--------------------
Nuno Brito's page - A simple one man page - nothing else - nothing less simple..
Top
edborg
Posted: May 10 2006, 07:38 AM


Member
*

Group: .script developer
Posts: 32
Member No.: 6
Joined: 9-May 06



QUOTE (Nuno Brito @ May 10 2006, 07:23 AM)
Can you post your script?  I'll be glad to test it too..  laugh.gif

This is my HPFormatUSB.cmd:
CODE
@echo off
echo Utility to format an USB pendrive and make it Windows XP bootable
echo ========written by EDB (inspired by Bart's pe2usb.cmd)==========
echo It uses HP format utility (HPUSBF.EXE) in this directory
echo and XP system files (ntdetect.com, ntldr, boot.ini) in a bootXP subfolder
echo The use of Dietmar's modified ntdetect.com is recommended
echo.
setlocal
set _target=
set _base=%~dp0
set _target=%~d1
set _label=%2
if "%_label%" == "" set _label=PENDRIVE
if "%_target%" == "" (
echo Usage %~n0 ^<drive:^> ^[label^]
echo.
echo Where:
echo     ^<drive:^> The drive letter of your USB flash drive
echo     ^[label^] The label of your USB flash drive
goto _err)
echo USB target drive set to "%_target%"
echo Checking drive "%_target%"
if not exist %_target%\nul (
echo Error: Drive "%_target%" does not exist!
goto _err)
if "%_target%" == "%SystemDrive%" (
echo Error: Trying to install to your SystemDrive?!?
goto _err)
echo Checking files...
if not exist %~dp0\HPUSBF.exe (
echo Error: HPUSBF.exe does not exist in %_base%!
goto _err)

pause

:_format
echo Formatting drive "%_target%"...
%~dp0\HPUSBF %_target% -V:%_label% -S:%~dp0\bootXP -Y
if errorlevel 1 (
echo Error: Format %_target% failed!
goto _err)
copy /y %~dp0\diskid.txt %_target%\
goto _end
:_err
echo.
echo Aborted...
echo There was an error, script aborted!!!
rem set errorlevel to 1 by (mis)using color
color 00

:_end
endlocal
echo.
echo Done (program will be closed)
pause
exit

edborg
Top
edborg
Posted: May 10 2006, 07:40 AM


Member
*

Group: .script developer
Posts: 32
Member No.: 6
Joined: 9-May 06



And this is my MSFormatXP.cmd:
CODE

@echo off
echo Utility to format an USB pendrive and make it Windows XP bootable
echo ======= written by EDB (based on Bart's pe2usb script) =======
echo It uses MS format and Bart's Mkbt.exe + pe2usb.bin in this directory
echo and XP system files (ntdetect.com, ntldr, boot.ini) in a bootXP subfolder
echo The use of Dietmar's modified ntdetect.com is recommended
echo.
setlocal
set _target=
set _base=%~dp0
set _target=%~d1
set _label=%2
if "%_label%" == "" set _label=PENDRIVE
if "%_target%" == "" (
echo Usage %~n0 ^<drive:^> ^[label^]
echo.
echo Where:
echo     ^<drive:^> The drive letter of your USB flash drive
echo     ^[label^] The label of your USB flash drive
goto _err)
echo USB target drive set to "%_target%"
echo Checking drive "%_target%"
if not exist %_target%\nul (
echo Error: Drive "%_target%" does not exist!
goto _err)
if "%_target%" == "%SystemDrive%" (
echo Error: Trying to install to your SystemDrive?!?
goto _err)
echo Checking files...
if not exist %~dp0\mkbt.exe (
echo Error: mkbt.exe does not exist in %_base%!
goto _err)
if not exist %~dp0\pe2usb.bin (
echo Error: pe2usb.bin does not exist in %_base%!
goto _err)

pause

:_format
echo Formatting drive "%_target%"...
format %_target% /v:%_label% /fs:fat /u /backup
if errorlevel 1 (
echo Error: Format %_target% failed!
goto _err)
echo Installing bootsector from pe2usb.bin on drive %_target%
%~dp0\mkbt.exe -x -l=%_label% %~dp0\pe2usb.bin %_target%
if errorlevel 1 (
echo Error: Installing bootsector failed!
echo pe2usb.bin must be present in %_base%
goto _err)
echo Checking bootsector from drive %_target%
%~dp0\mkbt.exe -x -i %_target%
if errorlevel 1 (
echo Error: Boot sector inspection failed!
goto _err)
echo.
echo Copying WinXP system files to %_target%\
xcopy %~dp0\bootXP\*.* %_target% /h /r /k
copy /y %~dp0\diskid.txt %_target%\
goto _end

:_err
echo.
echo Aborted...
echo There was an error, script aborted!!!
rem set errorlevel to 1 by (mis)using color
color 00

:_end
endlocal
echo.
echo Done (program will be closed)
pause
exit

edborg
Top
Nuno Brito
Posted: May 10 2006, 08:11 AM


Frequent
*

Group: .script developer
Posts: 342
Member No.: 1
Joined: 8-May 06



Thank you! laugh.gif


--------------------
Nuno Brito's page - A simple one man page - nothing else - nothing less simple..
Top
edborg
Posted: May 11 2006, 06:13 AM


Member
*

Group: .script developer
Posts: 32
Member No.: 6
Joined: 9-May 06



@hooovahh
I've been interested in BARTAIO since its first version. smile.gif
To better follow its development, may I suggest to upload the Autoplay folder as well. cool.gif
This would avoid a full BARTAIO download (a 10 MB+ package), when PEbuilder and ScriptPack are not changed.
Thanks
edborg
Top
hooovahh
Posted: May 11 2006, 12:15 PM


Member
*

Group: Developer
Posts: 20
Member No.: 4
Joined: 9-May 06



Well I take one day off work and look at all that's been going one.

@edborg
I agree that using the HP formatting tool would be better. And as I said in the PM I sent you, you will get your Auto Play Media studio 6 file.

Also when I implimented the USB installer, I knew nothing about it (still don't know much) which is why I was glad Bart had already made one, simply integrating it into the AIO was fairly simple

Lastly any suggestions that makes the UI more user friendly is a great idea. If some thing doesn't seem clear, or should be presented in a better way, I'm all for it.

I hope I can be forgiven for not spending much time on my AIO work work work. Sorry. But I'll do what I can, and with the source in your hands it'll help a bunch too. I just hope we don't run into a source control problem, where I improve some thing and you improve some thing and we lose some thing in the integration. Guess I'll worry about that later.


--------------------
"Family. Religion. Friendship. These are the three demons you must slay if you wish to succeed in business."

"Woah, slow down there maestro. There's a *New* Mexico?"
Top
edborg
Posted: May 11 2006, 02:23 PM


Member
*

Group: .script developer
Posts: 32
Member No.: 6
Joined: 9-May 06



QUOTE (hooovahh @ May 11 2006, 12:15 PM)
@edborg
I agree that using the HP formatting tool would be better.  And as I said in the PM I sent you, you will get your Auto Play Media studio 6 file.

Also when I implimented the USB installer, I knew nothing about it (still don't know much) which is why I was glad Bart had already made one, simply integrating it into the AIO was fairly simple

Lastly any suggestions that makes the UI more user friendly is a great idea.  If some thing doesn't seem clear, or should be presented in a better way, I'm all for it.

I hope I can be forgiven for not spending much time on my AIO work work work. Sorry.  But I'll do what I can, and with the source in your hands it'll help a bunch too.  I just hope we don't run into a source control problem, where I improve some thing and you improve some thing and we lose some thing in the integration.  Guess I'll worry about that later.

As for USB install methods, I'm not saying HP Format is better than MS Format + MKBT. I had to use both methods because one works on some sticks and the other on some others: there's no universal solution, unfortunately. sad.gif
By implementing the two methods in BartAIO, the choice would be left to the users.

Thanks for making available the AutoPlay project file smile.gif
I'm not at all sure I can improve anything, but I'll learn how it works, and that's interesting to me. It'll help putting into practice and testing ideas, nothing more. It's up to you to consider if these ideas, if any, are worthwhile implementing in your package. So, be sure there won't be any problems with source control/integration wink.gif
edborg
Top
Nuno Brito
Posted: May 11 2006, 03:02 PM


Frequent
*

Group: .script developer
Posts: 342
Member No.: 1
Joined: 8-May 06



Those are good news, let us know your ideas, maybe someone remembers any cool features that can be added.. wink.gif


--------------------
Nuno Brito's page - A simple one man page - nothing else - nothing less simple..
Top
jaclaz
Posted: May 11 2006, 03:27 PM


Searcher
*

Group: Moderator
Posts: 65
Member No.: 9
Joined: 9-May 06



Anyone willing to take my STILL VERY primitive approach:
http://www.911cd.net/forums//index.php?showtopic=15837&st=6

and make it into a more "universal" approach?

I simply miss the time and programming skills to transform my "manual" calculations into a program.

(all the point in my approach, as compared to BOTH the HP format tool and Bart's mkbt ones is that this way the ENTIRE key space can be made available according to the way the BIOS detects the stick, as compared to the "fixed" geometry the 2000/XP driver "sense")

The space you can recover is usually around 8 Mbytes.

jaclaz
Top
Nuno Brito
Posted: May 11 2006, 04:50 PM


Frequent
*

Group: .script developer
Posts: 342
Member No.: 1
Joined: 8-May 06



Seems quite interesting, I can volunter for the task..

For the next 3 weeks I'll be staying in vacations at home (while my wife keeps working all day.. dry.gif ) so I'll have plenty of time to dedicate building another approach - I think it would be really interesting to have a more accurate tool for doing this job..


Can you please post in detail all the steps, behavior, interface and features to include in this new application?

laugh.gif


--------------------
Nuno Brito's page - A simple one man page - nothing else - nothing less simple..
Top
edborg
Posted: May 12 2006, 07:41 AM


Member
*

Group: .script developer
Posts: 32
Member No.: 6
Joined: 9-May 06



QUOTE (jaclaz @ May 11 2006, 03:27 PM)
Anyone willing to take my STILL VERY primitive approach:
http://www.911cd.net/forums//index.php?showtopic=15837&st=6

and make it into a more "universal" approach?

I simply miss the time and programming skills to transform my "manual" calculations into a program.

(all the point in my approach, as compared to BOTH the HP format tool and Bart's mkbt ones is that this way the ENTIRE key space can be made available according to the way the BIOS detects the stick, as compared to the "fixed" geometry the 2000/XP driver "sense")

The space you can recover is usually around 8 Mbytes.

jaclaz

As you make me go back with the memory to when I was trying to make bootable a stick that obstinately refused to do so (SEITEC), I wish to add the following.
Notwithstanding your valuable help and assistance, I didn't succeed at that time, and had to return the stick to its legitimate owner before completing any possible attempt, as things seldom work at the first time. sad.gif
I recently got that stick back and ... magically succeeded in formatting it with HP Format (which I had already used without success before). blink.gif
Although I can't say it for sure, it is possible that the preparation made with your method "cleaned" the stick so thoroughly, that a subsequent HP Format worked.

So, I believe your method is certainly worthwhile pursuing ... and Nuno has volunteered, already. biggrin.gif
edborg
Top
jaclaz
Posted: May 12 2006, 12:13 PM


Searcher
*

Group: Moderator
Posts: 65
Member No.: 9
Joined: 9-May 06



OK,
I'll try to jolt down some info for Nuno as soon as possible.

jaclaz






Top
cornflake
Posted: May 13 2006, 01:50 AM


Recruit
*

Group: Members
Posts: 2
Member No.: 23
Joined: 13-May 06



I have a Hewlett Packard a1000y PC, and the only way I can boot from a USB stick is when I've formatted with the HP USB utility. I don't know why this is but I suspect disk geometry. Also, this computer must only have USB1 in the BIOS because the speed of loading to a ramdisk is terrible.
I haven't tried BartAIO yet, I just noticed your posts here.
Top
edborg
Posted: May 16 2006, 01:19 PM


Member
*

Group: .script developer
Posts: 32
Member No.: 6
Joined: 9-May 06



I agree, it must be USB1, because my Asus notebook boots quite fast from USB, actually much faster than from CD. wink.gif

Anyway, even with a slow USB port, a RAM build (the BartAIO approach) runs really fast once booted. Its only limitation is the size of the build, particularly if one wants to use it on a number of different (even low memory) PCs.
This is why Batcher and its ScriptPack comes into play. rolleyes.gif

After a few experiments, what I've found to be useful for me is a small (60MB) BartPE RAM build, done with BartAIO, which in turn relies on Batcher and its useful collection of basic scripts, and a large (700MB) BartPE HD-like build, with XPE, many utilities, network, Internet, audio, etc.

Both of them are on USB sticks. tongue.gif

I also have a normal ISO made with the large BartPE above and burned to a CD, but I tend to use it much less than the two above.

edborg
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Bart AIO | Next Newest »


Topic OptionsPages: (2) [1] 2 



Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Archive
Translation



Boot Land (c) 2006