Skip to content

u/Reish

In this archive from Feb 2014 to Aug 2019

8
posts
19
comments
6
media
330
score

If I understand correctly, archiso creates squashfs based images. This doesn't allow you to keep your system up to date with pacman.

In addition, if you run ALMA from Linux then you can directly install into the USB drive without requiring you to make an image and then dd it to the USB.

2 points

When I started this tool people asked "why not in bash?", so I had to explain that while I'm probably able to write the initial version in bash, I could never maintain and grow the tool in bash.

I'm really happy that I chose Rust because it even allows me to use the type system and the Drop trait to make sure that my code will not compile if I make a mistake such as trying to close the crypt device before unmounting the root partition.

2 points

I don't understand why downvoting this. Anyway:

alias alma='docker run --rm -it --privileged -v /dev:/dev -v /run:/run -v pacman-cache:/var/cache/pacman -v (pwd):/work darwish/alma alma'

If you define this alias then you should be able to use the tool just as it was installed on your system. Note that if you use Docker for macOS or Windows then you probably won't be able to use the tool to directly write into the USB, but instead you'll have to use it to crate an image and then write that image to the USB.

1 points

Why have you chosen to do an install to the USB rather than dding the Live image? Do you need to create persistent installs often?

Live USB distributions tend to focus on a speicifc purpose. Tails focuses on privacy, Clonezilla ships Clonezilla, gparted ships gparted, etc... I want to have my own environment with the tools I need

What was your reason for choosing rust over bash?

I personally don't like to code in bash. I agree that the current version can be easily written as bash scripts, but once I start adding command line arguments this is where I can't work with bash anymore

One of the big problems I can see with this approach is that Arch installs are really personal and generally people want to customize them

I'll add -i which drops you into the chroot before finishing the installation. Then you can do whatever customizations you wish

You could add customization to the options, but the more you add the more complex the cli args become and the more annoying the tool is to use

Correct. I don't plan to add much of these. I'll add configuration flags for things that should be handled before the arch-chroot, such as setting up LUKS

That is a bit inconvenient

I know. I'm looking for a better way to check whether a drive is removable via /proc.

Thanks for the feedback

26 points

I actually wasn't aware of this method when constructing this image. However, I don't really see this image as a drop-in replacement for devtools, but more like a better solution when you wish to make Arch Linux based Docker image.

In addition, this image might be handy when you wish to have an AUR build server and your vendor (such as DigitalOcean) does not supply Arch Linux images.

1 points

Well, first of all this is a humor subreddit, I'm not here to give a professional review on the new Ubuntu. But since you asked, I think this is an issue. The installation disk should represent the operating system to those who are new to it, and this is not a good first impression. I have used various Linux desktops over the last two years, and and many of them still have all kinds of small glitches you don't find on proprietary operating systems. I think that Linux desktop developers don't invest enough time in polishing the interface, and it makes a bad first impression on new users

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.