The first thing you need to do is install gparted with the live CD. That takes a few steps, but the best tutorial I found is right here.
Once you finish with that, we want to check our current partition table. Open up terminal and use the command
cat/proc/partitionsYou can view the details about the disk by using this command:
sudo fdisk -l /dev/sdaNow we need gparted to guess what it thinks the partition table used to be.
sudo gpart /dev/sdaAfter a while, it will output it's guess. Take a look at it. If it looks reasonable, then go ahead and accept it by using this command.
sudo gpart -W /dev/sda /dev/sdaFor most cases, your partition table should be repaired.
:)
I'll keep this in mind in case any of my partition tables go bad ;)
ReplyDeleteThanks, my friend uses Ubuntu, I'll pass this on to him.
ReplyDeleteAlways good to know, I screwed it up once.
ReplyDeletehmm if I follow this blog, I might actually be able to dual boot without messing up my computer
ReplyDeleteI have been using windows for a long while now because its the only os for gaming :<
ReplyDeleteHaven't used it much but this seems like a very informative blog, followed :)
ReplyDeleteNice tutorial! Ubuntu can be a bit tricky at times xD
ReplyDeleteActually quite interesting. Followed
ReplyDeleteBrillant thanks! Most straightforward fix i've found!
ReplyDeletethank you, one of my remote debian servers is broken and i need to fix it
ReplyDeletei will try this right now
I haven't had this problem yet, but now I'll know what to do! Thanks!
ReplyDeleteThanks for the update!
ReplyDeleteCheers for this, I'm sure that it'll come in useful for a future date!
ReplyDeletewell thank god i know how to do that now
ReplyDeleteI want to try Ubuntu!
ReplyDeleteMight come in handy one day.
ReplyDelete