I am currently running Ubuntu 11.04 (narwhal), dualbooting with Windows 7. When I installed ubuntu, i gave it a small(er) partition size for it to use (10gb total for swap and main partition). I now find I have run out of room on my Ubuntu partition, and want to (if possible) shrink down my Windows partioion and move some of that freed space to Ubuntu to expand it.I tried to use gParted from a live Ubuntu CD, but I can't seem to move any unused space into the Ubuntu partitions. Am i doing something wrong?
I installed linux to my whole hard drive. I want to make it a little smaller to dual boot windows just for games. Gparted wont let me resize my partitions at all.
I have a windows box running w2003 server on 1 volume with 2x ntfs basic partitions. c: = the windows bit, d: = the data bit for user data.I have cloned (clonezilla) the volume to another and deleted the data (d bit and want to extend the c: into the freed space.I'm booted from a partedmagicv5 cd and using gparted to attempt this.I can't see a way to do this with gparted but then, I could be thick. Maybe I clone off reformat and copy back?Is there a better way or even is this the correct forum (please don't refer me to Microsoft website:-) for this type of question?This is a test box so not worried about breaking it, but the test is to try to solve a live problem at a school I support which is running out of hd space.
I've reached a point in my Slackware journey where I feel confident enough to remove my Mint 10 linux. It used to be my 'go to distro' when I trashed my Slackware installation. Now, I have Slax on a USB and I think that is enough.Mint 10 occupies /dev/sda5 (root) and /dev/sda6 (home) while Slackware occupies /dev/sda7 (root) and /dev/sda8 (home).If I delete the /dev/sda5 & /dev/sda6 partitions, can I very safely resize /dev/sda7 and /dev/sda8 to use the space freed up?
I recently installed fedora on my system along with windows in a dual boot unfortunately, the fedora partition is too big and is taking 80% of my disk space. lvm2 volumes are not recognised by windows so i decided to shrink my fedora lvm2 partition and create a new fat32 partition to store common data. i tried gparted from my ubuntu 10.04 CD but it was unable to resize the partition can someone suggest to me a GUI tool which could do the the resizing of an lvm2 partition?
I'm dual booting Ubuntu with Windows7. Instructions I've found on how to resize partitions tell me to open gparted and shrink things from there. However, I can't seem to do this because:
-I can't expand the windows partition because i first need to shrink the linux partition -I can't shrink the linux partition because it is mounted -I can't unmount the linux partition because it is being used.
Can someone help me understand by giving me the commands I need in order to shrink my "debian-home" logical volume by 10GBs and increase the size of my "debian-root" logical volume by that same 10GB of data? (Everything in that computer is ext4 including the /boot ... physical volume? (I think that's what it's called))I would REALLY appreciate it if someone could just give me the exact or approximate terminal commands that I would need to use. I assure you, I will never forget them
Is it possible? I have a server that's colocated so a live cd isn't really an option. Everything I can find on resizing the partitions has said to use a live cd.
My ubuntu partition is tiny (~9 GB, ~5 free) and my vista partition is big (~100 GB, ~60 free). I need to reverse this (so I can move all my documents and music (~40 GB) over to the ubuntu portion from the external HD they're on now). I'm using karmic. I installed gparted, but I couldn't figure out how to make it let me access the resize option.
So I booted with the karmic live CD and used gparted there. It let me set up the shrink on the vista partition, but gave me an error in actual running (I'll post the error details at the bottom).
The error details seem to be saying that I should try shrinking it less? But I was already leaving more than 10 GB free space there, no? Does anyone know how to help me past this sticking point here? This is one of the vital steps for me in switching over to using ubuntu as my main OS, and hopefully leaving vista behind.
I am running a dual boot with XP and Ubuntu - what I want to do is increase the partition size of Ubuntu and reduce XP. When I run " G Parted" it shows both partitions with Xp being NTFS. I guess the boot loader is Grub because Ubuntu takes priority at Boot. I cannot persuade G Parted to allow me to resize the two different partitions. I am using the G Parted Live CD.
I've resized partitions with some program - perhaps even gparted - but from Win7. partitions are indeed resized, but now I can't boot Win7, grub says: "No such device found - No such partition found". I tried to use some advices on similar problems I found here (like adding GRUB_PRELOAD_MODULES="part_msdos" to etc/default/grub and running grub-mkconfig after), but nothing helped. I guess I could restore win7 with installation dvd but I want to fix GRUB (and have both ubuntu 10.10 and win7)
Code: john@john:~$ sudo fdisk -l [sudo] password for john: Disk /dev/sda: 82.0 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xd576590b
Device Boot Start End Blocks Id System /dev/sda1 1 789 6336513 f W95 Ext'd (LBA) Partition 1 does not end on cylinder boundary. /dev/sda2 * 1476 4008 20346322+ 7 HPFS/NTFS /dev/sda3 4009 9964 47841570 7 HPFS/NTFS /dev/sda5 1 749 6008832 83 Linux /dev/sda6 749 789 326656 82 Linux swap / Solaris
Googling tells you how to resize RAID partitions but not how to resize the underlying disk partitions. In my particular case, I initially sized a RAID array way too large - and when I added another disk to the array, I decided I was wasting too much space.I shrunk the file system, then "grew" the array (/dev/md2) to the smaller size, and resized the file system again to fit. However the actual disk partitions (/dev/sda2, /dev/sdb2, etc.) are still the original size - they are just mostly unused space.As I understand it, the superblocks are at the end of the partition. I believe this means the end of space used by the array on each device, so that the superblock moved to a lower block number when I shrunk the array. However it also means that I need to get the new physical partition size correct to avoid clobbering the superblock.
Is there an easy way to get any partition editor to shrink the physical partitions to the new array size?If not, is the superblock included in the space allocated to the array so that the next partition can start in the very next block, or is it added after the array so I'd need to allow some space for it?
When we install a linux OS, we've an option to create partitions. In my laptop I've create partition for /opt, /home, / and /tmp. Are these partitions the same type of partitions as the partitions created by LVM?
I have only a single main partition and a swap space on my laptop running ubuntu.I want to install another system on my computer so I need to create another partition. I tried using a disk utility provided by ubuntu but I get the error "disk is already in use".Is there a way to make that partition smaller and create another one without erasing my data?
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?
So I have a partition I wanna make smaller. I can use GParted but this is not secure. Even with backup - there are tons of personal files, I can't check 'em all if they are correct after resizing. So I thought maybe I can create a dir on another machine and do something like Code: cp -a / /mnt/0 # which is a mounted directory on another machine and after repartitioning HDD get everithing back this way. Will it work?
I need to make my root partition bigger to add more free space. Is there a Linux version that will fit on a small usb flash drive that has the tools I need? I plan to boot a Linux distro from a flash drive in order to resize the partition.
I m using Ubuntu 9.04.I m facing a strange problem.Any of application's window dosen't show close,resize buttons on top right corner of window.I m facing this problem sience i've installed compiz fusion.
I need to resize a NTFS partition in a disk for which I have an image (dumped with dd).
I mounted it through the loop device on linux:
# losetup -o 32256 /dev/loop0 disk.img # I got the offset from looking at fdisk's output # mount /tmp/t /dev/loop0 # ls /tmp/t [content of NTFS partition shows correctly] # umount /tmp/t # gparted /dev/loop0
gparted shows me the disk correctly; it just contains one large NTFS partition I want to shrink.
I have it had it running for one hour now.
Question: will this work? There is lots of disk access but the timestamp and size of the underlying file disk.img remain unchanged.
I want to increase the size of my Linux partition (yellow and highlighted in image), which is situated in an extended partition, along with my biggest partition.
When I try to select the options from any partitioning software (EASUS, Paragon, Gparted) the option to resize is not available (or can't enlarge).
For example in the Paragon Hard Disk Manager, I can't add free space before the partition, even if I first shrink the "G:" partition, then try to enlarge the one with Linux.
Do you know what's happening here? Why am I not allowed to resize the partition?
Computer hardware is not my bag. I accidentally installed ubuntu on external F drive, thinking it was C drive, unaware that ubuntu installs on drive with most available space. Installation involved partitioning the drive in about half. So, before I install it on C drive, I want to restore my F drive. I deleted partition using XP Disk Management tool and tried to use gParted on Parted Magic live boot cd to resize remaining partition that contains my data. But it doesn't seem able to expand the good partition to reclaim the 'unallocated' space. How do I accomplish this? Must I backup and reformat?
I'm currently in the process of remove a drive from an lvm. I am following this guide
[URL]
and to be honest I have also posted this question at [URL] but I have a fair amount of data at stake here and really need to make sure I'm acting safely. This is certainly not a place to button mash or guess.this is the 2nd drive that I am removing, the first one went off without a problem.However, I just received this error
Code:
resize2fs: Can't read next inode while trying to resize /dev/vg0/lvol0
and I'm not sure what it means or where to go from here. The entire output is
Code:
root@dude:/mnt# resize2fs -p /dev/vg0/lvol0 4466524456k resize2fs 1.41.4 (27-Jan-2009) Resizing the filesystem on /dev/vg0/lvol0 to 1116631114 (4k) blocks.
how to resize a filesystem in fedora and opensuse does any one know how to resize the filesystem in fedora and opensuse i have succeded in doing it in centos using fdisk i did the following steps i delete the partition using d then i create a new partition using n and then i save the changes then i run resize2fs and its done but in fedora and opensuse its not happening.
I need to know to to make a smaller .img file. I want to put ubuntu on my android phone (androlinux.com), but the ubuntu.zip file was to big to fit on my sd card. The .img file is too large, so I want to make a slightly smaller .img file to fit on the sd card.
I'm trying to resize a partition from a command line using the instructions on this page:
[URL]
The line below is the one I can't get to work right.
Quote:
Now, using fdisk, we must resize hda1 to 6000M, and create a new partition. Command: "fdisk /dev/had".In our case, the fdisk commands are "p d n p 1 1 +6000M t 7 a 1 n p 2 enter enter w", resulting in this "fdisk -l /dev/had" output :
I've made this work before but I cheated by using Acronis to create the partitions. I really want to get it to work from command line.
I used Ubuntu before, without problems but since the 10.04 version it won't recognize my partitions. I formated my laptop and partitioned it, installed Windows 7 64bit, which I need for my work, and wanted now to install Ubuntu 10.04/10. I then used GParted to check my Harddisk and it is having troubles to recognize my partitions, too while Windows finds them. GParted is giving me an error message saying my partitions are oversized. I am still in the beginning of my Linux experiences and so I don't know what to do. I have two 250GB harddisks (how Windows recognizes them),