dCore Import Debian Packages to Mountable SCE extensions > General dCore Talk


(1/4) > >>

Jason W:
dCore-usbinstall, the automated way to install a dCore release on a usb stick using extlinux, has been updated to be compatible with both 32 and 64 bit dCore ports.  The package in the 32 bit dCore area has also had the same changes, but does not affect it's functionality. 

Jason W:
Also now added the ability to choose between both x86 and x86_64 dCore releases available to install to usb regardless of the architecture of the port one is running in the current session.  x86 package also updated.

Jason W:
Added the option to choose from dCore and dCorePlus in each dCore port. 

Below is a way to install to usb dCore from any modern Linux distribution. 

First, download a dCore, below is via a terminal, preferably dCorePlus if any wireless is needed.  Example commands below. 

--- Code: ---wget http://tinycorelinux.net/dCore/x86/release/dCore-stretch/dCorePlus-stretch.iso
wget http://tinycorelinux.net/dCore/x86/release/dCore-stretch/dCorePlus-stretch.iso.md5.txt

md5sum -c dCorePlus-stretch.iso.md5.txt

--- End code ---

Plug in the desired USB device, and use one of the below commands to determine which device is a USB, making sure to choose the right one:

This lists usb devices by name:

--- Code: ---for I in `ls /dev/disk/by-id/ | grep usb`; do E=`readlink /dev/disk/by-id/"$I" | sed "s/[./]//g" | sed 's/[0-9]*//g'` ; echo "$E"; done

--- End code ---

or the simpler command, note the usb- prefix and symlinks:

--- Code: ---ls -lh /dev/disk/by-id/

--- End code ---

Then create a bootable usb from the ISO image.  dCore ISO images have had isohybrid used on them so they can be written to a USB device via the dd command.  Just be sure of your device name.  If sdb is your USB device, then use the following:

--- Code: ---dd if=dCorePlus-stretch.iso of=/dev/sdb bs=1M

--- End code ---

Then reboot with the USB device.

Once booted, do the following in a terminal:

--- Code: ---sce-import dCore-usbinstall
sce-load dCore-usbinstall

--- End code ---

Then run "sudo dCore-usbinstall" in a terminal.   dCore-usbinstall will let you choose from a list of USB devices to install to, just install to the same one as booted from as it will not be mounted after booting.  Choose a dCorePlus port if it was needed before.  Then reboot.

You will now have a USB key with dCore installed with a TCE directory on that USB device.  Then start importing packages. 

A note:  Use "RAM=TRUE" in /etc/sysconfig/sceconfig and make a backup or use the "sce-import -r" option so the package importing work with it's many file writes happends in RAM to prolong the life of the USB drive. 

Hi Jason
How come that on first reboot the dCore-plus is not mounted?

Jason W:
It is that way be design, with the TCE directory in /tmp so you can use that same usb for the dCore-usbinstall installation.  Otherwise you would have to use a second usb drive for installing to.  The dCorePlus-stretch.sce extension that is the difference between the regualar dCore and dCorePLus is located in /tmp/builtin.

Using dd to 'burn' an iso to a usb drive creates an iso9660 filesystem of the entire device which is read only and you can't create a TCE directory on it or write any new files or directories to it.  So the booting of the iso9660 filesystem and leaving it unmounted makes sense.   


[0] Message Index

[#] Next page

Go to full version