Re[2]: Question on conversion from initrd to initramfs (1/2027 initrd support drop from kernel)

Laurent Bercot via busybox <[email protected]>
Newsgroups gmane.linux.busybox
Message-ID <[email protected]>
>10+ years ago, I wanted to switch from initrd to initramfs. I had an extremely difficult time getting it all correct because switch_root has a lot of extremely specific requirements that you must meet before calling it, and any failure immediately after calling switch_root can be notoriously hard to debug.

  Note that with a little luck, we won't have to deal with switch_root
anymore starting with linux-7.0:

https://lwn.net/ml/all/[email protected]/

  Finally being able to pivot_root off rootfs will feel *so good*.

--
  Laurent
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.