All of lore.kernel.org
 help / color / mirror / Atom feed
From: Soumya Negi <soumya.negi97@gmail.com>
To: Dileep Sankhla <dileepsankhla.ds@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Boot stucks at "Loading initial ramdisk"
Date: Fri, 22 Dec 2023 00:54:49 -0800	[thread overview]
Message-ID: <ZYVO2Zul/7jlImXM@negi> (raw)
In-Reply-To: <CAHxc4bu_G5rKKvQpRvnbWpxhbZof8O+0HXFXsT9Co352UshvXw@mail.gmail.com>

Hi Dileep,

On Thu, Dec 21, 2023 at 05:58:23PM +0530, Dileep Sankhla wrote:
> Hello,
> 
> I have cloned and built the latest rc kernel using the default config but
> on boot, it stucks at "Loading initial ramdisk". I have tried booting after
> removing the "quiet" option from the kernel parameters just before
> selecting the kernel from the grub menu. I have also tried adding
> "dis_ucode_ldr" parameter to the initial parameters but all in vain.
> 
> How to look for the underlying issue and solve it?
> 
> Regards,
> Dileep

I had this issue as well. I found a solution on stackexchange(..I think)
that I wanted to link here.. but can't seem to find it now. For reference, I
was using Ubuntu. This was my case:

* Possible reason - initrd.img file is too large
I checked the size of initrd.img-<kernel name> at /boot. The file was ~500mb,
much larger than the initrd for the kernel that came with Ubuntu(~40mb)

* Possible solution - 
Before installing the kernel, change  MODULES=most to MODULES=dep  in 
/etc/initramfs-tools/initramfs.conf to generate smaller initrd.img files.
The new initrd's for all other kernels I have installed afterwards have been
~55MB.

Regards,
Soumya Negi

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  parent reply	other threads:[~2023-12-22  8:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 12:28 Boot stucks at "Loading initial ramdisk" Dileep Sankhla
2023-12-22  5:22 ` Valdis Klētnieks
2023-12-22 11:21   ` Dileep Sankhla
2023-12-22  6:54 ` Bagas Sanjaya
2023-12-22 11:32   ` Dileep Sankhla
2023-12-22  8:54 ` Soumya Negi [this message]
2023-12-22 11:37   ` Dileep Sankhla
2024-01-01 11:16     ` Dileep Sankhla
2024-01-05  5:12       ` Aditya Gupta
2024-01-05  8:16         ` Dileep Sankhla
2024-01-05  9:32         ` Valdis Klētnieks
2024-01-05  9:48           ` Aditya Gupta
2024-01-05  9:58           ` Dileep Sankhla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZYVO2Zul/7jlImXM@negi \
    --to=soumya.negi97@gmail.com \
    --cc=dileepsankhla.ds@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.