[SOLVED] Can not boot after mishap with clonezilla

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)

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

Similar Messages

  • [SOLVED] can't boot after kernel upgrade

    I'm on 3.5.4-1-ARCH, then I upgrade to linux-3.5.6-1 and reboot. The result is a message that cant load "autofs4" module. And a "uname -r" says me: 3.5.4-1-ARCH instead of 3.5.6!!
    I've tried to run depmod after the upgrade with de same result.
    Last edited by siot (2012-10-09 20:11:23)

    It sounds as if the new kernel did not find its way to your boot partition.  This could have been because the boot partition was not mounted when you did the upgrade (in which case the file is in the /boot mount point of your root partition) or that you are not booting from the partition you are expecting (Do you, per chance, have two boot partitions?)
    Regardless, boot from an install media and fix it from the command line.  if the files are in /boot of the root partition rather then one the boot partition, mount both volumes and just move the files.  If there are multiple boot partitions, move the files to the correct partition.  Once you reboot, fix the /etc/fstab to point to the correct boot partition.

  • Can not boot after the last upgrade [solved]

    Hi all,
    I upgraded my system this morning, but when loading I get the following error:
    ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata2: failed to recover some devices, retrying in 5 seconds
    It says so for 3 times, then continues and ends with a kernel panic.
    Any idea what might have gone wrong?
    Best regards,
    Jan

    Hi again,
    Thanks to good guys on IRC, my problem is a sort of solved. The solution was basically to go back to the old IDE subsystem on my Intel box and wait until the kernel and the respective modules get more stable before trying the transition again. More precisely, I did the following:
    1) in /etc/mkinitcpio.conf removed pata, sata and scsi hooks and put back the ide hook (and then of course ran mkinitcpio again);
    2) in /etc/rc.conf blacklisted ata_piix and ata_generic;
    3) in /etc/fstab and /boot/grub/menu.lst changed the device names back from /dev/sda* to /dev/hda*.
    I hope there will be some announcement on Arch website when it will make sense to try the new system again.
    Thanks to everyone who helped to sort this trouble out,
    Jan

  • [SOLVED] Can't boot after install

    I installed Archlinux using the FTP LiveCD. Everything finished good, and there were no errors. I then reboot and Grub comes up like it's supposed to. But when I try to boot into Arch it says:
    Booting 'Arch Linux'
    root (hd1,0)
    Filesystem type is ext2fs, partition type 0x83
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/9e26f3d3-464b-4cca-9117-db1ff8v1a961 ro
    Error 15: File not found
    Press any key to continue...
    I tried going into the Grub and changing the by-uuid to /dev/sdb1 (Which is where the root partition is) but I got the same thing.
    My partition scheme is like so:
    /dev/sda1 /home
    /dev/sdb1 /
    /dev/sdb2 swap
    Any help would be greatly appreciated!!
    Thanks!!
    Last edited by A Future Pilot (2009-08-13 14:20:59)

    A Future Pilot wrote:
    OK, I replaced hd(1,0) with hd(0,0) and it worked!!! I am happy to say I am typing this from my nice new Arch Linux setup, running xfce4!!!
    Thanks everyone for your help!!!!
    Maybe this should be documented: It is quite common that the BIOS drive order is different when booting from CD than when booting from the hard drive. Also, grub often guesses the drive order wrong. The only way to be sure is to install grub to the MBR and analyze the drives from there.
    Your problem might make more sense though: As you installed grub in the MBR of the second hard drive, you probably told the BIOS to boot from the second hard drive instead of the first. This causes most (all?) BIOSes to reorder the drives so that the second hard drive appears to be the first. And GRUB only accesses the hard drive through BIOS. Linux doesn't care though, it has its own order (which might change too) and we use UUIDs to identify the drives anyway.

  • HT4623 iPhone 4s will not boot after trying to install ios7 beta 4. Stops at apple logo with progress line under it. how can I reset it or get it back up to do a restore then try the iOS 7 beta 4 install again. Issue was probably caused by disconnection

    iPhone 4s will not boot after trying to install ios7 beta 4. Stops at apple logo with progress line under it. how can I reset it or get it back up to do a restore then try the iOS 7 beta 4 install again. Issue was probably caused by disconnection

    Obviously since you have iOS 7 you're a developer.  As a developer, you signed a NDA with Apple not to discuss the iOS on a public forum.  Please log in to the Developer Forum using your credentials and ask for help there, lest you risk having your credentials terminated.
    Thanks, and best of luck to you.
    GDG

  • Is there any dependency between osx version and boot environment???? I can not boot my bootabe software on my macbook pro with osx 10.8!!!!

    even i can not boot lion 10.7.4 bootable dvd!!!!!
    what can i do??? the boot device will apear in boot menu but they do not boot

    Then, I imagine there's a problem with the DVD.
    http://www.macworld.com/article/1161069/make_a_bootable_lion_installer.html
    It would run a lot faster on another drive or pocket drive.

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • My mac mini does not boot, after backing the enire system onto an external drive with Carbon Copy Clone

    My Mac Mini does not boot, after backing the enire system onto an external drive with Carbon Copy Clone. I had switched the start-up disk back to the original of course. Now all I see is the Apple logo. What should I do? Thanks in advance.

    Try disconnecting any external devices, especially hard drives
    and try rebooting.
    If that doesn't help, then :
    If you are running Lion, boot to the Recovery HD and run a
    Repair Disk on the OSX partition.
    If Snow Leopard, boot to the installl DVD and run Repair Disk.
    Also, you may want to bookmark this:
    http://reviews.cnet.com/8301-13727_7-57345273-263/troubleshooting-the-boot-proce ss-for-intel-macs/?tag=txt;title
    for future reference.  It is a pretty good explanation of the
    Mac boot process and how to identify where problems may be.

  • Hello, can someone help me: my eMac G4 700 MHz. I can not boot it. If he starts appears on the screen, only a small "folder with a question mark." The Mac was not used 1 year. Question 1: Problem = hard drive? Question 2: Problem = PRAM battery? the What

    Hello, can someone help me: my eMac G4 700 MHz. I can not boot it. If he starts appears on the screen, only a small "folder with a question mark." The Mac was not used 1 year.
    Question 1: Problem = hard drive?
    Question 2: Problem = PRAM battery?
    the
    What can I do to boot?

    Restart with the Option key held down.
    If the internal drive shows up, it's the PRAM battery.
    If it doesn't, insert a compatible Mac OS 9 or X install disk, click the button with the circular arrow, and either repair the internal drive or install a new OS on it. If it doesn't show up in Disk First Aid(9) or the Disk Utility(X), it's either not plugged in or needs to be replaced.
    (97530)

  • HP Pavilion 15-n268sa will not boot after windows update (windows 8.1)

    After a series of windows update (windows 8.1) my HP Pavilion 15-n268sa will not boot up, no fan noises, no lights no nothing. 
    I have tried a "hard reset" a number of times with no success. 
    When the battery is present the white LED flashes 3 times when the power button is pressed. 
    Please please help. 

    Hello Cuffy,
    Welcome to the HP Forums!
    I understand you notebook will not boot after a series of Windows updates.
    Can you tell me if you are able to access the HP Recovery Manager by repeatedly tapping the F11 key while the notebook turns on? If you can access this, try doing a system restore to before you installed the updates. If not I would suggest you go through this document: Computer Does Not Start and the LEDs Blink or the Computer Beeps.
    If it's the Caps Lock light that is blinking this document will tell you exactly what the error is (spoiler: 3 beeps is a memory failure). This could also explain the failed updates. The updates are stored in the RAM before being applied to the operating system.
    You can try reseating the RAM, or using only 1 of the RAM cards, as you have 2x4GB cards. If it still doesn't work with 1 card, try the other card to confirm it has failed.
    You can replace defective cards via HP Phone Support if covered under warranty or at the HP Part Store if not covered. You can contact HP Technical Support at 1-800-474-6836 in North America. For all other regions click here.
    Hopefully this information helps!
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • My Laptop B490 not booting after bios update

    My laptop not booting after updating bios i used windows 8 OS.
    I downloaded Bios from following link.
    Bios Download Link
    After updating bios, system restarted automaticaly, after that only power led is glowing, screen stays blank.
    Help me solve it.
    Solved!
    Go to Solution.

    hi sathish291
    Welcome to the Forums.
    Can you try the following:
    1. Power down the machine, remove the AC adapter and battery.
    2. Hold the power button for 30secs and reconnect the AC adapter only then turn the computer ON.
    If the machine still doesn't power up normally and boot into WIndows then it's likely that something went wrong (could be a bad BIOS flash or an internal component might have gone defective during or after the BIOS update). In this case, you may need to contact lenovo on how to go about getting the unit serviced.
    Support phone list
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • I have lost my cd's and screen became gray i can not boot what should i do?

    Hi all
    i have lost my cd's and screen became gray i can not boot what should i do?
    i have tried to reset Vram
    tried to run safe boot
    but nothing happends
    i have a macbook pro core 2 duo 2GB ram 160 gb hard disk

    Use the computer your on now to download and burn a ISO of PartedMagic to a cd.
    In Windows 7 you can right click on the downloaded ISO and click burn to disk, other Windows versions use the free ImgBurn software.
    In OS X you can burn the ISO using Disk Utility.
    Hook up a external drive to the target Mac.
    Stick the PartedMagic disk into the Mac and reboot holding option and c keys (I forget which one works)
    Use the first option (default) to load PartedMagic into memory (watch out the disk will eject!)
    Once in PartedMagic there is a Mount Drive icon on the right, doubleclick it twice to open two windows (three total) you can now transfer your files after mounting the disks/partitions using the two open file windows.
    Unmount the drives before using the "Start" like menu in the lower left corner to quit PartedMagic.
    If your Mac works with all this then your in good shape, you just have a hosed operating system and a $29 Snow Leopard install disk (c boot off of it) and a Disk Utility Erase (with Zero Erase preferred) and a reinstall of OSX Snow leopard will do the trick.
    If your computer boots off the PartedMagic cd, but you can't find/access the internal drive, then your boot drive is dead and you need to replace it or have someone replace it for you.
    If your computer doesn't boot off the PartedMagic cd, then it's likely a serious hardware issue.

  • Can not boot from OSX disc

    I recently partitioned my internal drive with an 80 gig partition to run Ubuntu , removed Ubuntu and now can not resize hd to recover the 80 gig that I used , there was a program with this Ubuntu install called rEFIt that was installed for the dual boot , My problem is that Itunes keeps crashing and I have spent somewhere around 8 hours trying to fix this issue and in the process I discovered that I now can not boot from the osx disc but I can boot from the Ubuntu disc , what can I do to correct this issue or is there anything that I can do to correct this and recover the 80 gig that I used ?

    The only solution was to erase hd and restore from time machine backup......
    According to everything that I have seen , read and tried when you partition the mac hd the way that mac is designed it will lock the hd thus preventing any access even using the startup disc to repair. As far as restoring everything after the erase and reinstall of the OSX that was easy and painless. FOR ANYONE WHO DOES NOT BACKUP THEIR DATA THIS IS WHY YOU SHOULD!!!!
    Once OSX is reinstalled the migration assistant will ask if you want to restore from a backup , if you have time machine or any other sort of backup simply choose the one you wish to restore from and continue , must admit I was a bit hesitant at first , I must say that everything restored with the exception of some settings that I have had to restore but they were not major settings  , after the backup is restored simply run update check and reinstall all updates , may need to do this a couple of times.
    Depending on the amount of data you have will determine the length of time for restore (500 gigs about 6 hrs.) but it will restore user account settings , connection settings  and network settings.
    Hope this will help if anyone has experienced the same problem.

  • MacBook Pro will not boot after software update

    MacBook Pro will not boot after doing an Apple Software Update (of course they will not help you).  MONEY, MONEY, MONEY is the name of the game.  They can cause your computer to crash and still charge you! 
    Does anyone have an answer to why my computer is showing a little gear spinning for hours?  I have tried several things with NO luck.
    Thanks-

    Run through the list of fixes here
    Step by Step to fix your Mac

  • Imac 21" mid 2011 can not boot from USB device?

    Hi,
    hope someone can help me.
    Bought the new imac 21" and replaced the superdrive with a ssd drive.
    Works great but it seems that the imac is not able to boot from any usb device.
    I put my osx install disk in my external dvd drive and powered my mac.
    While booting up (pressing cmd) the mac does not recognize my external dvd drive. This works great with my MBP late 2008. But the imac can not boot from the dvd drive. Also pressing "c" while booting does not work. Doing that a grey screen appears and after some time mac boots from hdd.
    So i installed mac os via target mode over firewire withbmy old imac. This works.
    But now i want to install windows on a bootcamp partition.
    I can't boot from the windows 7 professional dvd, too. So i tried to create a bootable win 7 thumbdrive. Mac can't boot from this too. Reading many threads in some forum i tried with rEEfit. Reefit shows the usb thumbdrive whike booting, but using this will end in a black screen error from bios: "no bootable device....". Tried a knoppix on the usb thukbdrive, too.... No bootable device....
    It seems that there is no way to boot from ANY external usb device like dvd drives or thumbdrives......
    What more can i do? I tried for 2 evenings now, but nothing worked out for me......
    Currently i don't see any any to install win 7 without an internal superdrive, but can this be??
    Thanks for any comments.
    Kwicks

    Internal is definitely the easiest but you can boot from external HD or external optical drive, the mac is just very picky on what works and what doesn't.
    For an external drive or usb stick it has to be GUID partition table and have 10.4.5 or better installed on it, for more info check this link out ( http://support.apple.com/kb/ht1948 )
    Hope this helps,
    Joe

Maybe you are looking for