SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I cant do anything now! My partition table is gone, and fdisk /mbr said
Unable to open /mbr
Does this mean my harddrive has just been erased? I had a lot of important files on there! I cant even boot to slack anymore so I can back it up to another computer! Is there any way that I can get my old partition table back? I did not write a new one yet.
OK don't panic. The first thing you should do is boot from the first slackware CD. The very first command you need to run is "cfdisk /dev/hda" and make the root partition bootable, and write it to the partition table. cfdisk is pretty straight forward. there are options at the bottom of the screen to tab through, and nothing is actually written until you say yes to the write option. Yes, zeroing out your MBR means you totally erased it . The good news is only your MBR is gone and not your data. I am sorry if I was not clear on that , I should have given you a warning.
Sorry for tasking so long to reply, for some reason it did not mail me a notification that someone had responded. I did a little research, and found a way to recover the old table using GNU Parted and GPart, I will try that this afternoon and let you know how it goes.
That did not work so well, gpart would not run properly. I found a more complicated way to restore it, and I am going to try that next. After I get it back I think I will just boot to windows, back up all of my data across the network, and erase the whole drive. That should fix any problems. Thank you for all of your help this past week.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.