Results 1 to 10 of 15

Thread: gnu grub version 1.99-21ubuntu3.1 error

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Beans
    6

    Red face gnu grub version 1.99-21ubuntu3.1 error

    Hi!
    i have a problem at startup of ubuntu 12.04 64bit.
    when i start the computer it says:

    GNU GRUB VERSION 1.99-21ubuntu3.1
    Minimal BASH- like line editing supported. for the first word, TAB
    lists all possible command completions. Anywhere else TAB list possible device or file completions.

    if i press tab, it shows a list of some words that don't make sense to me.

    when i insert a liveCD there is no response. yes i have selected CD boot in bios, but it starts from hard disc anyway.


    Please help.

    J.

  2. #2
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,533
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: gnu grub version 1.99-21ubuntu3.1 error

    Were you deleting any partitions? Maybe you deleted the ubuntu partition by accident? Were you changing the boot order in BIOS? Maybe you have good grub2 on one disk and broken grub2 on another one, and you are simply booting from the wrong disk.

    It's not possible that it can't boot from the cd. If it can't, then either you are not doing it right, or your cd-rom is faulty, or the cd is faulty. The computer should always be able to start from cd when you tell it to, regardless what is happening with the hard disk.

    But if you want, you can try fixing this without the liveCD (although it would be much easier if you can boot the cd in live mode).

    At that grub prompt, what does it show if you execute:
    ls (small LS)
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  3. #3
    Join Date
    Sep 2012
    Beans
    6

    Re: gnu grub version 1.99-21ubuntu3.1 error

    ls:
    (hd0) (hd0,msdos5) (hd0, msdos1)

    I've instaled upgrades, have only 1 disk, couldn't delete partition, because ... well i just don't know how to do that

    i'll check cd and report.

  4. #4
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,533
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: gnu grub version 1.99-21ubuntu3.1 error

    So, you have only one disk (hd0) which has two partitions, #1 and #5. I guess you have only ubuntu, not a windows dual boot.

    In that case, try these commands to boot. Execute them one by one:
    Code:
    insmod part_msdos
    insmod ext2
    set root=(hd0,msdos1)
    linux vmlinuz root=/dev/sda1
    initrd initrd.img
    boot
    See if that boots you.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  5. #5
    Join Date
    Sep 2012
    Beans
    6

    Re: gnu grub version 1.99-21ubuntu3.1 error

    after linux vmlinuz root=/dev/sda1
    i get: invalid file name 'vmlinuz'

  6. #6
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,533
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: gnu grub version 1.99-21ubuntu3.1 error

    OK. Before you start executing the commands, check the exact file names with:
    ls (hd0,msdos1)/boot

    You should see something like vmlinuz-3.2.0-xx-generic and initrd.img-3.2.0-xx-generic. Note them down.

    After that, when you know which files are there exactly, modify the last two lines before boot as:
    Code:
    linux /boot/vmlinuz-3.2.0-xx-generic root=/dev/sda1
    initrd /boot/initrd.img-3.2.0-xx-generic
    The rest of the commands are the same. In these two just use the filenames you found with the ls command.

    See how that goes.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  7. #7
    Join Date
    Aug 2013
    Beans
    2

    Re: gnu grub version 1.99-21ubuntu3.1 error

    ls:
    (hd0) (hd0,msdos7) (hd0,msdos6) (hd0, msdos5) (hd0,msdos1) (hd1)

  8. #8
    Join Date
    Jul 2011
    Beans
    7

    Re: gnu grub version 1.99-21ubuntu3.1 error

    Hey! So, after an update, I restarted to the same issues! I've followed @darkod's directions and it spit me out at something that says BusyBox v1.18.5 (ubuntu 1:1.18.5-1ubuntu4.1) built-in shell (ash). So, what's my next step?

    Aditional info: I am NOT partitioning! Its all strictly Ubuntu on my disk, only one partition.
    Last edited by Mashai; June 26th, 2013 at 07:36 PM.

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
  •