Install the default kernel:
sudo apt install linux-generic
- Find entrance from
/boot/grub/grub.cfg
- Get the $menuentry_id_option:
Make sure the if
value is correct! If doing this over SSH then open a TMUX session first... or else...
dd if=/dev/YOUR-DEVICE conv=sync,noerror bs=64K | gzip -c > /home/portaj/macbook.img.gz
NOTE: You might not want to compress the image. It just means you have to uncompress it later to mount it. If you're planning to access the data soon, or frequently, don't compress it.
Save it in the same directory as the compressed image so later on if you decide you want to mount or extract data from the image you can see the partition structure without having to decompress the whole image. There might be some other ways to mount a compressed image.
RawParsed | |
[ | |
{ | |
"id" : "73F3F654-9EC5-4876-8BF6-474E22029A49", | |
"assets" : [ | |
{ | |
"url" : "http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/comp_GL_G004_C010_v03_6Mbps.mov", | |
"accessibilityLabel" : "Greenland", | |
"type" : "video", | |
"id" : "D388F00A-5A32-4431-A95C-38BF7FF7268D", |
RawParsed | |
[ | |
{ | |
"id" : "73F3F654-9EC5-4876-8BF6-474E22029A49", | |
"assets" : [ | |
{ | |
"url" : "http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/comp_GL_G004_C010_v03_6Mbps.mov", | |
"accessibilityLabel" : "Greenland", | |
"type" : "video", | |
"id" : "D388F00A-5A32-4431-A95C-38BF7FF7268D", |
RawParsed | |
{ | |
"version" : 1, | |
"initialAssetCount" : 4, | |
"assets" : [ | |
{ | |
"id" : "829E69BA-BB53-4841-A138-4DF0C2A74236", | |
"url-1080-SDR" : "https://sylvan.apple.com/Aerials/2x/Videos/LA_A006_C008_2K_SDR_HEVC.mov", | |
"url-1080-HDR" : "https://sylvan.apple.com/Aerials/2x/Videos/LA_A006_C008_2K_HDR_HEVC.mov", | |
"url-4K-SDR" : "https://sylvan.apple.com/Aerials/2x/Videos/LA_A006_C008_4K_SDR_HEVC.mov", |
# RS256 | |
# private key | |
openssl genrsa -out rs256-4096-private.rsa 4096 | |
# public key | |
openssl rsa -in rs256-4096-private.rsa -pubout > rs256-4096-public.pem | |
# ES512 | |
# private key | |
openssl ecparam -genkey -name secp521r1 -noout -out ecdsa-p521-private.pem | |
# public key |
# Simple No-ip.com Dynamic DNS Updater | |
# | |
# By Nathan Giesbrecht (http://nathangiesbrecht.com) | |
# | |
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin) | |
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file | |
# 3) Copy this file noip2.service to /etc/systemd/system/ | |
# 4) Execute `sudo systemctl enable noip2` | |
# 5) Execute `sudo systemctl start noip2` | |
# |
LOGIN="test@example.com" | |
PASSWORD=MyPassword | |
INTERFACE=wlan0 | |
INTERVAL=30 | |
mkdir -p "$HOME/src/noip" | |
cd "$HOME/src/noip" | |
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz | |
tar zxf noip-duc-linux.tar.gz | |
cd noip-2.1.9-1 |
Getting started:
Related tutorials:
My typical setup for a development box in VirtualBox uses two NICs. The first uses NAT to allow the box to communicate with the outside world through my host computer’s network connection. (NAT is the default, so shouldn't require any setup.) The second is a "host-only" connection that allows my host and guest to interact.
To create a host-only connection in VirtualBox, start by opening the preferences in VirtualBox. Go to the "Network" tab, and addd a Host-only Network. Modify the host-only network, and disable DHCP. Make a note of the IP address. (Feel free to set the IP address as well, if you like.)
Next, assign this host-only adapter to the virtual machine. Select the VM and press "Settings". Go to the "Network" tab, and select "Adpater 2". Enable the adapter, set it to a "Host-only Adapter", and select the adpater you created above.