Problem with my HDD and FS's after upgrade and cloning the HDD

View: New views
5 Messages — Rating Filter:   Alert me  

Problem with my HDD and FS's after upgrade and cloning the HDD

by James Brown-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I use the Debian Lenny AMD64 on my laptop Acer TravelMate 3043.
After upgrading from my old HDD 120GB to 500GB and cloning the first to
the last, I have the next problem:
sudo fdisk -l

Disk /dev/sda: 500 GB, 500105249280 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         509     4088511   12  Compaq diag
/dev/sda2   *         510        5214    37784880    c  FAT32 LBA
/dev/sda4            5215       53727   389672640    5  Extended
/dev/sda5            5215        5257      337365   83  Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sda6            5258        5865     4875727   83  Linux
Warning: Partition 6 does not end on cylinder boundary.
/dev/sda7            5866        6230     2923830   83  Linux
Warning: Partition 7 does not end on cylinder boundary.
/dev/sda8            6231        6399     1349460   82  Linux swap
Warning: Partition 8 does not end on cylinder boundary.
/dev/sda9            6400        6448      385560   83  Linux
Warning: Partition 9 does not end on cylinder boundary.
/dev/sda10           6449       53727   379760535   83  Linux
Warning: Partition 10 does not end on cylinder boundary.
/dev/sda3           53728       60801    56813872    c  FAT32 LBA

Some people tell me that the "Partition x does not end on cylinder
boundary" is not serious problem and advise me to do not call attention
to that.
But some other people tell my FS's can crash through that and reccomend
me to reinstall my system at all.
What can you advice me with that?


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Problem with my HDD and FS's after upgrade and cloning the HDD

by Lennart Sorensen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Sep 25, 2009 at 12:17:24PM +0400, James Brown wrote:

> Hi all,
> I use the Debian Lenny AMD64 on my laptop Acer TravelMate 3043.
> After upgrading from my old HDD 120GB to 500GB and cloning the first to
> the last, I have the next problem:
> sudo fdisk -l
>
> Disk /dev/sda: 500 GB, 500105249280 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1         509     4088511   12  Compaq diag
> /dev/sda2   *         510        5214    37784880    c  FAT32 LBA
> /dev/sda4            5215       53727   389672640    5  Extended
> /dev/sda5            5215        5257      337365   83  Linux
> Warning: Partition 5 does not end on cylinder boundary.
> /dev/sda6            5258        5865     4875727   83  Linux
> Warning: Partition 6 does not end on cylinder boundary.
> /dev/sda7            5866        6230     2923830   83  Linux
> Warning: Partition 7 does not end on cylinder boundary.
> /dev/sda8            6231        6399     1349460   82  Linux swap
> Warning: Partition 8 does not end on cylinder boundary.
> /dev/sda9            6400        6448      385560   83  Linux
> Warning: Partition 9 does not end on cylinder boundary.
> /dev/sda10           6449       53727   379760535   83  Linux
> Warning: Partition 10 does not end on cylinder boundary.
> /dev/sda3           53728       60801    56813872    c  FAT32 LBA
>
> Some people tell me that the "Partition x does not end on cylinder
> boundary" is not serious problem and advise me to do not call attention
> to that.
> But some other people tell my FS's can crash through that and reccomend
> me to reinstall my system at all.
> What can you advice me with that?

It doesn't matter.  Some OSs (like DOS) would not work with partitions
that weren't cylinder aligned, but every OS these days uses LBA instead
and doesn't actually care about cylinders at all.

Try fdisk -l -u.  As long as the start and end work out without overlap,
the filesystems are going to be just fine.  sda4 is what contains
sda5-sda10, so sda4 should contain all of those, meaning overlap with
sda5-10 is expected.

--
Len Sorensen


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Problem with my HDD and FS's after upgrade and cloning the HDD

by James Brown-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lennart Sorensen wrote:

> On Fri, Sep 25, 2009 at 12:17:24PM +0400, James Brown wrote:
>  
>> Hi all,
>> I use the Debian Lenny AMD64 on my laptop Acer TravelMate 3043.
>> After upgrading from my old HDD 120GB to 500GB and cloning the first to
>> the last, I have the next problem:
>> sudo fdisk -l
>>
>> Disk /dev/sda: 500 GB, 500105249280 bytes
>> 255 heads, 63 sectors/track, 60801 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>
>>    Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1               1         509     4088511   12  Compaq diag
>> /dev/sda2   *         510        5214    37784880    c  FAT32 LBA
>> /dev/sda4            5215       53727   389672640    5  Extended
>> /dev/sda5            5215        5257      337365   83  Linux
>> Warning: Partition 5 does not end on cylinder boundary.
>> /dev/sda6            5258        5865     4875727   83  Linux
>> Warning: Partition 6 does not end on cylinder boundary.
>> /dev/sda7            5866        6230     2923830   83  Linux
>> Warning: Partition 7 does not end on cylinder boundary.
>> /dev/sda8            6231        6399     1349460   82  Linux swap
>> Warning: Partition 8 does not end on cylinder boundary.
>> /dev/sda9            6400        6448      385560   83  Linux
>> Warning: Partition 9 does not end on cylinder boundary.
>> /dev/sda10           6449       53727   379760535   83  Linux
>> Warning: Partition 10 does not end on cylinder boundary.
>> /dev/sda3           53728       60801    56813872    c  FAT32 LBA
>>
>> Some people tell me that the "Partition x does not end on cylinder
>> boundary" is not serious problem and advise me to do not call attention
>> to that.
>> But some other people tell my FS's can crash through that and reccomend
>> me to reinstall my system at all.
>> What can you advice me with that?
>>    
>
> It doesn't matter.  Some OSs (like DOS) would not work with partitions
> that weren't cylinder aligned, but every OS these days uses LBA instead
> and doesn't actually care about cylinders at all.
>
> Try fdisk -l -u.  As long as the start and end work out without overlap,
> the filesystems are going to be just fine.  sda4 is what contains
> sda5-sda10, so sda4 should contain all of those, meaning overlap with
> sda5-10 is expected.
>
>  

