mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge pull request #3680 from MilhouseVH/fix_create_sdcard
[rbp] Update create_sdcard script so that it creates a 256MiB system partition
This commit is contained in:
@@ -195,10 +195,10 @@ echo "#########################################################"
|
||||
|
||||
# create a single partition
|
||||
echo "creating partitions on $DISK..."
|
||||
parted -s "$DISK" unit cyl mkpart primary fat32 -- 0 16
|
||||
# align the partition on 4mb boundary, starting at 132mb (132 % 4 == 0), which
|
||||
parted -s "$DISK" mkpart primary fat32 -- 0 256MiB
|
||||
# align the partition on 4mb boundary, starting at 260mb (260 % 4 == 0), which
|
||||
# is right after the first partition
|
||||
parted -s "$DISK" mkpart primary ext2 -- 132MiB -2cyl
|
||||
parted -s "$DISK" mkpart primary ext2 -- 260MiB -2cyl
|
||||
|
||||
# make partition active (bootable)
|
||||
echo "marking partition active..."
|
||||
|
||||
Reference in New Issue
Block a user