Operating System - Linux
1753963 Members
7334 Online
108811 Solutions
New Discussion юеВ

Re: Fix size of disk in partition table

 
SOLVED
Go to solution
Heiner E. Lennackers
Respected Contributor

Fix size of disk in partition table

Hi,

when i change the size of the disk where my linux lives (by cloning it to a large disk or migrating the raid unit) fdisk always says i have the old disk size. I know that partition magic will fix this when booting with it and then the additional disk space can be used e.g. for additional partition.
My question is now: Is there a linux tool which can do the same, even better without booting the system?

Heiner
if this makes any sense to you, you have a BIG problem
3 REPLIES 3
Mike Stroyan
Honored Contributor
Solution

Re: Fix size of disk in partition table

You could boot from a gparted live CD.
http://gparted.sourceforge.net/livecd.php
Alexander Chuzhoy
Honored Contributor

Re: Fix size of disk in partition table

I don't know about better, but there's a tool called "parted" that manipulates partitions.
Stuart Browne
Honored Contributor

Re: Fix size of disk in partition table

gparted = graphical interface to parted

as for automated fixes, it doesn't do it, but you could possibly script something around it..

be aware that parted comes with a warning for every action. it can do the wrong thing..
One long-haired git at your service...