1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

loading grub......error 21

Discussion in 'Linux - General discussion' started by dragondog, Sep 1, 2007.

  1. dragondog

    dragondog Regular member

    Joined:
    Jan 29, 2007
    Messages:
    164
    Likes Received:
    3
    Trophy Points:
    26
    ok i had a dual boot with with ubuntu and xp pro xp on a 60ghd ubuntu on 80ghd i tried to fdisk the 80 gig now after hooking the 60ghd with the xp pro i get a grub error 21

    says-grub loading stage 1.5


    grub loading, please wait...
    error 21

    any1 know how to fix this and iv already tryed to change in the cmos the hdd settings maybe i still did it wrong tho
     
  2. deadlove

    deadlove Guest

    Error 15 means that grub can't find the kernals or the menu.list file which will need editing. Kubuntu is especially poor at detecting different partitions and sata drives..You did install grub when asked?

    Easy way.... boot from a live linux cd, and start a text editor after mounting the root drives.
    look for /boot/grub directory and then look for an entry like this

    title Debian GNU/Linux, kernel 2.6.18-5-686
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/hda1 ro
    initrd /boot/initrd.img-2.6.18-5-686
    savedefault

    make sure the path is correct.. if you are using sata drives it will need to read sda1 not hda1, and if you have xp it will probably be somewhere totally different like /dev/hda..sda..2/3/4/

    I don't ever dual boot systems with windows.. I don't have that M$ crap in the house, so check the ubuntu dual boot user guides for info on the chain command in grub. Or read this http://www.geocities.com/epark/linux/grub-w2k-HOWTO.html

    OR if you want to just return to using xp then you need to set the boot options in the cmos to boot your xp drive.. you can force this by using cfdisk/fdisk and removing the bootable flag from the linux drive.
     
    Last edited by a moderator: Sep 3, 2007

Share This Page