Find the answer to your Linux question:
Results 1 to 8 of 8
Hello everyone, I am facing some troubles in order to start my Ubuntu 9.10 - Karmic Koala. Once I start my computer, the memtest86+ is executed but it never comes ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    9

    Problems on booting

    Hello everyone,

    I am facing some troubles in order to start my Ubuntu 9.10 - Karmic Koala.
    Once I start my computer, the memtest86+ is executed but it never comes to an end.

    Just by using a boot CD I can finally see my Desktop...

    My question to you guys is:

    - How can change (remove) this call to the memtest86+ during the boot process and let the computer starts normally?

    Thanks!

    Familiavendetdo

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Memtest86 is starting everytime you boot your machine?

    Have you changed any settings with the bootloader?

    Post the contents of /boot/grub/grub.cfg

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Posts
    9
    Quote Originally Posted by reed9 View Post
    Memtest86 is starting everytime you boot your machine?

    Have you changed any settings with the bootloader?

    Post the contents of /boot/grub/grub.cfg
    Thanks for your answer:

    Code:
    eduardo@meyer-pc:~$ /boot/grub/grub.cfg
    bash: /boot/grub/grub.cfg: Permission denied
    
    eduardo@meyer-pc:/$ sudo /boot/grub/grub.cfg
    [sudo] password for eduardo: 
    sudo: /boot/grub/grub.cfg: command not found
    The memorytest runs everytime I start my computer.
    I did no changes to the bootloader. (I dont even know how to do it in fact )

    Thanks!!

  4. #4
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    grub.cfg is a file not a command

    In a terminal run the following commands and paste the output here

    cat /boot/grub/grub.cfg

    and

    cat /etc/defaults/grub

    You should not change the first of these files yourself.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  5. #5
    Just Joined!
    Join Date
    Nov 2009
    Posts
    9
    Quote Originally Posted by elija View Post
    grub.cfg is a file not a command

    In a terminal run the following commands and paste the output here

    cat /boot/grub/grub.cfg

    and

    cat /etc/defaults/grub

    You should not change the first of these files yourself.
    Hi there elija!

    Sorry but I am completely new to Linux

    Code:
    eduardo@meyer-pc:/$ cat /boot/grub/grub.cfg
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s /boot/grub/grubenv ]; then
      have_grubenv=true
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      saved_entry=${prev_saved_entry}
      save_env saved_entry
      prev_saved_entry=
      save_env prev_saved_entry
    fi
    insmod ext2
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set cc83f013-ca37-40e9-bdf6-38d4597ad576
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    if [ ${recordfail} = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/white
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -1 ]; then
      if keystatus; then
        if keystatus --shift; then
          set timeout=-1
        else
          set timeout=0
        fi
      else
        if sleep --interruptible 3 ; then
          set timeout=0
        fi
      fi
    fi
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    eduardo@meyer-pc:/$ cat /etc/defaults/grub
    cat: /etc/defaults/grub: File or directory not found

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Well, I'm not too familiar with the new grub2 in Ubuntu, but it looks to me like you don't have an entry for your Ubuntu install, so it's skipping to the memtest.
    ### BEGIN /etc/grub.d/10_linux ###
    ### END /etc/grub.d/10_linux ###
    This bit should look more like
    Code:
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry "Ubuntu, Linux 2.6.31-12-generic" {
            recordfail=1
            save_env recordfail
        set quiet=1
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 7ebcfe33-6914-42ec-9d2e-0859f7396933
        linux    /boot/vmlinuz-2.6.31-12-generic root=UUID=7ebcfe33-6914-42ec-9d2e-0859f7396933 ro   quiet splash
        initrd    /boot/initrd.img-2.6.31-12-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-12-generic (recovery mode)" {
            recordfail=1
            save_env recordfail
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 7ebcfe33-6914-42ec-9d2e-0859f7396933
        linux    /boot/vmlinuz-2.6.31-12-generic root=UUID=7ebcfe33-6914-42ec-9d2e-0859f7396933 ro single 
        initrd    /boot/initrd.img-2.6.31-12-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-11-generic" {
            recordfail=1
            save_env recordfail
        set quiet=1
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 7ebcfe33-6914-42ec-9d2e-0859f7396933
        linux    /boot/vmlinuz-2.6.31-11-generic root=UUID=7ebcfe33-6914-42ec-9d2e-0859f7396933 ro   quiet splash
        initrd    /boot/initrd.img-2.6.31-11-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-11-generic (recovery mode)" {
            recordfail=1
            save_env recordfail
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 7ebcfe33-6914-42ec-9d2e-0859f7396933
        linux    /boot/vmlinuz-2.6.31-11-generic root=UUID=7ebcfe33-6914-42ec-9d2e-0859f7396933 ro single 
        initrd    /boot/initrd.img-2.6.31-11-generic
    }
    ### END /etc/grub.d/10_linux ###
    You can try reinstalling grub2 from the live CD. Instructions are #12 in this post.

  7. #7
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    Quote Originally Posted by familiavendetdo View Post
    Hi there elija!

    Sorry but I am completely new to Linux
    No worries, we all started there

    The second command should have been

    cat /etc/default/grub

    Sorry my bad!

    Anyway, going by the grub.cfg file it appears that there are only entries for the memtest. How did you install Ubuntu?

    [edit]Beaten to it I see [/edit]
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  8. #8
    Just Joined!
    Join Date
    Nov 2009
    Posts
    9
    Quote Originally Posted by elija View Post
    No worries, we all started there

    The second command should have been

    cat /etc/default/grub

    Sorry my bad!

    Anyway, going by the grub.cfg file it appears that there are only entries for the memtest. How did you install Ubuntu?

    [edit]Beaten to it I see [/edit]
    Thanks for your support!

    Code:
    eduardo@meyer-pc:/$ cat /etc/default/grub
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    
    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT="10"
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    
    # Uncomment to disable generation of recovery mode menu entrys
    #GRUB_DISABLE_LINUX_RECOVERY="true"
    I installed it through a DVD bought in an IT Magazine.
    I couldnt start the Linux without the DVD though. I need it to boot the system.

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...