Jump to content











Photo
- - - - -

How to use BootICE creat two partitions (command line)

bootice

  • Please log in to reply
12 replies to this topic

#1 meoit

meoit

    Newbie

  • Members
  • 23 posts
  • Location:Linux
  •  
    Thailand

Posted 05 October 2016 - 10:25 AM

Hi all.

 

I am searching method to re-partitioning my USB with BootICE in CommandLine

 

I want to BootICE creat two partitions by using command line.

 

Someone help me.



#2 Wonko the Insane

Wonko the Insane

    Frequent Member

  • Advanced user
  • 498 posts
  • Location:The Inside of the Asylum (gate is wide open)
  • Interests:Oh, so you hate me too? Well, join the club! There are weekly meetings at the corner of Fuck You St. and Kiss My Ass Blvd.

Posted 05 October 2016 - 10:57 AM

Why BootICE? There are much better partitioning tools out there.



#3 meoit

meoit

    Newbie

  • Members
  • 23 posts
  • Location:Linux
  •  
    Thailand

Posted 05 October 2016 - 11:29 AM

I need re-partition in CMD, no GUI, no DiskPart. I like BootICE but I don't know it support cmd to creat two partitions...



#4 Wonko the Insane

Wonko the Insane

    Frequent Member

  • Advanced user
  • 498 posts
  • Location:The Inside of the Asylum (gate is wide open)
  • Interests:Oh, so you hate me too? Well, join the club! There are weekly meetings at the corner of Fuck You St. and Kiss My Ass Blvd.

Posted 05 October 2016 - 12:09 PM

@meowit: So, it seems you use Linux as your main OS.....but you want to use Windows-based tools to create partitions? Why not just use Gparted/parted or gptfdisk/fdisk, etc.?


  • meoit likes this

#5 meoit

meoit

    Newbie

  • Members
  • 23 posts
  • Location:Linux
  •  
    Thailand

Posted 05 October 2016 - 01:20 PM

Main OS: Windows.



#6 devdevadev

devdevadev

    Frequent Member

  • Advanced user
  • 340 posts
  •  
    India

Posted 05 October 2016 - 03:12 PM

Same problem here....

 

But I have just manage from somewhere to create 3 partition in my removable usb drive by using my 'SMART_USB.cmd'...

:Erase
cls& color 4F& echo.& echo Please wait...& echo.
ptn\bootice.exe /DEVICE=%DD% /partitions /repartition /usb-hdd /vollabel=DEV /fstype=fat32 /quiet


:Size
cls& color 1F& echo.& echo Please wait....& echo.&echo.&echo.
set data=
SET /P Size=CHOOSE SIZE FOR DATA?    (1GB-10GB):   
IF /I '%Size%'=='' (
echo.& echo ERROR: You must enter 1GB-10GB to continue...& echo.& pause>nul& cls& goto :Size
)
echo.
IF %Size%==1 set data=1030 & goto :repartition
IF %Size%==2 set data=2060 & goto :repartition
IF %Size%==3 set data=3080 & goto :repartition
IF %Size%==4 set data=4110 & goto :repartition
IF %Size%==5 set data=5130 & goto :repartition
IF %Size%==6 set data=6160 & goto :repartition
IF %Size%==7 set data=7190 & goto :repartition
IF %Size%==8 set data=8210 & goto :repartition
IF %Size%==9 set data=9230 & goto :repartition
IF %Size%==10 set data=10250 & goto :repartition
echo.& echo  ERROR: You must enter 1GB-10GB to continue...& echo.& pause>nul& cls& goto :Size


:repartition
cls& color 2F& echo.
ptn\partassist.exe /hd:%DD% /del:all
cls& color 3F& echo.
ptn\partassist.exe /hd:%DD% /cre /pri /size:19 /end /fs:fat16 /act /hide /align /label:UEFI /letter:Z
cls& color 4F& echo.
ptn\partassist.exe /hd:%DD% /cre /pri /size:%data% /fs:fat32 /align /label:DEV /letter:Y
cls& color 5F& echo.
ptn\partassist.exe /hd:%DD% /cre /pri /size:auto /fs:ntfs /act /align /label:SMART USB /letter:X
cls& color 6F& echo.
May be it can help you a bit ?
 
Regards..

  • meoit likes this

#7 meoit

meoit

    Newbie

  • Members
  • 23 posts
  • Location:Linux
  •  
    Thailand

Posted 06 October 2016 - 01:29 AM

Thanks to DevDevADev.

 

But this method is using Aomei Partition.  :suda:



#8 meoit

meoit

    Newbie

  • Members
  • 23 posts
  • Location:Linux
  •  
    Thailand

Posted 09 October 2016 - 02:21 AM

Someone help me.



#9 devdevadev

devdevadev

    Frequent Member

  • Advanced user
  • 340 posts
  •  
    India

Posted 09 October 2016 - 07:35 AM

Sorry Bro....Currently BOOTICE does not support multi-partition by command line. "Partassist.exe' is currently the best choice for the same. BTW, i have tried to contacted 'Pauly' to add some new feature in next Beta....You can also do the same for quick resolution of the thread...

 

Regards..


  • meoit likes this

#10 meoit

meoit

    Newbie

  • Members
  • 23 posts
  • Location:Linux
  •  
    Thailand

Posted 15 October 2016 - 12:52 AM

We must have some way instead. Someone help me. :)



#11 Atari800XL

Atari800XL

    Member

  • Members
  • 72 posts
  •  
    Netherlands

Posted 15 October 2016 - 08:53 AM

Use AutoIt or similar to create some sort of "silent" diskpart script launcher.

You could even use nicrmd to launch diskpart /s silently.

Of course, you would have to program it yourself and make sure you format the correct drive...



#12 meoit

meoit

    Newbie

  • Members
  • 23 posts
  • Location:Linux
  •  
    Thailand

Posted 15 October 2016 - 01:25 PM

So, how to creat two partitions for USB by using DiskPart Script?. :)



#13 wimb

wimb

    Gold Member

  • Developer
  • 2281 posts
  •  
    Netherlands

Posted 16 October 2016 - 07:21 AM

UFD_FORMAT.exe - Tool to format USB-stick for Booting with Boot Manager Menu on BIOS or UEFI computer and
Tool to make USB-Stick having two partitions - FAT32 Boot partition for WIM or ISO and NTFS System partition for VHD.

 

http://reboot.pro/to...140-ufd-format/

 

USB_Part_Flip.exe to Exchange Partition Table Entries in MBR of USB-Stick -
allows to change which primary partition of the USB-stick is visible in Windows







Also tagged with one or more of these keywords: bootice

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users