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

Thread: GRUB text mode at startup

  1. #1
    Join Date
    Jan 2012
    Beans
    23

    Angry GRUB text mode at startup

    Greetings all,
    My Ubuntu 10.10 system suddenly stopped booting the other day.
    I was working on a media mounting issue, but not from the drive ubuntu boots from.
    It hung on startup a couple of times, at which I had to force a power down.
    Now I am getting GRUB in text mode when I startup.

    Could someone fill me in on:
    1. Why this may have occurred?
    2. Steps to fix?
    3. If I get as far as startup, where I might look to solve the non-booting issue.

    Might I need to reinstall Ubuntu?

    Many thanks!

  2. #2
    Join Date
    Aug 2007
    Beans
    463
    Distro
    Lubuntu Development Release

    Re: GRUB text mode at startup

    Try the following commands:

    Code:
    kernel /boot/vmlinuz
    boot
    Hopefully that will allow you to boot, and then we can work on fixing the problem.

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GRUB text mode at startup

    You may need to run a e2fsck. Any abnormal shutdown can cause issues.

    #From liveCD so everything is unmounted,swap off if necessary, change example with sdb1 to your partition(s)
    #e2fsck is used to check the ext2/ext3/ext4 family of file systems.
    sudo e2fsck -C0 -p -f -v /dev/sdb1
    #if errors:
    sudo e2fsck -f -y -v /dev/sdb1

    How did you shut down?

    Best way to shutdown:
    Holding down Alt and SysRq (which is the Print Screen key) while slowly typing REISUB
    R-E-I-S-U-B to force shutdown
    A good way to remember it is.
    Raising Skinny Elephants Is Utterly Boring ...or
    Reboot System Even If Ultimately Broken ...LOL.
    http://kember.net/articles/reisub-th...linux-restart/
    Another
    sudo init 0

    Generally pressing and holding Ctrl+Alt and
    then PrintScr, R, E, I, S, U, B (Raising Elephants Is So Utterly Boring)
    should do a clean reboot.
    R gives back control of the keyboard, S issues a sync, E sends all processes but init the term singal, I sends all processes but init the kill signal, U mounts all filesystem ro to prevent a fsck at reboot, B reboots the system
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Jan 2012
    Beans
    23

    Re: GRUB text mode at startup

    Quote Originally Posted by oldfred View Post
    You may need to run a e2fsck. Any abnormal shutdown can cause issues.

    #From liveCD so everything is unmounted,swap off if necessary, change example with sdb1 to your partition(s)
    #e2fsck is used to check the ext2/ext3/ext4 family of file systems.
    sudo e2fsck -C0 -p -f -v /dev/sdb1
    #if errors:
    sudo e2fsck -f -y -v /dev/sdb1

    How did you shut down?

    Best way to shutdown:
    Holding down Alt and SysRq (which is the Print Screen key) while slowly typing REISUB
    R-E-I-S-U-B to force shutdown
    A good way to remember it is.
    Raising Skinny Elephants Is Utterly Boring ...or
    Reboot System Even If Ultimately Broken ...LOL.
    http://kember.net/articles/reisub-th...linux-restart/
    Another
    sudo init 0

    Generally pressing and holding Ctrl+Alt and
    then PrintScr, R, E, I, S, U, B (Raising Elephants Is So Utterly Boring)
    should do a clean reboot.
    R gives back control of the keyboard, S issues a sync, E sends all processes but init the term singal, I sends all processes but init the kill signal, U mounts all filesystem ro to prevent a fsck at reboot, B reboots the system
    I shutdown by holding the power button, as it was hung on startup.
    Thanks for the proper shutdown tips!

  5. #5
    Join Date
    Jan 2012
    Beans
    23

    Re: GRUB text mode at startup

    Quote Originally Posted by Jon Monreal View Post
    Try the following commands:

    Code:
    kernel /boot/vmlinuz
    boot
    Hopefully that will allow you to boot, and then we can work on fixing the problem.
    OK, but how do I get to a command terminal from grub?
    Taa

  6. #6
    Join Date
    Dec 2011
    Beans
    132

    Re: GRUB text mode at startup

    The lines there go into the GRUB prompt, not a linux one. If you can't get to the GRUB prompt, try escape or Ctrl+x

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GRUB text mode at startup

    If you are getting grub> or system rescue you may be able to manually boot otherwise it may be better just to use Boot-Repair.

    Boot Repair:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or post the link to a run of boot info script so we can see your exact configuration.

    Grub Rescue Prompt Megathread - drs305
    http://ubuntuforums.org/showthread.php?t=1594052
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Jan 2012
    Beans
    23

    Re: GRUB text mode at startup

    Thanks for your suggestions folks.
    Not much time to play with my machine at the mo. Will give things another whirl in a day or so.
    Have a great week!
    D

  9. #9
    Join Date
    Jan 2012
    Beans
    23

    Re: GRUB text mode at startup

    Hello all. I have some time to work on this problem this weekend, so will be giving your suggestions a try.
    Many thanks to those who have responded so far.
    Dan

  10. #10
    Join Date
    Jan 2012
    Beans
    23

    Re: GRUB text mode at startup

    Quote Originally Posted by Jon Monreal View Post
    Try the following commands:

    Code:
    kernel /boot/vmlinuz
    boot
    Hopefully that will allow you to boot, and then we can work on fixing the problem.
    Gave this a whirl with no joy.
    Getting unknown command 'kernel' error.
    Thanks

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
  •