How to add new partition before Linux partition in an existing Linux box?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
It only causes problems if hda7 and hda8 change to different partition numbers. If you know in advance that, with the addition of a BEOS partition causes hda7 and hda8 to be shifted to hda8 and hda9, respectively, then make these changes to /etc/fstab and /etc/lilo.conf or whatever conf file xosl uses, before you shutdown Linux and create the new partition.
Yes, you have to do this every time your Linux partition numbers change. It might be a bit inconvient, but it does kind of point out that you should have some idea on how you are going to use your platform before you set it up to eliminate these kind of problems. -mk
There is a way to make things a little easier when you add or remove partitions. Use ' LABEL= ' in your fstab file. Just give your partitions names. Like ' / ' for the root partition and ' swap ' for the swap partition. Then do this:
Whenever the partition numbers change because of adding or removing a partition, linux will be able to find the right partition because it will look for the partition names instead of their number. You'll still have to edit the lilo.conf file to point to the new location of the root ' / ' partition.