Giter Club home page Giter Club logo

Comments (7)

tim-moody avatar tim-moody commented on July 17, 2024 2

My apologies. I hadn't realized that the ssh file is removed on first boot after sshd is enabled and my inability to ssh in was the result of slow startup, probably due to resizing the root partition. In any event I created a new image and things work the same with rpi-imager as with dd.

from rpi-imager.

lurch avatar lurch commented on July 17, 2024

Really? I find it hard to imagine that rpi-imager would contain code to specifically delete the boot/ssh file 😕
Are you certain that your custom image contains the boot/ssh file in the first place?

from rpi-imager.

tim-moody avatar tim-moody commented on July 17, 2024

100%

from rpi-imager.

lurch avatar lurch commented on July 17, 2024

Can you try writing your image with Win32DiskImager and see if that behaves any differently?

from rpi-imager.

tim-moody avatar tim-moody commented on July 17, 2024

I use dd to write the image and ssh is always there. I create these images on a headless rpi using ssh. I dd them to linux and use dd to write them to another card and am always able to ssh in.

I mounted the sd card in linux after writing with rpi-imager and the ssh file was gone. The other rpi-setup files that I copy to my images were there.

from rpi-imager.

lurch avatar lurch commented on July 17, 2024

I create these images on a headless rpi using ssh.

Ahhh, are you trying to dd from within a live mounted filesystem? If so, it's possible that the boot/ssh file is only in the disk-buffers in RAM, and hasn't been flushed out to the underlying SD card yet? You can use the sync command to ensure that the disk-buffers have been flushed before you run your dd command.
Yes, I'm clutching at straws here... 😉

from rpi-imager.

ghollingworth avatar ghollingworth commented on July 17, 2024

This is impossible, we do not delete any files on the SD card... Check the code if you don't believe us!

from rpi-imager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.