You are not logged in.
Hi
I was trying to back up my computer with Clonezilla. It kept telling me that the drive I was trying to back up (the only hard drive in my laptop and only has Arch Linux installed on it) had a GPT and MBR partition table. I thought that this was odd so booted back into Arch Linux and loaded up gparted and it said that the drive was MBR. So I ran clonezilla again and it said about a command to run to remove the GPT if you are sure that you are using MBR so I went ahead (stupidly) and ran it thinking that everything would be ok and now I can not boot back into my Arch Linux. I just get a black screen with GRUB and a flashing cursor. I think the command that I ran was either:
gdisk -z /dev/sda
or
sdisk -z /dev/sda
I'm not too sure and I should have written it down or researched it first. (That will teach me.) I have booted the computer from a Knoppix DVD and can see all the partitions on the drive (root, swap and home) and also read all the data. I have tried to reinstall grub (install-grub /dev/sda deom the Arch install cd) but this has not worked. I hope that as will most things Linux I can fix this. Please can you point me in direction I need to go to fix this?
Thanks
Robert
Last edited by toca180 (2012-02-25 17:20:11)
Offline
Hi
I have fixed it. I ran testdisk from Knoppix and let it write out the partition table again as MBR then reinstalled grub from the Arch Linux install CD by doing the following from with in grub:
root (hd0,0)
setup (hd0)Lesson learnt. I'll read and research before just blindly running commands again. Thank you all for reading.
Thanks
Robert
Offline