Results 1 to 9 of 9

Thread: lucid boots to initramfs, can "return" to desktop?

  1. #1
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    lucid boots to initramfs, can "return" to desktop?

    When I power on the computer, Ubuntu Lucid boots to initramfs prompt, if I reboot or type command
    Code:
    return
    my gui desktop comes up as usual. This happens every time I power up the pc. Any ideas on what might cause the problem?

  2. #2
    Join Date
    Aug 2010
    Beans
    130
    Distro
    Ubuntu

    Re: lucid boots to initramfs, can "return" to desktop?

    Can you post your grub.conf file ?

    I believe it's located in /boot/grub/

  3. #3
    Join Date
    Nov 2011
    Location
    At home
    Beans
    1,359
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: lucid boots to initramfs, can "return" to desktop?

    Look here if you can do something.
    http://smartmontools.sourceforge.net/badblockhowto.html
    In any case there is no easy solution.

  4. #4
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: lucid boots to initramfs, can "return" to desktop?

    Quote Originally Posted by jessejj89 View Post
    Can you post your grub.conf file ?

    I believe it's located in /boot/grub/
    update: it does *not* happen every time, I just powered up and got directly to my ubuntu desktop.

    I believe you mean grub.cfg? It's in the attached .zip (apparently I can't attach a dot cfg file).
    Attached Files Attached Files

  5. #5
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: lucid boots to initramfs, can "return" to desktop?

    Quote Originally Posted by BC59 View Post
    Look here if you can do something.
    http://smartmontools.sourceforge.net/badblockhowto.html
    In any case there is no easy solution.
    If I understand correctly you believe this is a disk issue? This computer is booting from a three week old ssd. Of course that doesn't mean that it would work flawlessly, but anyway.

  6. #6
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: lucid boots to initramfs, can "return" to desktop?

    Hi

    Turn on debugging in initramfs and plymouth.

    You need to add the lines

    Code:
    debug plymouth:debug
    to the kernel command line. You can do this from the grub screen by selecting your kernel and pressing a key it edit it. It will not persist after reboot.

    When you boot you will see a lot more information on the screen and there will also be a symbolic link to the log file in /dev/.initramfs. It's just a simple of what the scripts are doing.

    You can also check dmesg.

    Post back all of them here between code tags.

    It may be as simple as increasing the root delay for the SSD.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  7. #7
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: lucid boots to initramfs, can "return" to desktop?

    Quote Originally Posted by matt_symes View Post
    Hi

    Turn on debugging in initramfs and plymouth.

    You need to add the lines

    Code:
    debug plymouth:debug
    to the kernel command line. You can do this from the grub screen by selecting your kernel and pressing a key it edit it. It will not persist after reboot.

    When you boot you will see a lot more information on the screen and there will also be a symbolic link to the log file in /dev/.initramfs. It's just a simple of what the scripts are doing.

    You can also check dmesg.

    Post back all of them here between code tags.

    It may be as simple as increasing the root delay for the SSD.

    Kind regards
    I found this in dmesg:
    Code:
    [    7.136020] ata2: link is slow to respond, please be patient (ready=-19)
    [   11.840012] ata2: device not ready (errno=-16), forcing hardreset
    [   17.036016] ata2: link is slow to respond, please be patient (ready=-19)
    [   21.852019] ata2: SRST failed (errno=-16)
    [   27.048016] ata2: link is slow to respond, please be patient (ready=-19)
    [   31.864029] ata2: SRST failed (errno=-16)
    [   37.060017] ata2: link is slow to respond, please be patient (ready=-19)
    [   66.908016] ata2: SRST failed (errno=-16)
    [   66.908021] ata2: limiting SATA link speed to 1.5 Gbps
    [   71.936016] ata2: SRST failed (errno=-16)
    [   71.936019] ata2: reset failed, giving up
    and I have had recent issues with the second disk, hmm.

    I'll post other debug info later.

  8. #8
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: lucid boots to initramfs, can "return" to desktop?

    Hi

    Try increasing your rootdelay parameter in the kernel command line.

    Go with something like
    Code:
    rootdelay=90
    and see how that takes you.

    Although, in this case, i am not sure it would fix your problem.

    Kind regard
    Last edited by matt_symes; December 26th, 2011 at 12:50 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  9. #9
    Join Date
    Nov 2011
    Beans
    446
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: lucid boots to initramfs, can "return" to desktop?

    Thanks for your help everyone, it appears that the problem was created by a failing second hard drive. I've now replaced that and the problem has not occurred since.

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
  •