Programming :: Shell Script To Resize NTFS Partitions

Sep 1, 2010

Can someone help me to make a shell script to resize automatically the NTFS partitions of my disk ?

View 3 Replies


ADVERTISEMENT

General :: Delete And Resize Windows Basic Ntfs Partitions With Gparted

Mar 22, 2011

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.

View 3 Replies View Related

OpenSUSE :: NTFS FOLDER - Keep 2 Ntfs Partitions Intact Will Deleting The Partition

May 26, 2011

I am doing major deployment of opensuse 313 pcs from windows to opensuse. I am having a problem that I have to keep 2 ntfs partitions intact will deleting the partition that has windows. Now everything goes well, opensuse installs but the problem is that I cannot give user full rights to ntfs folders. I have used graphical file permission methods n terminal chown n chmod methos but still permissions revert back to root.

View 3 Replies View Related

Slackware :: Is It Safe To Resize Slackware Partitions After Removing Mint 10 Partitions?

Feb 17, 2011

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?

View 14 Replies View Related

Ubuntu :: Cannot Resize NTFS Partition

Aug 12, 2010

I am trying to resize a Windows XP partition. The partition has plenty of space available. When I boot off the CD, I open Gparted. I try to move the partition down, but it does not move at all.

Within this Windows installation, it only shows 1% fragmentation.

I want to dual boot using two partitions.

View 8 Replies View Related

Ubuntu :: How To Resize Lvm2 Partitions

Jan 7, 2011

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?

View 1 Replies View Related

Ubuntu Installation :: How To Resize Partitions

Jun 13, 2011

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.

So how exactly do I expand my Windows partition?

View 1 Replies View Related

Debian :: How To Resize Partitions With LVM2?

Feb 20, 2010

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

View 4 Replies View Related

Red Hat / Fedora :: Resize Partitions Without Use Of A Live Cd?

May 1, 2009

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.

View 10 Replies View Related

General :: Resize Partitions Ubuntu 11.04

Jun 1, 2011

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?

View 2 Replies View Related

General :: Unable To Resize Partitions

Apr 22, 2010

I have a dual boot system on my Laptop running Arch Linux and Windows XP. I have the following setup on my Laptop.

View 2 Replies View Related

General :: Resize A NTFS Partition In A Disk?

Feb 1, 2010

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.

View 1 Replies View Related

Ubuntu Installation :: Resize The NTFS And Add To Ext4?

Aug 19, 2010

I have a dual boot system with Ubuntu Lucid and Windows 7 Ultimate 32bit on a 320 GB hard drive. During the last month, I've completely moved from Windows to Ubuntu but I have to keep Windows for a few softwares like ooVoo and Office, especially OneNote. But now 105 GB for windows and 50 GB for Ubuntu doesn't seems right, as I can't copy any more files on my Desktop in Ubuntu, because it's full. I was just wondering if it's possible to resize the NTFS partition and add like 50GB or so to the ext4 partition which is my Linux's root. The NTFS drive is on /dev/sda5 and the ext4 one is on /dev/sda7.

View 4 Replies View Related

Ubuntu :: 2 NTFS Partions > 1, Delete Then Resize?

Apr 18, 2011

Disk:

Code:
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors

[code]....

View 3 Replies View Related

Software :: Reliably Resize NTFS Partition?

Sep 21, 2010

To replace my aging hard-disk, I bought a new, bigger disk to hold two NTFS partitions (system + data) to run XPSP3.

Unless I missed it, PartClone in Clonezilla doesn't resize a partition to use the extra space. So I now need to resize the second partition.

Since NTFS is a proprietary filesystem, before I go ahead and use Gparted or some alternative, can experienced users confirm that resizing NTFS partitions using Linux tools is rock-solid, or I better use a closed-source, Windows-based solution instead?

View 4 Replies View Related

General :: Gparted Wont Allow To Resize Partitions At All

Sep 20, 2010

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.

View 5 Replies View Related

