conanwhf / RaspberryPi-script

RaspberryPi 2-B script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

random nonblocking pool is initialized

warmc opened this issue · comments

commented

你好,我用你的脚本备份树莓派3B,系统是官方的2017-04-10-raspbian-jessie-lite.img,备份成功,用Win32DiskImager 写入到新的SD卡后,启动树莓派,卡在“random nonblocking pool is initialized” 这一句,上网搜索了一下,也是无结果。希望能帮助一下我。谢谢

commented

@conanwhf ,我只能拍屏幕照,不知道怎么给你看。

commented

qq 20170525154354
random nonblocking pool is initialized”
@conanwhf

commented

@conanwhf 我插上U盘后,
运行你的脚本,提示
mount:/dev/sdd1 is already mounted or /mnt busy
/dev/sdd1 is already mounted on /media/pi/BOOT
mount fail.exit now.

commented

我觉得可能是fat32 盘不够大, 因为我插入sd卡,进行img生成,最后img文件大小4000M+

"random: nonblocking pool is initialized"

和楼主一样,反复多次 都是打印这句,楼主解决了吗 ?

commented

我的问题解决了。下面描述一下,如果情况跟我一样的可以参考。
1.我是将SD卡A上面的系统进行备份成img;
2.将备份的img使用工具写入到SD卡B上面
我的问题就在于:备份后的img里面 /boot/cmdline.txt;/etc/fstab 这两个文件中使用了SD卡A的PARTUUID。将这两个文件中的PARTUUID修改成SD卡B的PARTUUID就可以了。贴一下获取PARTUUID命令:
sdCardB=/dev/sda1
blkid -o export ${sdCardB} | grep PARTUUID

@warmc 试过了,手动修改 PARTUUID后,可以正常启动了

官网发布的 img 可以烧录进任何sd卡是怎么实现的 ?
2017-04-10-raspbian-jessie-lite.img
这个版本第一次启动会 自动 resize 分区大小重启,貌似是这里做了什么手脚,
我在/boot/cmdline.txt内配置启动resize,开机后也重启提示会重新分区,但实际没起作用