LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-04-2013, 10:37 PM   #1
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Rep: Reputation: Disabled
Partition 1 does not start on physical sector boundary.


Windows 7 and Fedora 19 dual-boot on my desktop machine.
in Fedora 19, fdisk -l outputs
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x2bd2c32a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   314584829   157292383+   7  HPFS/NTFS/exFAT
Partition 1 does not start on physical sector boundary.
/dev/sda2       314585088   874371119   279893016    7  HPFS/NTFS/exFAT
/dev/sda3       925573120   926597119      512000   83  Linux
/dev/sda4       926597120   976773167    25088024    5  Extended
/dev/sda5       926599168   934529023     3964928   82  Linux swap / Solaris
/dev/sda6       934531072   976773119    21121024   83  Linux
so, I googled about the message of Partition 1 does not start on physical sector boundary. to fix it.
the question is that
can I resize and move Partition 1 which holds Windows 7 in Fedora 19 using gparted? If I do so, Windows 7 won't boot?
 
Old 11-05-2013, 01:11 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
I'm afraid not, gparted will not able to do that. You need to use a partition manager like easeus partition master: http://www.partition-tool.com/
 
Old 11-15-2013, 10:37 AM   #3
eumyang
LQ Newbie
 
Registered: Jan 2010
Distribution: Slackware 13.1
Posts: 7

Rep: Reputation: 2
Quote:
Originally Posted by mshlinux View Post
so, I googled about the message of Partition 1 does not start on physical sector boundary. to fix it.
That's just a warning, it's not really a problem needing fixing. This shouldn't prevent your computer from running.

I do find it odd that partition 1 starts at sector 63. I think that if one installs Windows Vista or 7 and let the installer partition the disk, partition 1 would start at sector 2048 by default. If one installs Windows XP or earlier, partition 1 starts at sector 63 by default. Did this computer originally had XP or an older Windows OS, then later upgraded? Just curious.
 
Old 11-15-2013, 12:25 PM   #4
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
I recently configured a dell laptop that dual-boots windows 8 and fedora 19. I started by installing XP on a new hard drive, then upgraded to windows 8 from the w8pro dvd, and finally installed fedora 19 from dvd.

The windows partition starts at block 63 on my machine too, but I don't get any message about not starting on a sector boundary.
Code:
[root@d620 ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes, 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0fc00fc0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   122881184    61440561    7  HPFS/NTFS/exFAT
/dev/sda2       122882048   123906047      512000   83  Linux
/dev/sda3       123906048   312457215    94275584   8e  Linux LVM
The difference seems to be the I/O size, I'm using 512-byte blocks

Last edited by Doug G; 11-15-2013 at 12:28 PM.
 
Old 11-15-2013, 12:43 PM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
Quote:
Originally Posted by Doug G View Post
The windows partition starts at block 63 on my machine too, but I don't get any message about not starting on a sector boundary.
Code:
[root@d620 ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes, 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Your drive actually has 512 byte physical sectors.

The OP has a 4k sector drive ("advanced format") with 512 byte emulation, and his partition starts in the middle of a 4k sector. The file system blocks will be misaligned as well, which will hurt performance, especially writes.
 
Old 11-15-2013, 09:02 PM   #6
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Your drive actually has 512 byte physical sectors.

The OP has a 4k sector drive ("advanced format") with 512 byte emulation, and his partition starts in the middle of a 4k sector. The file system blocks will be misaligned as well, which will hurt performance, especially writes.
yes, that's right, it hurt performance, especially writes. in my experience, chrome, spreadsheet and other office programs frequently crash when they load two or three tasks at the same time. i suspect it is because of my partition error.
 
Old 11-15-2013, 09:13 PM   #7
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
Quote:
Originally Posted by mshlinux View Post
yes, that's right, it hurt performance, especially writes. in my experience, chrome, spreadsheet and other office programs frequently crash when they load two or three tasks at the same time. i suspect it is because of my partition error.
Misaligned sectors and file system fragments can make disk access (and hence the entire system) slower.

It will, however, NOT cause applications to crash or malfunction. If your system is unstable, partition alignment is not to blame.
 
Old 11-15-2013, 09:25 PM   #8
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Misaligned sectors and file system fragments can make disk access (and hence the entire system) slower.

It will, however, NOT cause applications to crash or malfunction. If your system is unstable, partition alignment is not to blame.
ohh! really? thanks for ur sharing knowledge.
so, i think i should forget about this partition error because this is office computer.
i don't wanna take risk messing partitions which can break MBR.
 
Old 11-16-2013, 09:14 AM   #9
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,783

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
The misalignment will affect write operations, hurting write performance by a factor of 10 or more. The effect on read operations is minimal.
 
Old 11-16-2013, 10:51 PM   #10
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Quote:
Your drive actually has 512 byte physical sectors.
That's what I said.

I was just trying to point out the windows installer was probably what put the NTFS partition where it is. I would guess windows wouldn't care if you moved the partition to get rid of the error message, but the windows bootloader might care.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fdisk shows logical sector size smaller than physical sector size after clonezilla narnie Linux - Hardware 12 07-03-2013 09:01 PM
Partition X does not start on physical sector boundary. berkov Linux - Newbie 5 04-17-2013 08:46 AM
[SOLVED] fdisk: Partition 2 does not start on physical sector boundary. stf92 Slackware 11 03-04-2013 08:47 AM
Partition does not start on physical sector boundary czezz Slackware 19 02-06-2013 02:39 AM
fdisk -ul why does first partition start at sector 63? nickamon Linux - Newbie 3 07-17-2009 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration