linux: utility to find good partition alignment on ssd
location: linuxexchange.com - date: January 1, 1970
I am getting a new SSD.
is there a linux utility that aids me by recommending/choosing/checking the correct partition (and potentially ext4) parameters to avoid the performance penalty?
my "default" is to simply create two partitions with fdisk according to its knowledge of the SSD, the first one starting whatever fdisk prompts me with, the second one starting about +32G beyond it and going to the end.
(in 2013, linux mint olivia, having to worry about partitions seems anachronistic. the linux fdisk and mkfs.ext4 utilities should really determine this for themselves and discard any early sectors that should not be used automatically, and set the correct erase block width. or do they do this already?)
Hard drive / partition alignment error...
location: linuxquestions.com - date: November 7, 2012
I installed a new drive, and after partitioning GParted, and re-scanning, I got, "the partition is misaligned by 3072 bytes".
ext3, and NTFS formatting produced same error.
I wiped it, another GPT, and 3 more partitions. Re-scan, and same error. GParted, and 'DiskUtility' whined about the same error.
I booted W7, wiped, re-partitioned, with GPT, and same size partitions, NTFS. Windows said "I'm happy". SURPRISE!!!
THEN, I re-booted Ubuntu. Same alignment error. ???
Google says older Linux (10.04 old???) partitioning utilities are prone to alignment errors. I WOULDN'T count on that, EXCEPT that the error came up on Windows-created partitions too.
Resizing A Linux Mint Partition?
location: ubuntuforums.com - date: April 7, 2012
Linux Mint v12 x64 upgraded from Ubuntu 10.10. This install was originally on a 20GB hard drive and yesterday I used Clonezilla to move Mint to an 80GB drive so I can install Virtual Box then Windows inside that.
I'm having problems trying to get Mint to use the entire 80GB on that drive as that partition is only like 20GB. I've tried Mint LIve using GParted but all I seem to be able to do with that is shrink that original 20GB partition. The remaining 60GB on that drive is listed as "Free" and is not formatted with anything at the moment.
So does anyone know how I can make use of this entire drive without having to format and reinstall Mint? I have a limited use 3G USB Data Card connection so I really don't want to have to download all those updates over again.
Migrating Wubi Installation: Creating "type 83 Linux" partition to move Wubi into.
location: ubuntuforums.com - date: April 3, 2013
I've been an Ubuntu fan since 10.04 but I've never had to use Wubi (nor the forum, sorry if I leave anything out) to install Ubuntu before (Can't install from USB anymore); I'm now running 12.10.
I'm running two HDDs in my Gateway FX, and I assume that "sdb" is the drive I am migrating to ('/host' is mounted on sdb2).
When I followed the "Simplified" (meaning vague) instructions on migrating Wubi, I got an issue in the terminal saying "/dev/sdb1 is mounted - please unmount and try again," as well as "partition /dev/sdb1 must be type 83 - Linux." After 2 hours of relentless searching, all I've learned is that it MUST be a clean, "type 83 - Linux" partition.
My question that I submit to you: "How do I create a 'type 83 - Linux' partition and how big should it be?" In addition, what is a 'swap' drive and is it necessary for migrating the Wubi installation? I've got no shortage of RAM if that is a factor at all for the 'swap.'
How To use Linux Swap Partition as windows Swap file
location: ubuntuforums.com - date: August 28, 2006
I came across this neat little trick while researching another issue, installed it and have been running it for about two weeks. That being said, I only use win XP for morrowind, so I can't say I've fully verified this programs functionality.
How to use linux swap partition as windows swap file:
1. Go to the website below, and download the swapfs zip file to a windows accessible folder:
2. Write down the location of your linux swap partition (for example, mine is the 4th partition on the first drive; /dev/hda4 or (hd0,4). hda=hd0, hdb=hd2, etc... If your drive is sdaX, check your bios settings to determine which drive it is.
(Do not include extended partitions, only primary and logical).
3. Extract the contents of the zip file to its own folder, and open up the file "swapfs.reg" for editing, changing the two lines that read "\\Device\\Harddisk0\\Partition1" to the location of your linux swap partition (in
Would a Linux swap partition work as a FreeBSD swap partition?
location: linuxquestions.com - date: June 26, 2013
I understand that a single linux swap partition could work as a swap partition for multiple distros, but could I use the same partition as a FreeBSD swap partition?
[SOLVED] How to read linux xfs partition from windows?
location: ubuntuforums.com - date: August 21, 2008
I tried googling for the answer to the above question and came acroos many tutorials that showed how to install tools on windows so that linux filesystem partitions, such as ext2/3/4 and rieserfs can be accessed from windows. But no tutorial on how to do it with xfs without installing a linux virtual machine on windows. The thing is I use windows only for a few spwcific purposes and have only a 9.5 GB partition (the only NTFS partition on my machine) allocated to it. So that I cannot afford to install a linux virt machine because that would waste valuable disk space and is redundant.
Many articles said that support for xfs on windows was non-existent and many others pointed to a site link (www.crossmeta.com) which has expired. The link they said had windows drivers that enabled xfs r/w support.
So can anyone help me in this regard.
Many thanks in advance.
partition alignment without fdisk defaults
location: ubuntuforums.com - date: April 10, 2012
I came across the change in linux fdisk. In 11.10, the default start sector for a new partition is 2048. I accustomed to the earlier value of 63 in older versions. I wanted to go back to 63, since I don't like all the unallocated sectors.
After reading about possible reasons for the change, the main one seems to be the recent arrival of some drives with 4096-byte physical sectors. Starting at sector 63 causes misalignment of the partitions in these drives, slowing things down.
So, after searching around, I can't understand why they want to start at sector #2048. All that is needed is a multiple of 8, right? The only other suggested start start sector was 64, which is the start of the 9th 4k sector, but I suspect the author was restricted by the lower limit of 63 sectors in the older version of fdisk, and he could not choose a lower multiple.
Now that I know that 63 is also silly, I want to go even lower!
I am not limited by fdisk(I will be using "parted" instea
3Tb drive 4096 sector partition alignment
location: ubuntuforums.com - date: September 29, 2012
I'm in the process of setting up Ubuntu 12.04 LTS Server for my home server, and am installing a Seagate Barracuda 3Tb drive as the data drive called /dev/sdb (Ubuntu is happily installed on an SSD - /dev/sda).
I've realised that I have to use parted because fdisk doesn't like drives larger than 2Tb.
I've run parted -a optimal /dev/sdb, then created a primary partition over all of the drive. Seems to work okay.
Within parted, the align check always comes back as aligned.
I then use mkfs.ext4 to create an ext4 filesystem on that single partition. Again, it seems to work fine.
However, if I do a sudo fdisk -l, it tells me under /dev/sdb that Partition 1 does not start on the physical sector boundary.
Which program is telling the truth?
Hope someone can help. This drive will be storing all of our movies, photos etc, so I don't want to take any chance with the partition being out of alignment and it becoming unstable or slow.
Regards, and thanks in advanc
[SOLVED] how to install grub2 on the linux mint partition
location: linuxquestions.com - date: July 16, 2013
I boot up linux mint from CentOS 6.1 bootloader with a line:
Page: 1 2 3 4 5 6 7 8 9 10