You are not logged in.

#1 2011-05-10 01:14:51

xangelux
Member
Registered: 2010-05-29
Posts: 73

M.AR.I.A. (Modest ARchlinux Install Assistance)

Hi, I'm new at contributions but I hope I can help. The thing is like this:

How many times you had to reinstall your system because of a stupid bad choice, installing something that went horribly wrong, upgrading something that you didn't expect to break all your system but it did . .. etc. well, when that happends you have to install from scratch everything and re-configure your entire system (even when you have your config files It's a pain in the butt to re-configure all) So I did a Script to make it all automated. It is in a Alpha stage I just finished it and I want to share it so you can tell me how to improve it and if you like it you can copy it but be aware that It uses root priviledges to do everything so first read it all and test it before using it, remember it is an alpha. The script is here M.AR.I.A..

If you like it or dislike it or edit it or whatever, let me know, maybe we can make the pertinent changes to make it a AUR pack, who knows.

By the way, It is written thinking on my preferences, feel free to change those.

Offline

#2 2011-05-10 01:28:20

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: M.AR.I.A. (Modest ARchlinux Install Assistance)

I speak Spanish pretty fluently, but I think you should add English translations for those who don't. smile

Last edited by cesura (2011-05-10 01:29:09)

Offline

#3 2011-05-10 02:00:06

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: M.AR.I.A. (Modest ARchlinux Install Assistance)

This isn't any good. Can you even test run it?

I can't read a word of Spanish, but some of those scripts are very limiting and idiosyncratic. There are some bugs too.

Just make a new wiki page. Like "Repairing your system". Instructions like "add package X and Y to your DAEMONS array" are much better than what you're doing here:

mv /etc/rc.conf /etc/rc.conf.original
        daemons=`awk 'match($0,"DAEMONS\=")!=0{print $0}' /etc/rc.conf.original`
        sed -e "s/$daemons/DAEMONS=(syslog-ng dbus fuse networkmanager netfs crond hal alsa gdm)/g" /etc/rc.conf.original > /etc/rc.conf

I don't scripts like this at all. And is it really worth automating these things if people are going to have to edit them anyway?


Anyway, you obviously did a lot of research, and I commend you for that. A lot of the things you have written can be copy pasted right into a wiki page! So I am sure that you can make a really good wiki page!

Offline

#4 2011-05-10 04:20:13

scarletxfi
Member
From: Australia
Registered: 2010-04-19
Posts: 105

Re: M.AR.I.A. (Modest ARchlinux Install Assistance)

english translation that seems to work ok.
http://translate.google.com/translate?j … 2Fz4xD9C1n

Offline

#5 2011-05-10 16:16:54

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: M.AR.I.A. (Modest ARchlinux Install Assistance)

Thank you all for your honest response, as I said in the first post, it's an alpha and I'm hoping to have more time to have it working in a long term. This is not an atempt to make a package for everyone to use, it is a install and configuration routine so you can make your own configurations and have it around in case you have to re-install or install in more than one machine and you want to save time by using it.

In a long term I wish to have a full featured script where you can select some configurations by only a few key strokes and save time but still have it "The arch way", I want to add a select language too (I can make an english translation but only that, I know no other languages).

In the todo list is:

* Tranlate to english and when it's ready ask for help to translate to other languages too
* Add security backups so if it fails it can roll back to a file without changes
* Add basic needed installations for all desktop managers
* Add an option to install various desktop managers at once
* Add shell selection (not everybody likes zsh)
* Make sure to keep track of the users created (create various users) so the personal config files can be on their own home dirs
* Edit the Daemons part

In the daemons part you are right, I'm looking to make it more interactive so you can select the daemons you need and look the load secuence (it is important the secuence). The goal too was to use zsh but I think maybe it is better to use bash for those who are not familiar to zsh or prefer bash (as is the default shell in a fresh install). It is a early release with my own configuration options (as I stated avobe) but it will change in time. In the end I'm posting it so I can recieve feedback and make it better, maybe some of you can use part of the script to make some changes on your own system or maybe just gives you an idea to make your own script.

Also I need focus on ATI drivers and alsa drivers, I think the repo for ATI is not longer available and the alsa driver is to specific, maybe change it so you can select if you want 5.1 channel or just stereo.

Last edited by xangelux (2011-05-10 16:26:39)

Offline

#6 2011-05-10 16:44:03

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: M.AR.I.A. (Modest ARchlinux Install Assistance)

I also don't like "helpers" like these, since honestly, then I think that ppl that use arch should be willing to learn and educate themselves, and not to use other ppl's "helpers", and then comming to these forums later with stupid questions!

However, I love personal unattended shell scripts and have also made my own custom-setup bash script which sets everything up and installs everything, and is completelly unattended, and so when having been through the manual installation yourself a few times, and mastering it, then making such scripts is really nice and a great timesaver! Especially when combined with aif for custom unattended installs!

What I do like about your post and script, is that you say that ppl can learn from it and make their own scripts with ideas from yours, as that is imho totally the better way to approach this!

Offline

#7 2011-05-10 18:15:36

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: M.AR.I.A. (Modest ARchlinux Install Assistance)

I think you're right, as I said, this is not to "save the learning experience" this is to save time for those who know what they are doing, I put it clearly "first read it all and test it". Maybe I should change the title to "post your post-install script" so there are no confusions about the goal of my post.

Offline

#8 2011-05-10 21:02:07

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: M.AR.I.A. (Modest ARchlinux Install Assistance)

mhertz wrote:

However, I love personal unattended shell scripts and have also made my own custom-setup bash script which sets everything up and installs everything, and is completelly unattended, and so when having been through the manual installation yourself a few times, and mastering it, then making such scripts is really nice and a great timesaver! Especially when combined with aif for custom unattended installs!

Exactly. After installing Arch the first time and learning the basics every install after that is just a pain. I did the same thing as you and wrote my own script to install all of my stuff which cut the time down from 4-6 hours to about a half hour. IMHO I think it's a far better idea for one to create their own scripts than to use someone else's.

Offline

#9 2011-05-12 17:46:06

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: M.AR.I.A. (Modest ARchlinux Install Assistance)

Ok so you are saying I should do it but in a wiki page?, mm, ok, but first tell me, is anyone interested in this wiki page?

Offline

Board footer

Powered by FluxBB