Linux Newbie help
 help / color / mirror / Atom feed
From: ngn <ngn@ngn.tf>
To: Josh Marshall <joshua.r.marshall.1991@gmail.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Feedback on my development setup
Date: Tue, 16 Apr 2024 18:21:18 +0300	[thread overview]
Message-ID: <Zh6Xbqijp8rRGo1H@archbtw> (raw)
In-Reply-To: <CAFkJGRc824vYEufG=6ZVPAW2iVpd0NDThJadZVrUk_ZND_qJag@mail.gmail.com>

On Tue, Apr 16, 2024 at 11:03:52AM -0400, Josh Marshall wrote:
> I tried that, but there was some non-descript error with code -2 (any
> major error) about launching the init process for [init,
> rdinit]=/lib/systemd and /usr/bin/bash.  Can you provide a working
> sample?  Sorry if I'm being difficult.  I am really tired of dead ends
> and trying them alone.
> 

If the kernel fails to start the init, try adding the -append "root=/dev/sda rw" option:

qemu-system-x86_64 -s -cpu host                   \
    -display gtk                                  \
    -vga qxl                                      \
    -accel kvm                                    \
    -m 1G                                         \
    -kernel arch/home/arch/linux/boot/x86/vmlinux \
    -append "root=/dev/sda rw"                    \
    -drive format=qcow2,file=$HOME/Downloads/Arch-Linux-x86_64-basic.qcow

  reply	other threads:[~2024-04-16 15:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16 12:38 Feedback on my development setup Josh Marshall
2024-04-16 14:56 ` ngn
2024-04-16 15:03   ` Josh Marshall
2024-04-16 15:21     ` ngn [this message]
2024-04-17 16:11       ` Josh Marshall
     [not found]         ` <CAPzh0z8RySn429XYQHoP_c9UA+pb6SLHGhH40vQDhc3P2xiysQ@mail.gmail.com>
2024-04-17 21:18           ` Josh Marshall
2024-04-18 15:35             ` ngn
2024-04-18 19:15               ` Josh Marshall
2024-04-18 19:27                 ` Josh Marshall
2024-04-18 19:52                   ` Josh Marshall
2024-04-18 21:40                     ` Josh Marshall
2024-04-19 16:14                       ` ngn
2024-04-23 15:34                         ` Josh Marshall
2024-04-23 16:08                           ` Pranjal Singh
2024-04-23 16:39                           ` Bilbao, Carlos
2024-04-23 17:43                             ` Josh Marshall
2024-04-25  5:37                               ` Josh Marshall
2024-04-25 14:36                                 ` Bilbao, Carlos
2024-04-25 14:54                                   ` Josh Marshall
2024-04-25 15:14                                     ` Jonathan Corbet
     [not found]                                       ` <CAFkJGReoq2s+LR1kj1hj8QvsKsEhk+CLYtCXV=DQTjTqan3DOg@mail.gmail.com>
2024-04-25 16:59                                         ` Carlos Bilbao
2024-04-25 17:08                                       ` Josh Marshall
2024-04-25 20:14                                         ` Theodore Ts'o
2024-04-25 20:02                             ` Theodore Ts'o
2024-04-25 14:32                           ` Thomas Bertschinger

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=Zh6Xbqijp8rRGo1H@archbtw \
    --to=ngn@ngn.tf \
    --cc=joshua.r.marshall.1991@gmail.com \
    --cc=linux-newbie@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox