Announcement

Collapse
No announcement yet.

Grub error 17 after fresh install

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Grub error 17 after fresh install

    I just removed vista and went for a kubuntu only system. But after the installation(from the DVD(64-bit)), grub gives me error 17.

    There are 3 drives in the system. Dont really know what other info to give

    #2
    Re: Grub error 17 after fresh install

    What is on those drives? other operating systems? where is Kubuntu?

    You can get a decent picture by running
    sudo fdisk -lu
    at Konsole (K > System > Konsole terminal program).

    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    Comment


      #3
      Re: Grub error 17 after fresh install

      No other OS, I would do what u ask, if i could get to a shell/terminal

      Isnt there a way for me to just remove grub, and let linux start without it?

      Comment


        #4
        Re: Grub error 17 after fresh install

        When you turn on the PC, what do you see?
        Do you get a boot menu?

        Is the PC BIOS booting into the disk that contains Kubuntu?

        You'll have to use a Kubuntu live CD.
        (You need GRUB to boot into Kubuntu.)

        How To GRUB Methods - Toolkit
        http://kubuntuforums.net/forums/inde...opic=3081671.0

        (This can be fixed.)
        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment


          #5
          Re: Grub error 17 after fresh install

          I'll try after i finish my homework

          Comment


            #6
            Re: Grub error 17 after fresh install

            I got around the error by disconnecting all the drives except the main one.

            But now, when i boot(it gets past grub), all i get is a black screen.

            Before the black screen, i get a screen with, bottom left, some text about the kernel(no error or anything).

            I also get this when trying to run kubuntu straight from the dvd. I installed with the text setup.

            Running the NVIDIA 8800GTX

            Comment


              #7
              Re: Grub error 17 after fresh install

              Originally posted by Diod

              Running the NVIDIA 8800GTX
              The Nvidia 8000-series cards present some challenges. Check out Par. 2 of this for booting issues:

              http://kubuntuforums.net/forums/inde...opic=3089767.0

              Comment


                #8
                Re: Grub error 17 after fresh install

                Thanks

                I tried to remove the quiet option, but it didnt help. I did find someone who said putting nosplash instead of splash will help, and it did.
                I'm now writing to u from kubuntu

                Now i still need to install some drivers

                My sound doesnt work yet, I'd expected that to work


                EDIT: Cheered a bit too soon. After i plugged in the HDDs, the same old error 17 comes up

                Comment


                  #9
                  Re: Grub error 17 after fresh install

                  For the Error 17 part,

                  for starters, USUALLY with multiple drives (but not always), you have to re-install GRUB from the Kubuntu partition to the MBR of the first-boot hard drive (listed in BIOS setup).

                  See the GRUB toolkit for that. (The part with root -- setup -- quit)
                  or use Super Grub Disk Live CD to do it.

                  (we may also have to check your menu.lst, but probably not ?
                  you did not list sudo fdsik -lu for us to see ...)
                  An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                  Comment


                    #10
                    Re: Grub error 17 after fresh install

                    fdisk -lu (in dutch):

                    Schijf /dev/sda: 203.9 GB, 203928109056 bytes
                    255 koppen, 63 sectoren/spoor, 24792 cilinders, totaal 398297088 sectoren
                    Eenheid = sectoren van 1 * 512 = 512 bytes
                    Schijf-ID: 0x33d333d2

                    Apparaat Opstart Begin Einde Blokken ID Systeem
                    /dev/sda1 * 63 136713149 68356543+ 83 Linux
                    /dev/sda2 136713150 398283479 130785165 5 Uitgebreid
                    /dev/sda5 382057893 398283479 8112793+ 82 Linux wisselgeheugen
                    /dev/sda6 136713276 382057829 122672277 83 Linux

                    Partitietabel-items liggen niet in schijfvolgorde.
                    Note that this is With only 1 drive in it.

                    menu.lst:

                    # menu.lst - See: grub(8), info grub, update-grub(8)
                    # grub-install(8), grub-floppy(8),
                    # grub-md5-crypt, /usr/share/doc/grub
                    # and /usr/share/doc/grub-doc/.

                    ## default num
                    # Set the default entry to the entry number NUM. Numbering starts from 0, and
                    # the entry number 0 is the default if the command is not used.
                    #
                    # You can specify 'saved' instead of a number. In this case, the default entry
                    # is the entry saved with the command 'savedefault'.
                    # WARNING: If you are using dmraid do not use 'savedefault' or your
                    # array will desync and will not let you boot your system.
                    default 0

                    ## timeout sec
                    # Set a timeout, in SEC seconds, before automatically booting the default entry
                    # (normally the first entry defined).
                    timeout 3

                    ## hiddenmenu
                    # Hides the menu by default (press ESC to see the menu)
                    hiddenmenu

                    # Pretty colours
                    #color cyan/blue white/blue

                    ## password ['--md5'] passwd
                    # If used in the first section of a menu file, disable all interactive editing
                    # control (menu entry editor and command-line) and entries protected by the
                    # command 'lock'
                    # e.g. password topsecret
                    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
                    # password topsecret

                    #
                    # examples
                    #
                    # title Windows 95/98/NT/2000
                    # root (hd0,0)
                    # makeactive
                    # chainloader +1
                    #
                    # title Linux
                    # root (hd0,1)
                    # kernel /vmlinuz root=/dev/hda2 ro
                    #

                    #
                    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

                    ### BEGIN AUTOMAGIC KERNELS LIST
                    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
                    ## by the debian update-grub script except for the default options below

                    ## DO NOT UNCOMMENT THEM, Just edit them to your needs

                    ## ## Start Default Options ##
                    ## default kernel options
                    ## default kernel options for automagic boot options
                    ## If you want special options for specific kernels use kopt_x_y_z
                    ## where x.y.z is kernel version. Minor versions can be omitted.
                    ## e.g. kopt=root=/dev/hda1 ro
                    ## kopt_2_6_8=root=/dev/hdc1 ro
                    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
                    # kopt=root=UUID=b0818d12-df45-4f48-b76e-d3f891e3f302 ro

                    ## Setup crashdump menu entries
                    ## e.g. crashdump=1
                    # crashdump=0

                    ## default grub root device
                    ## e.g. groot=(hd0,0)
                    # groot=(hd0,0)

                    ## should update-grub create alternative automagic boot options
                    ## e.g. alternative=true
                    ## alternative=false
                    # alternative=true

                    ## should update-grub lock alternative automagic boot options
                    ## e.g. lockalternative=true
                    ## lockalternative=false
                    # lockalternative=false

                    ## additional options to use with the default boot option, but not with the
                    ## alternatives
                    ## e.g. defoptions=vga=791 resume=/dev/hda5
                    # defoptions=quiet splash

                    ## should update-grub lock old automagic boot options
                    ## e.g. lockold=false
                    ## lockold=true
                    # lockold=false

                    ## Xen hypervisor options to use with the default Xen boot option
                    # xenhopt=

                    ## Xen Linux kernel options to use with the default Xen boot option
                    # xenkopt=console=tty0

                    ## altoption boot targets option
                    ## multiple altoptions lines are allowed
                    ## e.g. altoptions=(extra menu suffix) extra boot options
                    ## altoptions=(recovery) single
                    # altoptions=(recovery mode) single

                    ## controls how many kernels should be put into the menu.lst
                    ## only counts the first occurence of a kernel, not the
                    ## alternative kernel options
                    ## e.g. howmany=all
                    ## howmany=7
                    # howmany=all

                    ## should update-grub create memtest86 boot option
                    ## e.g. memtest86=true
                    ## memtest86=false
                    # memtest86=true

                    ## should update-grub adjust the value of the default booted system
                    ## can be true or false
                    # updatedefaultentry=false

                    ## should update-grub add savedefault to the default options
                    ## can be true or false
                    # savedefault=false

                    ## ## End Default Options ##

                    title Ubuntu 7.10, kernel 2.6.22-14-generic
                    root (hd0,0)
                    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=b0818d12-df45-4f48-b76e-d3f891e3f302 ro quiet nosplash
                    initrd /boot/initrd.img-2.6.22-14-generic
                    quiet

                    title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
                    root (hd0,0)
                    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=b0818d12-df45-4f48-b76e-d3f891e3f302 ro single
                    initrd /boot/initrd.img-2.6.22-14-generic

                    title Ubuntu 7.10, memtest86+
                    root (hd0,0)
                    kernel /boot/memtest86+.bin
                    quiet

                    ### END DEBIAN AUTOMAGIC KERNELS LIST
                    I cant seem to get the Super Grub disk to work :s

                    Comment


                      #11
                      Re: Grub error 17 after fresh install

                      OK, the other drives we hope won't mess us up here, but with just the one main drive connected, try this:

                      To re-install GRUB from Kubuntu to the MBR of the sda hard drive:

                      Start the Live Kubuntu CD.
                      When you get to the Desktop, open Konsole (K > System > Konsole).
                      Type
                      sudo grub
                      to get the GRUB prompt: grub>
                      At the prompt type each of these, pressing Enter after each line:

                      grub> find /boot/grub/stage1

                      That SHOULD say (hd0,0) !!! We so hope!

                      So then:

                      grub> root (hd0,0)
                      grub> setup (hd0,0)
                      grub> setup (hd0)
                      grub> quit
                      $exit

                      Exit out of the Live CD, eject & remove the CD when so prompted, close the tray, press Enter to reboot, and see what happens.

                      Notes:

                      Bonus: setup (hd0,0) will say “failed...but not fatal” etc., and that's OK. This statement installs GRUB to the boot sector of the Kubuntu partition and that can be handy for many rescue tasks in an emergency, and doing this does NOT hurt anything at all.

                      setup (hd0) is the key! It sets up GRUB in the MBR of the sda drive: sda = hd0; and (hd0) means the MBR of hd0.


                      (Got to attend to an interruption here; will return; but the others here also know this stuff, too )
                      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                      Comment


                        #12
                        Re: Grub error 17 after fresh install

                        Well, thanks for the replies

                        But i think i'll just reinstall vista

                        I'm sure that we could've worked this problem out, but its not just the bootloader. It's also the poor support for my soundcard: X-Fi xtremegamer, I know there is a beta driver out there, but I would need to compile my own kernel, and I've tried compiling my own kernel before, which just gave me alot of problems. Also the fact that I cant play a file from my network without having it copied over first. I guess windows spoiled me or something

                        I really hoped things changed since last time I tried linux.

                        I wonder though, how many of you run linux as the only OS at home?

                        Comment


                          #13
                          Re: Grub error 17 after fresh install

                          Actually, disregard that last statement of mine.

                          I wasn't expecting the error and certainly didnt expect it to take this long to be solved(still isnt )
                          I really wanna give linux a try, but as u have noticed, im an amateur at it.

                          I did what u asked, but havent tried connecting the other drives yet, Mike. (gotta go to bed)

                          Comment


                            #14
                            Re: Grub error 17 after fresh install

                            This may not need to be so difficult. The grub 17 error, that is. Check in your bios to see which drive is starting. If you have a fairly recent computer, you should have the ability to chose the order for your drives in the setup program. Make sure the first boot drive is the one with Kubuntu on it.

                            Alternatively, when you get to the grub screen, select e for edit and change hd(0,0) to hd(1,0). then boot it. If that doesnt work, change it to hd(2,0). Note that you dont want to do both of these things, it's one or the other. If you go this route, once you find what will boot you, you'll need to edit /boot/grub/menu.lst and change that parameter in the file. What you edit from the grub command line isn't saved. Be aware, though, if you do it this way then you'll likely end up having to do it for every new kernel. Also, if you followed what qmike said in his last post, then you'll want to go with my first suggestion. The drive you're installing kubuntu on is not the first drive as physically plugged in to your mother board, or set up in your bios.

                            I run a dual boot with Kubuntu and XP, but only use xp to go to one secure website that requires internet explorer. I have ie installed under wine, but it's not stable and I haven't had much time to mess with it. 99.9% of my usage is Kubuntu. I also handle 3 other computers for family members. One uses xp, the other two use Mepis. I've been very close to windows free for about a year and a half.

                            Comment


                              #15
                              Re: Grub error 17 after fresh install

                              Hmmm, no i dont think its plugged into the "first" sata "socket"(or whatever its called). But it was at the top of the boot-up list when I had multiple drives connected.

                              If i was to move it to the first sata socket, would it work then? I have 2 other drives. One is SATA and the other is ATA.

                              Comment

                              Working...
                              X