aperahama Posted February 7, 2004 Report Share Posted February 7, 2004 I currently have a partition scheme: hdb5, empty (3.8Gb) hdb6, empty (7.9Gb) hdb7, /home hdb8, /data hdb9, / hdb10, /swap What I want to do is to spilt the hdb6 into two partitions. What do I need to maintain my system? Will I have trouble with the new partition numbers or what? How should I go about it? Do I need to alter my fstab or any other files to cope with this change? Thanks for looking and any answers are much appreciated Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted February 8, 2004 Report Share Posted February 8, 2004 I'm not sure that it will renumber your existing partitions, but I have never tried it. It will in windex, but windex is different than linux in this respect. If you use hardrake, it will tell you what the numbers are before you commit, so check it out. Quote Link to comment Share on other sites More sharing options...
iphitus Posted February 8, 2004 Report Share Posted February 8, 2004 You will need to modify your /etc/fstab and your /etc/lilo.conf If you split hdb6, you will probably end up with a drive like so: hdb5, empty (3.8Gb) hdb6, /joe hdb7, /bob hdb8, /home hdb9, /data hdb10, / hdb11, /swap So you will need to modify LILO to reflect the changes in the / partition and your fstab. good luck, Quote Link to comment Share on other sites More sharing options...
bvc Posted February 8, 2004 Report Share Posted February 8, 2004 how are you splitting it? Partition Magic? Diskdrake? Disdrake will not renumber, correctly in a nice neat common sense order, your current partitions. You'll have to delete hdb6 and make 2 new partitions which will go down like this... delete hdb6 hdb7,8,9,10 will become hdb6,7,8,9 the 2 new will become hdb10 and 11 so that you end up with hdb5, empty (3.8Gb) hdb10 (new) hdb11 (new) hdb6, /home hdb7, /data hdb8, / hdb9, /swap silly huh? btw, diskdrake will also make all the changes to fstab. I've done this sorta thing many times while having many distros. So it is a major pain because I then have to modify their fstab's myself. Partition Magic on the other hand is smart. You'd end up with hdb5, empty (3.8Gb) hdb6 (new) hdb7 (new) hdb8, /home hdb9, /data hdb10, / hdb11, /swap yes with other distros you'd still have to modify the fstabs but there's order which makes it a little easier to comprehend what's what, IMO. If you use pm you have to know this a head of time and edit fstab B4 you make the partition changes. Otherwise, not even rescue mode from cd1 can help you because it reads fstab. If / was hdb9 and it is changed to hdb10 by pm. You get nothing.....except a reinstall, or attempt an upgrade. Quote Link to comment Share on other sites More sharing options...
aperahama Posted February 11, 2004 Author Report Share Posted February 11, 2004 Thanks for sharing your experiences with me I have a much better idea of what to expect now. It would be a pain to be locked out of the system because my numbers weren't right. I just have to do it now. :D Quote Link to comment Share on other sites More sharing options...
Pzatch Posted February 11, 2004 Report Share Posted February 11, 2004 When I changed partitioning I just reloaded/installed lilo from the Madrake first disk in resque mode. I could have wrote everything down and hand edited things but reinstalling was an under 1 minute fix. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.