Raspberry pi 引导文件夹更改后无法访问引导分区

Raspberry pi boot partition cannot be accessed after change in boot folder

我正在尝试启动我的 raspberry pi,第一个灯是绿色的,第二个是红色的,其他灯不亮。 它工作正常,直到我从 pi 上拔下 SD 卡并将其插入 windows,然后我删除了 config.txt 文件。

我尝试再次将 SD 卡放入 pi,但它就是无法启动,除了我谈到的两个指示灯外,其他情况都会发生。 我拿了另一个 raspberry pi 和另一个 SD 卡并安装了一个 raspbian 图像(就像第一个一样)。在第二张 SD 卡和 raspberry pi 上一切正常,所以我将引导文件夹从这张卡复制到另一张的引导文件夹中。

现在两个都不行了!!!!!我想让第一个 pi 启动而不重新安装所有东西,因为配置了很多东西,你有什么想法吗?

也许可以在第一个 pi 上重新安装映像,但在此之前保存整个 pi 文件夹,然后在重新安装后将其复制回去可以吗?

感谢您的宝贵时间和专业知识。

为什么要删除 config.txt 文件? 很重要,把它放回去,然后再次尝试启动。 这是我的 raspian config.txt

的副本
# For more options and information see 
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=16
#hdmi_mode=9

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

sdtv_aspect=3

#uncomment to overclock the arm. 700 MHz is the default.
arm_freq=700

core_freq=250
sdram_freq=400
over_voltage=0

gpu_mem=64

好吧,我找到了解决方案,Windows 今天在我脑海中少了很多。感谢 chkdsk 我恢复了第一个 config.txt 文件,fsck 没有成功。因此,对于像我一样进行一些愚蠢删除操作的每个人,您 windows 支持 chkdsk。

回到过去:打开命令提示符 (cmd),然后键入:chkdsk /F。

当然如果你的文件系统是F。