You are not logged in.
Good day!
When I installed Q4OS from Live CD, I have chosen the default partitioning scheme.
Now when I checked it using fdisk, I have noticed message Partition 2 does not start on physical sector boundary.
Is it everything OK with partitioning?
Also, for what purpose these unallocated spaces are made before first and third partition? I haven`t seen in partitioning manuals, that they should be made.
Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502 If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.
Offline
I believe this is to do with partitioning being aligned to mb's rather than cylinders, it has happened on various systems I have used and i have had no ill effect on usability. Although I don't know if the free space has any purpose.
Offline
I have chosen the default partitioning scheme
What does the 'default scheme' mean exactly, which way did you choose it ?
Offline
Actually, I am not exactly chosen it (written a bit wrong, sorry).
I booted from LiveCD, then clicked on Install Q4OS, then followed setup screens, then I accepted partitioning scheme which was offered by Q4OS installer. I haven`t changed anything in partitioning screen, just accepted the default scheme which was offered by Q4OS installer.
One thing, before booting from LiveCD I wiped first two gigabytes of my HDD using sudo dd if=/dev/zero ... command.
Last edited by Rademes (2016-03-23 19:05)
Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502 If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.
Offline
I accepted partitioning scheme which was offered by Q4OS installer
The installer doesn't partition harddrive, it only shows current existing partitions on that drive. User can assign types of partitions and choose how to format them, for ex. '/', 'swap', 'home', etc...
I have noticed message Partition 2 does not start on physical sector boundary.
The partitioning you mention has existed before you ran the installer, including wrong boundary alignment. It wasn't offered by installer as an appropriate schema, but already existing partitions has been displayed.
If you want to make your own partitioning schema, you have to click 'Edit partitions' button during installation and create desired partitions manually. Alternatively you can re-partition the drive using GParted or another partitioning tool before you start installer.
Offline
The installer doesn't partition harddrive, it only shows current existing partitions on that drive.
Well, that is very strange, because I wiped first 2 gigabytes of my HDD using "sudo dd if=/dev/zero" command before running install, so old partition table should be wiped too...
Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502 If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.
Offline
... because I wiped first 2 gigabytes of my HDD using "sudo dd if=/dev/zero" command before running install...
Oh sure, you wiped drive's partitions before, we have overlooked that, sorry. In that case the installer rises a 'No partition table was found ... Yes / No' dialog and prompt you to create default/automatic partitioning scheme, you're right. This partitioning tool, as well as complete installer, is derived from Mint LMDE live-cd installer, we haven't exactly analyzed the partitioning routine. We have tested it on couple of drives and there were no physical sector overflow, all tables were aligned. It probably depends on particular harddrive type /size. Also, there shouldn't be a reason to create unallocated space, however it doesn't bother.
Offline
So, is it possible to align partitions by moving them using GParted without necessity to reinstall entire OS?
Last edited by Rademes (2016-03-24 08:18)
Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502 If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.
Offline
In addition, the Mint LMDE partitioning method aligns tables to 1MiB not physical cylinder, it results in 1MB gaps between some partitions. It's common effect on various systems, as Dai_trying wrote above.
Unfortunately we are not sure, if parted/GParted is capable to safely re-align partitions from MiBs to Cylinders. You would have to try it out on your own. You can get some valuable info from 'man parted' manual page.
Offline
http://gparted.sourceforge.net/display- … -alignment
Use MiB alignment for modern operating systems. This setting aligns partitions to start and end on precise mebibyte (1,048,576 byte) boundaries. MiB alignment provides enhanced performance when used with RAID systems and with Solid State Drives, such as USB flash drives.
The Cylinder/Head/Sector values reported by modern disk devices no longer have a direct physical relationship to the data stored on the disk device. Hence it is no longer valid to use this alignment (Cylinders) setting to achieve enhanced performance.
1. Boot Live Media
2. Run Gparted
3. Get rid of all partitions - clear drive completely
4. Create new msdos filesystem
5. Create 30Gb partition ext4 - you'll use this for /
6. Create 4gb partition - SWAP
7. Create 99xxxGb ext4 partition with whatever is left for /home
If you wish, instead, you can create an extended partition with remainder of drive after 5 - this will become sda2.
Then in that extended partition create logical drives for SWAP and /home which will be sda5 and sda6 respectively
All should be aligned on Mib as per Gparted team instructions
There will be a few spare mb floating around - this is normal.
Offline
Or alternatively you could just ignore a 1Mb loss of hdd, does that 1Mb really warrant all the effort to regain it? I usually just leave them, but that is my personal preference.
Offline
Or alternatively you could just ignore a 1Mb loss of hdd, does that 1Mb really warrant all the effort to regain it?
No, it does not bother me.
Unfortunately we are not sure, if parted/GParted is capable to safely re-align partitions from MiBs to Cylinders. You would have to try it out on your own.
I decided to leave it as it is, because I haven`t noticed any performance degradation. Hope, it will not shorten life of my HDD.
Thank you for help.
Next time I will perform partitioning manually using GParted before installation. I will follow bin`s advice.
https://www.thomas-krenn.com/en/wiki/Pa … _Alignment
Last edited by Rademes (2016-03-24 19:02)
Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502 If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.
Offline
Problem was solved by moving first partition using GParted and choosing default option "Align to - MiB". Now all partitios are aligned! No OS reinstall was needed.
http://storage6.static.itmages.ru/i/16/ … a9afa5.png
http://storage7.static.itmages.ru/i/16/ … 06d3bf.png
Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502 If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.
Offline