cp /boot/script.bin /boot/script.bak mount /dev/nanda /mnt cp /mnt/script.bin /boot/ umount /dev/nanda sync
auto lo iface lo inet loopback auto eth0 # for DHCP #iface eth0 inet dhcp # hwaddress ether c0:b0:c0:a8:1:f5 # Static IP iface eth0 inet static hwaddress ether c0:bo:c0:a8:1:17 address 192.168.1.23 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 nameserver 192.168.1.1
rm /etc/ssh/ssh_host_* dpkg-reconfigure openssh-server passwd reboot
apt-get update aptitude dist-upgrade dpkg-reconfigure locales dpkg-reconfigure tzdata
root@debian:/dev# fdisk /dev/mmcblk0 Command (m for help): p Disk /dev/mmcblk0: 8018 MB, 8018460672 bytes 4 heads, 16 sectors/track, 244704 cylinders, total 15661056 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000cb560 Device Boot Start End Blocks Id System /dev/mmcblk0p1 2048 127071 62512 e W95 FAT16 (LBA) /dev/mmcblk0p2 131072 15661055 7764992 83 Linux
Command (m for help): d Partition number (1-4): 2
Command (m for help): n Partition type: p primary (1 primary, 0 extended, 3 free) e extended Select (default p): p Partition number (1-4, default 2): Using default value 2 First sector (127072-15661055, default 127072):
First sector (127072-15661055, default 127072): 131072 Last sector, +sectors or +size{K,M,G} (131072-15661055, default 15661055): Using default value 15661055
Command (m for help): p Disk /dev/mmcblk0: 8018 MB, 8018460672 bytes 4 heads, 16 sectors/track, 244704 cylinders, total 15661056 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000cb560 Device Boot Start End Blocks Id System /dev/mmcblk0p1 2048 127071 62512 e W95 FAT16 (LBA) /dev/mmcblk0p2 131072 15661055 7764992 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks.
root@debian:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 7.3G 746M 6.3G 11% / ....skip....
deb ftp://ftp.debian.org/debian experimental main deb ftp://ftp.debian.org/debian sid main contrib non-free
apt-get update apt-get dist-upgrade reboot
root@debian:~#apt-get -t experimental install mono-devel ....skip.... root@debian:~# uname -a Linux debian 3.4.79-r0-s20-rm2+ #54 SMP Tue Feb 18 01:09:07 YEKT 2014 armv7l GNU/Linux root@debian:~t# mono -V Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: normal Notifications: epoll Architecture: armel,vfp+hard Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen
Source: https://habr.com/ru/post/215399/
All Articles