[meta-freescale] [PATCH] wks: add a kickstart file with vfat boot and ext4 rootfs partition
Max Krummenacher
max.oss.09 at gmail.com
Wed Sep 13 07:41:57 PDT 2017
2017-09-13 16:25 GMT+02:00 Otavio Salvador <otavio.salvador at ossystems.com.br>:
> Ok but it should mount just fine. Where are you storing the boot files?
>
> What board you are using to test it?
I tested on a Colibri iMX6 and a Nitrogen6x, both with the same result.
Its systemd which makes the difference, with SysVinit (or something
else in a poky setup)
the not mountable fstab line seems to be simply ignored.
If using systemd init gets delayed by a 1.5 minute waiting for the
device and then you get
something like this:
Welcome to emergency mode! After Press Enter for maintenance
(or press Control-D to continue):
/etc/fstab looks like this:
# stock fstab - you probably want to override this with a machine
specific one
/dev/root / auto noatime
1 1
proc /proc proc defaults
0 0
devpts /dev/pts devpts
mode=0620,gid=5 0 0
usbdevfs /proc/bus/usb usbdevfs noauto
0 0
tmpfs /run tmpfs
mode=0755,nodev,nosuid,strictatime 0 0
tmpfs /var/volatile tmpfs defaults
0 0
# uncomment this if your device has a SD/MMC/Transflash slot
#/dev/mmcblk0p1 /media/card auto
defaults,sync,noauto 0 0
/dev/mmcblkp1 /boot vfat defaults 0 0
On the Colibri iMX6 the boot partition would be /dev/mmcblk1p1, on the
Nitrogen6x /dev/mmcblk0p1.
By using the add kickstarter file wic does not modify fstab and the
last entry is simply not there.
Max
More information about the meta-freescale
mailing list