General :: Resizing Partition Using Parted
Sep 14, 2010
I have slackware 13.1 installed on my desktop and I have all my hard drive dedicated to it. But now Im thinking about resizing my hard drive so that I can install windows so my brother can play games on it ( probly giving 50 Gigs to windows )I heard that parted ( located on slackware cd 1 ) is what I should use. So I was wondering if I need to backup any important files before doing the resizing? I would also appreciate it if someone could link an good tutorial for doing partition resizing .
View 2 Replies
ADVERTISEMENT
Dec 14, 2010
I have a partition, which is 32GB and is mounted to / of the archlinux distribution.I want to create another partition, I need about 5GB and I want to take them from this partition.If I use parted to resize the partition will I lose any files?
View 5 Replies
View Related
Aug 12, 2010
I'v tried to resize disk partition with GNU Parted resize command, but it didn't work.
View 2 Replies
View Related
Jun 8, 2011
The following is what parted print outputs:
(parted) print
Model: VMware Virtual disk (scsi)
Disk /dev/sda: 26.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
[Code].....
I want to resize my swap partition /dev/sda2 to use 1GB out of the above space. How can I achieve that?
View 2 Replies
View Related
Nov 11, 2010
First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.
I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.
View 5 Replies
View Related
Dec 1, 2010
I am a new user of Linux, and I actually had a task that is the ability to resize (specifically Shrink) storage of Virtual Machine, I was thinking that the best to start on is to know how to resize partition in linux using command line since our VM runs in Linux environment.
View 7 Replies
View Related
Feb 20, 2010
I have 10 GB drive with win98SE taking 2 GB and 9.04 taking 2.3 GB, then the rest is unallocated space. I am trying to use upgrade manager in 9.04 to upgrade to 9.10 (I have 9.10 CD but it fails to install - tried to download it several times. I know upgrade manager solution works in principle, but upgrading to 9.10 says it needs another 1GB of space.
I have used 9.04 live disc to start GParted but there seems no way to resize the 9.04 partition to use the unallocated space - can only resize it down. Making the unallocated space a partition does not seem to help. How can I go from here to make enough space to upgrade to 9.10 and keep Win 98
View 6 Replies
View Related
Apr 17, 2010
I have a 10GB IDE disk that Parted says has a single 10GB partition (/dev/sdb1) which is mounted at /home. However, df and the Gnome file managers see it only as a 3GB partition. It was a 3GB partition when I was using Fedora 9 but the partition was resized to 10GB during the installation of Fedora 11.Can anyone suggest how to make df and Gnome see it as a 10GB partition?
View 3 Replies
View Related
Feb 17, 2010
I am trying to partition a 6TB volume using parted, but I am a bit confused with the syntax. From the (parted) prompt, I know I should use the command "mkpart primary <start> <end>". I guess that <start> should =0. How do I tell what <end> should be? I want it to fill the entire volume but I don't see how to tell what the exact number should be.
View 1 Replies
View Related
Jan 11, 2010
I removed an ntfs partition I had in my HD and then resized my home partition with gparted to occupy all the available space. The resulting partition is supposed to be 129GB, and gparted/partition magic see that size. But the system does not, and all tools report the old partition size and the same free space I had before resizing.
View 5 Replies
View Related
Aug 6, 2010
Im using parted when doing a new disk. If the disk is ext[234], xfs, jfs, parted displays the partition correctly, but if the partition was formated using reiser4 or btrfs the "File System" part there is nothing, like there is no formating done to the partition.
This is how Im using parted:ex.: parted -s /dev/sda print
Does anyone knows a patch to fix this issue?
View 2 Replies
View Related
Dec 28, 2009
After trying without success change from windows to ubuntu (dual-boot unsolved problems), I decided to try slack as I have seen that user to user support for slack is usually best oriented and faster.But I am having some problems in order to install slack because of GPT support. As I know its a bad idea to start to asking for help without speak what I have tried, lets to this first:
At first I tried just to boot from DVD and went through the install using the help inside the disk. It doesn't work because either fdisk and cfdisk that are suggested in help doesn't offer support to GPT.
After that first try i looked to:url
But also it suggest the use of fdisk. However, it suggested too that I could use another partition application and since I have the live cd for ubuntu, I tried to partition from there and use those partitions for installation.
At first I tried to format as ext4, but i discovered that slack still dont offer support to this format (at least the version that I downloaded).So I tried again but this time using ext3 as format to my / and /home and use the swap offered in the application for use as swap (duh!)But every time I try to install using the dvd it doesnt find my partitions with fdisk, only with the parted command I can see my partition table displayed correctly.However, every time I try to run setup it say that it didnt found and linux partition (swap also when i try to target).So this is my dilemma, I cant use fdisk, in the parted manual (url) it only says that it supports ext2 (not mention ext3) and also i dont find any command to use with parted to mark the partition as 82.I ran through this 2 other posts (url), but as I am still waiting for some update there I decided to ask it here hoping to discover that this is an easy problem.
View 11 Replies
View Related
Jul 5, 2010
I've installed Ubuntu 10.04 Desktop i386 using "Install inside Windows" option. In the installation i dedicated 3GB for the root parition. Now i have a Windows 7 and a Ubuntu.
Currently, I need more space for the Ubuntu root parition (just 50MB freespace remained!). I realized the it is a simple 3GB file in the Windows and root parition is virtually in that file.
So it should be possible to increase the size of the root parition. But i cannot find any way for this.
I do not want to reinstall the my Ubuntu or add another partition. Is there any painless way to just increase the size of root parition?
View 1 Replies
View Related
Jul 22, 2010
Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have
Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)
I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.
View 6 Replies
View Related
Dec 16, 2010
I know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible.
Code:
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.
I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM.
1. Resized the vmdk in ESX (+1G)
2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan
3. fdisk shows me the new size... so far so good
4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm)
5. wrote config to disk
6. executed partprobe
7. pvresize /dev/sdc
Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.
View 5 Replies
View Related
Nov 20, 2009
I have a small disk and I want to resize to 2 gb the swap partition, how I can do?
[root@server12 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg_fedora11/lv_root
VG Name vg_fedora11
LV UUID Zwl9te-GQ1j-5Py3-Jiz0-JFAY-sy7n-iaV2TP
LV Write Access read/write
LV Status available
# open 1
LV Size 52.32 GB
Current LE 13393
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/vg_fedora11/lv_swap
VG Name vg_fedora11
LV UUID k61vCI-YAdI-XgNX-xRaG-B7jY-CTMQ-LKOjwk
LV Write Access read/write
LV Status available
# open 1
LV Size 3.92 GB
Current LE 1004
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
View 4 Replies
View Related
Feb 15, 2010
I want to give Mandriva 2010 a shot, and I want to resize my 500gb /home partition (logical) to make some room. It's an ext4 partition. Do you reckon I'll be safe resizing it from the Mandriva installer? or should I use an Ubuntu LiveCD first?
View 2 Replies
View Related
Apr 1, 2011
I didn't like the fact that Ubuntu allocated like 5gigs of swap with its automatic partitioning / install. So I decided to shrink it with gparted now it doesn't show up when I boot I have to select swap on in gparted to use it.
View 1 Replies
View Related
Feb 27, 2016
I have Debian and Virtual Box with another Debian. I have resized max size of vdi file with VBoxManage modifyhd but now I need to resize partition on virtual machine's system. I've downloaded GParted and I can run machine from this ISO as CD. Partition is encrypted on machine.Unfortunately GParted doesn't start with X so I have to use it in terminal. I can see partitions:
Code: Select allroot@debian:/# fdisk -l
Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772610 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3914....
[code]....
So I though maybe I need to use this (URL...). I couldn't find similar tutorial about Debian or GParted but OK, it's just executing these commands, not modifying its source.list.But I cannot even do the update:
Code: Select allroot@debian:/# sudo apt-get update
Err: http://free.nchc.org.tw/debian sid InRelease
Temporary failure resolving 'free.nchc.org.tw'
Err2: http://free.nchc.org.tw/drbl-core drbl InRelease
Temporary failure resolving 'free.nchc.org.tw'
Reading package lists... Done
W: Failed to fetch http://free.nchc.org.tw/debian/dists/sid/InRelease Teporary failure resolving 'free.nchc.org.tw'
W: Failed to fetch http://free.nchc.org.tw/drbl-core/dists/drbl/InRelease Temporary failure resolving 'free.nchc.org.tw'
W: Some index files failed to download. They have been ignored, or old ones used instead.
So I check my internet connection. VirtualBox has 'attached to NAT' and before I run out of space on virtual machine, Debian could access internet. So it's only something about this GParted. I have modified /etc/resolv.conf with vi (even vim is not available). And it has two valid nameservers. I haven't restarted anything, as I'm not sure if I need to, after modifying resolv.conf file.But even in that case I cannot ping anything from GParted:
Code: Select allroot@debian:/# ping www.google.com
ping: unknown host www.google.com
How can I access internet from GParted and resize encrypted partition?
View 8 Replies
View Related
Dec 17, 2010
when i have installed fedora 14 from the live CD....i noticed fedora give 4.9 GB SWAP partion:mad and give the root another 4.9 GB.... every time i monitor the swap is free cuz my RAM is 3 GB.... I want resize my root and take the space from the SWAP and give the SWAP only 1 GB... im worried that i miss up with system.... any clean graphical interface recommend me...? or any clean way to resize..?
View 1 Replies
View Related
Mar 11, 2010
Today I was messing around with my partitions, and I decided to shrink my main partition that had Windows on it, so that I would could have one big storage partition and then a Windows 7 one and a Ubuntu one. Well, it didn't really work so I decided just to wait for Lucid to come out and start with a fresh install. So I went into EASEUS Partition Manager and resized my main Windows 7 partition back to its normal size. It had to reboot and did its stuff, and then when I restarted my computer, grub was showing the grub rescue> thing. So I went into the Windows 7 recovery disk, and tried all the BootRec.exe options. None of those worked. So I decided to go to the extreme and just delete Ubuntu completely.
I deleted the entire partition with GParted and then resized the main partition all the way. Then I booted into a Ubuntu live usb and re-installed Ubuntu. I thought it would just reinstall Grub and I would be able to get to both Ubuntu and Windows 7. It did install Grub, but now I can only boot into Ubuntu. It's really weird, because I can boot into windows, it just says starting windows and does the loading thing. And then EASEUS Partition Manager comes and says that all resize operations were complete successfully(because I hadn't booted into windows since I resized stuff with it) and then the screen just stays black for a long time. I don't know what to do. If I wait long enough, my computer just reboots...
View 3 Replies
View Related
May 10, 2010
I have a LVM logical volume, that contains a LUKS encrypted volume, on which is an ext4 filesystem. I shrank the partition to the minimum size. Next step is to luksClose the device, and then to resize the LVM logical volume. I suspect that LUKS has overhead. So if the ext4 filesystem was resized from, say 1TB to 500G, I have the idea that resizing the LVM LV to 500G does not take LUKS overhead into account and this might corrupt data on the end of the FS. So, what's the smart move to take? How do I calculate the safe minimum LV size? Or should I just give the 500G disk a few gigabytes extra to be sure?
View 4 Replies
View Related
Aug 4, 2010
Are there any bad effects of resizing a partition? (like loss of data).
View 6 Replies
View Related
Jan 15, 2010
I am new to linux and have installed fedora 12 on my system. The partition sizing which I had done is :
- 17 gb
home- 8 gb
mp -1gb
usr -2gb
Boot -200mb
swap - 4gb (I have 2 gb RAM)
all partitions of ext4 format.
I would like to know that whenever I am going to install any new software or packages then it will be installed in which folder or partition? I have only 170 mb space free in user and have not installed any thing yet. Do I need to resize it. If yes, then how can I do so?
View 3 Replies
View Related
Oct 8, 2010
I am having problems resizing my partition. Basically I have a vmware server running 4 OS's and I have already changed the HDD size to 40GB in the profile configuration of the virtual machine. Now I want to edit the main partition to extend from 15GB to 40GB. I have searched everywhere but unfortunately none of it seems to work for me. This is what I have at the moment. (Booted from PMagic Disk) [URL]
View 4 Replies
View Related
Jan 23, 2016
Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.
View 11 Replies
View Related
Sep 1, 2010
I have been using Ubuntu for about a year and I decided to switch to Fedora just to see how it goes with getting everything in my system working again. I would say that with Ubuntu and Fedora installations I have installed and reinstalled 15 times, which I mention because I am not new to installing linux. I have used GParted to partition and resize my HD numerous times and reinstalled linux on a partition and so on. I know how to do all of that without any problems.
NOW HERE IS WHAT HAPPENED... I installed Fedora on my Desktop which I had partitioned into a 190 GB partition onto which Windows is installed and then I had another 30 GB partition onto which I chose to install Fedora. I chose the "replace existing Linux systems" in anaconda... and what resulted was a 30 GB partition with Fedora that is now showing up as LVM. I have never seen an LVM partition and I am not sure if I can use GPARTED to resize it without destroying it. I have used GPARTED to resize Linux partitions before, but they were never showing up as LVM. The forums on GPARTED only show info from about a year or two ago.
Here is what I want to do (and reading around on forums doesn't really give a good explanation of whether it is possible)... Is it possible to install Linux Mint into that 30 GB Fedora LVM partition by just resizing the Fedora part of the volume? So, the question is this: How can I resize the Fedora part of the LVM volume and then install Mint into that LVM partition?
If Fedora was on an ordinary 30 GB partition I would have no problem with using GPARTED to chop that in half and then use the 15 GB I freed up to install Mint. I just don't want to destroy the Fedora stuff by messing around the with the LVM partition so I would like to hear from others who have worked around this issue and please don't link to the ordinary LVM howto's you get through a simple google search as I have already read them and I don't find them too illuminating.
View 6 Replies
View Related
Jan 30, 2010
A while back I ran into the situation of running out of space on /boot. When I last installed Suse I just went with the recommended LVM layout, which proposes a very small /boot partition. When you run out of space you are now faced with resizing the LVM, which Gparted unfortunately does not support.In Googling around I did not find a concise guide, so I collected the information I needed and and then wrote a guide on the steps I used to resolve this issue and it is available at Resizing Default LVM Partitions and Moving /boot - Mine the Harvest
I found using EVMS from a live CD to be quite simple and was able to create a new /boot partition and reconfigure grub to use it in very short order. I was quite impressed with how easy to use EVMS was and the options it provides. (I think that the default LVM layout the Suse installer proposes is overly conservative on the size of the /boot partition. Why not allocate a few hundred megs, especially considering the size of drives today? Perhaps Suse will soon move to using grub2 and eliminating /boot altogether, but for now the very small allocation of space can be a bit of a pitfall for users -- especially when they are not familiar with resizing LVMs and reconfiguring grub. Of course moving to grub2 also introduces its own complexities too.)
View 2 Replies
View Related
Dec 16, 2010
I have two 250 GB drives setup with hardware RAID 1. I had on sda and sdb: 20 GB swap, 20 GB /, 198 GB /srv all was good until I started to run out of space on 20 GB /. So I booted the server with Suse 11.3 live cd and reduced the size of 20 GB swap to 10 GB and 198 GB /srv to 150 GB on sda and sdb.
All good so far, then tried to increase 20 GB / to 60 GB, but the Partition setup says the Max Size can be 20 GB, I have checked and I have 42.88 GB of Unpartitioned space. I have rescanned, rebooted, Server is still running fine by the way, but the 42.88 GB of free space is not made available for the expansion of 20 GB /.
View 6 Replies
View Related
Jan 18, 2011
I would like to resize my /home ( /dev/sdb6 ) partition - without losing data - to make room to create a swap partition (at the moment, I don't have any swap. Is it dangerous ?) IIRC, it was possible to change partition sizes from the install disk in repair mode (?) But I cannot find that repair mode on the 11.3 install disk. Has it been removed or is it somewhere deeper in the install or update process ?
[Code]....
View 9 Replies
View Related