Debian Uboot:安装can';在/etc/fstab中找不到根分区

Debian Uboot:安装can';在/etc/fstab中找不到根分区,debian,mount,beagleboneblack,fstab,Debian,Mount,Beagleboneblack,Fstab,我穿的是黑色的小猎犬,所以是eMMc的BBB靴子 我的目标是使用SPI,但是cape管理器不可用,因此根据,我将linux映像设置为3.8.13 一切都可以正常引导,但当我按照elinux上描述的启用spidev的SPI0步骤操作时,它就不再引导了: mount : can't find /root in /etc/fstab Target filesystem doesn't have requested /sbin/init mount : mounting /dev on /root/de

我穿的是黑色的小猎犬,所以是eMMc的BBB靴子

我的目标是使用SPI,但是cape管理器不可用,因此根据,我将linux映像设置为3.8.13

一切都可以正常引导,但当我按照elinux上描述的启用spidev的SPI0步骤操作时,它就不再引导了:

mount : can't find /root in /etc/fstab
Target filesystem doesn't have requested /sbin/init
mount : mounting /dev on /root/dev failed : No such file or directory
No init found. Try passing init= bootarg
通过Busybox和(initramfs)提示符,我已经在/mnt上手动挂载了
/dev/mmcblk0p1
分区。Fstab正常,但
/mnt/boot/uboot
目录为空

谁能告诉我怎么修吗

编辑:这是我的/boot/uEnv.txt文件:

    #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

    uname_r=3.8.13-bone68
    ##uuid=
    #dtb=

    ##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)

    ##BeagleBone Black: HDMI (Audio/Video) disabled:
    #dtb=am335x-boneblack-emmc-overlay.dtb

    ##BeagleBone Black: eMMC disabled:
    #dtb=am335x-boneblack-hdmi-overlay.dtb

    ##BeagleBone Black: HDMI Audio/eMMC disabled:
    #dtb=am335x-boneblack-nhdmi-overlay.dtb

    ##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
    #dtb=am335x-boneblack-overlay.dtb

    ##BeagleBone Black: wl1835
    #dtb=am335x-boneblack-wl1835mod.dtb

    ##BeagleBone Green: eMMC disabled
    #dtb=am335x-bonegreen-overlay.dtb

    cmdline=coherent_pool=1M quiet cape_universal=enable

    #In the event of edid real failures, uncomment this next line:
    #cmdline=coherent_pool=1M quiet cape_universal=enable video=HDMI-A-1:1024x768@60e

   ##Example v3.8.x
   #cape_disable=capemgr.disable_partno=
   #cape_enable=capemgr.enable_partno=

   ##Example v4.1.x
   #cape_disable=bone_capemgr.disable_partno=
   #cape_enable=bone_capemgr.enable_partno=

   ##enable Generic eMMC Flasher:
   #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

   #Load SPI
   optargs=quiet drm.debug=7 capemgr.enable_partno=BB-SPI0-01

   uuid=29dc1724-e732-4f02-91d1-7b206a4cb317

听起来,通过编辑uEnv,您已经破坏了内核cmdline。仔细检查您所做的,可能是换行符位置错误或引号错误。谢谢您的回答。我已经添加了我的
/boot/uEnv.txt
文件,我添加的唯一内容是:
#Load SPI
optargs=quiet drm.debug=7 capemgr.enable_partno=BB-SPI0-01
,但我没有看到任何错误注意,在这种情况下,您需要查看initramfs中/etc/fstab的内容,而不是eMMC上的内容,因为这是找不到的“/root”。我已将
/mnt/etc/fstab
复制到
/etc/fstab
,但重新启动后文件消失:/