deleting paritions, deletes the wrong partition # ?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
deleting paritions, deletes the wrong partition # ?
hey my problem is when i goto delete a parition using fdisk or cfdisk , it deletes the wrong parition # ( it deletes the last one off the disk ) so for ex if i do d then 6 then p, it shows that it delete part # 10 (last one off disk) and didnt delete 6, then if i do delete # 4 it will delete # 9 (now last one off disk) for sum reason im not sure why its doing this any ideas please?
here my parition table:
Disk /dev/hde: 80.0 GB, 80054059008 bytes
255 heads, 63 sectors/track, 9732 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hde1 * 1 13 104391 83 Linux
/dev/hde2 14 160 1180777+ 82 Linux swap
/dev/hde3 161 9158 72276435 5 Extended
/dev/hde5 161 404 1959898+ 83 Linux
/dev/hde6 405 1378 7823623+ 83 Linux
/dev/hde7 1379 2108 5863693+ 83 Linux
/dev/hde8 2109 2231 987966 83 Linux
/dev/hde9 2232 3083 6843658+ 83 Linux
/dev/hde10 3084 8000 39495771 83 Linux
as you can see i messed up when making my /usr /var etc.. a long time ago, made them way too big and ive come long time after to finally fix it ;0
mind you im doing this from in the slack cd kern environement ( cause im recreating my /usr /var paritions ) so that may be a factor to this problem and the output of df and fdisk may/is a little different then above of course, cause right now im in my normal slack parition/kern (not off cd)
any ideas? thanks.
stupid question but you sure it's not just the partitions getting renumbered after you delete one? They do get renumbered. you can use fdisk -l and check the start and end poitns of the partitions.
ooh goodness me yes that is the problem, didnt know they got renumbered, that did kinda cross my mine but i thought i checked the sizes before and after deleting to check that oh well
i feel kinda stupid now ;0 lol
thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.