Difference between revisions of "Alpine"

From Steak Wiki
Jump to navigationJump to search
Line 30: Line 30:
 
following:
 
following:
 
*clonezilla or otherwise rsync partitions and recreate partitions to similar boundaries
 
*clonezilla or otherwise rsync partitions and recreate partitions to similar boundaries
by default clonezilla might fail, due to -C not being set. There is an icds option for restore, but it can either be edited into /usr/sbin/ocs-onthefly  for partclone or
+
by default clonezilla might fail, due to -C not being set. There is an icds option for restore, but it can either be edited into /usr/sbin/ocs-onthefly  for partclone or just rsync then:
 
*edit etc fstab  uuids
 
*edit etc fstab  uuids
 
*edit (boot partition) grub/grub.cfg root=uuid=whatever to root=/dev/sda3
 
*edit (boot partition) grub/grub.cfg root=uuid=whatever to root=/dev/sda3

Revision as of 04:15, 16 December 2020

Building a package in Alpine

https://wiki.alpinelinux.org/wiki/Category_talk:Developer_Documentation#Building_from_source_and_creating_packages

https://wiki.alpinelinux.org/wiki/Custom_Kernel

Xorg video playback stutters upon suspend / resume

I added the following configuration to xorg.conf

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "AccelMethod" "uxa"
EndSection

This seems to resolve video playback issues. What happens is that the video will not play, though audio will. Only the first frame or so is visible. Video seems to be unable to display. This is a documented fix. The important part is AccelMethod. https://wiki.archlinux.org/index.php/Intel_Graphics Also documented in forums that I can't seem to find at the moment.

Python3 Script Won't Run

$ ztdl
env: can't execute python

solution:

python3 /usr/local/bin/ztdl

Cloning HDD

When cloning a hdd, do the following:

  • clonezilla or otherwise rsync partitions and recreate partitions to similar boundaries

by default clonezilla might fail, due to -C not being set. There is an icds option for restore, but it can either be edited into /usr/sbin/ocs-onthefly for partclone or just rsync then:

  • edit etc fstab uuids
  • edit (boot partition) grub/grub.cfg root=uuid=whatever to root=/dev/sda3
  • can also be in /dev/sda1 - extlinux.conf

Links

Configure_Wake-on-LAN