Skip to main content
deleted 1 characters in body
Source Link
antonio
  • 1.5k
  • 3
  • 20
  • 40

With this line:

(echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo 87;7; echo w) | fdisk /dev/sda

I can create a new active primary partition for NTFS, 24 Giga large. The syntax is ugly but effective.

How can I do the same with parted or sfdisk?

With this line:

(echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo 87; echo w) | fdisk /dev/sda

I can create a new active primary partition for NTFS, 24 Giga large. The syntax is ugly but effective.

How can I do the same with parted or sfdisk?

With this line:

(echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo 7; echo w) | fdisk /dev/sda

I can create a new active primary partition for NTFS, 24 Giga large. The syntax is ugly but effective.

How can I do the same with parted or sfdisk?

typo in partition ID
Source Link
antonio
  • 1.5k
  • 3
  • 20
  • 40

With this line:

(echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo c;87; echo w) | fdisk /dev/sda

I can create a new active primary partition for NTFS, 24 Giga large. The syntax is ugly but effective.

How can I do the same with parted or sfdisk?

With this line:

(echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo c; echo w) | fdisk /dev/sda

I can create a new active primary partition for NTFS, 24 Giga large. The syntax is ugly but effective.

How can I do the same with parted or sfdisk?

With this line:

(echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo 87; echo w) | fdisk /dev/sda

I can create a new active primary partition for NTFS, 24 Giga large. The syntax is ugly but effective.

How can I do the same with parted or sfdisk?

Source Link
antonio
  • 1.5k
  • 3
  • 20
  • 40

Specify partition data in sfdisk and parted

With this line:

(echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo c; echo w) | fdisk /dev/sda

I can create a new active primary partition for NTFS, 24 Giga large. The syntax is ugly but effective.

How can I do the same with parted or sfdisk?