You are not logged in.

#1 2008-01-14 03:35:23

soul..
Member
Registered: 2008-01-10
Posts: 10

[closed]FATAL ERROR: Bad primary.. or ..disk label ..?

hell-o my new homes ...and encountered

now: root@# cfdisk /dev/hda
     FATAL ERROR: Bad primary partition 2: Partition ends after end-of-disk
                          Press any key to exit cfdisk
                                                    
# fdisk -l 
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3178    25527253+   7  HPFS/NTFS
/dev/hda2            3179        3382     1638598+  83  Linux
/dev/hda3            3766        9730    47913862+   f  W95 Ext'd (LBA)
/dev/hda5   *        3766        9282    44315271    c  W95 FAT32 (LBA)
/dev/hda6   *        9283        9308      208813+  82  Linux swap
/dev/hda7   *        9309        9730     3389683+   b  W95 FAT32

as u can see problem is with first only - i canot do any partitioning at all.
Tryed manualy pointing to /dev/hda2 (as i was sugested)(free earlier prealocated partition for lin system) - it instaled but it canot bot from hem (says canot mount mount there is no such a place, but i checked filesa are instaled corectly and didnt exeedet 1gb). Btw i can mount any partition on hda and access files. Swap is mounted by this  session.
And one problem - xp is gone (ok its not important) but i need get back those 3gb (by joining them to /hda2).
I can't do backups, hd's almost full.
Help is needed, badly i have no clue...

thats how it looked before installing (and after install windows throw-ed some it cannot run chfs and bsod..so i mounted normlay from my rescue live cd and copied all winxp needed files; now partition is deleted)
and then there was winxp it trowed some similar:

was: # cdisk /dev/hda
     FATAL ERROR: Bad primary partition 3: Partition ends after end-of-disk
                          Press any key to exit cfdisk
# fdisk -l 
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3178    25527253+   7  HPFS/NTFS
/dev/hda2            3179        3382     1638598+  83  Linux
/dev/hda3            3383        3765     3127253+   7  HPFS/NTFS (winxp-compressed)
/dev/hda4            3766        9730    47913862+   f  W95 Ext'd (LBA)
/dev/hda5           3766        9282    44315271    c  W95 FAT32 (LBA)
/dev/hda6           9283        9308      208813+  82  Linux swap
/dev/hda7           9309        9730     3389683+   b  W95 FAT32

1. if i tell install system to /dev/sda2 manually is it safe to continue installation ?
2. don't remember if it asked for formatting - if so it will format those 1.6gbs of /sda2 ?
   (have free 1.6gbs jfs - after some old try left)
3. how many place will take that full installation (or do i need skip some files; have Archlinux-i686-2007.08-2.core.iso 158mb)
4. i cannot do manual partitioning so what to do :/ ?

Last edited by soul.. (2008-01-17 19:54:48)

Offline

#2 2008-01-14 04:02:59

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: [closed]FATAL ERROR: Bad primary.. or ..disk label ..?

I can't make any sense out of what u typed.

here is some clues... boot with the arch cd, press alt + f2 and then type at the prompt fdisk -l that should give u most of the info u need.

as your one and only question I can understand.

1. if i tell install system to /dev/sda2 manually is it safe to continue installation ?

if this is the partition u want arch installed to, then yes, u specify this device as '/' root mount point then set swap and watch the installation work its majic. Not real sure how far u are gonna get with 1.6 gigs though.

edit: BTW, arch sees all drives, even IDE drives as SATA drives by name. So if u wanna point to device hda, it would be sda to arch install CD. This is because of the new library it uses libata. U can research it if u are unsure.

Last edited by jacko (2008-01-14 04:06:21)

Offline

#3 2008-01-14 06:26:28

soul..
Member
Registered: 2008-01-10
Posts: 10

Re: [closed]FATAL ERROR: Bad primary.. or ..disk label ..?

jacko wrote:

I can't make any sense out of what u typed.

here is some clues... boot with the arch cd, press alt + f2 and then type at the prompt fdisk -l that should give u most of the info u need.