Server :: How To Resize Software RAID Partitions?

Aug 24, 2009

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?

View 3 Replies View Related

Ubuntu :: Resize Partitions - Thought Knew Not Working?

Jan 21, 2010

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.

[Code]...

View 1 Replies View Related

Ubuntu :: Windows XP / Dual Boot - Resize Two Different Partitions?

Jan 6, 2011

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.

View 1 Replies View Related

Ubuntu :: After Partitions Resize Grub Cannot Boot Win7

Apr 22, 2011

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

View 5 Replies View Related

OpenSUSE Install :: Fix NTFS Partition Messed Up By Qparted Resize?

Apr 22, 2010

I used QParted to size one my hard drive's NTFS partition to make unallocated space available to install SUSE. QParted created the the unalloacted space fine and I got SUSE up and running.

However, the NTFS partition is messed up. The QParted GUI and the SUSE's Disk management GUI shows it as NTFS drive with 319 GB space. However, nothing seem to be able to read/write to it. QParted gives a warning "Unable to read contents of this file system! Because of this some operations maybe unavailable." Is there any way to fix this NTFS partition so I can recover data from it?

View 9 Replies View Related

Ubuntu Installation :: Resize NTFS Parition With Winxp Using Gparted?

Jan 11, 2010

I'm on a work desktop and im just wondering what the chances are of data loss if i resize my paritions i have 2 NTFS 1 10GB and 1 64GB (Not sure why but thats how it is) I want to take 30GB from the 2nd partition and add onto the main 10GB. Is it only Gparted that has a chance of Data Loss or is that with all parition editors, its just that alot of NTFS windows progams indicate that there software is safe like this one for example url.

View 3 Replies View Related

Software :: Best Tool To Resize NTFS Partition With XP Installed On Vista?

Jan 19, 2010

