On 1/23/19 9:37 AM, Lennart Sorensen wrote:
On Tue, Jan 22, 2019 at 09:59:08PM -0500, Dennis Clarke wrote:well darn !root@arm7:/boot# mount -v /dev/mmcblk0p2 on / type ext4 (rw,relatime,data=ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=1021496k,nr_inodes=187164,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,relatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) mqueue on /dev/mqueue type mqueue (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) configfs on /sys/kernel/config type configfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=206040k,mode=700) root@arm7:/boot# What I need is a proper Debian install process on this tinker board ASUS thing and then I can say goodbye to the linaro install that comes with it. Thanks for catching that and .. gee .. is there a way to recover?I would think this could work: Move the files belonging to debian packages from /boot to another location, then unmount /boot and move the files into the /boot that is part of / then mount your boot partition as something else (like /vfatboot or something). On these types of machines usually you use the flash-kernel package, which copies to correct files from /boot to the vfat boot partition when a new kernel is installed and generates the needed uboot scripts or whatever a given system requires. That is once you add the machine identifier to the database for flash-kernel. There seems to be no reason to have a seperate /boot partition from the debian point of view if the system boots from a vfat partition so easier to just make /boot be a plain directory on the root partition in that case.
After carefully fixing the contents in that vfat /boot partition I still have some borked situation after a reboot : arm7$ arm7$ uptime 18:34:21 up 6 min, 2 users, load average: 0.27, 0.24, 0.13 arm7$ ls -lapb /boot total 62618 drwxr-xr-x 5 root root 1024 Jan 1 1970 ./ drwxr-xr-x 23 root root 4096 Jan 23 18:24 ../ -rwxr-xr-x 1 root root 190506 Oct 27 18:46 config-4.9.0-8-armmp-lpae drwxr-xr-x 2 root root 512 Dec 23 05:22 extlinux/ drwxr-xr-x 2 root root 512 Nov 3 2016 hdmi/ -rwxr-xr-x 1 root root 304 Oct 23 10:44 hw_intf.conf -rwxr-xr-x 1 root root 22622191 Jan 23 18:21 initrd.img -rwxr-xr-x 1 root root 22622191 Jan 23 18:21 initrd.img-4.9.0-8-armmp-lpae drwxr-xr-x 2 root root 2560 Oct 23 10:44 overlays/ -rwxr-xr-x 1 root root 72281 Oct 23 10:44 rk3288-miniarm.dtb -rwxr-xr-x 1 root root 3027355 Oct 27 18:46 System.map-4.9.0-8-armmp-lpae -rwxr-xr-x 1 root root 3821600 Oct 27 18:46 vmlinuz -rwxr-xr-x 1 root root 3821600 Oct 27 18:46 vmlinuz-4.9.0-8-armmp-lpae -rwxr-xr-x 1 root root 7930936 Oct 23 10:44 zImage arm7$ arm7$ cat /proc/cmdlineearlyprintk verbose plymouth.ignore-serial-consoles console=tty1 rw init=/sbin/init uboot_version=2017.07-g8c31a11215 root=/dev/mmcblk0p2
arm7$ arm7$ cat /proc/versionLinux version 4.4.132+ (jenkins@fdc-06) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #1 SMP Tue Oct 23 18:03:49 CST 2018
arm7$ So I think I shall wipe out this little ASUS Tinkerboard and figure out if proper Debian testing can be installed on it. Dennis