as your one and only question I can understand.

1. if i tell install system to /dev/sda2 manually is it safe to continue installation ?

if this is the partition u want arch installed to, then yes, u specify this device as '/' root mount point then set swap and watch the installation work its majic. Not real sure how far u are gonna get with 1.6 gigs though.

edit: BTW, arch sees all drives, even IDE drives as SATA drives by name. So if u wanna point to device hda, it would be sda to arch install CD. This is because of the new library it uses libata. U can research it if u are unsure.

t.y. long day at works (messed minds..).. +bad language skills, i apologize

1.so  i assume if i can (y i can) see list (sfdisk -l) of pratitions its safe to do any actions that need during installations to manualy directed places i need (as it iz now to /dev/hda2; and all actions will only remain to /dev/hda2)

2.stiill i didnt found any info how many installed place will take arch from mentioned cd; if it will be larger then 1.6gb so its possible that installation can grow up by destroying/eating next partition)?

and -l its just list'ing/info command, so i cannot edit partitions (make delete format..) (didn't try-ed because waiting answers to other q's) ?

Last edited by soul.. (2008-01-14 06:28:55)

Offline

#4 2008-01-14 07:38:03

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [closed]FATAL ERROR: Bad primary.. or ..disk label ..?

no, the installation will fail if there is not enough space, it will NOT automatically eat other partitions.....

in 1.6gb though you wont fit many apps but should be enough space to install base only

Offline

#5 2008-01-14 08:43:16

soul..
Member
Registered: 2008-01-10
Posts: 10

Re: [closed]FATAL ERROR: Bad primary.. or ..disk label ..?

mpie wrote:

no, the installation will fail if there is not enough space, it will NOT automatically eat other partitions.....

in 1.6gb though you wont fit many apps but should be enough space to install base only

he - in past once haved bad practice with something similar "it will NOT automatically eat"  ...that i'v not noticed true manuall

I'm fine with that, if i can fit all (all cd's contents w.o. playing too much) Archlinux-i686-2007.08-2.core.iso (158mb)

Last edited by soul.. (2008-01-14 08:49:42)

Offline

#6 2008-01-17 19:43:35

soul..
Member
Registered: 2008-01-10
Posts: 10

Re: [closed]FATAL ERROR: Bad primary.. or ..disk label ..?

Ranish PM2.4 noticed exactly with partitions (lba ends out of range...
) looks weird and i used disk surface test on that what i found that last disks cylinders at extended partition is +1  and is 9729 cylinders but real size is 9728 ..reaprtitioned last two - that fixed.

Lucky now, all ok.

Offline

#7 2009-01-31 13:34:51

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: [closed]FATAL ERROR: Bad primary.. or ..disk label ..?

I got 'FATAL ERROR: Bad primary partition 3: Partition ends after end-of-disk' when I try to run cfdisk,fdisk -l gives me this

bash-3.2# fdisk -l

Disk /dev/sda: 41.1 GB, 41109061120 bytes
255 heads, 63 sectors/track, 4997 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00018ff6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2422    19454683+   7  HPFS/NTFS
/dev/sda2            2423        3042     4980150   83  Linux
/dev/sda3            3043        3135      747022+  83  Linux
/dev/sda4            3136        4998    14964547+  83  Linux

gparted error 'Can't have a partition outside the disk!'
system can't mount /dev/sda4,my fstab

none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/sda1 /mnt/windows ntfs-3g  users,uid=1000,gid=100,fmask=0113,dmask=0002  0 $
/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
UUID=25e85b27-4cd5-4403-a987-cc89c8c10d02 swap swap defaults 0 0
UUID=7d9aea9c-6374-40dd-81cf-bb95550a5aee /home xfs defaults 0 1
UUID=be97e6de-9642-4cda-a90f-5b0f603dec6e / ext3 defaults 0 1

any help for me?

Last edited by na12 (2009-01-31 13:44:36)

Offline

Board footer

Powered by FluxBB