You are not logged in.

#1 2010-06-12 13:56:01

chinmaya_n
Member
Registered: 2010-06-12
Posts: 6

Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

Hi...

I've tried to install Arch but when I select HardDisk > Manual during installation.. It asks me getting into cfdisk and cfdisk shows this error Fatal Error: Bad primary partition 1: Partition ends after end-of-disk.

I've Ubuntu on my system and I executed cfdisk and it showed no errors and fdisk -l too sad
Both of them showed no errors but while installing only it is showing like that ! smile Its weird !
I tried to google , but I didnt get what to do with that.

Plz help me... smile New Arch Bee

Thanx

cfdisk (util-linux-ng 2.16)

                              Disk Drive: /dev/sda
                       Size: 320072933376 bytes, 320.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 38913

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sda1        Boot        Primary   Linux ext3                       40073.57
    sda5                    Logical   Linux ext3                      199997.69
    sda6                    Logical   Linux swap / Solaris              3002.23
    sda7                    Logical   W95 FAT32                        56992.97
    sda8                    Logical   Linux ext3                       20003.89
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0aaf0aaf

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4872    39134308+  83  Linux
/dev/sda2            4873       38913   273434332+   5  Extended
/dev/sda5            4873       29187   195310206   83  Linux
/dev/sda6           29188       29552     2931831   82  Linux swap / Solaris
/dev/sda7           29553       36481    55657161    b  W95 FAT32
/dev/sda8           36482       38913    19535008+  83  Linux

Last edited by chinmaya_n (2010-06-16 20:12:55)

Offline

#2 2010-06-13 00:22:27

Cheifchimp
Member
From: Queensland Australia
Registered: 2009-05-07
Posts: 69

Re: Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

I don't know exactly what it means but I used to get that error every time I used Partition Magic on a drive containing linux partitions then tried to fdisk any partition, I suspect it was a case of Partition Magic corrupting the partition table - I learned to live without partition magic very quickly

Offline

#3 2010-06-13 05:06:53

chinmaya_n
Member
Registered: 2010-06-12
Posts: 6

Re: Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

Cheifchimp wrote:

I don't know exactly what it means but I used to get that error every time I used Partition Magic on a drive containing linux partitions then tried to fdisk any partition, I suspect it was a case of Partition Magic corrupting the partition table - I learned to live without partition magic very quickly

But I dont 've partition magic in my system !!
I 've just installed it for correcting that error!! smile

I would love to use Arch smile But how to start with this bloody thing happening around me sad

Last edited by chinmaya_n (2010-06-13 05:08:26)

Offline

#4 2010-06-14 18:34:04

chinmaya_n
Member
Registered: 2010-06-12
Posts: 6

Re: Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

bump sad

Offline

#5 2010-06-14 20:45:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

/dev/sda2            4873       38913   273434332+   5  Extended

Your extended partition ends at the last cylinder of the drive, this sometimes gives problems.

reduce sda8 and sda2 to use 1 cylinder less and you should be fine.

Last edited by Lone_Wolf (2010-06-14 20:45:48)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2010-06-15 18:46:14

chinmaya_n
Member
Registered: 2010-06-12
Posts: 6

Re: Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

Hi, Lone_Wolf... Thankx for reply!

Can you tel me how to reduce that   cylinder of the drive....

Offline

#7 2010-06-15 18:49:26

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

chinmaya_n wrote:

Hi, Lone_Wolf... Thankx for reply!

Can you tel me how to reduce that   cylinder of the drive....

Reduce the size of that partition by about 8MB or so. More if it still stays beyond the drive size.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#8 2010-06-16 16:12:40

chinmaya_n
Member
Registered: 2010-06-12
Posts: 6

Re: Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

I have deleted sda8 and reduced the sda2 partition and freed  that space...! (by using a live CD)
Thanx... Guys...

Haha.. I could install Arch now!! but I got stuck when it asked to install grub in which partition!! I didn't know on which partition MBR was!!
So i installed it on an external flash drive.... ( I thought i could change later or copy later to MBR)
But My system is not booting by using that Flash drive !! My system has ubuntu 9.10 also!
So Can I write in the grub list of ubuntu so.. that it can boot into that partition !!

Last edited by chinmaya_n (2010-06-16 20:13:33)

Offline

#9 2010-06-16 17:50:04

chinmaya_n
Member
Registered: 2010-06-12
Posts: 6

Re: Fatal Error: Bad primary partition 1: Partition ends after end-of-disk

I just made it..... just by using:

grub-mkconfig -o /boot/grub/grub.cfg

Thanx guys...!

Offline

Board footer

Powered by FluxBB