PDA

View Full Version : [gnome] Gnome Error 17, Went from Triple to Dual Boot



bdfoster
September 5th, 2008, 12:45 PM
I have one drive with (really) 149GB on it, and I wanted to experiment with Kubuntu. I did my experimenting, then I was stupid and deleted that partition on my Ubuntu installation using GParted. Since Kubuntu was the last OS that was installed, that is where Grub pointed to.

I have five partitions on this one drive. It tries to boot to an HP Recovery partition setup at the factory.

HP Recovery
Vista Installation
Swap File for Linux
Ubuntu Hardy
Unpopulated FAT32 (this is where Kubuntu was installed)

When I boot, it goes to Grub, tries to start, then gives me the Error 17.

Any suggestions as to how I can fix this? I've been all over the forums trying find someone with the same scenario.

ronnielsen1
September 5th, 2008, 01:02 PM
http://ubuntuforums.org/archive/index.php/t-24113.html


Here are the steps:

1. Boot your computer up with Ubunto CD
2. Go through all the process until you reech "[!!!] Disk Partition"
3. Select Manual Partition
4. Mount your appropriate linux partions

/
/boot
swap
.....

5. DO NOT FORMAT THEM.
6. Finish the manual partition
7. Say "Yes" when it asks you to save the changes
8. It will give you errors saying that "the system couldn't install ....." after that
9. Ignore them, keep select "continue" until you get back to the Ubuntu installation menu
10. Jump to "Install Grub ...."
11. Once it is finished, just restart your computer

Crafty Kisses
September 5th, 2008, 01:02 PM
Try SuperGRUB to repair the bootloader > supergrub.forjamari.linex.org

caljohnsmith
September 5th, 2008, 02:04 PM
Ronnielsen1's method might still work, but it is not necessary as there is a simpler way to restore Grub. Just boot your Live CD, open a terminal, and do the following:

sudo grub
grub> find /boot/grub/stage1
[should return your Ubuntu partition in the form (hdX,Y), use that:]
grub> root (hdX,Y)
grub> setup (hdX)
grub> quit
That's all it should take, but if for some reason you get any errors or have any problems, let me know.

ronnielsen1
September 5th, 2008, 02:41 PM
Mepis has an excellent tool for repairing grub from the livecd that works on any debian system but unfortunately it's not released outside of Mepis

bdfoster
September 5th, 2008, 10:28 PM
Ronnielsen1's method might still work, but it is not necessary as there is a simpler way to restore Grub. Just boot your Live CD, open a terminal, and do the following:

sudo grub
grub> find /boot/grub/stage1
[should return your Ubuntu partition in the form (hdX,Y), use that:]
grub> root (hdX,Y)
grub> setup (hdX)
grub> quit
That's all it should take, but if for some reason you get any errors or have any problems, let me know.

This solution I have done many times, and I can't get past the root (hdx,y) part. Will try again though.

bdfoster
September 5th, 2008, 10:49 PM
http://ubuntuforums.org/archive/index.php/t-24113.html

I don't think this applies to Ubuntu Hardy...

The options are not the same and when you are done mounting / it asks if you want to continue with installation or go back to partition editor. When I abort the install there is no way to install grub.

I appreciate you efforts though. This is something I hadn't tried.