Red Hat :: Installation Failed - How To Recover HD Space
Aug 29, 2010
I was installing Linux RH on my PC and about 80% of installation was complete when the electricity went off and installation failed. Now I cannot recover the lost space where RH Linux was installed partially. How to recover that area of Hard Drive?
I had installed Ubuntu 10.10 on a W7 OS, as a dual boot. I have removed Ubuntu, and now have that space as "free space". Between the original partition (c:) and the free space, there is a partition that contains the laptop mfg's factory image. I want to recover that free space back to the original c: partition. I was reading about GParted, but do not want to attempt anything until I have some expert advice.
I was fortunate enough to acquire some old 2u server hardware (from 2005) on which I wanted to learn how to use Ubuntu. Ubuntu fails to mount any partition, in fact gparted cannot detect anything. The installer detects the scsi hdds but then fails when it tries to actually make a partition. I've searched this forum, linuxquestions and google. Nothing relevant was found and the solutions involving probing with commands within linux were irrelevant since zero partitions show.
I've tried Ubuntu 10.4, but settled on trying to install 8.10 since it seems to boot up faster and at least detects the physical hard drives quicker. Also tried windows xp and that says "no hard disk detected". I would've tried windows 7 but the server doesn't have a dvd drive.
i have a portable hdd with ntfs partition, i use it both in ubuntu and in windows. recently it began giving me problems, and now it wont mount. gparted tolled me to run "chkdsk /f" (under windows of course)
chkdsk shows that it fixes some file and on other files it says: "insufficient disk space to recover data" strange thing is the hdd has 150 GB free
So, I wan't completely paying attention to the default partitioning that Red Hat Enterprise 6 does.
I was setting up a base image for VMWare and the disk was 200GB, but for some reason the default is for about 40% to go to the root partition and then the rest of it to go to /home (this doesn't include the 2GB or so in swap).
Is there an easy way to recover the space under /home and expand the root partition? Assume there are no user accounts created.
I've been excited about F15 being the first distro with GNOME 3 as default, and so I used preupgrade to download all the things necessary to upgrade my system (Fedora 14 atm) to 15. When I boot into Anaconda however, I get an error message that root doesn't have enough space for installation. Even after I removed KDE from my system, I apparently still didn't have enough. Is there a tool similar to Ubuntu's "autoclean" that can remove orphaned dependencies and the like so I can clean up root? I really want to try 15!
EDIT: I suspect that preupgrade might be dragging KDE stuff back onto my system even after I pretty much purged KDE from my system. Anything I can do to stop this?
Original disk: XP NTFS primary Linux / ext4 logical Linux /home ext4 logical Win 7 NTFS logical NTFS data logical swap space NTFS recovery partition
I tried to install linux, as there was a problem with XP overwriting grub, I chose write grub to /dev/sda8 (which is where the linux install was appearing earlier).
I guess this borked the filesystem somehow. Now the NTFS data partition and the swap space are appearing as one free space. Well actually before that some linux live CDs (including gparted were seeing the entire drive as unpartitioned). I had to go into XP and delete the /ext4 partitions.
Is there any way for me to recover the NTFS data partition ?
I ran 11.1 security update today, now the system will not recognize most of my hardware, will not enter X,, how can I recover or revert back? I have hardwired and cannot get the network card to work,,,errors at boot indicate a problem with modules....this all occurred after rebooting from today's update??
It seems my 320gb HDD has bitten the dust. The timing couldn't be more ironic as I have spent a couple of days tidying the files on it to burn them to disk.
This is an ntfs drive that had indicated 4 bad sectors but up until today (backup day) was fine. I am unable to mount it and in fact it is causing some sort of conflict with the OS drive and wont let the system boot up successfully.
I am going to try using a windows based PC tomorrow to see if I can rescue the data.
Are there any 'other' tricks to try and mount it with ubuntu that I may not have tried so far? I have tried-
mkdir /media/disk fdisk -l to establish it's name which was /dev/sdb1 when it was all working but it isn't reachable and doesn't show in the places menu or in any of the menus when using a live CD to get round the HDD clash. sudo mount -a used in desperation after the mkdir but nothing.
I rejigged the cabling inside the PC to make the HDD a secondary master as it was a slave on the primary IDE to start with in the hope that the system would boot up normally but to no avail.
Yesterday, my windows partition (in a dual-boot with windows7/ubuntu) failed, and in trying to fix that partition, I managed to mess up both, including the MBR and what not. I have been desperately trying to recover them, and believe there's a good chance of doing that as I haven't yet written any data since the crash.
On running testdisk, I have the following info about them: Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512 Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63 Partition Start End Size in sectors 1 P HPFS - NTFS 0 32 33 191 89 26 3072000 [TOSHIBA SYSTEM VOLUME] 2 * HPFS - NTFS 191 89 27 5274 254 63 81668827 [S3A6747D002] 3 P Linux 5275 0 1 29494 254 59 389094296 4 E extended LBA 29494 254 60 30401 254 63 14570959 5 L HPFS - NTFS 29495 0 1 30400 254 54 14554881 [HDDRECOVERY]
I am quite sure that the data I'm interested in recovering is in the partitions found on rows 2 and 3 (which correspond to my old windows drive c:, and my shared data drive, respectively). Currently, I am running off ubuntu that's living on my portable harddrive, and system> Disk Utility shows the internal (messed up) harddrive as one unpartitioned unknown mass of 250gb, with "bad sectors".
Well I finally joined the forum, because I finally have a big problem!
I had Ubuntu 10.10 installed inside of Win7, I updated it to 11.4 BETA (I know a bad Idea). Well I dint work, now ill I get is some sort of GRUB console.
I would like to either fix this or retrieve my very important files! I now have Ubuntu 10.10 installed on my computer on a separate drive. But I have not been able to find my old Ubuntu files.
I am using Linuxmint 8 helena. I am unable to install any package using synaptic: The problem might occured after I have given the following command: cat > $LFS/etc/group << "EOF"
The problem just started today.It downloads successfully,but at the time of changes, it shows "Not all changes and updates successful. For further details of the failure please expand "details" panel below "
Details: dpkg: unrecoverable fatal error aborting syntaxerror:unknown group 'mlocate' in statoverride file E:subprocess /usr/bin/dpkg returned an error code(2) A package failed to install trying to recover.
I was trying to resize an external ntfs hard drive, so that I could make room at the front of the disk for a swap partition. At the end of the process gparted encountered an error. It couldn't see my disk again until I rebooted the system. Now, when it looks at the hard drive, it sees it as one big unpartitioned hard drive.
I'm pretty sure all the data is still there, uncorrupted. I just can't access it. How can I fix this?
I just want one last attempt at seeing if there's a solution. My Dell Studio 15 laptop HDD that runs Vista failed, I booted Ubuntu from a CD knowing that I should be able to recover my data.
However, Ubuntu can't find my HDD, it's not listed and "fdisk -l" doesn't result in anything. The BIOS seems to know that the HDD is there though.
I was trying to install Fedora 13, on to my laptop. I have 30 GB of unallocated space in extended partition. When trying to install Fedora 13, I got stuck, as the installer says that there is no free space for installation.can convert the unallocated space into free space.
i made space by shrinking my window partition and so i have unallocated and would like to add to sda2 to have more space. Check out this pic. How can i do this?
I'm unable to login to my Kubuntu Lucid. The login screen takes my password, blanks, then returns me to the login screen. I'm getting some graphics errors when running from recovery mode as well as the no space left on device error when attempting to start x from the terminal. Here are some outputs: When starting from recovery mode, selecting failsafeX from the Recovery Menu:
[Code]...
I've come to the conclusion that my root partition is full, but I'm not sure how to clear space, or how much to clear once I work out how to do it. I removed a few packages with apt, but it doesn't seem to have any effect. df -h shows that root is 100% full, yet it has 3GB free. I've grown comfortable with Ubuntu in the couple years I've been using it, yet this level of problem-solving is a bit nerve-wracking to me. I've been considering reinstalling (this machine is running Lucid upgraded from Karmic and Jaunty and has a few oddities), but I hate the idea of being forced to reinstall because I can't overcome this problem. If you need any other information or outputs from terminal commands, I'm happy to provide it.
Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?
1. How can we change it? (just changing value of PAGE_OFFSET is okay?)
2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?
I have configured the remote installation of Fedora 13 with kickstart with nfs installation method. All work ok until I boot the Fedora 13 client system.
Fed13 client system receives the IP address from dhcp, receives the loader, loads vmlinuz and initrd.img from tftp, load anaconda, configures the network and dev eth0, mounts nfs server to load kickstart file, loads kickstart file (language...) but when it tries to mount nfs server to install from Fedora 13 installation tree it fails.
First, I thought that I had an error on my NFS configuration but I was wrong. I opened tty with ALT+F4 on the Fedora 13 client and I sew this error:
Code:
Is this a bug or can I modify anything to correct this error? How?
df -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.
du -sh /* | sort -gr | head -n 5
I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.
I installed Ubuntu 10.10 alongside my Windows 7 installation. The installation was successful, but, now when I try to boot Windows nothing happens (apart from an indefinitely blinking '_'). I tried to do startup repair from my Windows 7 DVD but it is not detecting the hard disk. When I tried to run chkdisk /f from the command prompt it said that the disk is write protected. Later, on using diskpart and list volume the only volume detected is the CD/DVD ROM.
The initial GRUB window points to /dev/sda2 for Windows 7. The Volumes snapshot from Disk Utility is attached!Any idea as to how I can recover Windows 7?
so I just installed Ubuntu 10.10 a couple of days ago and used my whole hard drive.Thing is, I decided that although I loved Ubuntu, I stll want to have dual-boot for some cases.. But now that the disks filesystem is not NTFS, Windows cannot regognise the disk as installable and cannot convert the filesystem. Gosh, Windows is a piece of junk, but I still need them for some occasions.
I have tried many methods but still didn't succeed in rebooting Win Vista (blank page after selecting it in boot menu). The main problems were that GRUB was installed also on Windows partition, and Win partition appears as FAT16 and not NTFS Here is the output of boot_info_script, I would say that everything seems OK.
I installed a bunch of updates on one of my 10.04 systems before the holidays and then shutdown. Upon my return the initial boot greeted me with the "low resolution graphics" dialog and no functional mouse or keyboard. I dual booted to 8.04 and replaced /etc/X11/xorg.conf with the contents of the xorg.conf.failsafe in the same directory and rebooted. Got the 800x600 VESA Gnome desktop but still no mouse or keyboard. I tried booting with a different brand mouse (was MS, tried Logitech trackball) but still no good. I have to press the reset button to reboot
It is not a hardware issue as mouse, keyboard and 1920x1200 graphics all work fine when I boot 8.04, 6.06 or Windows 2000. None of the four 10.04 kernels listed in my boot menu makes any difference.
I spent about a year on linux and had all sorts of very very important documents and files saved in my system. I cannot stress the importance of these documents and know that I am retarded for not making backups. We will start another thread for people to yell at me if you want. Heres the deal, XP was installed on this computer yesterday. They did a boot from disc install, deleting the partition and installing a fresh copy of XP.
Now XP is back on this cpu. My question is, is there ANYWAY long, short, whatever that I can find those files or maybe go back to my old install of ubuntu? I've heard a lot about bootloaders and whatnot but I have to get those files. I have a bunch of assignments due and need these files.
In my dual booting system consisting windows & fedora 12, for some unfortunate reason I have to reinstall windows .Earlier it was XP. Now it will be Vista. Now how shall I recover my fedora after windows installation. Can I follow the following steps or I have to do something else:
Code: #grub #root(hd0,8) [since my / partition is in /dev/sda9] #setup(hd0)