Fedora Installation :: How To Recover From A Bad Installation
May 1, 2011
I have installed a bad kernel that refuses to boot and there are no other options in the grub menu.But I can boot from the liveCD and fire up a Terminal. So my question is, what commands do I run to mount the /root and /home partitions so that I can copy the bad kernels to /home/username/ and restore the system by updating the kernels to the latest one* ?*: Either by issuing 'yum install kernel kernel-devel kernel-headers perf' at the # prompt or by manually copying the vmlinuz, and initramfs image files from the latest rpms. However, I don't know how to extract files from rpms in general and I don't know where to look in the rpms for the specific 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)
I have installed Windows 7 and fedora 12 on my system.I want to reinstall my windows 7 but as I know after installing windows 7 , i will not be able to boot my fedora 12 how to recover bootloader of fedora 12 after installing windows 7. [URL]
After installation of Windows XP in the disk where Linux was installed in another partition the GRUB menu allowing to choose operation system to load dissapeared. This menu previously appeared right after switching the computer on. But after installation of Windows in the partition intended for it only WindowsXP is loaded automatically once I switch on my computer. But switching it on with Linux rescure cd-disk results in loading my ordinary Linux from hard drive. This shows that Linux is not destroyed at the loading of Windows, but just made unreachable. Possibly installation program for Windows has destroyed GRUB or some of its files. Does somebody know how to restore normal functioning of GRUB?
Details:
I am using Scientific Linux 4, which is derivative of RedHat Enterprise Linux.I have currently installed WindowsXP SP3. But previously I had the same problem with SP2 at the same computer and the same partition. At that time I needed to reinstall the full Linux after installation of Windows. This was not a problem, since this was right after its purchase and there was nothing useful. But recently I needed to re-install Windows, now it is SP3. And unfortunately I have received expected result: Windows have been installed, but it made unreachable Linux. Now I need to find a way to solve the problem with fixing access through GRUB to all systems without reinstallation of Linux, since it will be too time consuming to pass all its adjustments and loading which I need.
Probably the problem is typical and well-known. Grub, Linux in one partition and installation or re-installation of WindowsXP in another partition. How to repire GRUB and entries to all systems after that?
I have a system set up with Fedora 9 - the Fed10 installer choked on an older Intel video chip. I've decided to try updating to 10 in anticipation of further upgrading to 11. Reading this forum and elsewhere convinced me to try preupgrade. I started it and saw Fed10 as an available upgrade path, selected it. At that point, the system appeared to freeze -- the progress bar got about 10% along and everything sat for 10-15minutes. I exited out of preupgrade and tried the rpm path.
That didn't fly either -- I was told that there were no packages marked for upgrade. I read more about preupgrade, including the fact that it might give the appearance of having locked up although it was still working. So I went back to preupgrade. This time, Fed10 didn't show in the selection box. It was, in fact, empty except when I checked the box for beta/unstable and could see Rawhide.
How do I get back to where I was with preupgrade so that I can finish what I started? Alternatively, how can I do a 9 to 10 upgrade from this point (preupgrade grayed out and rpm reporting no packages)? I expect to further upgrade to 11 in a couple of months, so the step to 10 is necessary. I do not have a separate /home partition and I have some very expensive (and difficult to set up) software that insists on sitting in /usr/local, so a full install, though doable, isn't something I want to undertake -- I'd much prefer to do to upgrades from 9.
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?
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?
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.
i had to reinstall window$ and my MBR was rewrote so i can only boot to windows, how do i reinstall lilo in the MBR, i have the slackware 13.1 DVD not the cds.
I have encrypted my home directory during a fresh install, after I booted up for the first time is asked me to write down my /home passkey paraphrase for emergency recovery. I chose to do it later. Now I cant find the command to recover the passkey. Does anyone know how to do this?
before i proceed,I'll like to say that I'm a complete newbie, but enjoying my time with Ubuntu.
Recently, due to hard disk failure, some of the System files got corrupted, I have no idea to which files, but booting Ubuntu from the latest kernel is not working, instead I have to select the previous version from the grub screen.
How to recover these files? Is there a way by which Ubuntu automatically scans and repairs the system files.
I just installed Ubuntu in full installation. But then my Windows 7 file went bye-bye. I tried to see if everything were really erased from my drive. But then it showed that I'm still using 40G out of 250G of my disk. Why is it like that? Can those file still be recovered? My Windows 7 loader was actually erased. Can I still install Windows 7 even if Ubuntu already used the whole drive? And also, how can I delete partitions to make my HDD turn into a whole and single Drive before I install Windows 7?
I downloaded Ubuntu 10.10. Initially, I had the problem on the "Who are You" screen and was told that lower case letters were needed. Long story short, I was given a work-around since there was a partition on my hard drive. Ubuntu installed correctly - works just fine. However, upon booting up, if I choose Windows 7, it takes me to Recovery and wants to reinstall factory specs. What's the best way to resolve this? Is going back to factory specs and then reinstalling Ubuntu a viable option? This is brand new computer and I've downloaded nothing - wanted to make sure everything was working fine before I did that - so I would have no problem with doing that.
So I glossed over the fact that installing Gnome3 from the PPA would break Unity for some reason, and now it's broken, and I can't even check it out. Is there a way to recover it and/or remove Gnome3, or is it a case of being out of luck unless I do a full reinstall?
I installed Ubuntu 10.04 on a usb stick in persistent install mode. So I could boot the laptop or my desktop computer with the stick, at boot time. Once I needed the 8GB stick for another purposes so I thought about coyping it to my desktop doing from mac os x: dd if=/dev/disks3s of=/Users/jack/Desktop/usb_copy
Now I am trying to do the opposite, after having used the stick, which was formatted to NTFS, just doing
but although I can see that almost of the files are there, I can not boot again. IT is also strange the the file permissions are kind of strange, something like _user
Previously I'd installed Ubuntu Netbook Remix (Lucid) on my Acer Aspire One 751h netbook. the machine came with XP installed, so I installed Ubuntu as a dual-boot setup. I had various problems with the configuration of Ubuntu (nothing to do with the boot process, and now solved) so I reinstalled it.
What I'd actually done with the second installation was to install it again alongside both XP and the original Ubuntu installation (maybe that was also a stupid thing, but I didn't know it would work like that). When I realised what I'd done, I did the stupid thing, which was to delete the partitions with the older installation and swap file (using the Disk Utility).
After that, the next time I rebooted I went straight into grub-rescue. I don't know much about this, but I found a forum entry explaining the basics, so I can now issue grub-rescue commands that let me boot into Ubuntu. I've run update-grub and my /boot/grub/grub.cfg file looks fine.
However, I think this only kicks in once I've got past the initial boot menu and have chosen Ubuntu (now on sda5 - hd0,5). My problem is that the files/processes that load the boot menu on startup still have the old configuration, so when I reboot I still go into grub-rescue and I get 'partition not found' (or, since I recreated the partitions, 'file not found') and root is at (hd0,7).
Is there a way, once I've got into Ubuntu, of changing the information in the startup boot menu Alternatively, if I copy my entire file system from sda5 into sda7, would that do the trick?
I was updating the kernel and left the computer to let it do its business. There was power failure and I don't know if the update completed or if it was in the middle of it. Now if I start the computer, it freezes up at the login screen. I tried to recover from grub, by selecting "Ubuntu, with Linux 2.6.32-21-generic (recovery mode)". There were no prompts for input after this. The recovery screen is not updating anything after:
[2.348886] EXT4-fs (sda1): INFO: recovery required on readonly filesystem [2.349015] EXT4-fs (sda1): write access will be enabled during recovery [2.577641] EXT4-fs (sda1): recovery complete [2.578072] EXT4-fs (sda1): mounted filesystem with ordered data mode Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done.
When I come out of that screen (ctrl-alt-del), the problem repeats.
I have only a ubuntu 8.10 in my computer, and trying to desinstall some tools and make more free space to do the update to ubuntu 9, I have deleted some system-files (python), and my OS become defected, no internet connexion, no graphic interface,my ubuntu CD is defected too and shows an error like: 'ubiquited error. I can only boot from it, but can not install the install packet which is in the desktop.
i specifically told ubuntu to install alongside my operation system (windows) and instead it installed over windows and deleted all the other partitions... i had 200gb of data that i completely lost is there anyway to recover this data?
I had six partitions in my HDD, but due to some fatal error or virus, one has vanished itself. how to recover that drive without losing my precious data?
now I've re-installed W7 so grub was overwritten. I've tried the procedure which worked for me previously:booting with the netinst usb in rescue mode, choosing a root partition to mount, using grub-install to reinstall the grub:
Now I'm on Jessie (stable), and this time this fails, and I am able to mount only sda3.grub-install doesn't exit so I'm assuming it has been replaced by `grub-installer'. also '/boot' doesnt exist so I created it manually.
I would like to recover my grub installation in a dual boot system. if there is an easy way to recover grub using flash disk? If yes is your suggestion opensuse developed? (currently running 11.3) . It would be nice also to have some gui just to make things easier. If not I assume that then the only option is the boot from dvd. Is that right?