kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Dileep Sankhla <dileepsankhla.ds@gmail.com>
To: Soumya Negi <soumya.negi97@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Boot stucks at "Loading initial ramdisk"
Date: Fri, 22 Dec 2023 17:07:16 +0530	[thread overview]
Message-ID: <CAHxc4buom=RJhFsbnH1y54xaRNb-Vk5VqA7pNprAk0amb_grCA@mail.gmail.com> (raw)
In-Reply-To: <ZYVO2Zul/7jlImXM@negi>


[-- Attachment #1.1: Type: text/plain, Size: 1499 bytes --]

Hi Soumya,

On Fri, Dec 22, 2023 at 2:24 PM Soumya Negi <soumya.negi97@gmail.com> wrote:

> 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.
>

Thanks for your solution. Mine is fine in size and I am already using
MODULES=dep.


> Regards,
> Soumya Negi


Regards,
Dileep.

[-- Attachment #1.2: Type: text/html, Size: 2130 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

  reply	other threads:[~2023-12-22 11:37 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
2023-12-22 11:37   ` Dileep Sankhla [this message]
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='CAHxc4buom=RJhFsbnH1y54xaRNb-Vk5VqA7pNprAk0amb_grCA@mail.gmail.com' \
    --to=dileepsankhla.ds@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=soumya.negi97@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).