Very thanks.
I have tried fdisk -l -u and I have had the next :
~$ sudo fdisk -l -u
[sudo] password for igor:

Disk /dev/sda: 500 GB, 500105249280 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976768065 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63     8177084     4088511   12  Compaq diag
/dev/sda2   *     8177085    83762909    37784880    c  FAT32 LBA
/dev/sda4        83762910   863124254   389672640    5  Extended
/dev/sda5        83762973    84453704      337365   83  Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sda6        84453768    94221224     4875727   83  Linux
Warning: Partition 6 does not end on cylinder boundary.
/dev/sda7        94221288   100084949     2923830   83  Linux
Warning: Partition 7 does not end on cylinder boundary.
/dev/sda8       100085013   102799934     1349460   82  Linux swap
Warning: Partition 8 does not end on cylinder boundary.
/dev/sda9       102799998   103587119      385560   83  Linux
Warning: Partition 9 does not end on cylinder boundary.
/dev/sda10      103587183   863124254   379760535   83  Linux
Warning: Partition 10 does not end on cylinder boundary.
/dev/sda3       863124255   976768064    56813872    c  FAT32 LBA

So, there are no overlaps, but there are some gaps.


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Problem with my HDD and FS's after upgrade and cloning the HDD

by Ekkard Gerlach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello James,

* James Brown schrieb:

> I use the Debian Lenny AMD64 on my laptop Acer TravelMate 3043.
> After upgrading from my old HDD 120GB to 500GB and cloning the first to
> the last, I have the next problem:
[...]
I think you have cloned your disk with an external Desktop-PC, right?
And the desktop PC has another hardware than your laptop!
I've hat a similar problem 3 weeks ago with one of my customers,
I cloned a disk of a desktop
PC (Suse 8.2) by hand with another desktop PC  (Suse 10.2). I had the
a simlar error (I don't remember the exactly error text) and
Suse 8.2 didn't find the partitions! I use always ext3 as filesystem.
So I cloned again the disk in the Suse 8.2 machine and all went well,
no errors!

An idea: take parted or acronis Disk Director, etc, boot your Laptop
with one of these tools (e.g. take knoppix on CD/DVD) and resize your
partitions a little bit! But leave your disk in your latop! parted
or acronis, .. should make correct boundaries while resizing.

Let me know if you have success.

Feel free top forward/quote my posting to debian-laptop@...,
I'm not subscribed.

Ekkard


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Problem with my HDD and FS's after upgrade and cloning the HDD

by Lennart Sorensen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Sep 26, 2009 at 07:06:04AM +0400, James Brown wrote:

> Very thanks.
> I have tried fdisk -l -u and I have had the next :
> ~$ sudo fdisk -l -u
> [sudo] password for igor:
>
> Disk /dev/sda: 500 GB, 500105249280 bytes
> 255 heads, 63 sectors/track, 60801 cylinders, total 976768065 sectors
> Units = sectors of 1 * 512 = 512 bytes
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1              63     8177084     4088511   12  Compaq diag
> /dev/sda2   *     8177085    83762909    37784880    c  FAT32 LBA
> /dev/sda4        83762910   863124254   389672640    5  Extended
> /dev/sda5        83762973    84453704      337365   83  Linux
> Warning: Partition 5 does not end on cylinder boundary.
> /dev/sda6        84453768    94221224     4875727   83  Linux
> Warning: Partition 6 does not end on cylinder boundary.
> /dev/sda7        94221288   100084949     2923830   83  Linux
> Warning: Partition 7 does not end on cylinder boundary.
> /dev/sda8       100085013   102799934     1349460   82  Linux swap
> Warning: Partition 8 does not end on cylinder boundary.
> /dev/sda9       102799998   103587119      385560   83  Linux
> Warning: Partition 9 does not end on cylinder boundary.
> /dev/sda10      103587183   863124254   379760535   83  Linux
> Warning: Partition 10 does not end on cylinder boundary.
> /dev/sda3       863124255   976768064    56813872    c  FAT32 LBA
>
> So, there are no overlaps, but there are some gaps.

The gaps make sense.

The reason is the way extended partitions work.  An extended partition
contains a partition table with one primary partition and another extended
partition.  The primary partition is your logical partitions, and the
extended partition is the space of the remaining logical partitions.

So your layout appears to be:

partition                           start                  end
----(partition table)                   0                   62
sda1(primary)                          63              8177084
sda2(primary)                     8177085             83762909
sda4(extended)                   83762910            863124254
 sda4(partition table)           83762910             83762972
 sda5(primary)                   83762973             84453704
 ----(extended)                  84453705            863124254
  ----(partition table)          84453705             84453767
  sda6(primary)                  84453768             94221224
  ----(extended)                 94221225            863124254
   ----(partition table)         94221225             94221287
   sda7(primary)                 94221288            100084949
   ----(extended)               100084950            863124254
    ----(partition table)       100084950            100085012
    sda8(primary)               100085013            102799934
    ----(extended)              102799935            863124254
     ----(partition table)      102799935            102799997
     sda9(primary)              102799998            103587119
     ----(extended)             103587120            863124254
      ----(partition table)     103587120            103587182
      sda10(primary)            103587183            863124254
sda3(primary)                   863124255            976768064

Looks fine to me.

--
Len Sorensen


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...