|
Edited by loboris at 2015-9-2 19:52
uImage upgraded:
- uImage upgraded, now it is possible to boot to USB drive partition
- to boot to USB partition, the file named cmdline.txt must exist on BOOT (fat) partition on sd card/emmc
- the content of that file must be: root=/dev/sdXn, where /dev/sdXn is the USB drive partition (as visible from OPI) to which to boot (for example root=/dev/sda1)
- the line which mounts / in /etc/fstab on USB partition must point to the right partition
- install_to_usb script automaticaly creates right cmdline.txt and fstab
- if cmdline.txt does not exist, or USB drive partition is not accesible (USB drive not attached), system boots to /dev/mmcblk0p1
- Bootable SD Card or EMMC must be accesible when booting to USB, but it is not necessary that the second partition contains valid Linux fs, sd card can have only the 1st (fat) partition
- You can have different Linux installations on different USB drive partitions, just edit the cmdline.txt to select to which to boot.
- Download script_kernel.tar.gz extract to BOOT (fat) partition and copy the right uImage_* to uImage
Install scripts updated:
- added script install_to_usb to install Linux to USB drive (partition). Can be used to backup your SDCard/EMMC installation.
- sudo install_to_usb /dev/sdXn [btrfs]|[noformat]
Copy code
- /dev/sdXn is the USB drive partition to which to install (for example /dev/sda1)
- if the second parameter is btrfs, USB partition will be formated as btrfs, otherwise as ext4
- if the second parameter is noformat, USB partition will not be formated, content of the partition will be updated (in case you have used install_to_usb to backup your sdcard/emmc before)
- be careful not to select the wrong USB partition, it will be erased/updated!
- Download desktop_scripts.tar.gz, unpack to /usr/local/bin.
- You must have the new uImage version, with boot to usb enabled.
|
|