全部过程如下代码运行
[email protected]:~# gunzip install.sh.gz gzip: install.sh already exists; do you wish to overwrite (y or n)? y not overwritten [email protected]:~# gunzip install.sh.gz gzip: install.sh already exists; do you wish to overwrite (y or n)? y [email protected]:~# chmod a+x install.sh [email protected]:~# [email protected]:~# nand-sata-install Could not find the database of available applications, run update-command-not-found as root to fix this Command 'nand-sata-install' is available in '/usr/sbin/nand-sata-install' The command could not be located because '/usr/sbin' is not included in the PATH environment variable. This is most likely caused by the lack of administrative priviledges associated with your user account. nand-sata-install: command not found [email protected]:~# [email protected]:~# nand-sata-install Could not find the database of available applications, run update-command-not-found as root to fix this Command 'nand-sata-install' is available in '/usr/sbin/nand-sata-install' The command could not be located because '/usr/sbin' is not included in the PATH environment variable. This is most likely caused by the lack of administrative priviledges associated with your user account. nand-sata-install: command not found [email protected]:~# ./install.sh Start copy system for DATA partition. resize2fs 1.43.4 (31-Jan-2017) The filesystem is already 32-bit. tune2fs 1.43.4 (31-Jan-2017) e2fsck 1.43.4 (31-Jan-2017) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/data: 7673/767040 files (6.0% non-contiguous), 182082/3066364 blocks Copying ROOTFS. Copy BIN Copy BOOT tar: boot/System Volume Information/WPSettings.dat: time stamp 2018-10-06 21:35:44 is 26422.540015728 s in the future tar: boot/System Volume Information/IndexerVolumeGuid: time stamp 2018-10-06 21:35:46 is 26424.539082478 s in the future tar: boot/System Volume Information: time stamp 2018-10-06 21:35:44 is 26422.53879477 s in the future Create DEV Copy ETC Copy HOME Copy LIB Create MEDIA Create MNT Copy OPT Create PROC Copy ROOT tar: root/.pcsc10/pcscd.comm: socket ignored tar: root/thinclient_drives/.clipboard: file changed as we read it Create RUN Copy SBIN Copy SELINUX Copy SRV Create SYS Create TMP Copy USR rCopy VAR tar: var/lib/samba/private/msg.sock/20741: socket ignored tar: var/lib/samba/private/msg.sock/4416: socket ignored tar: var/lib/samba/private/msg.sock/3863: socket ignored tar: var/lib/samba/private/msg.sock/20781: socket ignored tar: var/lib/samba/private/msg.sock/3723: socket ignored tar: var/lib/samba/private/msg.sock/3925: socket ignored tar: var/lib/samba/private/msg.sock/20740: socket ignored tar: var/lib/samba/private/msg.sock/3722: socket ignored tar: var/lib/samba/private/msg.sock/20782: socket ignored tar: var/lib/samba/private/msg.sock/3705: socket ignored tar: var/lib/samba/private/msg.sock/3721: socket ignored tar: var/lib/samba/private/msg.sock/3726: socket ignored tar: var/lib/samba/private/msg.sock/20738: socket ignoredCopy fstab Modify files for N1 emmc boot Image Name: Created: Sat Oct 6 14:18:30 2018 Image Type: ARM Linux Script (uncompressed) Data Size: 1113 Bytes = 1.09 kB = 0.00 MB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 1105 Bytes = 1.08 kB = 0.00 MB Emmc boot fixed end ******************************************* Done copy ROOTFS ******************************************* Write env bootargs ******************************************* Complete copy OS to eMMC parted DATA ******************************************* [email protected]:~# rgunzip _install.sh.gz Could not find the database of available applications, run update-command-not-found as root to fix this rgunzip: command not found [email protected]:~# [email protected]:~# chmod a+x _install.sh chmod: cannot access '_install.sh': No such file or directory [email protected]:~# gunzip _install.sh.gz [email protected]:~# chmod a+x _install.sh [email protected]:~# ./_install.sh e2fsck 1.43.4 (31-Jan-2017) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/data: 123615/767040 files (0.4% non-contiguous), 969947/3066364 blocks resize2fs 1.43.4 (31-Jan-2017) The filesystem is already 32-bit. tune2fs 1.43.4 (31-Jan-2017) Modify files for N1 emmc boot Image Name: Created: Sat Oct 6 14:19:35 2018 Image Type: ARM Linux Script (uncompressed) Data Size: 1113 Bytes = 1.09 kB = 0.00 MB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 1105 Bytes = 1.08 kB = 0.00 MB Emmc boot fixed end Write env bootargs ******************************************* Complete emmc boot fix ******************************************* [email protected]:~# /sbin/resize2fs -s $PART_ROOT resize2fs 1.43.4 (31-Jan-2017) Usage: /sbin/resize2fs [-d debug_flags] [-f] [-F] [-M] [-P] [-p] device [-b|-s|new_size] [-z undo_file] [email protected]:~# [email protected]:~# /sbin/tune2fs -O ^metadata_csum $PART_ROOT tune2fs 1.43.4 (31-Jan-2017) Usage: /sbin/tune2fs [-c max_mounts_count] [-e errors_behavior] [-f] [-g group] [-i interval[d|m|w]] [-j] [-J journal_options] [-l] [-m reserved_blocks_percent] [-o [^]mount_options[,...]] [-p mmp_update_interval] [-r reserved_blocks_count] [-u user] [-C mount_count] [-L volume_label] [-M last_mounted_dir] [-O [^]feature[,...]] [-Q quota_options] [-E extended-option[,...]] [-T last_check_time] [-U UUID] [-I new_inode_size] [-z undo_file] device [email protected]:~#[email protected]:~#赞赏
历史上的文章
- 2020: OpenWrt 软件源配置&问题解决( 0)
除特别注明外,本站所有文章均为LJY IT BLOG原创,转载请注明出处来自https://www.ljy2345.com/2022/05/n1-box-armbian-moved-to-emmc/
Comments | NOTHING