[ubuntu-in] Is Partition problematic ??

Onkar Shinde onkarshinde at gmail.com
Fri May 6 14:41:36 UTC 2011


On Fri, May 6, 2011 at 7:11 PM, Jkhatri <khatri.jatin at gmail.com> wrote:
> Hi All,
>
> following is the output of fdisk -l command ( on ubuntu 10.04 LTS)
> ---------------------------------------------------------
> Disk /dev/sda: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x0003951f
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1         498     3998720   82  Linux swap / Solaris
> Partition 1 does not end on cylinder boundary.
> /dev/sda2             499       14940   115998721    5  Extended
> /dev/sda3           14941       38913   192563122+  83  Linux
> /dev/sda5             499       14940   115998720   83  Linux
> ----------------------------------------------------------
>
> sda1 is bootable ( grub is installed here ) ,  and it shows file system is
> Linux swap !!!!!
>
> what is wrong with the partition ?????

Grub is usually installed on /dev/sda (not sda1). So it is likely that
sda1 is actually swap partition.
But I also think this output is broken or probably the partitioning is
actually broken. Check the blocks for sda2 and sda5. They are both
same, which is ok of sda5 is the only logical partition. But then
check how blocks for sda3 are between sda2 and sda5.

Output of 'sudo mount' (without any arguments) will tell you which
partition is which. You can continue your analysis from there.


Onkar
-- 
Passion - Some people climb mountains - others write Free software.
Don't ask why - the reason is the same.



More information about the ubuntu-in mailing list