LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-24-2006, 07:24 AM   #1
mahdif
Member
 
Registered: Sep 2006
Distribution: Slackware
Posts: 75

Rep: Reputation: 15
Partition table problem


I installed PCBSD on my PC and after a while i deleted its partition. Since then, parted based programs like Gparted and YaST Partitioner cannot read my partition table ans view the disk as one unpartitioned space. However i have no problem with fdisk-based apps so I could easily install slackware. I want to install SUSE 10.2. can anyone help me with this?
 
Old 12-24-2006, 08:17 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
If you want to replace everything on the disk to install SuSE, let the SuSE installation program repartition the disk. That should also fix the problems as well.

Last edited by jschiwal; 12-24-2006 at 04:44 PM.
 
Old 12-24-2006, 08:39 AM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Can you list the output of "fdisk-l" here?

A BSD system has internal BSD subparts which is seen by Linux as another extended partition and their BSD subparts viewed as logical partitions. This can cause problems if Linux use an extended partition as only one is allowed in a hard disk. A complete deletion of a BSD should remove the problem. The common error to Linux is the partitions do not match at the boundary.
 
Old 12-25-2006, 06:29 AM   #4
mahdif
Member
 
Registered: Sep 2006
Distribution: Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
I did delete the BSD partition. When I start SuSE installation program, it says "The program YasT uses for partitioning (Parted) is not able to read the partition table"! and I am not given any choice to continue installation.
 
Old 12-25-2006, 07:13 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
mahdif,

But you are entitled to a 2nd opinion, right?

Why not boot up any Live CD, using it root terminal programs "fdisk" and "cfdisk" to report back to you their opinions of your disk?

This command will list all the partitions in every disk of you PC
Code:
sudo fdisk -l
and if you want to partition a hard disk, say hda, you can do so with
Code:
sudo cfdisk /dev/hda
In general a Graphic partitioning tool like Yast or Gparted will give up first when hit a trouble, then the termial program cfdisk can go a bit further. The most robust partition tool in my experience is fdisk. It will still usable when all the others have given up. If fdisk refuses to read the disk then it is truly over.
 
Old 12-25-2006, 07:42 AM   #6
mahdif
Member
 
Registered: Sep 2006
Distribution: Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
No, fdisk and cfdisk can easily read my partitions, the problem is that Suse installer uses parted. I have almost no free space on my disk, I have two ext2 partitions, an ext3, a swap and four ntfs partitions. Plus it has nothing to do with graphical tools, because the command line version of parted is not able to read my partitions either. Is there a way I can write a new partition table using fdisk without destroying my data so that parted and yast work?

Last edited by mahdif; 12-25-2006 at 07:44 AM.
 
Old 12-25-2006, 07:52 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by mahdif
No, fdisk and cfdisk can easily read my partitions, the problem is that Suse installer uses parted. I have almost no free space on my disk, I have two ext2 partitions, an ext3, a swap and four ntfs partitions. Plus it has nothing to do with graphical tools, because the command line version of parted is not able to read my partitions either. Is there a way I can write a new partition table using fdisk without destroying my data so that parted and yast work?
I hope all that data is backed up somewhere.....
Also, aside from all other issues, it might be time for another drive. Full disks can create funny problems.

I am puzzled about what can happen to a partition table such that fdisk would read it but Gparted would not. I thought these things were a bit more deterministic.
 
Old 12-25-2006, 07:59 AM   #8
mahdif
Member
 
Registered: Sep 2006
Distribution: Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
can I install SuSE in text mode or any other alternate method in which i can use fdisk?

Last edited by mahdif; 12-25-2006 at 08:01 AM.
 
Old 12-25-2006, 08:04 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by mahdif
can I install SuSE in text mode or any other alternate method in which i can use fdisk?
Don't know about that, but you can always set up the partitions first and then tell the SUSE installer which exisiting partitions to use....
 
Old 12-25-2006, 08:39 AM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
mahdif

I don't know your problem.

Your post says due to a deletion of NetBSD Yast or Gparted can no longer read your partition table.

I requested by Post #3 to see the ouput of fdisk -l but no information has been offered so far.

You now say both fdisk and cfdisk can read your hard disk but the hard disk is nearly full.

What is your concern? that Grparted/Yast can't read the hard disk but cfdisk/fdisk can? Is that it? or you have reason to believe the hard disk has empty space that you can use for the installation of Suse?

You know you can use either fdisk or cfdisk to create the partitions first and INSTRUCT Suse installer to use them. I have never met an installer dare to oppose it. It is your God-given right to use any existing partition for install a Linux if you so desire.

For Suse 1Gb Swap partition plus a 10Gb partition for mounting its "/" are all you need.

Pixellany,

From my own experience programs in GUI can have bugs and their implementations aren't always perfect. Terminal programs are more robust and the longest serving Bash commands are very reliable.

Last edited by saikee; 01-05-2007 at 02:31 AM.
 
Old 01-04-2007, 07:44 PM   #11
vimico
Member
 
Registered: Jan 2004
Distribution: Debian, Ubuntu
Posts: 118

Rep: Reputation: 15
Angry

I can confirm the problem.

I have problems installing the newer Ubuntu versions (Dapper and Edgy). Neither their graphical installer nor their text based one do recognize my partition table, which I had created a few hours earlier with cfdisk.

fdisk, cfdisk and the kernel have no problem reading and using it.

I'm just waiting for the computer to finish copying a few Gigs, so that their precious program can partition the disk itself.

The problems seem to occur when logical partitions are used that are not created by their partitioning tool (gparted, I think).
 
Old 01-09-2007, 02:50 AM   #12
mahdif
Member
 
Registered: Sep 2006
Distribution: Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
when I run parted in text mode, it says: "can't have overlapping partitions"

what does it mean?
 
Old 01-09-2007, 09:00 AM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by mahdif
when I run parted in text mode, it says: "can't have overlapping partitions"

what does it mean?
How about giving us the fdisk -l output (requested twice now)????

Also, your question above is not in any real context---what were you doing when parted said this?

The message means exactly what it says: Partitions cannot overlap---ie the beginning of a partition must be after the end of the one before it. Make sense??
 
  


Reply

Tags
gparted, partitiontable, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"No partition table or unknown signature on partition table" 10.1 install madcow007 Slackware 4 02-09-2009 11:04 AM
installer says partition table has a problem adamherb Mandriva 10 08-09-2005 10:15 AM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 02:12 PM
bootloader problem with partition table JDW Linux - General 3 07-19-2004 12:43 PM
Partition Table Problem mtb Linux - Software 11 02-25-2004 12:08 AM


All times are GMT -5. The time now is 05:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration