个人工具

UbuntuHelp:PartitionMagic Error 114

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/StyleCleanup)>> It is possible that, after installing Ubuntu Linux you get an error #114 in PartitionMagic. Some other disk managing utilitys like gparted and qtparted simply seem to crash on the disk. Because of the error, you can not use PartitionMagic to make any modifications to the disk. The error is not in the PartitionMagic documentation, and numerous web resources have info on the error, but they rarely give a solution. The error in partitionmagic does not seem to give any problems outside of disk managing applications, except ofcourse for the fact that it is impossible to alter your partitions. As far as I have been able to find, the error is caused by a problem with the numbers of the partitions. I got the error after creating a dual boot with windows XP and Ubuntu Linux. Before installing linux, I had a primary windows partition(number 1) , a logical partition containing my documents (number 5), and a bootmagic partition (6). As far as I know, the reason the logical partition was labeled number 5 is the fact that you can create 4 primary partitions on one disk, and that therefore, numbers one to four are reserved, logicals start with 5 and go on from there. I took a little from partitions 1 and 5, and made some open space in between, to put Ubuntu. I did a normal install of linux, using the disk setup the ubuntu installer propsed. It made the root partition, followed by the swap partition. The swap partition being numbered 7. So after that, the order of my partitions was 1 2 7 5 6. The partitionmagic error #114 was caused by the fact that the 7 came before the 5 and the 6. To my knowledge, the best solution is to find some other disk partitioning tool, that does not stop on this error, and use that one to delete the wrongly numbered partition. I am under the impression that especially lower level partitioning tools do not stop on the error. Things like an ancient fdisk, or windows XP disk management. Those programs you do not want handling your disks under normal conditions. I am yet to find out what happens with my linux install if I delete the swap partition, but at least at this moment I am capable of moving partitions around as I like, so in the worst case, I will reinstall linux and pay attention to the numbering of the partitions. A solution to this problem is first using partitionmagic to give the partitions the right numbers. You create a logical partition "linux swap" before you install Ubuntu. Partitionmagic seems to automatically change the partition numbers, thus keeping the order. I think it would be possible to repair a working linux too, however, I am not sure, and have not tested it. If your linux is working, and you do not want to reinstall it, you might give this a try, but it's at your own risk. I would think that simply deleting the wrongly numbererd swap partition (see above), then creating a new swap partition with PartitionMagic, and then editing your /etc/fstab file would fix this. You would have to edit every line containing data about any partition beyond the swap partition too.