-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
Description
(.astro) frd@sagittarius:~/workspace/SkiffOS$ sudo -s
root@sagittarius:/home/frd/workspace/SkiffOS# export PI_SD=/dev/sdc
root@sagittarius:/home/frd/workspace/SkiffOS# make cmd/pi/common/format
make[1]: Entering directory '/home/frd/workspace/SkiffOS/build'
make[2]: Entering directory '/home/frd/workspace/SkiffOS/configs/pi/common/extensions'
Are you sure? This will completely destroy all data. [y/N] y
Verify that '/dev/sdc' is the correct device. Be sure. [y/N] y
+ echo 'Zeroing out partition table...'
Zeroing out partition table...
+ sudo dd if=/dev/zero of=/dev/sdc conv=fsync bs=1024 count=4900
4900+0 records in
4900+0 records out
5017600 bytes (5.0 MB, 4.8 MiB) copied, 0.431713 s, 11.6 MB/s
+ echo 'Formatting device...'
Formatting device...
+ sudo parted /dev/sdc mklabel msdos
Information: You may need to update /etc/fstab.
+ sleep 1
+ echo 'Making boot partition...'
Making boot partition...
+ sudo parted -a optimal /dev/sdc -- mkpart primary fat32 0% 8G
Information: You may need to update /etc/fstab.
+ echo 'Making rootfs partition...'
Making rootfs partition...
+ sudo parted -a optimal /dev/sdc -- mkpart primary ext4 8G 10G
Information: You may need to update /etc/fstab.
+ echo 'Making persist partition...'
Making persist partition...
+ sudo parted -a optimal /dev/sdc -- mkpart primary ext4 10G -1s
Error: partition length of 7794505392 sectors exceeds the msdos-partition-table-imposed maximum of 4294967295
make[2]: *** [Makefile:2: format] Error 1
make[2]: Leaving directory '/home/frd/workspace/SkiffOS/configs/pi/common/extensions'
make[1]: *** [Makefile:10: cmd/pi/common/format] Error 2
make[1]: Leaving directory '/home/frd/workspace/SkiffOS/build'
make: *** [Makefile:2 : cmd/pi/common/format] Erreur 2
Drive is 4TB, may be it is too big ...
https://www.samsung.com/fr/memory-storage/nvme-ssd/990-pro-4tb-nvme-pcie-gen-4-mz-v9p4t0bw/
Reactions are currently unavailable