Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: mardiyah on 27 October 2021, 00:54:20

Title: Have an Artix live usb from current running Artix
Post by: mardiyah on 27 October 2021, 00:54:20
How do we make an Artix live usb from current running Artix image system ?
Would anyone elaborate the definitive step by step work to accomplish it?
Title: Re: Have an Artix live usb from current running Artix
Post by: artoo on 27 October 2021, 12:21:24
How do we make an Artix live usb from current running Artix image system ?

Who is "we"? Are you asking, or is some of your alternate egos asking collectively?
Seriously people, the collectivist "we" is so ridiculous., "We are the Borg ..."
What happened to "How can I do this?"

Would anyone elaborate the definitive step by step work to accomplish it?

https://aur.archlinux.org/packages/imagewriter/

There are more alternatives, if you would go reading to find them.
Title: Re: Have an Artix live usb from current running Artix
Post by: x230 on 27 October 2021, 14:36:47
How do ... make an Artix live usb from current running Artix image system ?
Would anyone elaborate the definitive step by step work to accomplish it?

Do you mean "make a bootable usb flash" or "remastering an installed Artix system"?
Title: Re: Have an Artix live usb from current running Artix
Post by: nous on 27 October 2021, 19:10:37
I think they meant how to snapshot their current Artix installation into a bootable ISO image. Linux Live kit and Linux Respin are the two most common solutions, but I'm not sure Respin works on non-Debian based distros. This LinuxMint forum thread (https://forums.linuxmint.com/viewtopic.php?t=220589) might also be helpful.
Title: Re: Have an Artix live usb from current running Artix
Post by: x230 on 27 October 2021, 19:51:19
Respin and refracta works with Debian.
Remastersys and Wasta-remastersys - with Ubuntu.

There are several tools for remastering of Arch Linux:
arch-remaster
buildiso
Archiso
larch-live

But all of them are not very easy to use, without deep knowledge of Linux.
Title: Re: Have an Artix live usb from current running Artix
Post by: strajder on 27 October 2021, 20:12:55
There's also this: Custom ISO (https://wiki.artixlinux.org/Main/InstallationUsingBuildiso). Not really the same as taking a snapshot of your running system, but it does allow creating a custom ISO.
Title: Re: Have an Artix live usb from current running Artix
Post by: x230 on 27 October 2021, 20:36:04
There's also this: Custom ISO (https://wiki.artixlinux.org/Main/InstallationUsingBuildiso)
Is this about buildiso ?
Title: Re: Have an Artix live usb from current running Artix
Post by: strajder on 27 October 2021, 20:40:26
Yes, specifically using it to build an Artix ISO.
Title: Re: Have an Artix live usb from current running Artix
Post by: mardiyah on 28 October 2021, 11:37:03
Aborted with error
Code: [Select]
$ buildiso -p xfce -bc 
==> Start building [xfce]
==> Prepare [/iso/boot]
==> ERROR: A failure occurred in make_bootfs().
Title: Re: Have an Artix live usb from current running Artix
Post by: strajder on 28 October 2021, 14:28:58
I just successfully tested building an XFCE ISO in a QEMU XFCE OpenRC guest, using the procedure from the wiki article (https://wiki.artixlinux.org/Main/InstallationUsingBuildiso).

Have you followed that procedure (especially the first two lines from that article)?

Do you have enough free space available on your hard disk? Building a custom ISO requires around 7 GB of free space.
Title: Re: Have an Artix live usb from current running Artix
Post by: mardiyah on 28 October 2021, 15:44:19
tried to get the Artix now if it's on
-- sda8 ext4   1.0   Artix  2.9G  77% /mnt/xfce/artix/rootfs/
so
Code: [Select]
$ buildiso -p xfce -sc -r /mnt

get
Code: [Select]
$ cd /mnt/xfce/iso/LiveOS/ ; ls
rootfs.img  rootfs.img.md5


then continue as above, but with error issue
Title: Re: Have an Artix live usb from current running Artix
Post by: strajder on 28 October 2021, 16:03:01
tried to get the Artix now if it's on
-- sda8 ext4   1.0   Artix  2.9G  77% /mnt/xfce/artix/rootfs/
so
Code: [Select]
$ buildiso -p xfce -sc -r /mnt

get
Code: [Select]
$ cd /mnt/xfce/iso/LiveOS/ ; ls
rootfs.img  rootfs.img.md5


then continue as above, but with error issue
I don't see the steps you listed in the wiki article that I linked. Again, follow the procedure from that article, and make sure you have at least 7GB of hard disk space available.