Announcement

Collapse
No announcement yet.

Goofed up my Grub, now error 21

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

    Goofed up my Grub, now error 21

    Using my PC to install Mint Linux on a USB hard drive.

    Now when I try to boot my PC, it get Grub stage 1.5 Error 21

    I can boot with super grub, but the fix will not work

    HTis is a single drive multi boot system with Kubuntu, PCLinux OS and Windows.

    the menu.lst is below

    ## ## End Default Options ##

    title Ubuntu 7.10, kernel 2.6.22-14-generic
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e24800ab-7f6d-4646-8723-1e4a7ed30741 ro quiet splash
    initrd /boot/initrd.img-2.6.22-14-generic
    quiet

    title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=e24800ab-7f6d-4646-8723-1e4a7ed30741 ro single
    initrd /boot/initrd.img-2.6.22-14-generic

    title Ubuntu 7.10, kernel 2.6.20-16-generic
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=e24800ab-7f6d-4646-8723-1e4a7ed30741 ro quiet splash
    initrd /boot/initrd.img-2.6.20-16-generic
    quiet

    title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=e24800ab-7f6d-4646-8723-1e4a7ed30741 ro single
    initrd /boot/initrd.img-2.6.20-16-generic

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

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root


    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title Microsoft Windows XP Professional
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda5.
    title PCLinuxOS release 2007 (PCLinuxOS) for i586 (on /dev/hda5)
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.18.8.tex5 root=/dev/hda5
    savedefault
    boot

    #2
    Re: Goofed up my Grub, now error 21

    GRUB Errors -- common errors and what causes them and how to fix them
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Goofed up my Grub, now error 21

      I think the problem is that the grub is not getting past stage 1.5
      It seems to me the error 21 example you posted is based on an incorrect disk id in stage 2. I have looked at the menu.lst and the partition id's look correct

      I say this because I can get to and boot from the grub list by using a Super Grub live disk.

      When I look at the device map it shows hd0. I have only one disk in this pc.

      Comment


        #4
        Re: Goofed up my Grub, now error 21

        Let's see your your drive is seen by the system. Open a console and type:
        Code:
        sudo fdisk -l
        Copy and past the results.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Goofed up my Grub, now error 21

          FIXED,
          I did fdisk /mbr from a dos prompt, which wiped out Grub and the system was booting directly to windows.

          Then, I found in another post:
          Boot from the live cd,

          Open konsole then type:
          sudo grub
          root (hdx,y) x is the hard drive, y partition, so (hd0,1) is the first hard drive and second partition where kubuntu is installer.
          setup (hd0)
          quit

          That did it!

          Thanks for the effort,
          now If I can just figure how to install Mint to a usb hard drive without screwing up my PC again

          Comment


            #6
            Re: Goofed up my Grub, now error 21

            *update ur bios also .If u are using intel , go to its site and check whether it has got any new bios drivers.The new bios driver will be more stable with its improved environment.

            Comment


              #7
              Re: Goofed up my Grub, now error 21

              How To Make GRUB Thumb Drive
              http://kubuntuforums.net/forums/inde...opic=3081748.0
              How to install K/Ubuntu 7.04 to an external USB hard disk drive (HDD), Reply #1
              An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

              Comment


                #8
                Re: Goofed up my Grub, now error 21

                THe Mint installer is the problem. I have had no problem with Ubuntu or other distros on that external HD ( Actually it is a mini hd)

                Mint installer runs the grub install script without any user input, and no output report. Unlike Ubuntu or any other I have used, it does not ask you where or if you want Grub- it just does it.

                Many complaints about that- otherwise a great distro

                Comment

                Working...
                X