![](https://seccdn.libravatar.org/avatar/a836ff90f492078f494adcf0c6059fc6.jpg?s=120&d=mm&r=g)
On 2010/01/07 08:12 (GMT-0500) Istvan Gabor composed:
I have a very strange problem with mounting/assigning hard disk partiton.... According to df -h the root partition is located on /dev/sda2; however the hard disk has only one partition, a primary partition, normally should be /dev/sda1. I don't understand why it is seen by 11.2 as /dev/sda2. cfdisk and fdisk show the partiton table as normal, that is /dev/sda1 is shown. If I mount /dev/sda1 to eg /mnt than it is clear that / (dev/sda2) and /mnt (dev/sda1) are the same directory structures.
Open fdisk, then do: m x d q The last 5 lines of output before q should very roughly resemble the following: 0x1B0: 80 01 0x1C0: 01 00 83 FE 3F 19 3F 00 00 00 5B 5F 06 00 00 00 0x1D0: 01 1A 07 FE 7F 4B 9A 5F 06 00 B2 02 4B 00 00 00 0x1E0: 41 4C 16 FE 7F 6A 4C 62 51 00 5F 99 07 00 00 00 0x1F0: 41 6B 05 FE FF FF AB FB 58 00 16 DB E9 24 That's the MBR partition table of my openSUSE server's sda. sda1 begins at 0x1BE, sda2 begins at 0x1CE, sda3 begins at 0x1DE, and sda4 begins at 0x1EE. Because of the way partitioning was done on the clone disk, it may be that its sda1 is using the table entry that starts at address 0x1CE instead of the one at 0x1BE. IOW, you may see all 00's until byte 0x1CE, where non-00's begin, instead of seeing them begin at 0x1BE. To confirm, you should see "83" (the type for a normal Linux native partition) at 0x1C2, not at 0x1D2. If that's the case, the partition table should be rebuilt to move it from 0x1CE to 0x1BE. -- "Our Constitution was made only for a moral and religious people. It is wholly inadequate to the government of any other." John Adams, 2nd US President Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org