Jump to content











Photo
* * * * * 6 votes

RMPrepUSB - Bootable USB format utility


  • Please log in to reply
759 replies to this topic

#601 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 24 August 2012 - 08:47 AM

Does RMPartUSB do the same when run from the command line?
Do you have full Admin rights?

#602 alacran

alacran

    Frequent Member

  • Advanced user
  • 173 posts
  •  
    Mexico

Posted 05 September 2012 - 03:14 PM

Steve

Heare you can find the Español.ini file updated to version 2.1.0.648 (spanish translation).

http://www.mediafire...57fpppxzt27wc80

Best Regards to all

#603 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 05 September 2012 - 05:23 PM

great! muchas gracias!
I will add this to the next release.

cheers

Steve


#604 alacran

alacran

    Frequent Member

  • Advanced user
  • 173 posts
  •  
    Mexico

Posted 08 September 2012 - 12:01 PM

Steve

I followed your great 47 totorial in your web site, and using NT6_Fast_Installer.zip from your's downloads page installed Win7 x86 on second partition of my USB HDD (160 GB):

As it is HDD was partitioned from Windows and verified with bootice 20120520

First Partition: Primary Active 150 MB (Win7 Boot Manager) no letter
Second Parition: Primary 25 GB (win 7) "C:"
Third Partition: Primary Rest of drive (documents) "D:"

Every thing was ok and the system boot from USB HDD fine.

I notice something about page file:

1.- If you boot from USB HDD without internal HDD connected there is no pagefile.

2.- If you boot from USB HDD with internal HDD connected there is a pagefile in one partition of internal drive.

I tryed to remove the pagefile (using advanced options) from the internal HDD & create it at C. (USB HDD second partition) having the internal HDD connected, when the equipment reboot there was a message telling Win7 created a temp pegefile due to some problem.

Is there a way to don't have the pagefile in the internal drive, when you have the internal HDD connected?

Thanks in advance

#605 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 08 September 2012 - 12:28 PM

I haven't tried it, but http://reboot.pro/9461/#entry82230

#606 alacran

alacran

    Frequent Member

  • Advanced user
  • 173 posts
  •  
    Mexico

Posted 11 September 2012 - 06:02 PM

Steve

I want to report it is working with pagefile in the USB HDD now, thanks for your suggestion,
It is a little ticky to configure it, but once done works great.
Win7 in USB HDD can now be used for recovery pourposes (useing some applications related) without the risk to overwrite any files in the internal drive.

Thanks again.

#607 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 06 October 2012 - 01:58 PM

RMPrepUSB v2.1.650 is due out soon - if anyone would like to contribute a language ini file for it or enhance or correct an existing language file, please send it to me within the next few weeks. Instructions on how to do this are here - and it is really easy to do too!
I would especially like a Japanese.ini file.

#608 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 08 October 2012 - 05:06 PM

RMPrepUSB and RMPartUSB 2.1.650Beta available:
This version has a new Drive menu option. It allows you to set any one of the four partition table entries in the MBR as the first partition or reset the order of all 4 entries so that they are are in ascending positional order (the same order set by diskpart or Windows). This means you can have up to 4 partitions on a USB Flash drive (e.g. created with EaSeus Home Partition Manager) and then quickly make any one of the partitions visible in Windows so you can immediately access and change the files on them using Windows Explorer.
This feature is also available in RMPartUSB, so that you can use RMPartUSB in a script to load up to four partitions with files (e.g. using XCOPY). The new parameter is FIRSTPART
e.g.

RMPARTUSB DRIVE=2 FIRSTPART=3 will set the 3rd entry in the partition table on the 2nd drive to the 1st position and will swap the 1st entry to the 3rd position. This will make the 3rd partition now accessible to Windows.

Any feedback welcome...

#609 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 26 October 2012 - 11:51 AM

v2.1.651 Beta now available with two new options which are just provided to enable quick QEMU testing (not meant to replace QEMU Manager!):

Boot from ISO file using QEMU Emulator - Ctrl+F11 - User can select an ISO file and optionally create a virtual hard disk and then boot QEMU from the ISO (for instance you can install XP to a virtual hard disk using this option). This allows you to quickly test an ISO to see if it boots, etc.

Boot from Virtual HDD image using QEMU emulator - Shift+F11 - Boot from a previously installed virtual hard disk image (for instance, you can install linux to a virtual hard disk using Ctrl+F11 and then boot to the hard disk at any time later using Shift+F11). Only the RMPrepUSB hard disk image is booted, you cannot select an alternative disk image.

