https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&user=Kenmcl2&feedformat=atomAlpine Linux - User contributions [en]2024-03-28T23:24:44ZUser contributionsMediaWiki 1.40.0https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_a_Bootable_Device&diff=18803Talk:Create a Bootable Device2021-04-08T02:43:58Z<p>Kenmcl2: /* Rufus / Windows */ new section</p>
<hr />
<div>Is it just me or is this page very confusing and in need of a major cleanup? (I'm volunteering if I get some kind of consensus from other people.)<br />
<br />
== Rufus / Windows ==<br />
<br />
I've also just made a USB stick wth Rufus that worked fine the first time. Minor point: the cluster size was 8192, probably because I used a bigger (16GB) stick.<br />
--[[User:Kenmcl2|Kenmcl2]] ([[User talk:Kenmcl2|talk]]) 02:43, 8 April 2021 (UTC)</div>Kenmcl2https://wiki.alpinelinux.org/w/index.php?title=Back_Up_a_Flash_Memory_Installation&diff=18802Back Up a Flash Memory Installation2021-04-08T01:48:27Z<p>Kenmcl2: spelling: received</p>
<hr />
<div>If you have installed Alpine Linux on flash memory, such as a CF card or USB stick, you may wish to create a backup. <br />
<br />
This procedure may also be used to migrate an Alpine Linux installation from one form of flash media to another.<br />
<br />
== Install Alpine Linux on the backup medium ==<br />
<br />
Follow the instructions at [[Create a Bootable USB]] to install Alpine Linux on the backup medium (CF/USB). Install the same version of Alpine Linux as you have on the running system (you can determine this using the command "cat /etc/alpine-release").<br />
<br />
<br />
== Copy over the cache directory ==<br />
<br />
If you have [[Alpine Linux package management#Local_Cache |enabled APK caching]] for packages that are downloaded over the Internet, then you should copy over the "cache" directory from the running system to your backup medium.<br />
<br />
For example, if the backup medium is labeled "sdb" (use the command "dmesg" to see what name your recently inserted device has received), and the system is booted from USB, you would run:<br />
<br />
{{Cmd|mount -t vfat /dev/sdb1 /mnt<br />
cp -a /media/usbdisk/cache /mnt/<br />
umount /mnt}}<br />
<br />
== Copy over the configuration overlay file (apkovl) ==<br />
<br />
All the custom configuration of your system is stored in a file named HOSTNAME.apkovl.tar.gz, where HOSTNAME is the locally configured hostname of the system (see the file /etc/hostname).<br />
<br />
Simply copy this file to the root of your backup medium.<br />
<br />
For example, if the backup medium is labeled "sdb" (use the command "dmesg" to see what name your recently inserted device has received), and the system is booted from USB, you would run:<br />
<br />
{{Cmd|mount -t vfat /dev/sdb1 /mnt<br />
cp -a /media/usbdisk/*.apkovl.tar.gz /mnt/<br />
umount /mnt}}<br />
<br />
[[Category:LBU]]<br />
[[Category:Installation]]</div>Kenmcl2