0

When you first start a 3B+, there is a configuration application that runs. How can I restart that from the CLI? I need to start that application to simulate the initial start.

  • look at the cmdline.txt before first boot ... that should give you a clue ... it's dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=7ee80803-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh – Jaromanda X Jan 6 at 6:41
  • @JaromandaX I think OP is talking about the GUI config wizard that was introduced not too long ago. Can't remember the name ATM – Dirk Jan 6 at 16:39
  • that's the problem with vague questions, there's more than one vague answer, @Dirk – Jaromanda X Jan 6 at 20:53
  • @JaromandaX true. BTW the name of the GUI wizard is piwiz. Needs admin privileges. See raspberrypi.org/blog/raspbian-update-june-2018 – Dirk Jan 7 at 8:21
0

The answer, which i discovered quite quickly after posting the question is:

$ piwiz &

which does NOT require root/sudo.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.