Resizing luks partition "in front"
Hello
I have currently the following partitioning scheme:
.-(~)----------------------------------------------------------------------------------------------------(root@tirion)-
`--# fdisk -l /dev/sda
Disk /dev/sda: 107.1 GiB, 115033153536 bytes, 224674128 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: 0x4488c4dc
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 63 192779 192717 94.1M 83 Linux
/dev/sda2 192780 224674127 224481348 107G 83 Linux
sda1 is a normal ext4 partition, sda2 LUKS with ext4
I found out, how I can grow a LUKS partition on the "end", but how can I get rid of sda1 and resize the luks partition to take all of the space?
Growing, or resizing in general, only happens on the end. So the way to do that would be to delete sda1 & sda2 (in the partition table that is) and create a new partition sda1 over the entire disk. Then you'd need to move the data from the old sda2 to be located where they outta be, so say for example your new partition would be like e.g.
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 224674127 224672080 107G 83 Linux
That would mean sda2 used to start at 192780*512=98703360 and the new one would now start at 2048*512=1048576 -- So I guess you could move data e.g. with dd:
dd bs=4M if=/dev/sda skip=98703360 iflag=skip_bytes of=/dev/sda seek=1048576 oflag=seek_bytes
It should put the data of the old sda2 right in the new sda1 location, so you can use it as expected. Then you can then grow your filesystem as usual (on the end) to take all the space/partition.
Assuming sda2 has a LUKS header, a simply way to make sure your at the right place would be:
dd if=/dev/sda bs=4 count=1 skip=98703360 iflag=skip_bytes
If it's right, it should read/show "LUKS"
Of course you should have a backup of your data before doing any of that. (Also some tools like maybe gparted or something might be able to do the whole thing "automatically" for you, I don't know.)
Similar Messages
-
[Solved] How to resize an encrypted luks partition?
Edit: This worked: http://www.enigmacurry.com/2007/04/28/r … ilesystem/
I have some empty space on my harddrive, and wish to fill it up, with my existing partition.
This is my harddrive setup in gparted:
And fdisk respectively:
[ricky@archlinux ~]$ sudo fdisk /dev/sda -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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
Disk identifier: 0x58bd1192
Device Boot Start End Blocks Id System
/dev/sda1 * 63 289169 144553+ 83 Linux
/dev/sda2 289170 195607439 97659135 83 Linux
/dev/sda2 (the crypted luks partition) contains an lvm group.
I am trying to enlarge the luks partition, to fill all of the empty space, soi can give some more space to the lvm's inside the encrypted partition.
I did come across an interesting page here: http://www.enigmacurry.com/2007/04/28/r … ilesystem/
Is this the correct approach, by deleting the WHOLE partition (not the data), and then simply creating a new partition, with the same start-sector, and the higher end-sector?
Will that allow me to then resize my lvm's inside of the luks partition?
I am sorry if this is confusing.
Last edited by xdemo (2011-03-18 07:53:35)jakobm wrote:Please be sure to use the bbs search: Defragment a NTFS partition from LINUX
That thread has absolutely no information other than a list of motivations to use Windows to defrag it... and a link to a buggy Python defragger.
Here's the only bulletproof way to defrag NTFS under Linux:
Make a new partition of the same size (or bigger), and format it to NTFS and mount it at /defragged
Mount your fragged partition at /fragged
rsync -av /fragged /defragged
Wha-la. /defragged is now your fragged partition, defragged. Reformat /fragged and rsync it back if you really must.
Drives get fragmented if you do multiple copies at the same time, so don't do anything else on the drive while it's syninc.
Last edited by dagelf (2014-08-28 07:21:54) -
How to back up Boot Camp and how to resize FAT partitions
I suppose someone has already addressed this topic herein, but in case someone needs help I am leaving with you what I learned.
I started with a partition sized to 18 gigs and installed Windows XP on it. Soon the drive became full after I installed software and various disc images so I can play games. I wanted to resize the partition to 28 gigs without losing my data, leaving 46 gigs on my Mac partition.
I was not sure what would work so I chose several methods of possible restoration. The easiest was to boot to the Mac and use Disk Utility to make a Disk Image of Boot Camp. The next precaution I took was to back up my settings with the Windows Files and Settings Wizard. Lastly, I booted to Mac and turned on viewing of hidden files. Then I copied all the files off the Windows XP partition onto an external drive. I also tried Acronis True Image while in Windows but it was not compatible.
I also discovered a free program called Winclone (http://www.tuaw.com) that makes an image of the Windows partition and restores it for you, much like Disk Utility works.
In OSX, I ran Boot Camp Assistant again to rejoin the partitions. Then I ran it again to partition the new drive to 28 gigs.
The first thing I tried to do was to use Winclone to restore the Winclone image. That failed with errors. Then I tried to use Disk Utility to restore the drive and Disk Utility would not allow me to restore the disk image onto the drive. I am not sure why Apple is so unsupportive of implementing their Disk Imaging technology within the context of their own self-created Boot Camp technology.
Anyway, the last thing I could try was to copy the files back onto the new partition or to give up and reinstall Windows and use Files and Settings Transfer Wizard to restore my Windows settings.
After partitioning the drive with Boot Camp Assistant, I copied the files over and rebooted. Windows said there was an unsupported drive. Then I realized that I missed a step in the installation instructions provided by Apple for Boot Camp. I forgot to format the drive again using the Windows XP install CD, that the Apple says is necessary.
So I booted up the Windows cd and erased the Boot Camp partition and made it a FAT drive so that I would be able to copy my files over to it from OSX, which I would not have been able to do had the drive been formatted as NTFS.
As XP started to install its software, and it started to copy files from the cd, I pressed the power button to shut down the Mac. (Do this at your own risk. I am warning you that this could damage your computer, so do NOT try this if you feel uneasy about it.)
I booted into OSX. Then I trashed the few files that Windows had started to install on the Boot Camp drive. Then I copied all my backup files back onto the partition.
Here is a widget that will allow you to view hidden files in OSX: http://www.apple.com/downloads/dashboard/developer/hiddenfiles.html
I rebooted the Mac and held down the Option key while restarting. When the Mac and Windows drives appeared at the startup screen, I selected Windows, which booted up successfully. It then recognized the partitioned drive as new hardware and required me to restart, which I did.
I wanted to convert my drive from a FAT drive to a NTFS-formatted drive.
This is how I did that:
http://technet.microsoft.com/en-us/library/bb456984(TechNet.10).aspx
After converting Boot Camp to NTFS file system I noticed an immediate speed increase in Windows XP. I
In conclusion, Disk Utility is a good method of backing up your partition, as it allows you to use a password to make a disk image of your drive. It also allows you to copy the files off the disk image onto the Windows partition. But it would be a lot simpler if Apple allowed them to use Disk Utility to restore the whole image back onto Boot Camp.
Other methodologies I did not get to explore because I am happy with my results:
http://forums.macosxhints.com/archive/index.php/t-71165.html
http://forums.macrumors.com/showthread.php?t=241035After copying your files back to the Boot Camp partition you may get this error message when you boot up Windows XP. Notepad opens with this message "[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\System32\Shell32.dll,-21787". If this happens to you please see this article from Microsoft. I had to perform both Methods 1 and 2 to remove the messages. http://support.microsoft.com/kb/330132
-
Resizing Windows Partition - No Longer Booting
Whenever I attempt to setup a Windows/Linux Dual boot I get hit with this same dilemma. I start off with a NTFS format partition with Windows XP on it. As soon as I resize the partition, it no longer boots. Even before installing linux/grub. I defragmented before attempting this, and I took every precaution. In the end, I'm never able to boot my Windows OS. I can boot Linux from the Grub menu, and I can still access my Windows files.
As of now I've reformatted back to Windows. I would just like to know what went wrong because I want to attempt another install later on.Ward,
windows is weird in that it notes somewhere the block numbers where the system is installed, and when that moves
it does not boot anymore.
Now you are making life more complicated then necessary: if you still have windows resized and installed (and not booting),
you can use the windows install cd and go into repair mode. It will fix the resized windows.
If you are starting from scratch, before installing windows, start a Linux live CD, do not install it, start the program
"gparted" and partition your disk as you want it. Then install windows in one of the partitions.
Instead of the Linux live CD you can also use a Gparted stand alone CD:
http://gparted.sourceforge.net/livecd.php
Hope it helps.
Mektub -
[Solved] Problem booting root in LVM, which spans two LUKS partitions
Hello,
I recently switched to Arch from OpenSuse, and I'm having a bit of trouble getting my encrypted disks to boot properly. I have two disks, the first is a 4 TB drive set up like this:
MBR partition table
Partition 1 - Windows 7, 200GB
Partition 2 - Linux boot, 200MB
Partition 3 - Luks partition, 1.7TB
Partition 4 - Luks partition, 1.7TB
Within partition 3 and 4 is an LVM volume which spans the two partitions. The reason for that is just that I can't have a 3.4TB partition on an MBR formatted drive (as I understand it). I have the root volume and swap, etc within this LVM. The second hard drive is simply a data drive, also encrypted. My problem is that I don't know how to tell the system to open both of these encrypted partitions at boot, in order to boot the root volume. This worked fine under OpenSuse and I only needed to enter the Luks password once (it is the same for both partitions).
As it is right now, my boot parameters in /etc/default/grub look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset cryptdevice=/dev/sda3:sda3_crypt root=/dev/mapper/vg_arch-root"
Currently the system boots, asks for the password to /dev/sda3, hangs for roughly 20 seconds and then kicks me into a root prompt. I can manually open /dev/sda4 at this point using cryptsetup and the system will continue booting normally... but I would like to have it set up properly, so I don't need to do that. Considering OpenSuse does this out of the box I figured it should be possible under Arch. Any help would be appreciated.
Thanks
Last edited by keitolainen (2015-06-09 21:56:08)As a quick update in case anyone is reading this, I cleaned up the script a bit and hopefully made it something closer to a "proper" fix.
Rather than editing /usr/lib/initcpio/hooks/encrypt directly, I did the following:
cp /usr/lib/initcpio/hooks/encrypt /etc/initcpio/hooks/
then changed the following section of /etc/initcpio/hooks/encrypt from:
# Ask for a passphrase
if [ ${dopassphrase} -gt 0 ]; then
echo ""
echo "A password is required to access the ${cryptname} volume:"
#loop until we get a real password
while ! eval cryptsetup open --type luks ${resolved} ${cryptname} ${cryptargs} ${CSQUIET}; do
sleep 2;
done
fi
to:
# Ask for a passphrase
if [ ${dopassphrase} -gt 0 ]; then
echo ""
while true ; do
echo -n "A password is required to access the ${cryptname} volume: "
read -sr password
echo $password | cryptsetup open --type luks ${resolved} ${cryptname} ${cryptargs} ${CSQUIET}
if [ $? = 0 ] ; then
break
fi
done
echo $password | cryptsetup open --type luks /dev/sda4 sda4_crypt
echo ""
fi
then edited /etc/mkinitcpio.conf and changed:
FILES=""
to:
FILES="/etc/initcpio/hooks/encrypt"
and ran
mkinitcpio
This is working well for me and I think it's a little cleaner than the solution I posted earlier. Sorry for the awkward bash, if anyone has a more elegant solution please let me know. -
Bootcamp partition missing after resizing OSX partition
Hi,
Please help me, after resizing OSX partition, i can't go back to windows, and i see bootcamp partition change to disk0s4 on disk utility
After find solution on this discussions site, I try to follow Lonner T way on "Missing Operating system_ " After installing Yosemite
but i have different problem :
sudo gpt -vv -r show /dev/disk0
gpt show: disk0: mediasize=251000193024; sectorsize=512; blocks=490234752
gpt show: disk0: Suspicious MBR at sector 0
gpt show: disk0: Pri GPT at sector 1
gpt show: disk0: Sec GPT at sector 490234751
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 292614464 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
293024104 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
294293640 98285432
392579072 97654784 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
490233856 863
490234719 32 Sec GPT table
490234751 1 Sec GPT header
And try using testdisk
output
> MS Data
392579071 490862590 98283520
After that I follow this solution
Rebuild using start/end offsets from Testdisk DeepSearch using GPT Fdisk (http://sourceforge.net/projects/gptfdisk/)
Sudo gdisk /dev/rdisk0
P (print the full list of parts)
D (delete)
4 (part 4)
N (new part)
4 (part 4)
392579071- Start offset in bytes (start point for Bootcamp part)
+1072318457 (Size offset as opposed to End offset)
I have problem on point 9,
output
GPT fdisk (gdisk) version 0.8.10
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Command (? for help): p
Disk /dev/disk0: 490234752 sectors, 233.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): FB335EA6-2601-48E6-87FE-1208E28CCAF9
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 98285430 sectors (46.9 GiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 293024103 139.5 GiB AF00 Customer
3 293024104 294293639 619.9 MiB AB00 Recovery HD
4 392579064 490234718 46.6 GiB 0700 Microsoft basic data
Command (? for help): d
Partition number (1-4): 4
Command (? for help): n
Partition number (4-128, default 4): 4
First sector (34-490234718, default = 294293640) or {+-}size{KMGTP}: 392579071
Information: Moved requested sector from 392579071 to 392579064 in
order to align on 8-sector boundaries.
Use 'l' on the experts' menu to adjust alignment
Last sector (392579064-490234718, default = 490234718) or {+-}size{KMGTP}: 98283520
Last sector (392579064-490234718, default = 490234718) or {+-}size{KMGTP}:
Please help meLoner T wrote:
Thank you.
No, I am who should be thanking to you
This is output from deepsearch
TestDisk 7.0-WIP, Data Recovery Utility, March 2015
Christophe GRENIER <[email protected]>
http://www.cgsecurity.org
Disk /dev/rdisk0 - 251 GB / 233 GiB - 490234752 sectors (RO)
Partition Start End Size in sectors
D EFI System 40 409639 409600 [EFI]
D EFI System 46 409645 409600 [EFI]
D Mac HFS 409640 293024103 292614464
D Mac HFS 978664 293593127 292614464
D Mac HFS 980528 293594991 292614464
D Mac HFS 982464 293596927 292614464
D Mac HFS 984072 293598535 292614464
D Mac HFS 985904 293600367 292614464
D Mac HFS 986416 293600879 292614464
D Mac HFS 986976 293601439 292614464
D Mac HFS 987440 293601903 292614464
D Mac HFS 988224 293602687 292614464
D Mac HFS 990104 293604567 292614464
D Mac HFS 991640 293606103 292614464
D Mac HFS 992112 293606575 292614464
D Mac HFS 992408 293606871 292614464
D Mac HFS 992656 293607119 292614464
D Mac HFS 992752 293607215 292614464
D Mac HFS 992960 293607423 292614464
D Mac HFS 993224 293607687 292614464
D Mac HFS 993552 293608015 292614464
D Mac HFS 994248 293608711 292614464
D Mac HFS 995560 293610023 292614464
D Mac HFS 995656 293610119 292614464
D Mac HFS 996304 293610767 292614464
D Mac HFS 998056 293612519 292614464
D Mac HFS 999112 293613575 292614464
D Mac HFS 999248 293613711 292614464
D Mac HFS 999352 293613815 292614464
D Mac HFS 999488 293613951 292614464
D Mac HFS 999624 293614087 292614464
D Mac HFS 999824 293614287 292614464
D Mac HFS 1000120 293614583 292614464
D Mac HFS 1000336 293614799 292614464
D Mac HFS 1000432 293614895 292614464
D Mac HFS 1000664 293615127 292614464
D Mac HFS 1000928 293615391 292614464
D Mac HFS 1001096 293615559 292614464
D Mac HFS 1001240 293615703 292614464
D Mac HFS 1001344 293615807 292614464
D Mac HFS 1001680 293616143 292614464
D Mac HFS 1002568 293617031 292614464
D Mac HFS 1004272 293618735 292614464
D Mac HFS 1004432 293618895 292614464
D Mac HFS 1004640 293619103 292614464
D Mac HFS 1005944 293620407 292614464
D Mac HFS 1007784 293622247 292614464
D Mac HFS 1008160 293622623 292614464
D Mac HFS 1010000 293624463 292614464
D Mac HFS 1011552 293626015 292614464
D Mac HFS 1013400 293627863 292614464
D Mac HFS 1015504 293629967 292614464
D Mac HFS 1015840 293630303 292614464
D Mac HFS 1017736 293632199 292614464
D Mac HFS 1018104 293632567 292614464
D Mac HFS 1018688 293633151 292614464
D Mac HFS 1020480 293634943 292614464
D Mac HFS 1021352 293635815 292614464
D Mac HFS 1022328 293636791 292614464
D Mac HFS 1022936 293637399 292614464
D Mac HFS 1023256 293637719 292614464
D Mac HFS 1023584 293638047 292614464
D Mac HFS 1024904 293639367 292614464
D Mac HFS 1025288 293639751 292614464
D Mac HFS 1025464 293639927 292614464
D Mac HFS 1026095 293640558 292614464
D MS Data 149383904 149386783 2880 [EFISECTOR]
D MS Data 149387723 149393896 6174
D MS Data 149393896 149400069 6174 [Boot]
D MS Data 173916696 173919575 2880 [EFISECTOR]
D MS Data 173919576 173922455 2880 [EFISECTOR]
D Mac HFS 196270356 294293643 98023288
D Mac HFS 196273461 294296748 98023288
D Mac HFS 196273589 294296876 98023288
D Mac HFS 196273765 294297052 98023288
D Mac HFS 196273853 294297140 98023288
D Mac HFS 196273949 294297236 98023288
D Mac HFS 196274197 294297484 98023288
D Mac HFS 196274381 294297668 98023288
D Mac HFS 196274517 294297804 98023288
D Mac HFS 196274709 294297996 98023288
D Mac HFS 196274877 294298164 98023288
D Mac HFS 196274997 294298284 98023288
D Mac HFS 196275109 294298396 98023288
D Mac HFS 196275213 294298500 98023288
D Mac HFS 196275381 294298668 98023288
D Mac HFS 196275661 294298948 98023288
D Mac HFS 196275821 294299108 98023288
D Mac HFS 196275917 294299204 98023288
D Mac HFS 196276141 294299428 98023288
D Mac HFS 196276245 294299532 98023288
D Mac HFS 196276381 294299668 98023288
D Mac HFS 196276549 294299836 98023288
D Mac HFS 196276637 294299924 98023288
D MS Data 261292840 418075424 156782585
D Mac HFS 291754572 293024107 1269536
D Mac HFS 291754640 293024175 1269536
D Mac HFS 291754712 293024247 1269536
D Mac HFS 291754816 293024351 1269536
D Mac HFS 291754888 293024423 1269536
D Mac HFS 291754968 293024503 1269536
D Mac HFS 291755040 293024575 1269536
D Mac HFS 291755112 293024647 1269536
D Mac HFS 291755184 293024719 1269536
D Mac HFS 291755264 293024799 1269536
D Mac HFS 291755336 293024871 1269536
D Mac HFS 291755416 293024951 1269536
D Mac HFS 291755488 293025023 1269536
D Mac HFS 291755592 293025127 1269536
D Mac HFS 291755664 293025199 1269536
D Mac HFS 291755768 293025303 1269536
D Mac HFS 291755840 293025375 1269536
D Mac HFS 291755944 293025479 1269536
D Mac HFS 291756016 293025551 1269536
D Mac HFS 291756120 293025655 1269536
D Mac HFS 291756192 293025727 1269536
D Mac HFS 291756296 293025831 1269536
D Mac HFS 291756335 293025870 1269536
D Mac HFS 291756407 293025942 1269536
D Mac HFS 291756487 293026022 1269536
D Mac HFS 291756559 293026094 1269536
D Mac HFS 291756639 293026174 1269536
D Mac HFS 291756711 293026246 1269536
D Mac HFS 291756791 293026326 1269536
D Mac HFS 291756863 293026398 1269536
D Mac HFS 291756943 293026478 1269536
D Mac HFS 291757015 293026550 1269536
D Mac HFS 291757095 293026630 1269536
D Mac HFS 291757167 293026702 1269536
D Mac HFS 291757247 293026782 1269536
D Mac HFS 291757319 293026854 1269536
D Mac HFS 291757399 293026934 1269536
D Mac HFS 291757471 293027006 1269536
D Mac HFS 291757575 293027110 1269536
D Mac HFS 291757647 293027182 1269536
D Mac HFS 291757751 293027286 1269536
D Mac HFS 291757823 293027358 1269536
D Mac HFS 291757903 293027438 1269536
D Mac HFS 291757975 293027510 1269536
D Mac HFS 291758079 293027614 1269536
D Mac HFS 291758151 293027686 1269536
D Mac HFS 291758231 293027766 1269536
D Mac HFS 291758303 293027838 1269536
D Mac HFS 291758383 293027918 1269536
D Mac HFS 291758455 293027990 1269536
D Mac HFS 291758535 293028070 1269536
D Mac HFS 291758607 293028142 1269536
D Mac HFS 291758687 293028222 1269536
D Mac HFS 291758759 293028294 1269536
D Mac HFS 291758839 293028374 1269536
D Mac HFS 291758911 293028446 1269536
D Mac HFS 291759015 293028550 1269536
D Mac HFS 291759087 293028622 1269536
D Mac HFS 291759167 293028702 1269536
D Mac HFS 291759239 293028774 1269536
D Mac HFS 291759319 293028854 1269536
D Mac HFS 291759391 293028926 1269536
D Mac HFS 291759471 293029006 1269536
D Mac HFS 291759543 293029078 1269536
D Mac HFS 291759623 293029158 1269536
D Mac HFS 291759695 293029230 1269536
D Mac HFS 291759775 293029310 1269536
D Mac HFS 291759847 293029382 1269536
D Mac HFS 291759927 293029462 1269536
D Mac HFS 291759999 293029534 1269536
D Mac HFS 291760079 293029614 1269536
D Mac HFS 291760151 293029686 1269536
D Mac HFS 291760231 293029766 1269536
D Mac HFS 291760303 293029838 1269536
D Mac HFS 291760383 293029918 1269536
D Mac HFS 291760455 293029990 1269536
D Mac HFS 291760535 293030070 1269536
D Mac HFS 291760607 293030142 1269536
D Mac HFS 291760687 293030222 1269536
D Mac HFS 291760759 293030294 1269536
D Mac HFS 291760839 293030374 1269536
D Mac HFS 291760911 293030446 1269536
D Mac HFS 291760991 293030526 1269536
D Mac HFS 291761063 293030598 1269536
D Mac HFS 291761143 293030678 1269536
D Mac HFS 291761215 293030750 1269536
D Mac HFS 291761295 293030830 1269536
D Mac HFS 291761367 293030902 1269536
D Mac HFS 291761447 293030982 1269536
D Mac HFS 291761519 293031054 1269536
D Mac HFS 291761599 293031134 1269536
D Mac HFS 291761671 293031206 1269536
D Mac HFS 291761751 293031286 1269536
D Mac HFS 291761823 293031358 1269536
D Mac HFS 291761903 293031438 1269536
D Mac HFS 291761975 293031510 1269536
D Mac HFS 291762055 293031590 1269536
D Mac HFS 291762127 293031662 1269536
D Mac HFS 291762207 293031742 1269536
D Mac HFS 291762279 293031814 1269536
D Mac HFS 291762359 293031894 1269536
D Mac HFS 291762431 293031966 1269536
D Mac HFS 291762511 293032046 1269536
D Mac HFS 291762583 293032118 1269536
D Mac HFS 291762663 293032198 1269536
D Mac HFS 291762735 293032270 1269536
D Mac HFS 291762815 293032350 1269536
D Mac HFS 291762887 293032422 1269536
D Mac HFS 291762967 293032502 1269536
D Mac HFS 291763039 293032574 1269536
D Mac HFS 291763119 293032654 1269536
D Mac HFS 291763191 293032726 1269536
D Mac HFS 291763271 293032806 1269536
D Mac HFS 291763343 293032878 1269536
D Mac HFS 291763423 293032958 1269536
D Mac HFS 291763495 293033030 1269536
D Mac HFS 291763575 293033110 1269536
D Mac HFS 291763647 293033182 1269536
D Mac HFS 291763727 293033262 1269536
D Mac HFS 291763799 293033334 1269536
D Mac HFS 291763879 293033414 1269536
D Mac HFS 291763951 293033486 1269536
D Mac HFS 291764031 293033566 1269536
D Mac HFS 291764103 293033638 1269536
D Mac HFS 291764183 293033718 1269536
D Mac HFS 291764255 293033790 1269536
D Mac HFS 291764335 293033870 1269536
D Mac HFS 291764407 293033942 1269536
D Mac HFS 291764487 293034022 1269536
D Mac HFS 291764559 293034094 1269536
D Mac HFS 291764639 293034174 1269536
D Mac HFS 291764711 293034246 1269536
D Mac HFS 291764791 293034326 1269536
D Mac HFS 291764863 293034398 1269536
D Mac HFS 291764943 293034478 1269536
D Mac HFS 291765015 293034550 1269536
D Mac HFS 291765095 293034630 1269536
D Mac HFS 291765167 293034702 1269536
D Mac HFS 291765247 293034782 1269536
D Mac HFS 291765319 293034854 1269536
D Mac HFS 291765399 293034934 1269536
D Mac HFS 291765471 293035006 1269536
D Mac HFS 291765551 293035086 1269536
D Mac HFS 291765623 293035158 1269536
D Mac HFS 291765703 293035238 1269536
D Mac HFS 291765775 293035310 1269536
D Mac HFS 291765855 293035390 1269536
D Mac HFS 291765927 293035462 1269536
D Mac HFS 291766007 293035542 1269536
D Mac HFS 291766079 293035614 1269536
D Mac HFS 291766159 293035694 1269536
D Mac HFS 291766231 293035766 1269536
D Mac HFS 291766311 293035846 1269536
D Mac HFS 291766383 293035918 1269536
D Mac HFS 291766463 293035998 1269536
D Mac HFS 291766535 293036070 1269536
D Mac HFS 291766615 293036150 1269536
D Mac HFS 291766687 293036222 1269536
D Mac HFS 291766767 293036302 1269536
D Mac HFS 291766839 293036374 1269536
D Mac HFS 291766919 293036454 1269536
D Mac HFS 291766991 293036526 1269536
D Mac HFS 291767071 293036606 1269536
D Mac HFS 291767143 293036678 1269536
D Mac HFS 291767223 293036758 1269536
D Mac HFS 291767295 293036830 1269536
D Mac HFS 291767375 293036910 1269536
D Mac HFS 291767447 293036982 1269536
D Mac HFS 291767551 293037086 1269536
D Mac HFS 291767623 293037158 1269536
D Mac HFS 291767727 293037262 1269536
D Mac HFS 291767799 293037334 1269536
D Mac HFS 291767879 293037414 1269536
D Mac HFS 291767951 293037486 1269536
D Mac HFS 291768031 293037566 1269536
D Mac HFS 291768103 293037638 1269536
D Mac HFS 291768183 293037718 1269536
D Mac HFS 291768255 293037790 1269536
D Mac HFS 291768335 293037870 1269536
D Mac HFS 291768407 293037942 1269536
D Mac HFS 291768487 293038022 1269536
D Mac HFS 291768559 293038094 1269536
D Mac HFS 291768631 293038166 1269536
D Mac HFS 291768703 293038238 1269536
D Mac HFS 291768783 293038318 1269536
D Mac HFS 291768855 293038390 1269536
D Mac HFS 291768935 293038470 1269536
D Mac HFS 291769007 293038542 1269536
D Mac HFS 291769079 293038614 1269536
D Mac HFS 291769151 293038686 1269536
D Mac HFS 291769231 293038766 1269536
D Mac HFS 291769303 293038838 1269536
D Mac HFS 291769383 293038918 1269536
D Mac HFS 291769455 293038990 1269536
D Mac HFS 291769527 293039062 1269536
D Mac HFS 291769599 293039134 1269536
D Mac HFS 291769679 293039214 1269536
D Mac HFS 291769751 293039286 1269536
D Mac HFS 291769831 293039366 1269536
D Mac HFS 291769903 293039438 1269536
D Mac HFS 291769975 293039510 1269536
D Mac HFS 291770047 293039582 1269536
D Mac HFS 291770127 293039662 1269536
D Mac HFS 291770199 293039734 1269536
D Mac HFS 291770271 293039806 1269536
D Mac HFS 291770343 293039878 1269536
D Mac HFS 291770423 293039958 1269536
D Mac HFS 291770495 293040030 1269536
D Mac HFS 291770567 293040102 1269536
D Mac HFS 291770639 293040174 1269536
D Mac HFS 291770719 293040254 1269536
D Mac HFS 291770791 293040326 1269536
D Mac HFS 291770871 293040406 1269536
D Mac HFS 291770943 293040478 1269536
D Mac HFS 293024104 294293639 1269536
D Mac HFS 293024172 294293707 1269536
D Mac HFS 293024244 294293779 1269536
D Mac HFS 293024348 294293883 1269536
D Mac HFS 293024420 294293955 1269536
D Mac HFS 293024500 294294035 1269536
D Mac HFS 293024572 294294107 1269536
D Mac HFS 293024644 294294179 1269536
D Mac HFS 293024716 294294251 1269536
D Mac HFS 293024796 294294331 1269536
D Mac HFS 293024868 294294403 1269536
D Mac HFS 293024948 294294483 1269536
D Mac HFS 293025020 294294555 1269536
D Mac HFS 293025124 294294659 1269536
D Mac HFS 293025196 294294731 1269536
D Mac HFS 293025300 294294835 1269536
D Mac HFS 293025372 294294907 1269536
D Mac HFS 293025476 294295011 1269536
D Mac HFS 293025548 294295083 1269536
D Mac HFS 293025652 294295187 1269536
D Mac HFS 293025724 294295259 1269536
D Mac HFS 293025828 294295363 1269536
D Mac HFS 293025867 294295402 1269536
D Mac HFS 293025939 294295474 1269536
D Mac HFS 293026019 294295554 1269536
D Mac HFS 293026091 294295626 1269536
D Mac HFS 293026171 294295706 1269536
D Mac HFS 293026243 294295778 1269536
D Mac HFS 293026323 294295858 1269536
D Mac HFS 293026395 294295930 1269536
D Mac HFS 293026475 294296010 1269536
D Mac HFS 293026547 294296082 1269536
D Mac HFS 293026627 294296162 1269536
D Mac HFS 293026699 294296234 1269536
D Mac HFS 293026779 294296314 1269536
D Mac HFS 293026851 294296386 1269536
D Mac HFS 293026931 294296466 1269536
D Mac HFS 293027003 294296538 1269536
D Mac HFS 293027107 294296642 1269536
D Mac HFS 293027179 294296714 1269536
D Mac HFS 293027283 294296818 1269536
D Mac HFS 293027355 294296890 1269536
D Mac HFS 293027435 294296970 1269536
D Mac HFS 293027507 294297042 1269536
D Mac HFS 293027611 294297146 1269536
D Mac HFS 293027683 294297218 1269536
D Mac HFS 293027763 294297298 1269536
D Mac HFS 293027835 294297370 1269536
D Mac HFS 293027915 294297450 1269536
D Mac HFS 293027987 294297522 1269536
D Mac HFS 293028067 294297602 1269536
D Mac HFS 293028139 294297674 1269536
D Mac HFS 293028219 294297754 1269536
D Mac HFS 293028291 294297826 1269536
D Mac HFS 293028371 294297906 1269536
D Mac HFS 293028443 294297978 1269536
D Mac HFS 293028547 294298082 1269536
D Mac HFS 293028619 294298154 1269536
D Mac HFS 293028699 294298234 1269536
D Mac HFS 293028771 294298306 1269536
D Mac HFS 293028851 294298386 1269536
D Mac HFS 293028923 294298458 1269536
D Mac HFS 293029003 294298538 1269536
D Mac HFS 293029075 294298610 1269536
D Mac HFS 293029155 294298690 1269536
D Mac HFS 293029227 294298762 1269536
D Mac HFS 293029307 294298842 1269536
D Mac HFS 293029379 294298914 1269536
D Mac HFS 293029459 294298994 1269536
D Mac HFS 293029531 294299066 1269536
D Mac HFS 293029611 294299146 1269536
D Mac HFS 293029683 294299218 1269536
D Mac HFS 293029763 294299298 1269536
D Mac HFS 293029835 294299370 1269536
D Mac HFS 293029915 294299450 1269536
D Mac HFS 293029987 294299522 1269536
D Mac HFS 293030067 294299602 1269536
D Mac HFS 293030139 294299674 1269536
D Mac HFS 293030219 294299754 1269536
D Mac HFS 293030291 294299826 1269536
D Mac HFS 293030371 294299906 1269536
D Mac HFS 293030443 294299978 1269536
D Mac HFS 293030523 294300058 1269536
D Mac HFS 293030595 294300130 1269536
D Mac HFS 293030675 294300210 1269536
D Mac HFS 293030747 294300282 1269536
D Mac HFS 293030827 294300362 1269536
D Mac HFS 293030899 294300434 1269536
D Mac HFS 293030979 294300514 1269536
D Mac HFS 293031051 294300586 1269536
D Mac HFS 293031131 294300666 1269536
D Mac HFS 293031203 294300738 1269536
D Mac HFS 293031283 294300818 1269536
D Mac HFS 293031355 294300890 1269536
D Mac HFS 293031435 294300970 1269536
D Mac HFS 293031507 294301042 1269536
D Mac HFS 293031587 294301122 1269536
D Mac HFS 293031659 294301194 1269536
D Mac HFS 293031739 294301274 1269536
D Mac HFS 293031811 294301346 1269536
D Mac HFS 293031891 294301426 1269536
D Mac HFS 293031963 294301498 1269536
D Mac HFS 293032043 294301578 1269536
D Mac HFS 293032115 294301650 1269536
D Mac HFS 293032195 294301730 1269536
D Mac HFS 293032267 294301802 1269536
D Mac HFS 293032347 294301882 1269536
D Mac HFS 293032419 294301954 1269536
D Mac HFS 293032499 294302034 1269536
D Mac HFS 293032571 294302106 1269536
D Mac HFS 293032651 294302186 1269536
D Mac HFS 293032723 294302258 1269536
D Mac HFS 293032803 294302338 1269536
D Mac HFS 293032875 294302410 1269536
D Mac HFS 293032955 294302490 1269536
D Mac HFS 293033027 294302562 1269536
D Mac HFS 293033107 294302642 1269536
D Mac HFS 293033179 294302714 1269536
D Mac HFS 293033259 294302794 1269536
D Mac HFS 293033331 294302866 1269536
D Mac HFS 293033411 294302946 1269536
D Mac HFS 293033483 294303018 1269536
D Mac HFS 293033563 294303098 1269536
D Mac HFS 293033635 294303170 1269536
D Mac HFS 293033715 294303250 1269536
D Mac HFS 293033787 294303322 1269536
D Mac HFS 293033867 294303402 1269536
D Mac HFS 293033939 294303474 1269536
D Mac HFS 293034019 294303554 1269536
D Mac HFS 293034091 294303626 1269536
D Mac HFS 293034171 294303706 1269536
D Mac HFS 293034243 294303778 1269536
D Mac HFS 293034323 294303858 1269536
D Mac HFS 293034395 294303930 1269536
D Mac HFS 293034475 294304010 1269536
D Mac HFS 293034547 294304082 1269536
D Mac HFS 293034627 294304162 1269536
D Mac HFS 293034699 294304234 1269536
D Mac HFS 293034779 294304314 1269536
D Mac HFS 293034851 294304386 1269536
D Mac HFS 293034931 294304466 1269536
D Mac HFS 293035003 294304538 1269536
D Mac HFS 293035083 294304618 1269536
D Mac HFS 293035155 294304690 1269536
D Mac HFS 293035235 294304770 1269536
D Mac HFS 293035307 294304842 1269536
D Mac HFS 293035387 294304922 1269536
D Mac HFS 293035459 294304994 1269536
D Mac HFS 293035539 294305074 1269536
D Mac HFS 293035611 294305146 1269536
D Mac HFS 293035691 294305226 1269536
D Mac HFS 293035763 294305298 1269536
D Mac HFS 293035843 294305378 1269536
D Mac HFS 293035915 294305450 1269536
D Mac HFS 293035995 294305530 1269536
D Mac HFS 293036067 294305602 1269536
D Mac HFS 293036147 294305682 1269536
D Mac HFS 293036219 294305754 1269536
D Mac HFS 293036299 294305834 1269536
D Mac HFS 293036371 294305906 1269536
D Mac HFS 293036451 294305986 1269536
D Mac HFS 293036523 294306058 1269536
D Mac HFS 293036603 294306138 1269536
D Mac HFS 293036675 294306210 1269536
D Mac HFS 293036755 294306290 1269536
D Mac HFS 293036827 294306362 1269536
D Mac HFS 293036907 294306442 1269536
D Mac HFS 293036979 294306514 1269536
D Mac HFS 293037083 294306618 1269536
D Mac HFS 293037155 294306690 1269536
D Mac HFS 293037259 294306794 1269536
D Mac HFS 293037331 294306866 1269536
D Mac HFS 293037411 294306946 1269536
D Mac HFS 293037483 294307018 1269536
D Mac HFS 293037563 294307098 1269536
D Mac HFS 293037635 294307170 1269536
D Mac HFS 293037715 294307250 1269536
D Mac HFS 293037787 294307322 1269536
D Mac HFS 293037867 294307402 1269536
D Mac HFS 293037939 294307474 1269536
D Mac HFS 293038019 294307554 1269536
D Mac HFS 293038091 294307626 1269536
D Mac HFS 293038163 294307698 1269536
D Mac HFS 293038235 294307770 1269536
D Mac HFS 293038315 294307850 1269536
D Mac HFS 293038387 294307922 1269536
D Mac HFS 293038467 294308002 1269536
D Mac HFS 293038539 294308074 1269536
D Mac HFS 293038611 294308146 1269536
D Mac HFS 293038683 294308218 1269536
D Mac HFS 293038763 294308298 1269536
D Mac HFS 293038835 294308370 1269536
D Mac HFS 293038915 294308450 1269536
D Mac HFS 293038987 294308522 1269536
D Mac HFS 293039059 294308594 1269536
D Mac HFS 293039131 294308666 1269536
D Mac HFS 293039211 294308746 1269536
D Mac HFS 293039283 294308818 1269536
D Mac HFS 293039363 294308898 1269536
D Mac HFS 293039435 294308970 1269536
D Mac HFS 293039507 294309042 1269536
D Mac HFS 293039579 294309114 1269536
D Mac HFS 293039659 294309194 1269536
D Mac HFS 293039731 294309266 1269536
D Mac HFS 293039803 294309338 1269536
D Mac HFS 293039875 294309410 1269536
D Mac HFS 293039955 294309490 1269536
D Mac HFS 293040027 294309562 1269536
D Mac HFS 293040099 294309634 1269536
D Mac HFS 293040171 294309706 1269536
D Mac HFS 293040251 294309786 1269536
D Mac HFS 293040323 294309858 1269536
D Mac HFS 293040403 294309938 1269536
D Mac HFS 293040475 294310010 1269536
D Mac HFS 294293636 295563171 1269536
D Mac HFS 294293640 392316927 98023288
D MS Data 294295552 392579071 98283520
D Mac HFS 294296745 392320032 98023288
D Mac HFS 294296873 392320160 98023288
D Mac HFS 294297049 392320336 98023288
D Mac HFS 294297137 392320424 98023288
D Mac HFS 294297233 392320520 98023288
D Mac HFS 294297481 392320768 98023288
D Mac HFS 294297665 392320952 98023288
D Mac HFS 294297801 392321088 98023288
D Mac HFS 294297993 392321280 98023288
D Mac HFS 294298161 392321448 98023288
D Mac HFS 294298281 392321568 98023288
D Mac HFS 294298393 392321680 98023288
D Mac HFS 294298497 392321784 98023288
D Mac HFS 294298665 392321952 98023288
D Mac HFS 294298945 392322232 98023288
D Mac HFS 294299105 392322392 98023288
D Mac HFS 294299201 392322488 98023288
D Mac HFS 294299425 392322712 98023288
D Mac HFS 294299529 392322816 98023288
D Mac HFS 294299665 392322952 98023288
D Mac HFS 294299833 392323120 98023288
D Mac HFS 294299921 392323208 98023288
D MS Data 315991993 413646776 97654784
D MS Data 331921785 429576568 97654784
D MS Data 333451264 490233848 156782585
D MS Data 392579072 490233855 97654784
D Mac HFS 393099998 401488607 8388610 [ D^A]
D MS Data 395878787 395884960 6174
D MS Data 395884960 395891133 6174 [Boot]
D Mac HFS 401488604 409877213 8388610 [ D^A]
D MS Data 401956715 401959594 2880 [NO NAME]
D MS Data 403749891 403756064 6174
D MS Data 403756064 403762237 6174 [Boot]
D MS Data 405916539 405937277 20739 [NO NAME]
D MS Data 414752979 414759152 6174
D MS Data 414759152 414765325 6174 [Boot]
D MS Data 414759187 414765360 6174
D MS Data 414765360 414771533 6174 [Boot]
D MS Data 414771536 414774415 2880 [EFISECTOR]
D MS Data 414774416 414777295 2880 [EFISECTOR]
D MS Data 471619240 471622119 2880 [BOOTTEST]
D Mac HFS 488965176 490234711 1269536
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
P=Primary D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continue
NTFS found using backup sector, blocksize=4096, 49 GB / 46 GiB
And I have to P :list all MS Data
still same output
In all MS Data
Can't open filesystem. Filesystem seems damaged.
Only on sector "boot"
dr-xr-xr-x
0
0
0 16-Feb-2005 04:33 .
dr-xr-xr-x
0
0
0 16-Feb-2005 04:33 ..
dr-xr-xr-x
0
0
0 16-Feb-2005 04:33 System Volume Information -
I can't resize my partition on a GUID partition table.
It says "This partition can not be modified"
I don't understand this as I specifically wiped this drive from being a MBR (DOS compatible) and reformatted it with GUID.
Can anyone explain this or what I need to do to resize it? (Hopefully not including wiping the entire drive again)Thanks to you both, luckily there's only 600GB on that drive at the moment.
I was wondering, though, why won't it let me make it bigger?
I already had a 1TB partition in the space below it. The screenshot shows me having already deleted it - but still no option to resize the other (larger) 2TB one.
If there is a reason why I can't resize now, then I can take that advice and try and make sure it doesn't happen when I reformat it again.
I would understand if the partition were MBR, but it's not, it's a GUID Partition Table (bottom right), so I'm confused - what is it's problem? ;-) -
Cannot resize system partition due to recovery partition
Hello.
I have a 500GB HD (momentus XT) that replaced my default 320GB HD.
i cannot resize the system partition due to the recovery partition. System keeps on telling me that "map is too small".
Tried diskutil under osx, under lion bootable recovery usb stick, under diskutil through console.
Here is what diskutil tells me.
~ > diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 319.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
~ > diskutil resizeVolume /dev/disk0s2 400G
Started partitioning on disk0s2 Macintosh HD
Verifying the disk
Checking file system
Performing live verification
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Macintosh HD appears to be OK
Resizing
Error: -5341: MediaKit reports partition (map) too small
I want to resize the partition to use the remaining new space i have, of course, and create a bootcamp part.
I am wondering if i can kill the recovery partition without destroying my lion. As i have the recovery transfered successfully to usb stick using the apple utility, i am able to use it anytime.
But... just wondering if that would crash my OS or not.
Or, if anyone sees a way to move the recovery partition to end of the HD so that i can enlarge successfully...Thanks to you both, luckily there's only 600GB on that drive at the moment.
I was wondering, though, why won't it let me make it bigger?
I already had a 1TB partition in the space below it. The screenshot shows me having already deleted it - but still no option to resize the other (larger) 2TB one.
If there is a reason why I can't resize now, then I can take that advice and try and make sure it doesn't happen when I reformat it again.
I would understand if the partition were MBR, but it's not, it's a GUID Partition Table (bottom right), so I'm confused - what is it's problem? ;-) -
i used gparted live in order to maximize the size of root partition but i can't
Device Boot Start End Blocks Id System
/dev/sda1 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 * 718848 586656347 292968750 7 HPFS/NTFS/exFAT
/dev/sda3 612048894 976771071 182361089 5 Extended
/dev/sda4 586657792 612046847 12694528 83 Linux
/dev/sda5 967215104 976771071 4777984 82 Linux swap / Solaris
/dev/sda6 612048896 967213055 177582080 83 Linux
Number Start End Size Type File system Flags
1 1049kB 368MB 367MB primary ntfs
2 368MB 300GB 300GB primary ntfs boot
4 300GB 313GB 13.0GB primary ext4
3 313GB 500GB 187GB extended
6 313GB 495GB 182GB logical ext4
5 495GB 500GB 4893MB logical linux-swap(v1)
i minimize the size of sda6(home folder) in order to give more space to my root partition sda4 but i can't .gparted don't give the option to add the unallocated space to sda4.when i tried to adjust the partitions the swap partition was off
Last edited by kosgeter (2014-04-30 21:52:13)That's a no-no, you can't do that
To increase the size of sda4, there must be continuous free space after it.
In your case it's like
sda4
sda5
sda6
You first reduce sda6 and you get free space after it, you need to move sda6(not just resize it). Also you will need to delete sda5(which is your swap) and remake it.
Example:
sda4 - 10GB
sda5 - 4GB
sda6 - 100GB
delete sda5 and resize sda6:
sda4 - 10GB
4GB free space
sda6 - 50GB
50GB free space
move sda6:
sda4 - 10GB
50GB free space
sda6 - 50 GB
4GB free space
resize sda4 and create swap(sda7):
sda4 - 60GB
sda6 - 50 GB
sda7 - 4GB
Might I suggest that you use console tools instead of gparted(imho gparted is buggy). The tools in the arch install iso should do fine. Also you can't resize mounted partitions, so you shouldn't try to touch your arch root partition while using it
Last edited by rand_x0r (2014-05-01 16:06:31) -
Resizing a partition on a shared drive
I have a hard drive connected to the server and the files on that hard drive are shared via AFP and SMB. I have also FTP share on that hard drive. Now I would like to resize that partition on the fly using such an application as iPartition. I want to have two partition on the hard drive. But when I try to use iPartition it does not seem to be able to resize the partition. Is it because the partition is locked in some way?
Gerrit DeWitt wrote:
Yes. Before you can resize that volume, you need to back it up and stop all file services that are accessing its contents. If the volume is on a disk that uses a GUID partition map, then you can use Disk Utility to repartition it on the fly (Mac OS X Server 10.5); or you can use *diskutil resizeVolume*. If the disk's partition map is Apple Partition Map (APM), then it is not designed to be resized. Other software may be able to accomplish that task, but I would certainly back up the data on the disk before trying!
Thank you for your answer. I actually found later what the problem was. The iPartition would not resize the volume because it was fragmented. I later read in the iPartition help that one has to defragment a volume before iPartioning it. So, I ran iDefrag on the volume and successfully partitioned it afterwards on the fly. I did turn off the services before that. It has been a few weeks since then and the server has been running smoothly. -
Can't resize disk partitions after Yosemite install.
My disk has two partitions. I run Mavericks on the first, and recently installed Yosemite on the second. The OS works fine, but I no way to resize the partitions. I've tried booting into both Yosemite and Mavericks but the partition layout in disk utility appears locked with fixed partition sizes.
It now appears that I have two options.
Use the undocumented "resizeVolume" command in diskutil to resize the core storage volume in my Yosemite partition, or
Use the "revert" command in diskutil to revert from core storage to the default partition type and try my luck.
Is anyone else facing this issue of not being able to resize your disk partitions after the Yosemite install, and if so, how did you resolve this?
Thanks in advance.None of these worked. I had to resolve this the hard way.
Make a complete TM backup of the new Yosemite installation.
Use a bootable install DVD or USB drive, re-partition the disk and do a complete reinstall.
Recover the applications and data from the TM backup.
It took me about an hour and a half once I decided on this approach, not counting the hours wasted trying to get it working.
To give them credit, the TM backup and restore worked flawlessly and all my apps and data were back without a hitch.
However, reading the other posts in the forum and elsewhere it does appear that Apple has not done a good job with the disk utility in supporting core storage volumes, which is fairly ridiculous since Yosemite defaults to that without giving you a choice. -
Hi,
I have a problem with resizing my partition C on Windows 8.1. It only has 28 GB and I have run out of every space. The Disc manager for resizing partitions is not working (every option for a Disc C is greyed out). I downloaded three partition managers: Paragon,
Aomei and one more (don't remember the name, cause I deleted it already). All of them were supported by Windows 8.1 32 bit. And still it was not possible to do anything with the disk C, even though I have a lot of unallocated space to use.
I also deleted disk D, so that only Disk C was left, and still I couldn't allocate any space to it, only to shrink it.
Can anyone tell me what else can I do?
It is driving me crazy already. Help please.
MartaHello,
I used aomei partition assistant before in my windows 8.1, it worked well. do you use "resize partition" in aomei partition assistant to extend you c drive? if you do like this, the unallocated space on your hard disk should be contiguous behind
the partition c, or you can't extend partition. but if the unallocated space is not contigous behind partition c, you an use extend partition wizard or merge partitions to extend partitionc
extend partition wizard: http://www.disk-partition.com/windows-8/change-partition-size-windows-8.html
merge partitions: http://www.disk-partition.com/help/merge-partition.html
hope can help you -
StorEdge 3310 : resize a partition
Hi all,
I've got a 3310 partition that I'd like to resize, filesystem is becoming full. The configuration is like this :
Two node cluster, with metasets, two 3310 disk arrays configured with partitions, not logical volumes. Both 3310 have the same configuration, and are mirrored in SVM
sccli> show lun-maps
Ch Tgt LUN ld/lv ID-Partition Assigned Filter Map
1 1 0 ld1 1ED761AC-00 Secondary
1 1 3 ld1 1ED761AC-01 Secondary
1 1 6 ld1 1ED761AC-02 Secondary
1 1 9 ld1 1ED761AC-03 Secondary
3 1 0 ld1 1ED761AC-00 Secondary
3 1 3 ld1 1ED761AC-01 Secondary
3 1 6 ld1 1ED761AC-02 Secondary
3 1 9 ld1 1ED761AC-03 Secondary
sccli> show partitions
LD/LV ID-Partition Size
ld1-00 1ED761AC-00 40.00GB
ld1-01 1ED761AC-01 15.00GB
ld1-02 1ED761AC-02 30.00GB
ld1-03 1ED761AC-03 4.88GB
ld1-04 1ED761AC-04 46.59GB
So I want to grow the ld1-02 partition up to 40GB, last partition of logical drive is not used. For safety reasons I decided to detach the 5GB submirror also, as the partition will probably be resized too ( temporarly )
So I decided to :
detach the submirrors,
unmap the luns,
delete the last partition,
resize the partition ld1-02
Resize the partition ld1-03 ( which will recreate the ld1-04 with the remaining free space )
Map the partitions
Attach the submirrors
Do the same with the second submirror which is on the second 3310
When I try to do this I've got this message :
sccli> configure partition ld1-04 delete
Current partitions:
LD/LV ID-Partition Size
ld1-00 1ED761AC-00 40960MB
ld1-01 1ED761AC-01 15360MB
ld1-02 1ED761AC-02 30720MB
ld1-03 1ED761AC-03 5000MB
ld1-04 1ED761AC-04 47713MB
New partitions:
LD/LV ID-Partition Size
ld1-00 1ED761AC-00 40960MB
ld1-01 1ED761AC-01 15360MB
ld1-02 1ED761AC-02 30720MB
ld1-03 1ED761AC-03 52713MB
Repartitioning may cause data to be lost.
Change partition table? yes
sccli: lun map exists
Any Idea why I can't delete the last partition ? Do I need to delete all partitions and recreate them ? Is there an easier way to do this ?
Thanks for your helpHi,
No there are no mapping for this partition, only partitions 1ED761AC-00 / 01 / 02 /03
sccli> show lun-maps
Ch Tgt LUN ld/lv ID-Partition Assigned Filter Map
1 0 0 ld0 77920F98-00 Primary
1 0 1 ld2 62761B4D-00 Primary
1 0 2 ld4 2EE982FB-00 Primary
1 0 3 ld0 77920F98-01 Primary
1 0 4 ld2 62761B4D-01 Primary
1 0 5 ld4 2EE982FB-01 Primary
1 0 6 ld0 77920F98-02 Primary
1 0 7 ld2 62761B4D-02 Primary
1 0 8 ld4 2EE982FB-02 Primary
1 0 9 ld0 77920F98-03 Primary
1 0 10 ld0 77920F98-04 Primary
1 0 11 ld2 62761B4D-03 Primary
1 0 12 ld4 2EE982FB-03 Primary
1 1 0 ld1 1ED761AC-00 Secondary
1 1 1 ld3 7B0C8A06-00 Secondary
1 1 2 ld5 3BBD8B0C-00 Secondary
1 1 3 ld1 1ED761AC-01 Secondary
1 1 4 ld3 7B0C8A06-01 Secondary
1 1 5 ld5 3BBD8B0C-01 Secondary
1 1 6 ld1 1ED761AC-02 Secondary
1 1 7 ld3 7B0C8A06-02 Secondary
1 1 8 ld5 3BBD8B0C-02 Secondary
1 1 9 ld1 1ED761AC-03 Secondary
1 1 10 ld3 7B0C8A06-03 Secondary
1 1 11 ld5 3BBD8B0C-03 Secondary
3 0 0 ld0 77920F98-00 Primary
3 0 1 ld2 62761B4D-00 Primary
3 0 2 ld4 2EE982FB-00 Primary
3 0 3 ld0 77920F98-01 Primary
3 0 4 ld2 62761B4D-01 Primary
3 0 5 ld4 2EE982FB-01 Primary
3 0 6 ld0 77920F98-02 Primary
3 0 7 ld2 62761B4D-02 Primary
3 0 8 ld4 2EE982FB-02 Primary
3 0 9 ld0 77920F98-03 Primary
3 0 10 ld0 77920F98-04 Primary
3 0 11 ld2 62761B4D-03 Primary
3 0 12 ld4 2EE982FB-03 Primary
3 1 0 ld1 1ED761AC-00 Secondary
3 1 1 ld3 7B0C8A06-00 Secondary
3 1 2 ld5 3BBD8B0C-00 Secondary
3 1 3 ld1 1ED761AC-01 Secondary
3 1 4 ld3 7B0C8A06-01 Secondary
3 1 5 ld5 3BBD8B0C-01 Secondary
3 1 6 ld1 1ED761AC-02 Secondary
3 1 7 ld3 7B0C8A06-02 Secondary
3 1 8 ld5 3BBD8B0C-02 Secondary
3 1 9 ld1 1ED761AC-03 Secondary
3 1 10 ld3 7B0C8A06-03 Secondary
3 1 11 ld5 3BBD8B0C-03 Secondary -
Boot choice disappear after resizing main partition Mac
I wanted to resize the partition mac for more space later on Windows partition. But when the operation ended and I rebooted, I had no choice boot between windows and mac.
Now it boot, without asking my opinion, directly on the Mac partition.
How to fix this problem, so I can restart my Windows partition.
Thank you in advance for any help or advice.Hi and welcome to Discussions,
use Diks Utility in OSx to check if you maybe inadvertently made a partition between your OSx partition and the Windows partition while shrinking your OSX partition.
If so, then the 'partition numbering' has been changed and the Windows partition is not found.
For XP have a look at this thread http://discussions.apple.com/message.jspa?messageID=11783594#11783594 for a solution.
For Vista or Windows 7 EasyBCD http://neosmart.net/dl.php?id=1 would be my tool of choice.
Hope it helps
Stefan -
Hello, I am trying to upgrade my macbook pro to yosemite, but I get the "disk cannot be used to startup your computer" error.
Resizing the partition does not work for me and I get the error "MediaKit reports no such partition" probably because I installed linux in dual boot and the disk manager is lost.
Anyway to tell the yosemite installer that it should not pay attention whether the disk is bootable or not ?
If I am doomed, any way to delete the installer and downloaded OS from my hard drive ?
Thanks for your helpAs usual, the Linux installer wrecked the partition table. You would have to boot from your OS X installation disc and repartition. Doing so will of course remove all data from the drive, so you must back up first if you haven't already done so.
Maybe you are looking for
-
Why to i have to plug in my mini display to vga monitor each startup
each startup my vga monitor will not come on unless I unplug and replug in my mini display adapter. then it comes on...does not happen in the sleep mode.
-
I am currently using an Ipod Video and an Ipod Nano on my computer. The Ipod Video works fine, but everytime I try to load the Nano it says I need to update it but whenever I go to update I get a message saying Ipod Manager Internal Error. Ive tried
-
Viewing Cannon Raw images in Bridge
I normally shoot with my Nikon D3, But I recently borrowed a Canon. When viewing my Nikon Raw images in Bridge, I am able to see the Images. But when I try to view the Canon Raw Images, all I see are Icons. Is there a setting that allows me to see th
-
I want to buy a song off the US store
I've been after a song for ages but the UK iTunes doesnt have it but the US iTunes does but I've tried buying it off there and am not allowed is there any way to buy the song through the UK site
-
Bluetooth connection IOS 8.1.2 can connect but no audio
Hello, I have a problem with the audio of my Iphone 5s connected to a skoda fabia bluetooth carkit Paring is no problem and playing music from the Iphone works as well, only phonecalls cannot by heared and the caller cannot hear me speaking Tried the