Hi all,
what would be the steps to get the system installed in the "real" boot partition. E.g. for my NSA310 I want the system to be independent of the usb flash drive and instead have it boot from internal flash/HDD. With my limited understanding, given my partitions:
But how???
Thanks!
what would be the steps to get the system installed in the "real" boot partition. E.g. for my NSA310 I want the system to be independent of the usb flash drive and instead have it boot from internal flash/HDD. With my limited understanding, given my partitions:
lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.8T 0 disk |-sda1 8:1 0 502M 0 part `-sda2 8:2 0 1.8T 0 part `-md0 9:0 0 1.8T 0 linear sdb 8:16 1 7.6G 0 disk `-sdb1 8:17 1 7.6G 0 part / mtdblock0 31:0 0 1M 0 disk mtdblock1 31:1 0 512K 0 disk mtdblock2 31:2 0 512K 0 disk mtdblock3 31:3 0 512K 0 disk mtdblock4 31:4 0 10M 0 disk mtdblock5 31:5 0 10M 0 disk mtdblock6 31:6 0 47.8M 0 disk mtdblock7 31:7 0 10M 0 disk mtdblock8 31:8 0 47.8M 0 diskI am assuming sda1 was created by NSA310 since it contains
l -h tmp/ total 479M drwxr-xr-x 3 root root 1.0K Mar 13 2016 . drwxr-xr-x 3 root root 4.0K Oct 15 00:13 .. drwxr-xr-x 2 root root 12K Mar 13 2016 lost+found -rwxrwxrwx 1 root root 341M Mar 13 2016 swap_ul6545p -rw-r--r-- 1 root root 136M Mar 13 2016 sysdisk.imgwhich would make for sysdisk.img being the stock OS. I cannot mount the mtdblockX partitions so I would venture to guess I could overwrite the stuff in /dev/sda1 and modify uboot to load my kernel from there.
But how???
Thanks!