For instance, if you hit Ctrl+F11, you can then select an XP install ISO, choose to create a new virtual hard disk image of any size and then choose how much memory to allocate to QEMU. The ISO will then boot and you can install Phase 1 (textmode) XP to the virtual hard disk. When the XP setup phase reboots, it will reboot to the ISO file again but this time do NOT press a key to boot from the 'CD'. The QEMU BIOS will then boot from the hard disk and the ISO will still be attached as the CD and the 2nd Phase (GUI Mode) of the XP install will continue to completion successfully. Note: Because QEMU is verrrry slow, this can take 4-6 hours!

You now have a virtual hard disk which is installed with XP. You can now run this at any time using Shift+F11.

You could also install linux or freedos from an ISO to a virtual hard disk in the same way.

#610 fuwi

fuwi

    Frequent Member

  • Expert
  • 130 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 22 November 2012 - 10:19 AM

hi steve

I have a problem with RMPARTUSB.exe and this new series of Sandisk USB-Sticks - Sandisk Ultra, Sandisk Cruzer Blade, Sandisk CruzerEdge, Sandisk Cruzer Fit - different capacitys (8GB, 32GB).

Formatting NTFS with RMPARTUSB -> no error


Formatting Fat32 with RMPARTUSB -> i get this error:

RMPARTUSB Error:


COMMAND LINE: DRIVE=3 XP FAT32 2PTN SURE VOLUME=Initialize

RMPARTUSB v2.1.650 ©2012 RM Education plc [SSi]
=================================================

