Last active
January 30, 2022 17:10
-
-
Save gusenov/7e04dc229416a352a59cd05a2c2d1443 to your computer and use it in GitHub Desktop.
sudo ./Ventoy2Disk.sh -I -s -g -r 1430772 -L HDD-exFAT /dev/sdc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> | |
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en-US' lang='en-US'> | |
<head> | |
<meta http-equiv='Content-Type' content='text/html;charset=utf-8' /> | |
<title>GParted Details</title> | |
<style type='text/css'> | |
table {border:0} | |
th {text-align:left} | |
.number_col {text-align:right} | |
</style> | |
</head> | |
<body> | |
<p>GParted 1.0.0</p> | |
<p>configuration --enable-libparted-dmraid --enable-online-resize</p> | |
<p>libparted 3.3</p> | |
<p>========================================</p> | |
<table> | |
<tr><th>Device:</th><td>/dev/sda</td></tr> | |
<tr><th>Model:</th><td>ATA ST9500325AS</td></tr> | |
<tr><th>Serial:</th><td>6VE61AQ6</td></tr> | |
<tr><th>Sector size:</th><td>512</td></tr> | |
<tr><th>Total sectors:</th><td>976773168</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
<tr><th>Heads:</th><td>255</td></tr> | |
<tr><th>Sectors/track:</th><td>2</td></tr> | |
<tr><th>Cylinders:</th><td>1915241</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
<tr><th>Partition table:</th><td>msdos</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
</table> | |
<table> | |
<tr><th>Partition</th><th>Type</th><th class='number_col'>Start</th><th class='number_col'>End</th><th>Flags</th><th>Partition Name</th><th>File System</th><th>Label</th><th>Mount Point</th></tr> | |
<tr><td>/dev/sda1</td><td>Primary</td><td class='number_col'>2048</td><td class='number_col'>976773119</td><td></td><td></td><td>exfat</td><td>Backup</td><td></td></tr> | |
</table> | |
<p>========================================</p> | |
<table> | |
<tr><th>Device:</th><td>/dev/sdb</td></tr> | |
<tr><th>Model:</th><td>ATA KINGSTON SUV400S</td></tr> | |
<tr><th>Serial:</th><td>50026B726801DB7E</td></tr> | |
<tr><th>Sector size:</th><td>512</td></tr> | |
<tr><th>Total sectors:</th><td>234441648</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
<tr><th>Heads:</th><td>255</td></tr> | |
<tr><th>Sectors/track:</th><td>2</td></tr> | |
<tr><th>Cylinders:</th><td>459689</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
<tr><th>Partition table:</th><td>gpt</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
</table> | |
<table> | |
<tr><th>Partition</th><th>Type</th><th class='number_col'>Start</th><th class='number_col'>End</th><th>Flags</th><th>Partition Name</th><th>File System</th><th>Label</th><th>Mount Point</th></tr> | |
<tr><td>/dev/sdb1</td><td>Primary</td><td class='number_col'>2048</td><td class='number_col'>1050623</td><td>boot, esp</td><td>EFI System Partition</td><td>fat32</td><td></td><td>/boot/efi</td></tr> | |
<tr><td>/dev/sdb2</td><td>Primary</td><td class='number_col'>1050624</td><td class='number_col'>234440703</td><td></td><td></td><td>ext4</td><td></td><td>/</td></tr> | |
</table> | |
<p>========================================</p> | |
<table> | |
<tr><th>Device:</th><td>/dev/sdc</td></tr> | |
<tr><th>Model:</th><td>StoreJet Transcend</td></tr> | |
<tr><th>Serial:</th><td>WD-WX41EB904Z6H</td></tr> | |
<tr><th>Sector size:</th><td>512</td></tr> | |
<tr><th>Total sectors:</th><td>3907029168</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
<tr><th>Heads:</th><td>255</td></tr> | |
<tr><th>Sectors/track:</th><td>2</td></tr> | |
<tr><th>Cylinders:</th><td>7660841</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
<tr><th>Partition table:</th><td>gpt</td></tr> | |
<tr><td colspan='2'> </td></tr> | |
</table> | |
<table> | |
<tr><th>Partition</th><th>Type</th><th class='number_col'>Start</th><th class='number_col'>End</th><th>Flags</th><th>Partition Name</th><th>File System</th><th>Label</th><th>Mount Point</th></tr> | |
<tr><td>/dev/sdc1</td><td>Primary</td><td class='number_col'>2048</td><td class='number_col'>976742535</td><td>msftdata</td><td>Ventoy</td><td>exfat</td><td>HDD-exFAT</td><td></td></tr> | |
<tr><td>/dev/sdc2</td><td>Primary</td><td class='number_col'>976742536</td><td class='number_col'>976808071</td><td>hidden, msftdata</td><td>VTOYEFI</td><td>fat16</td><td>VTOYEFI</td><td></td></tr> | |
</table> | |
<p>========================================</p> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<b>Create Primary Partition #1 (ntfs, 465.75 GiB) on /dev/sdc</b> 00:00:08 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
create empty partition 00:00:02 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>path: /dev/sdc3 (partition)<br />start: 976809984<br />end: 1953550335<br />size: 976740352 (465.75 GiB)</i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
clear old file system signatures in /dev/sdc3 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 512.00 KiB of zeros at byte offset 0 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 67108864 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 274877906944 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 512.00 KiB of zeros at byte offset 500090535936 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 500090994688 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 8.00 KiB of zeros at byte offset 500091052032 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
flush operating system cache of /dev/sdc 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
set partition type on /dev/sdc3 00:00:01 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>new partition type: ntfs</i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
create new ntfs file system 00:00:05 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<b><i>mkntfs -Q -v -F -L 'HDD-NTFS' '/dev/sdc3'</i></b> 00:00:05 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>Cluster size has been automatically set to 4096 bytes.<br />Creating NTFS volume structures.<br />Creating root directory (mft record 5)<br />Creating $MFT (mft record 0)<br />Creating $MFTMirr (mft record 1)<br />Creating $LogFile (mft record 2)<br />Creating $AttrDef (mft record 4)<br />Creating $Bitmap (mft record 6)<br />Creating $Boot (mft record 7)<br />Creating backup boot sector.<br />Creating $Volume (mft record 3)<br />Creating $BadClus (mft record 8)<br />Creating $Secure (mft record 9)<br />Creating $UpCase (mft record 0xa)<br />Creating $Extend (mft record 11)<br />Creating system file (mft record 0xc)<br />Creating system file (mft record 0xd)<br />Creating system file (mft record 0xe)<br />Creating system file (mft record 0xf)<br />Creating $Quota (mft record 24)<br />Creating $ObjId (mft record 25)<br />Creating $Reparse (mft record 26)<br />Syncing root directory index record.<br />Syncing $Bitmap.<br />Syncing $MFT.<br />Updating $MFTMirr.<br />Syncing device.<br />mkntfs completed successfully. Have a nice day.<br /></i> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i></i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<p>========================================</p> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<b>Create Primary Partition #2 (ext4, 465.75 GiB) on /dev/sdc</b> 00:00:49 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
create empty partition 00:00:01 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>path: /dev/sdc4 (partition)<br />start: 1953550336<br />end: 2930290687<br />size: 976740352 (465.75 GiB)</i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
clear old file system signatures in /dev/sdc4 00:00:01 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 512.00 KiB of zeros at byte offset 0 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 67108864 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 274877906944 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 512.00 KiB of zeros at byte offset 500090535936 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 500090994688 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 8.00 KiB of zeros at byte offset 500091052032 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
flush operating system cache of /dev/sdc 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
set partition type on /dev/sdc4 00:00:01 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>new partition type: ext4</i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
create new ext4 file system 00:00:46 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<b><i>mkfs.ext4 -F -O ^64bit -L 'HDD-Ext4' '/dev/sdc4'</i></b> 00:00:46 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>64-bit filesystem support is not enabled. The larger fields afforded by this feature enable full-strength checksumming. Pass -O 64bit to rectify.<br />Creating filesystem with 122092544 4k blocks and 30523392 inodes<br />Filesystem UUID: f444f5ab-db2e-459b-ae04-c8ad10ce4868<br />Superblock backups stored on blocks: <br /> 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, <br /> 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, <br /> 102400000<br /><br />Allocating group tables: done <br />Writing inode tables: done <br />Creating journal (262144 blocks): done<br />Writing superblocks and filesystem accounting information: done <br /><br /></i> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>mke2fs 1.45.5 (07-Jan-2020)<br /></i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<p>========================================</p> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<b>Create Primary Partition #3 (hfs+, 465.75 GiB) on /dev/sdc</b> 00:00:07 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
create empty partition 00:00:02 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>path: /dev/sdc5 (partition)<br />start: 2930290688<br />end: 3907028991<br />size: 976738304 (465.75 GiB)</i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
clear old file system signatures in /dev/sdc5 00:00:01 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 512.00 KiB of zeros at byte offset 0 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 67108864 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 274877906944 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 512.00 KiB of zeros at byte offset 500089487360 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 4.00 KiB of zeros at byte offset 500089946112 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
write 8.00 KiB of zeros at byte offset 500090003456 00:00:00 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
flush operating system cache of /dev/sdc 00:00:01 ( SUCCESS ) | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
set partition type on /dev/sdc5 00:00:01 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>new partition type: hfs+</i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
create new hfs+ file system 00:00:03 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<b><i>mkfs.hfsplus -v 'HDD-HFS+' '/dev/sdc5'</i></b> 00:00:03 ( SUCCESS ) | |
</td> | |
</tr> | |
<tr> | |
<td> </td> | |
<td> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i>Initialized /dev/sdc5 as a 466 GB HFS Plus volume<br /></i> | |
</td> | |
</tr> | |
</table> | |
<table> | |
<tr> | |
<td colspan='2'> | |
<i></i> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
********************************************** | |
Ventoy: 1.0.64 x86_64 | |
longpanda [email protected] | |
https://www.ventoy.net | |
********************************************** | |
Disk : /dev/sdc | |
Model: StoreJet Transcend (scsi) | |
Size : 1863 GB | |
Style: GPT | |
You will reserve 1430772 MB disk space | |
Attention: | |
You will install Ventoy to /dev/sdc. | |
All the data on the disk /dev/sdc will be lost!!! | |
Continue? (y/n) y | |
All the data on the disk /dev/sdc will be lost!!! | |
Double-check. Continue? (y/n) y | |
Create partitions on /dev/sdc by parted in GPT style ... | |
Done | |
Wait for partitions ... | |
partition exist OK | |
create efi fat fs /dev/sdc2 ... | |
mkfs.fat 4.1 (2017-01-24) | |
success | |
Wait for partitions ... | |
Wait for /dev/sdc1//dev/sdc2 ... | |
/dev/sdc1 exist OK | |
/dev/sdc2 exist OK | |
partition exist OK | |
Format partition 1 /dev/sdc1 ... | |
mkexfatfs 1.3.0 | |
Creating... done. | |
Flushing... done. | |
File system created successfully. | |
mkexfatfs success | |
writing data to disk ... | |
sync data ... | |
esp partition processing ... | |
Install Ventoy to /dev/sdc successfully finished. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment