Hardware :: Recovering Ext3 Partition After Unsuccessful Resizing?

May 8, 2010

I've tried to resize my home partition using parted. Prior to it I had removed ext3 flags following some advices found on net. Resizing failed and I ended up with filesystem bigger than partition. Then I managed to enlarge the partition using fdisk but it didn't help. When I run fsck on it it prints:

Code:
fsck from util-linux-ng 2.16.2
e2fsck 1.41.9 (22-Aug-2009)

[code]....

View 4 Replies


ADVERTISEMENT

General :: Recovering Data From A Severely Damaged Ext3 Partition?

Feb 21, 2011

following problem. A friend phoned me in despair. Her Ubuntu didn't start any more - ASUS-Laptop switched on stops at a ramfs-prompt.
I started Puppy-Linux from DVD-Drive. Worked fine. But puppy can't mount her /dev/sda1 partition either. At least you can see that the partition is still there. Fsck stops with an error. May be the initial problem is a sort of bad hardware by which bad bytes were written to the hard drive. Hard drive and/or memory could be replaced but not the data.

View 7 Replies View Related

General :: Recovering Data From Ext3 Partition With Hardware Errors - Recovery Required On Readonly Filesystem

Jan 10, 2010

I have an external 3.5" USB 250Gb HDD which is showing symptoms of hardware problems (repeated /var/log/messages errors of "reset high speed USB device using ehci_hcd"). This was originally plugged in to my NSLU2 running Debian Etch. I have just installed Ubuntu Desktop 9.10 to a spare Pentium-3M laptop and was hoping to copy the contents of this HDD to a fresh drive. However, I cannot mount it even read-only; mount -o ro /dev/sde3 /mnt/disk fails, and the /var/log/messages error is "recovery required on readonly filesystem", "write access unavailable, cannot proceed". I cannot understand why mounting a disk read-only should require write access. Following advice I googled elsewhere, I tried running mke2fs -n /dev/sde3 to try to list the alternative superblocks - but once again I got the error that the device was read-only. How can I go about accessing the data on this disk?

View 11 Replies View Related

General :: Recovering 1Tb Ext3 With Fsck.ext3?

May 20, 2011

I Tarred and GZipped most of the data on one 1Tb partition and stuck the archives on a second 1Tb partition on a separate disk. I then proceeded to format the first partition with NTFS (from Linux.) The only problem is that I completely forgot that I had a CD drive and formatted sdc1 instead of sdd1! I began doing a full NTFS format and after a minute or two I cancelled it and decided to do a quick format. I then realized my mistake. I managed to find a copy of the superblock and began trying to recover the disk. fsck -t ext3 recognized the partition as NTFS but I luckily didn't have fsck.ntfs installed so it didn't touch it. I managed to get it working with fsck.ext3 (with -b,-B and -y) fsck.ext3 didn't mind that it was an NTFS partition.

Roughly how long will this take? It's running from Knoppix within a virtual machine to a USB hard drive which is 100% full. Days? Being that for a few minutes I attempted a full format am I going to end up with a bunch of corrupted archives? If I do end up with file corruption can anyone recommend a way of recovering the data / sorting it out? Is it likely to be just a few old files that are corrupt (It's my understanding that filesystems like to keep files in the same area on the disk to minimize the amount of head travel.) This might just be wishful thinking but as the filesystem fills up will ext3 put the newer files towards the end of the disk? If so then I'm hoping that a full NTFS format starts at the beginning of the disk.

View 6 Replies View Related

Software :: Gparted: Joining 2 Partition Ext3 Within One Partition (data Saved)?

Dec 11, 2009

I usually repartition a disk by backing up, deleting the partitions, formatting them and repartition. I just did a 200 gig backup (so i am safe) and i want to join 2 (ext3) partition together, sdb1 (data4) and sdb5 (data5) into one big partition. Is there a way to do it without scraping the data in sdb5 (data5). It would save me from rewriting the data back to that new partition (200 gig is time consuming).

View 1 Replies View Related

Ubuntu Installation :: Resizing Windows Partition - Install Files On A Non Windows NTFS Partition

Jul 22, 2010

Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have

Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)

I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.

View 6 Replies View Related

Red Hat :: Cannot Extend PV (LVM) After Resizing Partition

Dec 16, 2010

I know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible.
Code:
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.

I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM.
1. Resized the vmdk in ESX (+1G)
2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan
3. fdisk shows me the new size... so far so good
4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm)
5. wrote config to disk
6. executed partprobe
7. pvresize /dev/sdc

Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.

View 5 Replies View Related

Fedora :: Resizing (2GB) Swap Partition LVM?

Nov 20, 2009

I have a small disk and I want to resize to 2 gb the swap partition, how I can do?

[root@server12 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg_fedora11/lv_root
VG Name vg_fedora11
LV UUID Zwl9te-GQ1j-5Py3-Jiz0-JFAY-sy7n-iaV2TP
LV Write Access read/write
LV Status available
# open 1
LV Size 52.32 GB
Current LE 13393
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/vg_fedora11/lv_swap
VG Name vg_fedora11
LV UUID k61vCI-YAdI-XgNX-xRaG-B7jY-CTMQ-LKOjwk
LV Write Access read/write
LV Status available
# open 1
LV Size 3.92 GB
Current LE 1004
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

View 4 Replies View Related

Ubuntu :: Resizing A Logical Partition?

Feb 15, 2010

I want to give Mandriva 2010 a shot, and I want to resize my 500gb /home partition (logical) to make some room. It's an ext4 partition. Do you reckon I'll be safe resizing it from the Mandriva installer? or should I use an Ubuntu LiveCD first?

View 2 Replies View Related

Ubuntu :: No Swap After Resizing Partition

Apr 1, 2011

I didn't like the fact that Ubuntu allocated like 5gigs of swap with its automatic partitioning / install. So I decided to shrink it with gparted now it doesn't show up when I boot I have to select swap on in gparted to use it.

View 1 Replies View Related

General :: Resizing Partition Using Parted

Sep 14, 2010

I have slackware 13.1 installed on my desktop and I have all my hard drive dedicated to it. But now Im thinking about resizing my hard drive so that I can install windows so my brother can play games on it ( probly giving 50 Gigs to windows )I heard that parted ( located on slackware cd 1 ) is what I should use. So I was wondering if I need to backup any important files before doing the resizing? I would also appreciate it if someone could link an good tutorial for doing partition resizing .

View 2 Replies View Related

Ubuntu :: Can't Create New Ext3 Partition On Old Lvm Partition

Nov 25, 2010

I was having trouble with an old lvm partition so I pulled all the data off and now want to re-partition it as an ordinary ext3 partition.

But gparted offers only Logical Partition for that partition. How do I convert that partition to a Primary or Extended partition - and which do I want?

View 1 Replies View Related

Fedora :: Recovering An Encrypted Partition?

Apr 8, 2010

I have been using fedora 12 for last 6 months, recently I bought an external USB hard drive of 320 GB capacity. I made 2 partitions using the Disk Utility in Fedora. I encrypted the first partition as it was supposed to hold a lot of sensitive data, and yes it did have. Now I had to change my OS to AV linux for some audio-video editing work which wasnt being done properly on fedora due to some issue beyond my knowledge. now the problem is my encrypted partition is not accessible in my new installation. I see an empty space on my /dev/sda1. although no change to partition data has been done and the data on the second partition /dev/sda2 is easily accessible. when putting the drive on automount, is does not ask me for the password and neither does it show me the data. I have tried fdisk and sme other utilities but have failed to get my drive unencrypted.

View 7 Replies View Related

Ubuntu :: Recovering Windows 7 From The Partition

May 1, 2010

I have a 64-bit HP G60 Notebook and I installed Ubuntu 10 The problem is that if i want to recover Windows 7 from the Partition I can i pressed Esc and selected Recovery but it said wrong filesystem then when booting Ubuntu i wend down to Windows Vista Loader and it opened HP Recovery but said there was a problem. I want to get Windows 7 back with all HP Factory software installed

View 9 Replies View Related

Debian Configuration :: DNS And Resizing Encrypted Partition

Feb 27, 2016

I have Debian and Virtual Box with another Debian. I have resized max size of vdi file with VBoxManage modifyhd but now I need to resize partition on virtual machine's system. I've downloaded GParted and I can run machine from this ISO as CD. Partition is encrypted on machine.Unfortunately GParted doesn't start with X so I have to use it in terminal. I can see partitions:

Code: Select allroot@debian:/# fdisk -l
Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772610 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3914....

[code]....

So I though maybe I need to use this (URL...). I couldn't find similar tutorial about Debian or GParted but OK, it's just executing these commands, not modifying its source.list.But I cannot even do the update:

Code: Select allroot@debian:/# sudo apt-get update
Err: http://free.nchc.org.tw/debian sid InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Err2: http://free.nchc.org.tw/drbl-core drbl InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Reading package lists... Done
W: Failed to fetch http://free.nchc.org.tw/debian/dists/sid/InRelease  Teporary failure resolving 'free.nchc.org.tw'
W: Failed to fetch http://free.nchc.org.tw/drbl-core/dists/drbl/InRelease  Temporary failure resolving 'free.nchc.org.tw'
W: Some index files failed to download. They have been ignored, or old ones used instead.

So I check my internet connection. VirtualBox has 'attached to NAT' and before I run out of space on virtual machine, Debian could access internet. So it's only something about this GParted. I have modified /etc/resolv.conf with vi (even vim is not available). And it has two valid nameservers. I haven't restarted anything, as I'm not sure if I need to, after modifying resolv.conf file.But even in that case I cannot ping anything from GParted:

Code: Select allroot@debian:/# ping www.google.com
ping: unknown host www.google.com

How can I access internet from GParted and resize encrypted partition?

View 8 Replies View Related

Fedora Hardware :: Resizing Root LVM Partition?

Dec 17, 2010

when i have installed fedora 14 from the live CD....i noticed fedora give 4.9 GB SWAP partion:mad and give the root another 4.9 GB.... every time i monitor the swap is free cuz my RAM is 3 GB.... I want resize my root and take the space from the SWAP and give the SWAP only 1 GB... im worried that i miss up with system.... any clean graphical interface recommend me...? or any clean way to resize..?

View 1 Replies View Related

General :: Resizing Swap Partition (RHEL 5.x)

Jun 8, 2011

The following is what parted print outputs:

(parted) print

Model: VMware Virtual disk (scsi)
Disk /dev/sda: 26.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

[Code].....

I want to resize my swap partition /dev/sda2 to use 1GB out of the above space. How can I achieve that?

View 2 Replies View Related

Ubuntu :: Cannot Boot Into Win7 After Resizing Partition

Mar 11, 2010

Today I was messing around with my partitions, and I decided to shrink my main partition that had Windows on it, so that I would could have one big storage partition and then a Windows 7 one and a Ubuntu one. Well, it didn't really work so I decided just to wait for Lucid to come out and start with a fresh install. So I went into EASEUS Partition Manager and resized my main Windows 7 partition back to its normal size. It had to reboot and did its stuff, and then when I restarted my computer, grub was showing the grub rescue> thing. So I went into the Windows 7 recovery disk, and tried all the BootRec.exe options. None of those worked. So I decided to go to the extreme and just delete Ubuntu completely.

I deleted the entire partition with GParted and then resized the main partition all the way. Then I booted into a Ubuntu live usb and re-installed Ubuntu. I thought it would just reinstall Grub and I would be able to get to both Ubuntu and Windows 7. It did install Grub, but now I can only boot into Ubuntu. It's really weird, because I can boot into windows, it just says starting windows and does the loading thing. And then EASEUS Partition Manager comes and says that all resize operations were complete successfully(because I hadn't booted into windows since I resized stuff with it) and then the screen just stays black for a long time. I don't know what to do. If I wait long enough, my computer just reboots...

View 3 Replies View Related

Ubuntu Security :: LUKS On LVM And Resizing Partition

May 10, 2010

I have a LVM logical volume, that contains a LUKS encrypted volume, on which is an ext4 filesystem. I shrank the partition to the minimum size. Next step is to luksClose the device, and then to resize the LVM logical volume. I suspect that LUKS has overhead. So if the ext4 filesystem was resized from, say 1TB to 500G, I have the idea that resizing the LVM LV to 500G does not take LUKS overhead into account and this might corrupt data on the end of the FS. So, what's the smart move to take? How do I calculate the safe minimum LV size? Or should I just give the 500G disk a few gigabytes extra to be sure?

View 4 Replies View Related

Ubuntu :: Process Of Resizing Partition Safe?

Aug 4, 2010

Are there any bad effects of resizing a partition? (like loss of data).

View 6 Replies View Related

Fedora :: Partition Resizing On F12 System For New Installs

Jan 15, 2010

I am new to linux and have installed fedora 12 on my system. The partition sizing which I had done is :

- 17 gb
home- 8 gb
mp -1gb
usr -2gb
Boot -200mb
swap - 4gb (I have 2 gb RAM)
all partitions of ext4 format.

I would like to know that whenever I am going to install any new software or packages then it will be installed in which folder or partition? I have only 170 mb space free in user and have not installed any thing yet. Do I need to resize it. If yes, then how can I do so?

View 3 Replies View Related

General :: Can't Boot After Resizing Partition With Gparted

Nov 11, 2010

First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.

I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.

View 5 Replies View Related

General :: Shrinking / Resizing Partition Using Commands

Dec 1, 2010

I am a new user of Linux, and I actually had a task that is the ability to resize (specifically Shrink) storage of Virtual Machine, I was thinking that the best to start on is to know how to resize partition in linux using command line since our VM runs in Linux environment.

View 7 Replies View Related

Red Hat :: Resizing Partition LVM Group In VMware Server

Oct 8, 2010

I am having problems resizing my partition. Basically I have a vmware server running 4 OS's and I have already changed the HDD size to 40GB in the profile configuration of the virtual machine. Now I want to edit the main partition to extend from 15GB to 40GB. I have searched everywhere but unfortunately none of it seems to work for me. This is what I have at the moment. (Booted from PMagic Disk) [URL]

View 4 Replies View Related

Debian :: Recovering Data From Deleted Partition

May 16, 2010

I was trying to delete a logical drive in windows xp and the damn disk management tool in windows not only deleted my other windows partition but also my linux /data ext3 partition. Now I have a unallocated space in place of these partitions. The data is still there but the entries in the partition table have been removed. So how do I recover my partition. I was trying to use the following tutorial. [URK]

I used the sudo parted /dev/sda -- and then rescue START END command and could get back the /data partition. But it gives me the following error while mounting the partition. mount: wrong fs type, bad option, bad superblock on /dev/sda7, missing codepage or helper program or other error. In some cases useful info is found in syslog - try dmesg | tail or so.

What does this mean. How to I fix this? Also when I try to recover my windows partition using parted it scans for a while and then does nothing. It doesnot ask for writing the lost partition in the partition table. What do I do?

View 3 Replies View Related

Ubuntu :: Recovering Files From NTFS Partition?

Apr 17, 2010

By mistake i have deleted few files from my NTFS partition,is it possible to recover all those files..?

View 9 Replies View Related

Ubuntu :: Recovering Files From Unbootable Partition?

May 2, 2010

After realizing 10.04 Final doesn't support Intel 855 graphics card the hard way (upgrading to 10.04 from 9.10), I did some very silly things and now cannot even choose past kernals or go into failsafe graphics mode (which had worked prior to this).Long story short I screwed up GRUB. Because I am an amateur end user.I still have the 10.04 live cd. Can I reinstall this to put GRUB back to the original state?

View 9 Replies View Related

Ubuntu :: Recovering Data From A Formatted Partition?

Dec 19, 2010

I just installed kubuntu 10.10, replacing an older installation. I have three hard drives one of which had all of the data I wanted to save, about 500gb. I repartitioned and formatted the other two drives and made sure that the data drive would be mounted but not formatted. When I booted into my new installation, the data drive was blank. I'm not sure if it's relevant, but I had just upgraded the file system from ext2 to ext4 before starting the installation.

I've been trying to recover my lost partition with testdisk. The website has instructions for recovering a formatted partition. It looks like it's working until the instructions tell me to choose Boot and RebuildBS, which I don't see as options. Can anyone give me any advice on how to recover? How did this even happen? Has anyone had a similar issue with installation?

View 1 Replies View Related

Debian Configuration :: Resizing Partitions - Put To The Root Partition

Jan 23, 2016

Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.

View 11 Replies View Related

Fedora Installation :: 30 GB LVM Partition By Just Resizing Part Of The Volume?

Sep 1, 2010

I have been using Ubuntu for about a year and I decided to switch to Fedora just to see how it goes with getting everything in my system working again. I would say that with Ubuntu and Fedora installations I have installed and reinstalled 15 times, which I mention because I am not new to installing linux. I have used GParted to partition and resize my HD numerous times and reinstalled linux on a partition and so on. I know how to do all of that without any problems.

NOW HERE IS WHAT HAPPENED... I installed Fedora on my Desktop which I had partitioned into a 190 GB partition onto which Windows is installed and then I had another 30 GB partition onto which I chose to install Fedora. I chose the "replace existing Linux systems" in anaconda... and what resulted was a 30 GB partition with Fedora that is now showing up as LVM. I have never seen an LVM partition and I am not sure if I can use GPARTED to resize it without destroying it. I have used GPARTED to resize Linux partitions before, but they were never showing up as LVM. The forums on GPARTED only show info from about a year or two ago.

Here is what I want to do (and reading around on forums doesn't really give a good explanation of whether it is possible)... Is it possible to install Linux Mint into that 30 GB Fedora LVM partition by just resizing the Fedora part of the volume? So, the question is this: How can I resize the Fedora part of the LVM volume and then install Mint into that LVM partition?

If Fedora was on an ordinary 30 GB partition I would have no problem with using GPARTED to chop that in half and then use the 15 GB I freed up to install Mint. I just don't want to destroy the Fedora stuff by messing around the with the LVM partition so I would like to hear from others who have worked around this issue and please don't link to the ordinary LVM howto's you get through a simple google search as I have already read them and I don't find them too illuminating.

View 6 Replies View Related







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