What's the best tool or method to resize an NTFS partition containing Windows XP Home but with some evidence of being installed using Windows Vista? (Possible answer: Windows 7...) I bought a Fizzbook Spin, UK version of Intel Classmate PC with touchscreen. Disk is about 55 GB; I want to resize system partition C to about 17 gigabytes and then maintain it using something like partimage on live CD/DVD/USB for complete backup of volume: 15 gigabytes roughly compresses to one DVD, 2 gigabytes for hibernation memory storage which I won't back up (and can't move off C), pagefile on the next volume (probably 4000 MB on FAT32, an affordable commitment of disk space to buy not worrying about the page file size). Plus, I will be able to store the backup of volume C on volume D.

The machine can boot Linux (Knoppix 6.2) from external DVD drive, from a USB flash memory key, and from SD[?HC] card. I don't have a separate Windows install CD or recovery partition, but there's an Intel tool to generate a recovery, um, stick. There's evidence that XP's partition was created by Vista, as follows: 1 MB unused before the system partition; an error message about "correcting errors in the uppercase file" which apparently means "Vista did something on this disk that XP thinks is wrong, but this is not serious" - and several attempts to resize the volume with GParted have left Windows unbootable, blue-screening for a split-second and then rebooting. Apparently that's a Vista experience, and it would've been really bad if I hadn't taken a backup already.

I'm pretty sure that in at least one attempt, I remembered and successfully turned OFF the default-on "Round to cylinder" option in GParted... or is that WRONG? Standard Vista/Parted/resize advice (before 2010) such as [URL] seems to be "Use GParted, then use the Windows Vista installation CD to make your ruined hard disk partition properly bootable again." Since I don't have a Vista installation CD to use or legally borrow for this computer - unless I buy Vista or Windows 7 (which I'm considering anyway, for speech recognition) - I appear to be stuck. I do have more than one other XP computer, in case I can use something from there to exorcise the Vista-ness. But I want to keep the extra software (and device drivers) supplied with this little computer.

View 3 Replies View Related

Ubuntu :: Resize Partition - Use Space Taken By Vista To Extend My /dev/sda6 Ntfs

Nov 11, 2010

I have a dual boot Ubuntu 10.04 and Vista laptop.

My Ubuntu partions /dev/sda4 extended, which contains a /dev/sda5 ext4 and a /dev/sda6 ntfs partition.

Vista is on /dev/sda2 ntfs. I would like to wipe vista out, turn off dual boot (if possible) and use the space taken by vista to extend my /dev/sda6 ntfs partition in ubuntu.

View 6 Replies View Related

Debian :: Can't Resize Images From Shell?

Feb 25, 2011

I've a problem, infact i can't resize images from shell (i use mogrify -resize 800x600 image.jpg or convert -size 800x600 image.jpg image.jpg) and it usually work for me.2 days ago i've bought a KOALA NANO PCit is a small 13x13 centimeters pc that work with a restricted(i don't know how) Debian lenny distro and its hardware is very thiny..So i tryied to resize some images from term but nothing to do. I think it's because of ram(128mb) or (processor 300mhz) or graphic memory.

View 6 Replies View Related

Fedora Installation :: Resize Of NTFS Partition On Install - No Progress Indicator On The Installer

Apr 13, 2009

I am doing a fresh install of Fedora 10 64bit on my PC. What I have done is, freshly installed Vista Home Premium 64 bit on the entire Hard Drive (680GB), then fired up the live CD and told the installer to resize sda1 (The windows partition) to about a 60:40 ratio. I intend to dual boot the system

Now the thing is, it's been running for half an hour now and there's no progress indicator on the installer so I don't know if its actually doing anything. Well there is a progress indicator but it's nonsensical, it just moves backward and forwards. The HDD indicator LED on my computer is flashing every now and again, but not constantly as I expect it to?

View 5 Replies View Related

Fedora :: Mounting NTFS Partitions In F11?

Sep 3, 2009

I've got a Desktop System that Automounted Two NTFS partitions in F10 so I could declare them SAMBA Shares and have my other XP and Vista Machine Access them whether my dual boot machine ran XP or F10. Now I've switched to F11 and cannot get the NTFS Partitions to Automount at boot. If I browse with COMPUTER and let the system mount the NTFS partitions once it is running the mount command returns the following output:

[code]....

I believe I need to modify /etc/fstab but cannot get the syntax correct to save my life.

View 1 Replies View Related

OpenSUSE :: Accessing NTFS Partitions With 11.3

Jul 24, 2010

I have just managed to install OpenSuSE 11.3.When I try to access a NTFS partition (holding my .MP3s) I get the error message.There is no application installed that can open files of the type block device (inode/blockdevice).Do you want to install one? Attempting to install one doesn't seem to lead anywhere othe than the same sequence. I used to be able to read NTFS partitions with 11.2 - what has changed?

View 6 Replies View Related

Ubuntu :: Cannot Find The Ntfs Partitions

Mar 19, 2010

I am using jaunty. I have it installed in a 80 GB ext3 HDD. (This is sdb) I have another 500 GB. Its NTFS. (This is sda) It has 3 partitions. Download, Movies, Dump. They are probably sda1, sda2 and sda3 respectively. Few days ago when I was using intrepid, all three partitions were showing in the Places menu. But I was being able to mount Movies and Dump. Not the Download one. It was continuously saying 'unable to mount'. Now, after fresh installation of jaunty (not upgraded from intrepid) only Download partition is showing in the Places menu. There is no option for the other two partitions.

View 9 Replies View Related

General :: Ntfs Partitions Not Mounting?

Mar 7, 2011

until recently, they did fstab mount quite happily, but now, they don't

the error I get is:

Code:
Mountall mount /media/win7 [1089] terminated with status 21
My fstab has not changed but here it is:
Code:
/dev/fd0 /media/floppy0 vfat noauto 0 0
UUID=da252821-a30d-415b-84cb-adca92be5b72 / ext4 defaults 0 1

[Code]....

Oh if I make the windows drive the first avail, then it boots just fine.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved