Author Topic: Problem - the partition is misaligned by 512 bytes  (Read 7749 times)

0 Members and 1 Guest are viewing this topic.

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #30 on: October 14, 2012, 01:59:52 am »
Code: [Select]
ls /media
12.04Boot  Drive1  Drive2  Drive3  Drive4  Home

Code: [Select]
sudo blkid /dev/sdc1
/dev/sdc1: LABEL="Drive2" UUID="abe1cd39-53a1-4653-9897-5a3e66cde57b" TYPE="ext4"

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13730
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #31 on: October 14, 2012, 02:04:28 am »
OK, fdisk tells us that's not right because of this line:

Quote
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63   976768064   488384001   83  Linux
Partition 1 does not start on physical sector boundary.


So do what we did in this posting:
http://linuxforums.org.uk/index.php?topic=10461.msg78060#msg78060
but use Align to MiB

Then check that line  (in red) is NOT there when you run:
Code: [Select]
sudo fdisk -l
if it isn't .. post the output from:
Code: [Select]
sudo blkid /dev/sdc1
again
« Last Edit: October 14, 2012, 02:08:10 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #32 on: October 14, 2012, 02:05:25 am »
Just noticed;
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 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 identifier: 0x0005f824

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63   976768064   488384001   83  Linux
Partition 1 does not start on physical sector boundary.


Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13730
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #33 on: October 14, 2012, 02:07:24 am »
See above.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #34 on: October 14, 2012, 02:08:11 am »
Sorry, I just noticed it too as well as crossed post.
will get on with what you just posted

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #35 on: October 14, 2012, 02:15:17 am »
Code: [Select]
sudo fdisk -l

(click to show/hide)

Code: [Select]
sudo blkid /dev/sdc1

/dev/sdc1: LABEL="Drive2" UUID="fece8a70-7f38-4ad2-aaf3-49a69a8fb91e" TYPE="ext4"

Looks OK too.

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13730
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #36 on: October 14, 2012, 02:16:46 am »
Code: [Select]
sudo gedit /etc/fstab

find the line that reads:-

UUID=19eb1838-b24c-4e51-8998-f0dcc8b64bbc /media/Drive2 ext4 defaults 0 0

make it read:-

UUID=fece8a70-7f38-4ad2-aaf3-49a69a8fb91e /media/Drive2 ext4 defaults 0 0

Visually proofread that line, specially if you copy/pasted

SAVE the file.

Run:
Code: [Select]
sudo mount -a
« Last Edit: October 14, 2012, 02:18:27 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #37 on: October 14, 2012, 02:23:36 am »
all done, it didn't report any problems.
However, I did notice an error on my part, check out an earlier post with the UUID's in and look at the line that you got me to change...
it had UUID- and not UUID= which it should have.
It is now correct.

Is the next step a reboot and see if it automounts?

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13730
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #38 on: October 14, 2012, 02:24:54 am »
Yeh, but it will :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #39 on: October 14, 2012, 02:30:23 am »
Don't you love it when you’re correct  ;D

It works

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13730
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #40 on: October 14, 2012, 02:31:36 am »
:) .. anywho, Im off to bed .. catch ya later.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #41 on: October 14, 2012, 02:31:53 am »
Now, there’s permission problems
I cant move a folder to it

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #42 on: October 14, 2012, 02:33:18 am »
I'll have a look a previous post to see the 'ch' stuff if its long winded as you want to get off to bed
Cheers for all the help

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1618
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #43 on: October 14, 2012, 02:36:04 am »
Sorted that too
Code: [Select]
sudo chown -R pooky2483:pooky2483 /media/Drive2

Previous post
http://linuxforums.org.uk/index.php?action=search2

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13730
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problem - the partition is misaligned by 512 bytes
« Reply #44 on: October 14, 2012, 02:37:46 am »
Code: [Select]
sudo chown -R pooky:pooky /media/Drive2

Obviously you may need to change the 2 "pooky" entries in that command to whatever your username is.

if that doesn't work, send the output from:
Code: [Select]
ls -al /media

[EDIT]

Cross posting :)
« Last Edit: October 14, 2012, 02:41:26 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal