You are not logged in.
Pages: 1
Hi everyone!!
i just following the archlinux beginer guide but when i start to create a partition the parted tool give me this error:
parted -s /dev/sda -a optimal -- mklabel msdos
parted -s /dev/sda -a optimal -- unit mib mkpart primary 1 100 set 1 boot on
parted -s /dev/sda -a optimal -- unit mib mkpart primary 100 4gib
parted -s /dev/sda -a optimal -- unit mib mkpart primary linux-swap 4gib 6gib
Error: You requested a partition from 4096MiB to 6144MiB (Sectors 8388608..12582912).
The closest location we can manage is 4096MiB to 6144MiB (Sectors 8388609..12582912).
Thnak to everyone!!!
Last edited by marcokrtsho (2015-10-20 10:34:18)
Offline
try running the commands manually without using "-s"
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
try running the commands manually without using "-s"
Thakn you for replay....i try to do it manually but gives me the same error...
thank you again!
Offline
if i convert 4gib to mib it works...how can be possible? i can't use mib e gib togheter?
sorry for my bad english..
Last edited by marcokrtsho (2015-10-20 16:47:45)
Offline
I also had this issue. I guess it's because you use the -a/--align option, so parted may not accept any arbitrary space given (because it tries to optimally align partitions). Use % instead or, as parted suggests, an exact value in bytes. In this case 1 sector = 512 bytes, so
parted -s /dev/sda -a optimal -- unit mib mkpart primary linux-swap 4294967808 6gib
should do the trick.
Last edited by madman_xxx (2015-10-20 23:03:44)
Offline
Instead of parted, you can try to use cfdisk which provide a GUI-like interface. It's easier.
just run
cfdisk /dev/sda
Last edited by Mithrandir (2015-10-28 15:04:56)
Offline
You can used fdisk /dev/sda
To partition, easy.
Offline
Pages: 1