Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: grub: 3 errors then 'press any key to continue

  1. #1
    Join Date
    Apr 2006
    Location
    Rochester, N.Y.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    grub: 3 errors then 'press any key to continue

    A triple boot system: Debian - Windows 7 -Ubuntu
    When I start machine and I am presented with grub, my choices are
    in this order:
    Debian
    Win7
    Ubuntu
    Debian and Win7 boot just fine. When I scroll down through grub and
    select 'Ubunu' it goes to a screen with the following messege:
    Error: no argument specified
    Error: file not found
    Error: you need to load the kernel first
    Press any key to continue

    So I press any key and it takes me back to grub menu
    Any advice on how to get past this would be great. Everything has been working great but I do recall a grub update a couple of days ago
    (Was)Windows Free At Last
    "May You Have A Safe Trip and A Successful Journey"
    Linux user #432153 Ubuntu user #8521

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: grub: 3 errors then 'press any key to continue

    It looks like Debian is controlling your Grub menu. Was it a Debian update that caused the problems to start? If you did an update while in Ubuntu your Debian Grub may not be up to date. Run "sudo update-grub" so it can reread your Ubuntu partition.

    If you download and run the boot info script and post the contents of RESULTS.txt we can take a look at your boot status.

    You can get to the script page by clicking the "BIS" link in my signature line.
    Back to Xorg...

    Retired.

  3. #3
    Join Date
    Apr 2006
    Location
    Rochester, N.Y.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: grub: 3 errors then 'press any key to continue

    Code:
    If you download and run the boot info script and post the contents of RESULTS.txt we can take a look at your boot status.
    When I try to run boot info script, I am getting this:

    Code:
    dougie@debian:~$ bash ~/Desktop/boot_info_script.sh
    
    boot_info_script version: 0.60        [17 May 2011]
    
    "blkid" could not be found.
    "fdisk" could not be found.
    "filefrag" could not be found.
    "losetup" could not be found.
    
    "gawk" could not be found, using "busybox awk" instead.
    This may lead to unreliable results.
    
    
    Please install the missing program(s) and run boot_info_script again.
    Oh, and thanks for your reply
    I am using my Debian install for this
    Last edited by DougieFresh4U; November 16th, 2011 at 02:37 AM. Reason: to say 'thanks', forgot
    (Was)Windows Free At Last
    "May You Have A Safe Trip and A Successful Journey"
    Linux user #432153 Ubuntu user #8521

  4. #4
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: grub: 3 errors then 'press any key to continue

    Run the script as root. I'm not familiar with how Debian uses 'blkid', etc, but try running the script this way:
    Code:
    sudo bash ~/Desktop/boot_info_script.sh
    You might also install 'gawk' before running the script, although it will run with awk but will complain a bit.
    Back to Xorg...

    Retired.

  5. #5
    Join Date
    Apr 2006
    Location
    Rochester, N.Y.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: grub: 3 errors then 'press any key to continue

    Quote Originally Posted by drs305 View Post
    Run the script as root. I'm not familiar with how Debian uses 'blkid', etc, but try running the script this way:
    Code:
    sudo bash ~/Desktop/boot_info_script.sh
    You might also install 'gawk' before running the script, although it will run with awk but will complain a bit.
    Thanks for your help. It's still telling me it can't find directory no matter where I extract it to.
    I am gonna do a little checking @ Debian but I don't like the way some respond over there
    (Was)Windows Free At Last
    "May You Have A Safe Trip and A Successful Journey"
    Linux user #432153 Ubuntu user #8521

  6. #6
    Join Date
    Mar 2011
    Beans
    110

    Re: grub: 3 errors then 'press any key to continue

    I think the most important thing to do is run:
    Code:
    sudo update-grub
    drs305 suggested this already but I can't read you've actually done this, can you confirm this?

    If that doesn't help the boot-script becomes more important.

  7. #7
    Join Date
    Apr 2006
    Location
    Rochester, N.Y.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: grub: 3 errors then 'press any key to continue

    Quote Originally Posted by Cyclane View Post
    I think the most important thing to do is run:
    Code:
    sudo update-grub
    drs305 suggested this already but I can't read you've actually done this, can you confirm this?

    If that doesn't help the boot-script becomes more important.
    Sorry I failed to mention that I had updated grub before I came to the forum for assistance.
    I have learned that Debian has a .deb file for boot info script, but I am having
    no luck installing it. Some sort of GTK errors showing in the terminal.
    I wonder is it possible to chroot into my Ubuntu from my Debian partition and update my Ubuntu and grub?
    (Was)Windows Free At Last
    "May You Have A Safe Trip and A Successful Journey"
    Linux user #432153 Ubuntu user #8521

  8. #8
    Join Date
    Mar 2011
    Beans
    110

    Re: grub: 3 errors then 'press any key to continue

    Strange because this should be easily fixed by updating grub.
    chrooting to your ubuntu install probably won't help because grub uses the /boot directory of your debian install.

    One of the things grub does is link to the kernel you want to use (in this case the kernel on the ubuntu install). Somehow it points to the wrong direction. When you run 'sudo update-grub' it would remap all the links, including the link to your kernel.

    For us to help you, we would need some more information. The boot-script collects a lot of this data by running pretty basic commands. Commands I would imagine also begin present on a debian install, but that's a whole other problem.

    Could you start by posting your grub config and fdisk -l?

  9. #9
    Join Date
    Apr 2006
    Location
    Rochester, N.Y.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: grub: 3 errors then 'press any key to continue

    Quote Originally Posted by Cyclane View Post
    Could you start by posting your grub config and fdisk -l?
    Thanks for taking the time to help me.
    Code:
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    160 heads, 6 sectors/track, 651190 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000d06a7
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           6   326738234   163369114+   7  HPFS/NTFS/exFAT
    /dev/sda2       326739966   625141759   149200897    5  Extended
    /dev/sda5       612945920   625141759     6097920   82  Linux swap / Solaris
    /dev/sda6       607039488   612943871     2952192   82  Linux swap / Solaris
    /dev/sda7       326739968   470245375    71752704   83  Linux
    /dev/sda8       470247424   607037439    68395008   83  Linux
    
    Partition table entries are not in disk order
    (Was)Windows Free At Last
    "May You Have A Safe Trip and A Successful Journey"
    Linux user #432153 Ubuntu user #8521

  10. #10
    Join Date
    Mar 2011
    Beans
    110

    Re: grub: 3 errors then 'press any key to continue

    No problem, but could I get the contents of /boot/grub/grub.cfg?

    and also the following command so I can see what you're currently booting to:
    Code:
    mount | egrep 'ext|xfs'
    Last edited by Cyclane; November 16th, 2011 at 04:30 AM.

Page 1 of 2 12 LastLast

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
  •