[Snappy ubuntu core ] boot was delay 1min 30s

Alexander Sack asac at canonical.com
Tue Feb 3 08:33:53 UTC 2015


On Tue, Feb 3, 2015 at 2:21 AM, 左宝柱 <zuobaozhu at gmail.com> wrote:
> I try to  mount /dev/mmcblk0p1 to other folder,it success.
> root at localhost:~# mount /dev/mmcblk0p1 1/
> root at localhost:~# df -h
> Filesystem                   Size  Used Avail Use% Mounted on
> /dev/disk/by-label/system-a  976M  294M  615M  33% /
> udev                         503M     0  503M   0% /dev
> tmpfs                        101M  5.4M   96M   6% /run
> /dev/mmcblk0p4               1.7G   24M  1.5G   2% /oem
> tmpfs                        505M  4.0K  505M   1% /etc/fstab
> tmpfs                        505M     0  505M   0% /dev/shm
> tmpfs                        5.0M     0  5.0M   0% /run/lock
> tmpfs                        505M     0  505M   0% /sys/fs/cgroup
> tmpfs                        505M     0  505M   0% /var/lib/sudo
> tmpfs                        505M     0  505M   0% /mnt
> tmpfs                        505M     0  505M   0% /tmp
> /dev/mmcblk0p1                63M   13M   51M  20% /root/1
> root at localhost:~# cd 1/
> root at localhost:~/1# ls
> a  b  snappy-system.txt  system.txt  uEnv.txt
> root at localhost:~/1#
>

It is very weird that you can mount it to /root/1 but not to /boot/uboot ...

Sure that if you try to mount like above to /boot/uboot it doesn't work?


> 2015-02-03 9:00 GMT+08:00 左宝柱 <zuobaozhu at gmail.com>:
>>
>> that's my /etc/fstab.
>> root at localhost:~# cat /etc/fstab
>> # Auto-generated by /init
>> # DO NOT EDIT THIS FILE BY HAND - YOUR CHANGES WILL BE OVERWRITTEN
>> # (See writable-paths(5) for details)
>> /dev/root / rootfs defaults,ro 0 0
>> /writable/user-data /home none bind 0 0
>> /writable/system-data/apps /apps none bind 0 0
>> /writable/system-data/oem /oem none bind 0 0
>> tmpfs /tmp tmpfs defaults 0 0
>> tmpfs /mnt tmpfs defaults 0 0
>> /writable/system-data/var/lib/apps /var/lib/apps none bind 0 0
>> /writable/system-data/var/lib/cloud /var/lib/cloud none bind 0 0
>> /writable/system-data/var/lib/dbus /var/lib/dbus none bind 0 0
>> /writable/system-data/var/lib/dhcp /var/lib/dhcp none bind 0 0
>> /writable/system-data/var/lib/logrotate /var/lib/logrotate none bind 0 0
>> tmpfs /var/lib/sudo tmpfs defaults,mode=0700 0 0
>> /writable/system-data/var/lib/system-image /var/lib/system-image none bind
>> 0 0
>> /writable/system-data/var/log /var/log none bind 0 0
>> /writable/system-data/etc/sysctl.d /etc/sysctl.d none bind 0 0
>> /writable/system-data/etc/ufw /etc/ufw none bind 0 0
>> /writable/system-data/etc/apparmor.d/cache /etc/apparmor.d/cache none bind
>> 0 0
>> /writable/system-data/var/cache/apparmor /var/cache/apparmor none bind 0 0
>> /writable/system-data/var/lib/apparmor /var/lib/apparmor none bind 0 0
>> /writable/system-data/var/tmp /var/tmp none bind 0 0
>> /writable/system-data/etc/ssh /etc/ssh none bind 0 0
>> /writable/system-data/etc/writable /etc/writable none bind 0 0
>> /writable/system-data/var/lib/initramfs-tools /var/lib/initramfs-tools
>> none bind 0 0
>> /writable/system-data/var/lib/systemd/click /var/lib/systemd/click none
>> bind 0 0
>> /writable/system-data/var/lib/systemd/snappy /var/lib/systemd/snappy none
>> bind 0 0
>> /writable/system-data/etc/systemd/system /etc/systemd/system none bind 0 0
>> /writable/system-data/usr/share/click/frameworks
>> /usr/share/click/frameworks none bind 0 0
>> /writable/system-data/var/lib/click/frameworks /var/lib/click/frameworks
>> none bind 0 0
>> /writable/system-data/root /root none bind 0 0
>> /writable/system-data/etc/sudoers.d /etc/sudoers.d none bind 0 0
>> /writable/system-data/etc/hosts /etc/hosts none bind 0 0
>> /writable/system-data/var/lib/extrausers /var/lib/extrausers none bind 0 0
>> /dev/mmcblk0p1 /boot/uboot auto defaults 0 0
>>
>> 2015-02-02 22:54 GMT+08:00 Oliver Grawert <ogra at ubuntu.com>:
>>>
>>> hi,
>>>
>>> Am Montag, den 02.02.2015, 15:42 +0100 schrieb Oliver Grawert:
>>> ...
>>> > this is the code inside the initrd that configures fstab for
>>> > /boot/uboot
>>> > http://paste.ubuntu.com/10016369/
>>> >
>>> > do you have an entry for /boot/uboot in /etc/fstab at all (should be
>>> > the
>>> > last line) ?
>>> >
>>> another thing that just came to my mind, make sure your kernel has vfat
>>> support :)
>>>
>>> ciao
>>>         oli
>>>
>>> --
>>> snappy-devel mailing list
>>> snappy-devel at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>>>
>>
>
>
> --
> snappy-devel mailing list
> snappy-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>



More information about the snappy-devel mailing list