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.
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.
I am trying to resize a partition in CentOS (red hat). I have tried booting from a GParted livecd. It shows my /boot partition correctly, but my root partition is shown as unformatted, and as such is not able to be resized.
So--CentOS works but its / partition does not show correctly in GParted?? Hmmmmmmm
I would simply try another partition manager for a second opinion. QTParted on the Knoppix live CD, or any of several on the Ultimate Boot CD. (Both of these are good to have in any event, so nows the time......
Also, I had thought I mentioned this in my first post, but this is a virtual machine running on a virtual hard disk. I don't think that is causing the problem, though. The /boot formatting shows up fine.
Here is fdisk -l
Disk /dev/hda: 104.8 GB, 104857804800 bytes
255 heads, 63 sectors/track, 12748 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2549 20370420 8e Linux LVM
Here is parted print:
Disk geometry for /dev/hda: 0.000-100000.195 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 101.975 primary ext3 boot
2 101.975 19994.963 primary lvm
this is a virtual machine running on a virtual hard disk. I don't think that is causing the problem, though.
Why would you think that??
If you run fdisk inside your virtual environment, it does not know anything about what is outside. But if you boot for CD to run something like Gparted, then the picture is very different.
Give us a complete description of the system---ie where is this virtual disk living?
Now I am REALLY lost....How were you running GParted when it would not see your partition correctly? Booting from a CD? Or--as you say "Booting from ISO". Where is the ISO file located?
Does booting a virtual machine from an ISO give the same answer as booting a real machine from a real CD? I have no clue, but I have a hunch that this is at the core of your issue.
The ISO file was located in the real, OS X environment. The VM had it set as the CD, and was set to boot from the CD. In that environment, it was a CD.
I could burn a disk and use the VM with it, but it would be the same thing as far as I know.
Is there any way to format disks but keep the contents?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.