You are not logged in.
Pages: 1
Hi,
I'm trying to install arch on a new computer. I'm following the beginner's guide here, but am stuck in the following section: http://wiki.archlinux.org/index.php/Beg … rage_drive
I can partition with cfdisk as in the example fine, but when I attempt to assign the filesystem partition I get the following "error": "/dev/sda1 alignment is offset by 512 bytes"
It's an "error" inasmuch as I could proceed from here (I think), but obviously I would like to sort this out before I do that. Any ideas?
Thanks in advance.
Offline
Use fdisk or gdisk to generate partitions. The former if you want MBR and the latter if you want GPT.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Thanks for your suggestion graysky. I read up on using fdisk (I thought cfdisk was just a more user-friendly wrapper for it) and have partitioned using this now, it seems to have worked okay.
DSpider, believe it or not, I managed to do that before I posted here.
Offline
Partition Alignment? Is this for an SSD? ... owe, but ya, all new 2.5" HDD's are 4K now and New, new normal HDD are 4K too, thus they require alignment aswell. ( I deployed >60 Dell computers over summer brake, and they came with a warning slip about it.)
Personaly, I just use GPT now instead of MBR. The new tool is gdisk which is part of the gptfdisk package in the extra repo. GPT paritions self-align... to I think 1MB.. hum, look that up. However, you'll have to create that special BIOS GPT partition if you want to use grub-bios. LVM2 and cryptsetup auto-allign now aswell.
Make sure you align your filesystem too.
For 512K erase block size
mkfs.ext4 -b 4096 -E stride=128,stripe-width=128 /dev/sdX#
EDIT: changed grub2-bios to grub-bios. Thank you for the correction DSpider
Last edited by hunterthomson (2012-10-04 05:45:24)
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
hunterthomson, grub2-bios has been renamed "grub-bios" since July, according to the GRUB wiki article's history page.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Pages: 1