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?
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?
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.
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?
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.
I want to install linux next to my Windows 7 Ultimate x64 and changed my windows partition from 700GB to 100GB. Now I want to use the other 600GB for linux and formatted it in Paragon Partition manager.
But when I try to install OS 11.4 I get the message that it can't resize the partition because of the type (which is NTFS) and it wants to delete the whole disc including the windows partition. How do I fix this? Do I need to delete the 600GB partition again in Paragon so its unallocated and then use Suse on it?
Or can I better first install Linux and then Windows? (for next time so it would be nice if the above worked out)
The openSUSE 11.2 installation disk doesn't want to let me resize my NTFS-based WinXP partition; it just says that the fs is inconsistent and that I should check this issue in windows... But even though I've scheduled diskcheck to run after a reboot, it doesn't! Is there some way of "forcing" the diskcheck to run upon startup, or how else can I resolve this issue (without re-installing my entire system)?
During install process I assigned only 6GB for my root partition and now I'm almost running out of space. I have 11.1 installed and I wanted to update to 11.3 but there are problems with i855 video card with newest distro versions so I won't install it. Since everything is installed and configured I don't want to install 11.1 again.
so i have a main drive (320gb) which currently has kubuntu 9.04 installed.i also have a side drive (60gb) on which i made a backup of all my windows files (i wanted to migrate to new windows OS but messed up, long stupid story...) and also had opensuse 11.0 installed.now when i open either 2 linux versions, the ntfs partition isnt recognised anymore.there are files on it that i need, including the iso of the windows version i want to install next to opensuse (just like my old windows version)
I have just installed Open Suse 11.4 Gnome, and I am trying to work on files on my windows partition that is ntfs, and it keeps telling me that they are "read only"......I check my /etc/fstab file and that it shows permissions at the end of the windows partions to be "0 0", which I was told was what was I needed to be able to work on ntfs files in windows?
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.
When I installed OpenSuse 11.2 it mounted I configured to mount all of my windows/NTFS partition. However, one problem is that only root can write to it. I was trying to change it to '777' permission. However, as root I can't change permission. chmod doesn't work and neither does using nautilus (as root) work.I even tried unmounting it and then doing a chmod. That didn't work either.
I was attempting to format a flash drive, and well, used the wrong sdX device. I've run DiskInternals Partition Recovery tool, and all my files are still there (you have to pay $139 to have it restore the files). Is there any way using tools in linux to restore the ntfs partition/files? It was a single disk with the partition taking the entire drive. I've tried mounting it with the -t option, but it says invalid ntfs signature. Man, two lessons the hard way, make sure you backup (duh) and be careful what you type as root.
I've just installed Fedora 14 over an old Ubuntu (heron, I think). The old install used a single partition for both / and /home; and I wanted to try to avoid reinstalling /home if possible (but yes, I did back it up). I chose the anaconda option to shrink the old Ubuntu /, and created a new LVM for the Fedora /. This seemed to work perfectly. I mounted the old / on '/host' (an old naming habit), and then mounted individual home dirs into /home using autofs. All seemed fine. However, on my first reboot after the autofs mounts fsck failed. The current situation is as follows:
# fsck /dev/sda6 fsck from util-linux-ng 2.18 e2fsck 1.41.12 (17-May-2010) The filesystem size (according to the superblock) is 15360000 blocks The physical size of the device is 15359895 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? yes
# dumpe2fs /dev/sda6 | grep 'Block count' dumpe2fs 1.41.12 (17-May-2010) Block count: 15360000 # dumpe2fs -o superblock=32768 /dev/sda6 | grep 'Block count' dumpe2fs 1.41.12 (17-May-2010) Block count: 15360000 Same thing for all the other backup superblocks I've tried. # echo '15360000 4 * p' | dc 61440000 # fdisk -s /dev/sda6 61439583
Resize2fs tells me to run fsck, and complains of a short read if I try to force. Fsck seems to run fine if I say 'no' to the abort prompt, but doesn't change the problem. Filesystem is ext3. Started with debugfs. First used icheck and ncheck to work out which file(s) had been written to the non-existent blocks past the partition size. Fortunately, there was only one. Deleted that file (can restore it from backup later). Quit debugfs. Now resize2fs -p -f worked perfectly. fsck after resizing was clean. Reboot seems happy. As for the origin of the problem, I would guess there's a rounding bug in the code anaconda uses to shrink partitions.
I have understood that Vista does not always play nice with third party partitioners and that it was best to use the tools *within* Vista to change its size.
I do not know, but the same might apply to Windows 7? Anyway I understand Windows 7 also has its own resize tools.
My advice to newcomers with Vista (or Windows 7) has been to use the Windows inbuilt tools to resize and then to leave un partitioned space on the drive, because until recently the Ubuntu Live CD has included an option 'Install into un partitioned space' or similar. Which was very easy.
However, with Ubuntu 10.10 Desktop CD the same option does not exist, so for beginners, or any nervous newcomer, the only practical option in most cases is to use the 'resize' facility in the Ubuntu installer.
This is a circular situation, if the Ubuntu facility resize is recommended to be avoided.
I would very much like to avoid having to tell them to use the 'advanced' option. Most of them are pretty jittery, from having used Windows for years.
I am aware that the 10.10 Alternate CD still includes 'install into un partitioned space'. Do I now tell people they need both a Live CD for initial tests and then also an Alternate CD for install?
They would see the install invitation in the Desktop CD live session and have to disregard it.
The Ubuntu 10.10 installer is, on the face of it, getting more friendly towards nervous newcomers.
Are the warnings about third party partitioners still relevant?
Fedora 12 seems to have made all my ntfs disks and partitions into LVM Linux (whatever that is) In all the time i've used other distros I've never seen this before .... I m getting them back to original state and accessable again, but have no idea what to do.....
I need help with:
1. get them back to original partition system 2. get them mountable
A question though, the information/files i had on these drives/partitions is it lost ? or is it still there?
Want to repartition/resize existing 1/2 full 60MB sda2 currently containing NTFS. The "Allocate drive space" does not seem to have a resize option (the 10.04 docs claim there was a resize option here). When I run 10.10 gparted in live mode gparted crashes for unknown reason before it even finishes scanning the disk. Am I missing something here? (Never tried to resize an ntfs part. with Ubuntu.) The laptop I am installing this on currently has XP that crashes a lot for unknown reasons.
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.
I am not sure if this is the right place to ask, but I am trying to find out how I can modify forms on my Windows partion. I am running a dual boot with Win 7 and Open Suse 11.2. I can access and read the NTFS files but can not change them or add to the Win 7 Partion. How do I change ownership and permissions so that I can work on them from Open Suse 11.2
Seems I have messed up something.I can boot into openSUSE and into Vista, so it is not screwed.I have 1 hard diskI have an OEM Vista (so a 9 GB EISA rescue partition), the Vista partition (~100GB) and the 3 partitions for openSUSE (2/20/467).Before just wiping the linux partitions I tried to switch back to M$ booting but failed. ATM I boot to splash screen showing 3 entries: 2 openSUSE and 1 windows.When I choose Windows I get to the next screen showing Windows and - ubuntu (I had ubuntu via wubi before but wasn't convinced, so (w)ubuntu does not exist anymore).I thought installing openSUSE will fix the issue that ubuntu shows up on M$ booting screen but ofc I was wrong.I didn't want to wipe the still unused openSUSE partitions before being successfull so instead I tried:
- booting into M$ rescue CL: bootrec /fixmbr does not give an error but bootrec /fixboot or /rebuildbcd - automatic system repair does not show any partition, fixboot /scanos finds C: - using bcdedit and EasyBCD (fail)
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.
I've recently installed an OpenSuse 11.2 in what I'd like to be a definitive jump from windows environment.I'm not very confident yet with my linux skills, so at this moment I've yet have both systems installed with a data NTFS partition to store music, movies, documents, and general data that I'd like to use in any of the two systems. The NTFS partition has no writting permissions for anybody except root user, so I can't work anything from my personal user without starting an app like su or login as root. I want to change this by making a group (windowsWriters) where my usual user is included wich I pretend to make the group owner of NTFS partition.
I've created the group and inserted my user into it, but I'm unable to change the owner group nor any permission on NTFS partition or any of it's subdirectories. I've tried to made it through opening dolphin as su (Alt+F2 kdesu dolphin) and through chmod in consolemode logged as root, in both cases the action seems to work correctly and no error is spotted, however when I look again at the partition/folder/file permissions/ownership no changes have been made.