Fedora :: /Boot Folder Deleted - Any Way To Restore Without Reinstall
Dec 1, 2010
My /boot folder is deleted by an unwanted mistake. I'm using F14 x64. I have updated my OS and I also installed more than 2 GB packages and It is very difficult for me to re install Fedora. Is there any way to fix this problem with out re installing Fedora?
By naming one of my folders wrong I thought I don't need it anymore and pressed delete button while holding shift. Is there any way I could get that folder back? (I'm actually looking for the file inside that folder - .conky config file to be more precise) I've tried scalpel and extundelete, but none of them worked.
I have system that was cloned from another system hence the user was same in both computer. I changed the computer name - to TANU. Then I added another user - BANU. I gave admin rights to second user. Logged out the first user DON- who is now only the desktop user. Before deleting the account through users and groups - I deleted the folder DON from home folder. I restarted the comp. unable to login. I had created automatic login for both users. How to restore the folder DON while using root shell.
As the title states, I deleted my /boot folder on one of my F14 installations. I'll have to fix it later. I have F14 under VirtualBox on the same computer. I'd bet I can copy from there and be OK.
I was playing with my linux machine for RHEL preparation. I dont know where i left it last time before going to leave . Now the system is up and I cant take risk to reboot the machine.
That make sense that it wasnt mounted properly in last bootup. but I am not sure.I have to recover it without reboot. Can any one help and sort it out?Please do let me know if you need more outputs.
My Mini13 came with hardy preloaded, and it's got pretty messed up since, so I'd like to restore factory OS via a grub entry that looks like this: title System Restore root (hd0,2) chainloader +1 boot
This points to a partition which, when mounted, has this stuff in it: bootfs.img initrd0.img install.sh logo.png syslinux.cfg vmlinuz boot.msg install.cfg ldlinux.sys rootfs.img vesamenu.c32
I'm not a computer, but that looks pretty good to me but when I select this grub option it just says: Boot Error Is there a log or something that might give me more info about the error?
I have a Laptop where I installed both Fedora 11 and windows 7 dual boot.
While I was upgrading Fedora 11 to Fedora 14 using preupgrade, I tried to edit /boot/grub/menu.lst file to make an option to continue upgrading the system after rebooting.
Accidentally, I deleted the file content and I couldn't restore it
I knew then that I'll face a problem when I reboot the system, and I faced it >> the grub selection menu disappeared , and only the line (grub> ) appeared when I reboot the system.
1- These commands:
Code:
But when I rebooted , nothing changed and the same (grub> ) appeared again.
2- I used the instructions in the PDF attached, but unfortunately nothing changed.
I think that I have to rewrite the menu.lst and grub.cnf files but I'm not expert and I don't know exactly what was there (locations , commands , etc. )
The current system monitor for the file system is shown in the next image:
I accidentally deleted the default icons in the gnome panel on the top right. I tried to get them back from the add to panel. I went through every program I could, but none of the original programs were found. I'm running fedora 13.
This is partly a note to myself for the future and a guide to anyone who experiences similar issues.
So, I had to reinstall Windows XP since my previous installation gave me a blue screen error due to reasons unfathomable. Naturally, this deleted the GNU Grub and I could not login to my Fedora.
I read that apparently booting from a DVD installation offers an option to enter the rescue mode. I did not have a DVD, I only had the LiveCD so I had to figure out a way to reinstall Grub from the LiveCD. The following method seemed to do the trick.
Run the LiveCD and open Terminal.
1. Find the partition where the Grub Stage1 is code...
I've forgot to add/make clear, as I have said this is a single OS system, if there is a less complicated fix that will leave me without grub (but with a bootable system) that would be fine. Something like Code: fdisk /MBR but I understand that command is only for DOS, correct?
I've managed to delete/screw up my installation of GRUB. My hardware RAID controller had gone on the fritz and I was getting an operating system not found message during boot. Turns out I needed to reload the firmware for the card. I now believe the card is working fine however in trying to troubleshoot the problem (which I initially thought might have been related to GRUB) I have managed to hose GRUB, and I now see Code: Loading GRUB..
Error 15 at startup. I am running Ubuntu 8.0.4 LTS. I have been using an 8.10 desktop live cd for troubleshooting. Grub-install does not work when using the live cd. I have tried to follow directions given on this page: [URL]. However if I chroot to where my OS partition is mounted on the live cd: Code: chroot /media/disk it does not recognize the grub command.
If I simply try: Code: sudo grub find /boot/grub/stage1 it does not find them. If I try:
Code: sudo grub root (hd0,0) setup (hd0) it checks for stage1 and does not find it. (This may be related to the fact that I am not chroot'ed to the correct OS partition when trying to run these commands, since, as I have mentioned before, I can't get the grub command to run after I chroot to my OS partition.)
When I initially started fooling around with grub I did not even have a boot partition, so I am not even sure that I had GRUB installed in the first place (this was simply a clean install of 8.0.4, not a dual boot system) but since then I must have screwed up the MBR by trying to reinstall/fix what I thought was a broken GRUB. I could not find the GRUB files on my computer, so I have downloaded GNU Grub 0.97 and unzipped it, and moved the entire contents into a /boot folder which I created, so I now have the proper /boot/grub/stage1 directory. (However I never ran any installation after downloading grub, I simply moved the files, perhaps this is the issue).
I tried this once but my post disappeared. A thousand pardons if this is a dupe.Through the magic of typos, I managed to delete my ssh binary file. I can receive SSH connections but am unable to SSH into another computer.I located the RPM that looks to be what I'd want -- openssh-4.3p2-41.el5_5.1.i386.rpm -- but it refuses to install. RPM gives me the following conflicting messages:
[root@lightning packages]# rpm -i openssh-4.3p2-41.el5_5.1.i386.rpm package openssh-4.3p2-41.el5_5.1.i386 is already installed and
I'm using ubuntu server 9.10 for a home build NAS. Everything is working great just have one more thing to figure out. I have Samba set up to access my files and I set up a recycle feature so anything deleted will get moved to a Recycled folder. (I learned this the hard way after hitting delete key by accident while browsing the shares in windows. Lost 100 GB of data)
Now it is for the most part working but the permissions on folders isn't getting set right. If I delete a file in a share I can go to Recycle bin folder and delete the file for good. But if I delete a folder I can not access that folder to delete or restore from the Recycle bin folder. I have to chmod the folder before I can do anything with it. Anything I can change to get folders deleted via windows to have the right permissions when it is moved to the Recycle bin folder?
I deleted Ubuntu off of my laptop, because I was having some issues with it (I had lost some of my icons in Software Center, couldn't access my Yahoo Mail etc..). I deleted it using this method. I then went into my Windows Vista OS, and accessed Disk management via Control Panel.The partition Linux was previously on was Unallocated, and I had a D partition which was Windows recovery. I then shrunk my C (main Windows) partition down. I deleted the D partition.So now I have the C partition, and a large unallocated partition. I was planning on installing Ubuntu from CD onto this unallocated partition. I am using the same CD I had previously used to install Ubuntu. My roommate was also using the same CD today to install Ubuntu on his computer. I know the CD works.
So when I inserted the Ubuntu CD it loaded the first couple of screens. It got to the purple screen where the install text would normally have appeared and then continues to load.... but the "do you want to install? etc..." text did not come up. It then loaded to a black screen, loaded back to the purple screen, reads the disc, keeps loading... and loading... and nothing ever comes of it.I tried again, this time when the first purple screen comes up, I hit enter. I get the language select. I then get the options. I click install Ubuntu. it then starts loading... and loading... black screen, purple screen, black screen with text... but nothing comes of it.My windows is working fine. I don't know why it won't install
I had to delete my swap partition in order to reinstall win XP, but now I need to reinstall it. I run Ubuntu 10.04 and read that there is a command $ sudo mkswap /dev/sda1. I have about 19 GB of free unpartitioned space left on the hardrive that I want to make into a swap partition. I'm not sure whether I should use sda1 or if the book uses it as an example and if I use it it could wipe away my existing partition with ubuntu installed on it.
I was having a problem where I had run keytool to generate a key but had entered some bad info. I tried to run it again but it said there was already a key, so I deleted keystore thinking it would regenerate itself. I ran the keytool command again but it says it can't derive the signature algorithm.
Anyway, I've tried to 'sudo apt-get remove sun-java6-jdk' then 'sudo apt-get install sun-java6-jdk' but it doesn't seem to put me back where I was from step 1. 'sudo dpkg-reconfigure' also doesn't seem to fix it. I think if I can completely reinstall jdk then I'll be good, but how?
I just uninstalled, did 'sudo apt-get clean sun-java6-jdk' then installed again. Still get the error: keytool error: java.lang.Excpetion: Cannot derive signature algorithm
My gateway netbook was dual booted with windows 7 and ubuntu netwbook.,I was attempting free up some space on my netbook and decided that the ubuntu partition was expendable.I deleted it and sufficient to say I now can't boot boot up, I just get an error message, can't remember exactly what it is.I am getting a new computer and would kind of like to be able to recover the files on the computer.I have a USB netbook boot drive and am wondering how I would be able to install ubuntu without loosing the files.I have the usb key plugged in am now at the partition stage of the installation.
I accidentally deleted my top panel and am in the process of restoring it. The last thing that was there which is not now is the quick link to Ubuntu Help. It is installed on my PC but I cant find it.
I deleted my panel (where you can see running programs, show desktop shortcut). I know - its stupid to delete panel, but I wanted to try it out. How can I get it back?
I have installed OpenSUSE 11.4 with GNOME and it works perfect. But when i tried to uninstall Mozilla Firefox with other Mozilla adds, it began to uninstall all default gnome apps. And my GNOME menu and desk was empty. I tried to set back apps and to install again Mozilla stuff with other GNOME apps, so some apps has restored but main menu has half apps not like default. But after restart OS startet with IceWM, not with GNOME at all... So how to restore GNOME default mode without reinstalling OpenSUSE?
How do I ensure that my home partition does not get deleted the next time I reinstall Ubuntu, as I can see there is a choice between formatting the whole drive and manually partition it, but if I reinstall won't I delete the home partition as well?
my /dev/sdb was a truecrypt partition that was mounted when I accidentally deleted the partition in gparted (instead of sdc, stupid). I'm pretty sure I haven't overwritten anything since then, but I'm not sure how to go about recovering this one. To confound the problem, the only way I can install stuff to my ubunut machine is by downloading on a windows machine and transferring by memory stick.
I was working on creating a partition on a new hard drive I was planning on using for storage. I wasn't paying attention and chose to delete the partition on my master. I am running a dual boot with Vista and Ubuntu. When I rebooted It will only go to the Grub> prompt. Ive ran TestDisk and though that I had corrected the problem but it didnt. After running TestDisk again here is what It came up with.
Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63 Partition Start End Size in sectors L HPFS - NTFS 0 32 33 28554 254 63 458734027 L Linux 28555 1 1 38585 254 63 161147952 L Linux Swap 38586 1 1 38912 254 63 5253192 Structure: Ok. Use Up/Down Arrow keys to select partition. Use Left/Right Arrow keys to CHANGE partition characteristics: code....
After writing the table above I rebooted. Windows prompted me for my restore disk. I rebooted to the live cd again and ran Fdisk.
To manage it more easy, I tied 2 harddisk in LVM. And I made an logical volume. It used ext4 for it's filesystem.
Today, I wanted to format and reinstall the system. So I booted the system using Ubuntu CD. But managing the partition, I accidently delete the logical volume. Because backup(/etc/lvm) was in itself, I couldn't restore the old config. I just create new logical volume.
As I expected, I couldn't mount it correctly. Mount said that "Mount: Mouting failed A on B! Invalid argument!"
I must recover it, because it has a lot of import data. What should I do?