[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving Partitions



On Wed, Dec 16, 2015 at 03:39:15PM +0200, David Baron wrote:
In the continuing struggle to undo the damage of the ridiculous partitions
made by the installer, I bought another one terra disk and now have loads of
/usr space and and real /opt partition.

Now, two left:

/var which can either go to the 8gig partition freed by moving /usr or to a
larger partition on the new disk.

/ root, which is on a old 80gig IDE which should be removed from the system
(even though the smart errors are most likely due to the partial support of
the hardware, no data read or write errors).
This can either go to the 8gig partition freed by moving /usr or to a larger
partition on the new disk, whichever one /var does not inherit.

Question: Must root be on a primary partition (the 8gig is secondary --- I had
failed to move root to a currently third disk before this so that 8gig might
be preferred.)

No. The Kernel supports root on a primary or a secondary partition, or even on an GPT partition (which, AFAIK, only has primary partitions).

If you use an initrd (the standard Debian kernel does), you can put the root partition just about anywhere you like. LVM might be useful, for example, as it allows you to resize and move partitions more easily (Tip: If you do move to LVM, leave some of your volume group unallocated - it's easier to grow a partition than it is to shrink one).



--
For more information, please reread.

Attachment: signature.asc
Description: PGP signature


Reply to: