drum Posted April 6, 2004 Report Share Posted April 6, 2004 After formatting /boot on hdb, I was dismayed to find the hda /boot was also wiped clean (no boot floppy either). Is there any way of "rescueing" this mess without reinstalling to get all the files I need. Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted April 6, 2004 Report Share Posted April 6, 2004 Would you please explain more of what you were doing and what the system looked like prior to the mishap? Quote Link to comment Share on other sites More sharing options...
bvc Posted April 6, 2004 Report Share Posted April 6, 2004 urpmi parted parted --help (to see the options) parted -i /dev/hda then try the rescue option and see if it can find it. Whether you let it try or not is up to you. It has worked for me a few times.....failed once. Quote Link to comment Share on other sites More sharing options...
drum Posted April 6, 2004 Author Report Share Posted April 6, 2004 Thanks bvc, the partition is still there, it just got formatted and is now empty. Not familiar with the -i option on parted. I have only used it to recover partition tables. Ix, everything was going normal until I rebooted after using drakX(?) to rename partitions on hdb and resized and formatted /hdb/boot. My mistake for taking the easy way out and trusting that thing. In rescue mode, I chroot /mnt and /boot is empty. No config, initrd, vmlinuz, nothing. Quote Link to comment Share on other sites More sharing options...
bvc Posted April 6, 2004 Report Share Posted April 6, 2004 (edited) I know everything can be put back. How?....exactly? Not sure on a few things. Getting the kernel and bootloader will be easy but there's a few things in boot I wouldn't have a clue about, much less exactly what those would be off the top of my head. Replace the kernel/config/System.map/initrd and force an uninstall of the bootloader and reinstall it. Post the contents of the new /boot and we can go from there. I hope. Edited April 6, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.