Volume name requested=Initialize
Accessing Drive 3 - "SanDisk Ultra" (32'015'679'488 bytes)

Using Cyl:Hd:Sec translation of 3892:255:63
Partition type = 0C hexP1 ends at cylinder 3892.3474011827
Partition 1 starts at LBA 63, size=62530498 sectors (Active)
Disk Signature (1b8-1bb) = 37 F9 49 04
2PTN - 2nd hidden partition starts at LBA 62530561, size=63 sectors

------ NOW PREPARING DRIVE 3 ----------

New MBR written OK
Clearing out old VBRs (LBA 1-100)
FORMATTING AS FAT32
FAT32 Boot type set to FAT32NTLDR
15h Media Descriptor: F8h
40h Drive Number: 80h (hard disk)
Writing FAT tables starting at 154 = 0% 3% 6% 10% 13% 16% 20% 23% 26%
*** ERROR *** clearing sectors at 8347 for 1024 zero'd

ERROR: Access is denied.

Exitcode = 7

I have tried with different versions of RMPARTUSB.exe (2.1.633, 2.1.647, 2.1.650) -> always the same error.

fuwi

#611 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 22 November 2012 - 10:37 AM

Maybe they are some sort of 4K sector drive?
Could you try using Disk Doctor (hit Ctrl-D) - make sure the USB drive is selected and try reading 1 sector from LBA 0 and writing it back.
Repeat this for LBA 1.
4k drives don't like direct writes to sectors that are not on a 4k boundary and don't like writes of less than 8 sectors (4k) (i.e. modulo 8 sectors).

RMPrepUSB FAT formatting uses direct writes...

P.S. Which one is the cheapest that shows the issue - I will buy one to test it...?

P.P.S. try adding DEBUG to command line to see what diagnostics you get...

#612 fuwi

fuwi

    Frequent Member

  • Expert
  • 130 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 22 November 2012 - 11:17 AM

Hi steve

Disk Doctor:
Reading 1 sectors starting at LBA 0 on drive 3
Time taken= 0 seconds for 1 sectors.
Finished!

Writing 1 sectors starting at LBA 0 on drive 3
Time taken= 3.90625E-03 seconds for 1 sectors.
Finished!

LBA 1 also success.

It seems not to be a 4k sector problem.


The error is reproducable for example with a Sandisk Cruzer Fit 8GB (about 10.- swiss francs):

Posted Image


RMPARTUSB Error:


COMMAND LINE: DRIVE=3 XP FAT32 2PTN SURE VOLUME=Initialize

RMPARTUSB v2.1.650 ©2012 RM Education plc [SSi]
=================================================

Volume name requested=Initialize
Accessing Drive 3 - "SanDisk Cruzer Fit" (8'004'304'896 bytes)

Using Cyl:Hd:Sec translation of 972:255:63
Partition type = 0C hexP1 ends at cylinder 973
Partition 1 starts at LBA 63, size=15631182 sectors (Active)
Disk Signature (1b8-1bb) = 42 9C 16 83
2PTN - 2nd hidden partition starts at LBA 15631245, size=63 sectors

------ NOW PREPARING DRIVE 3 ----------

New MBR written OK
Clearing out old VBRs (LBA 1-100)
FORMATTING AS FAT32
FAT32 Boot type set to FAT32NTLDR
15h Media Descriptor: F8h
40h Drive Number: 80h (hard disk)
Writing FAT tables starting at 180 = 0% 3% 6% 10% 13% 16% 20% 23% 26% 30% 33% 36
% 40% 43% 46% 50% 53% 56% 60% 63% 66% 70% 73% 76%
*** ERROR *** clearing sectors at 23639 for 1024 zero'd

ERROR: Access is denied.

Exitcode = 7

fuwi

#613 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 22 November 2012 - 11:28 AM

Thanks
Can you try a read and write of 1024 sectors starting at LBA 8347 - this was what was reported as having failed...

#614 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 22 November 2012 - 11:36 AM

P.S. Did you try a CLEAN then followed by a FAT32 Prepare Drive?

#615 fuwi

fuwi

    Frequent Member

  • Expert
  • 130 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 22 November 2012 - 11:38 AM

"SanDisk Ultra" (32'015'679'488 bytes):

Reading 1024 sectors starting at LBA 8347 on drive 3
Time taken= 1.953125E-02 seconds for 1024 sectors.
Finished!

Writing 1024 sectors starting at LBA 8347 on drive 3
22.11.2012 12:35:30 Slow xfer (<10MB/s) at 8347 for 1024 blocks, 2MB/s
Time taken= 0.2109375 seconds for 1024 sectors.
Finished!

fuwi

#616 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 22 November 2012 - 11:40 AM

and this is same drive that gives the error you quoted???
Weird...??? Can you try adding the DEBUG option pls?

#617 fuwi

fuwi

    Frequent Member

  • Expert
  • 130 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 22 November 2012 - 11:52 AM

Success!

1. Clean -> Drive MBR has been wiped

2. Prepare Drive (no error):
Posted Image

Is it possible for you to put the code from "Clean" also in RMPARTUSB before starting a format operation?
Because i use the command line tool RMPARTUSB.exe in my own scripts.

fuwi

#618 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 22 November 2012 - 12:03 PM

Hi
Please feel free to CLEAN the drive first using RMPartUSB.
e.g.

RMPARTUSB DRIVE=8 CLEAN

#619 fuwi

fuwi

    Frequent Member

  • Expert
  • 130 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 22 November 2012 - 12:16 PM

Sorry, Correction:

The procedure above (1. Clean, 2. Prepare Drive) has worked only one time.
Repeating the procedure, it fails always with the error!

fuwi

#620 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 22 November 2012 - 01:21 PM

Is there a time delay between CLEAN and Prepare needed?

and do you have a non-Sandisk or older USB flash drive that works OK?

#621 fuwi

fuwi

    Frequent Member

  • Expert
  • 130 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 22 November 2012 - 02:25 PM

Is there a time delay between CLEAN and Prepare needed?

no: clean -> wait 30 seconds -> save remove the stick -> re-insert the stick -> wait 30 seconds -> Prepare Drive -> the error occures


and do you have a non-Sandisk or older USB flash drive that works OK?

I use your RMPARTUSB utility since about 2 years with many different USB-Sticks from different vendors, and i never had a problem until yet.
Also no problems with the older Sandisk-Sticks (Sandisk Cruzer Crossfire etc).


I think, Sandisk has a new usb-controller build in this new generation of sticks, which makes this problems.

fuwi

#622 fuwi

fuwi

    Frequent Member

  • Expert
  • 130 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 23 November 2012 - 11:07 AM

Hi steve,

I beg your pardon, i think this was a false alarm...

Not the new Sandisk USB-Sticks are the problem, the problem seems to be on my office computer (USB-controller or what ever).
(today i had this problem with older non-SanDisk sticks too).

I have installed RMPREPUSB on a other computer, and here i can format all this new SanDisk sticks successfully.

I hope, you have not invested too much work to solve a problem which does not exist... :wub:

fuwi

#623 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,340 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 23 November 2012 - 11:09 AM

OK, no problem. What is your Office computer? What OS? Which AntiVirus does it have? Is it locked down by IT dept in any way?
cheers
Steve

#624 fuwi

fuwi

    Frequent Member

  • Expert
  • 130 posts
  • Location:Switzerland
  •  
    Switzerland

Posted 23 November 2012 - 11:25 AM

What is your Office computer? What OS? Which AntiVirus does it have?

It's a HP Compaq 8100 Elite Convertible Minitower with Windows 7 64-bit, Antivirus = Microsoft Security Essentials

Is it locked down by IT dept in any way?

I work in the IT dept, so i have full control over my computer... :thumbsup:

fuwi

#625 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 10,862 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 23 November 2012 - 01:16 PM

It's a HP Compaq 8100 Elite Convertible Minitower with Windows 7 64-bit, Antivirus = Microsoft Security Essentials

Fuwi, cannot say if you are familiar with it :unsure: but HP has made an USB formatting tool that you may want to try..... :whistling:

:heh: :rofl2:

We don't have a smiley for "ducking quickly", do we? :dubbio:

I'll ask my usual .gif supplier if he can make one...

:cheers:
Wonko