Partition table changed
11/01/2019 9:30
This is the outcome of a couple of disaster days, when I repeatedlydid the wrong thing, and finished up with a mess.

I deleted the partition table in my second (PATA) HD, and restored itusing TestDisk (a brilliant program.) Originally, it contained 3primary partitions: 1: Ext3 2: Ext3 3: NTFS (because Windows insisted that I have one.) Now Partition 2 (/dev/sdb2) has been put in the extended partition as alogical drive (/dev/sdb5.) /dev/sdb1 and /dev/sdb3 are unchanged. Nodata has been moved physically. Mandriva can handle this O.K., butWindows doesn't know about it (who cares?) nor does Mondorestore, whichsees a gap there (but I don't back up that partition anyway.) It isprobably safe to leave it that way, but I am uneasy about leaving suchan irregularity in existence, particularly as the consequences seem tovary with the OS. It will no doubt cause a problem at the worst possiblemoment.

Any recommendations? If the only option is to reformat, I would putthe NTFS partition at the beginning.

Doug.


Source is Usenet: alt.os.linux.mandriva
Sign in to add a comment

Answer score: 5
11/01/2019 9:30 - On Sun, 13 Jun 2010 01:24:16 GMT True. That was a misstatement on my part. It doesn't show as adistinct partition under df or diskdrake. In practical terms, it isinvisible.

In hindsight, what happened was that TestDisk changed /dev/sdb2 from primary to extended, and put the original /dev/sdb2 inside it as /dev/sdb5. The sequence was no longer following the physical arrangement, and was causing errors. /dev/sdb3 needed to be put inside as well, and to become /dev/sdb6. That was what I proposed at the end, and that was what I did, by deleting all the partitions and starting again.

As for the rest: I did tell you what the problem was. I had a messed-up partitiontable. How it got to be messed up is irrelevant. It was what it was.

I should not have posted how it finished up. I am inclined to tell thewhole story when posting - a fault. My question was Do I need to doanything about it? If I do, can I change a primary partition tological, or vice versa? which I put as: In context, I thought that I had stated the issues wellenough. (Incidentally, I couldn't find anything on the Web about how tomake a logical partition primary.) See above. If I want a Windows partition, I need one.

This whole thing got me when my Black Dog was at its worst. With myconcentration down, and my typing of commands inaccurate, one smallerror led to another. I would have left it alone for a week if I couldhave. Knowing your experience, I couldn't believe the tone of yourreply as I perceived it, and read it through again. Then I just threwup my hands and gave up.

Doug.


Source is Usenet: alt.os.linux.mandriva
Sign in to add a comment

Answer score: 5
11/01/2019 9:30 - Well that sure sounds like the wrong thing Why in the world did youdelete your partition table and reinstall a new one? Sounds like an verysilly thing to do.

Which is the extended partition? An extended partition is a subpartionon a primary partition. Which? Apparently you care since you say Windows insisted I have one? Why didyou care what windows insisted on? Sees a gap where?

Source is Usenet: alt.os.linux.mandriva
Sign in to add a comment

Answer score: 5
11/01/2019 9:30 - That is fine, but you never did tell us what the mistake was. Did youreally just on a whim decide to replace the partitiion table, or wereyou desperately trying to recover from some other error.

You may post where you wish.

No, that is NOT the norm. It is a possibility. But it is not what youtold us. What software are you using to look at the partitions? The secondpartition WILL be 2 with 5 inside it. (or 3 with 5 inside it, or 4...) That is perfectly fine. You can have 4 primary partitions as you said. There is absolutely nothing wrong with 3 primary partitions. Howeverthere IS something wrong with a logical partition not being part of aprimary, which you seemed to be saying. I have no problem with your using windows. Sure. if that is what is happening. That again was not clear. it??? Wha tis the referent for that word it? the most gramatical isUSB case which however makes no sense. 2 IS used. it is the primary partition containing the logical partitions fdisk -l /dev/sdb

Source is Usenet: alt.os.linux.mandriva
Sign in to add a comment

Answer score: 5
11/01/2019 9:30 - On Sat, 12 Jun 2010 16:51:31 GMT Forget it. We all make mistakes. Saying it was a silly thing to dodoesn't alter the fact that it happened. I can't unwind that, or Iwouldn't be here asking.

It sounds as though I should be posting to a Windows forum. They wouldbe familiar with how partitioning actually works, for example: http://www.pcguide.com/ref/hdd/file/structPartitions-c.html The norm seems to be primary partition 1, extended partition 2 withall the later-numbered partitions being inside it. Up to 4 primarypartitions can be created, but if the second partition shows up as No.

5 instead of 2, it is actually a logical partition, not a primary one.

That seems to be the common arrangement, but somehow, I started with 3primary partitions and no logical drives.

Some of us still use Windows -- some of the time. The big worldoutside still uses Windows, and I have to live with that. For a secondhard drive to be usable by Windows, it has to have a partition thatWindows recognizes, where Windows can put some system files. I havenow moved the disk off the mobo and into a USB case, where it doesn'tneed an NTFS partition, but I may want to put it back one day. I gotthe NTFS at the end by adding it later. I am going to set it upinitially so that it will work either way.

I intend to format the whole drive, and put a small NTFS partition atthe beginning, instead of at the end. I would like the new listing tobe /dev/sdb1, /dev/sdb5 and /dev/sdb6, just as on my main drive I haveWindows on /dev/sda1, Linux / on /dev/sda5 and all the others followingthat. Numbers 2, 3 and 4 are not used.

Doug.


Source is Usenet: alt.os.linux.mandriva
Sign in to add a comment

Answer score: 5
11/01/2019 9:30 - If it's working, I wouldn't change it. Just don't let any m$partitioning tool touch the drive.

If you do need to change the partition back to a primary one, sothat m$ software can be running from it, that can be done, withoutmoving the data, using sfdisk.

It's easy to mess things up, so make sure you have a full backupof everything on the drive, before trying to fix it. With a fullbackup, it's probably easier to just delete, re-partition, andrestore.

Regards, Dave Hodgins

Source is Usenet: alt.os.linux.mandriva
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below