Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Changed partition type, computer won't boot. "GRUB Error 17"

  1. #11
    Join Date
    Nov 2009
    Beans
    12

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    Ah! It booted! The first steps of progress in over 6 hours. It took me an extra 2 or so to clear my BIOS password I'd set and forgotten. lmao.
    I'll post the info I gather asap

  2. #12
    Join Date
    Nov 2009
    Beans
    12

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    Here's the output:

    ubuntu@ubuntu:~$ sudo fdisk -l
    Warning: ignoring extra data in partition table 5
    Warning: ignoring extra data in partition table 5
    Ignoring extra extended partition 4

    Disk /dev/sda: 400.1 GB, 400088457216 bytes
    255 heads, 63 sectors/track, 48641 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x2254cdfe

    Device Boot Start End Blocks Id System
    /dev/sda1 1 1274 10233373+ 12 Compaq diagnostics
    /dev/sda2 * 1275 24975 190378282+ 85 Linux extended
    /dev/sda3 24976 44836 159533482+ 7 HPFS/NTFS
    /dev/sda4 44837 48641 30563662+ 5 Extended
    /dev/sda5 ? 1684 121065 958924038+ 70 DiskSecure Multi-Boot
    ubuntu@ubuntu:~$ ^C
    ubuntu@ubuntu:~$

    The second drive is the drive I accidentally converted, as you can most likely assume. So.. what now? =/

  3. #13
    Join Date
    Nov 2009
    Beans
    12

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    Halp ;_;

  4. #14
    Join Date
    May 2007
    Location
    STL, MO
    Beans
    1,283
    Distro
    Kubuntu Karmic Koala (testing)

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    Here's what you need to do.
    1) backup your partition table
    Code:
    sudo dd if=/devsda of=Desktop/partition-table.txt bs=512 count=1
    This will put a file on your desktop. Save this file somewhere safe.
    2) You really should backup the entire drive, but you will need one with as much free space as this entire drive is. Going to assume that you won't be able to do this.
    3) Open gparted and figure out exactly how big your broken NTFS partition is. You need the exact MB where it starts and ends.
    4) try to change the partition back. Hopefully this will work.
    Code:
    sudo parted /dev/sda mkpart primary ntfs START END
    replace START and END with what you found in #3.
    5) You did save that table somewhere right!!
    6) Reboot and see if it works.

  5. #15
    Join Date
    Nov 2009
    Beans
    12

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    I'll try all this now. I'm using the Gparted that is found in ubuntu, right?

  6. #16
    Join Date
    Nov 2009
    Beans
    12

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    Quote Originally Posted by jbrown96 View Post
    Here's what you need to do.
    1) backup your partition table
    Code:
    sudo dd if=/devsda of=Desktop/partition-table.txt bs=512 count=1
    This will put a file on your desktop. Save this file somewhere safe.
    2) You really should backup the entire drive, but you will need one with as much free space as this entire drive is. Going to assume that you won't be able to do this.
    3) Open gparted and figure out exactly how big your broken NTFS partition is. You need the exact MB where it starts and ends.
    4) try to change the partition back. Hopefully this will work.
    Code:
    sudo parted /dev/sda mkpart primary ntfs START END
    replace START and END with what you found in #3.
    5) You did save that table somewhere right!!
    6) Reboot and see if it works.
    I put in the first string of code and got this:
    "dd: opening `/devsda': No such file or directory"

    I'm not sure what to do about that.

  7. #17
    Join Date
    Sep 2007
    Location
    Oklahoma, USA
    Beans
    2,283
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    Quote Originally Posted by Esoteric.caek View Post
    I put in the first string of code and got this:
    "dd: opening `/devsda': No such file or directory"

    I'm not sure what to do about that.
    There needs to be a / between the v and the s, so that it's "/dev/sda" and then it should work. This must have been a typo in the original message...
    --
    Jim Kyle in Oklahoma, USA
    Linux Counter #259718
    Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

  8. #18
    Join Date
    Nov 2009
    Beans
    12

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    Quote Originally Posted by JKyleOKC View Post
    There needs to be a / between the v and the s, so that it's "/dev/sda" and then it should work. This must have been a typo in the original message...
    That worked. Thank you!
    Following the rest of the instructions now..

  9. #19
    Join Date
    Nov 2009
    Beans
    12

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    I have an external harddrive with 360 GB of free space- plenty to hold all the corrupted drive's data.
    Should I make an image of the entire drive and put it on the external drive?

  10. #20
    Join Date
    Apr 2008
    Location
    Australian in Germany
    Beans
    4,010
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Changed partition type, computer won't boot. "GRUB Error 17"

    Quote Originally Posted by Esoteric.caek View Post
    I have an external harddrive with 360 GB of free space- plenty to hold all the corrupted drive's data.
    Should I make an image of the entire drive and put it on the external drive?
    Hallo. First of all, my deepest sympathy...

    I can't help you much with this, except for this advice

    You are in a situation where maybe all is lost. If what you are trying fails, it may make things worse, so...

    If you have the chance to copy the disc before you start messing around with it, do it. If all else fails, you still might be able to rescue files from the copy

    good luck
    Michael

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •