Red HatThis forum is for the discussion of Red Hat 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.
on my linux server i had 15 partitions on /dev/sdb
i was no longer requiring partition9 (sdb9) hence i deleted it using fdisk. after that when i did a 'p' is showed me 14 partitions sdb1 to sdb14. This means after deleting sdb9, the original sdb10 has now automatically become sdb9. After this i created a new partition of 30 GB which now shows as sdb15 and i exited fdisk with option 'w'. Now althought the partition table has altered i need to reboot the machine before i can get the changes to take place.
My problem is, now that there is an upward shift in the partition numbers (sbd10 became sdb9 and so on until sdb15 became sdb14 and i created a new sdb15), the /etc/fstab still shows the old partition numbers mounting the old filesystems. If i reboot the machine wont i loose all my data with the filesystems being mounted on the wrong partitions?
Well, usually, partitions would not be renumbered in this case... but supposing they were, you should be able to just update fstab and other partition-based references to reflect the new partitioning scheme.
You won't lose any data. Depending on the details you might get a kernel panic on boot if / was relabeled. Things may not work if the references to them are now wrong. You might want to boot Knoppix and fix up fstab from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.