LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2006, 08:53 AM   #16
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233

Anyone who wants to prepare for having to restore partitions should consider making an sfdisk dump file:
Code:
-d 
Dump the partitions of a device in a format useful as input to sfdisk. For example, 
 
    % sfdisk -d /dev/hda > hda.out
    % sfdisk /dev/hda < hda.out

 will correct the bad last extended partition that the OS/2 fdisk creates.
I'm not sure why the reference to OS/2, but the point is "a format useful as input to sfdisk". That means that you can back up your partition structure -- all partitions, not just the primaries in the MBR. Of course you have to save it in a safe place & keep it updated. If you "restore" from bad structure info, you will probably have an unintelligible mess.
 
Old 09-06-2006, 06:12 PM   #17
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
The + sign means that there is not an even number of blocks. This is normal because a cylinder is not always an integral multiple of block size.

I'm reading this post because I just installed FreeBSD 6.1 and when I was done my Linux fdisk -l showed that all the 3 primaries and extended didn't end on cylinder boundaries. I don't know what happened but a half hour ago this was not showing up on my fdisk -l.

I rebuilt the partition table by hand (not the first time) because I can't stand those messages .

Today is my lucky day because everything works fine, all my systems boot and all my data is right where I left it. I agree with what archtoad said- always make a copy of your fdisk -l ( I do mine in blocks and sectors because I run OpenBSD and now also FreeBSD which like sectors) and get it off the machine you're testing on! If you toast your disk and can't read the file you just saved it doesn't do you any good

Last edited by Randux; 09-06-2006 at 06:14 PM.
 
  


Reply


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 12:04 PM
partition table problems Moebius Linux - Hardware 5 12-15-2004 08:16 PM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 03:12 PM
partition table problems alexellis Debian 1 07-01-2004 11:18 PM
Problems installing Red Hat 9.0, trouble with partition table virtua_ Linux - Hardware 1 04-11-2003 05:04 AM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration