[meta-freescale] [PATCH] wks: add a kickstart file with vfat boot and ext4 rootfs partition
Otavio Salvador
otavio.salvador at ossystems.com.br
Wed Sep 13 07:55:04 PDT 2017
Hello Max,
On Wed, Sep 13, 2017 at 11:41 AM, Max Krummenacher <max.oss.09 at gmail.com> wrote:
...
> 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.
Right so we need to fix the root cause of it and not drop the
partition set. Fabio please try to reproduce it and see if we can
provide the right fstab for boot. The wic command line we added to not
change the fstab, as well as a well defined fstab on base-files should
do the trick.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list