nixers
Tips for installing Crux - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Operating Systems & Administration (https://nixers.net/Forum-Operating-Systems-Administration)
+--- Forum: GNU/Linux (https://nixers.net/Forum-GNU-Linux)
+--- Thread: Tips for installing Crux (/Thread-Tips-for-installing-Crux)


Tips for installing Crux - tudurom - 25-02-2016

Hey There,

I want to move from arch because of systemd and because I want to put myself in great pain so at the end I will feel good because there will be no pain (i.e, making the system simpler). But, I need help to install crux the right way.

Here's what I have done in a VM:
  • Installed the base system by following the handbook
  • Configured the ports system to build packages using another user
  • Currently doing a sysup.

I want a simple and stable setup, able to run bspwm and some browser.

Oh, and a simple question: if I want to replace the default rc script, I just need to overwrite it with another (minirc), right?

Thank you! Waiting for the tips!


RE: Tips for installing Crux - Wildefyr - 25-02-2016

Um, what's the point of this thread? Sounds like you're already there.


RE: Tips for installing Crux - apk - 25-02-2016

(25-02-2016, 07:11 PM)neo Wrote: Oh, and a simple question: if I want to replace the default rc script, I just need to overwrite it with another (minirc), right?

no that varies with init to init. by default crux uses sysv init, which is just a collection of many shell scripts that do specific tasks (including daemon scripts). so, you'll need to resort to documentation for that.

so really you just gotta do like
Code:
prt-get depinst bspwm
prt-get depinst $BROWSER
and then ur good i guess. be sure to
Code:
ports -u
prt-get sysup
periodically.


RE: Tips for installing Crux - tudurom - 26-02-2016

Thanks! No downsides? I find the documentation sparse.


RE: Tips for installing Crux - neeasade - 26-02-2016

TIL Crux Linux is against systemd

more like Sux Linux amirite

© KeDEAN'd corp


RE: Tips for installing Crux - apk - 26-02-2016

(26-02-2016, 12:51 PM)neeasade Wrote: TIL Crux Linux is against systemd

more like Sux Linux amirite

© KeDEAN'd corp
yeah got like 2 weeks left bro.


RE: Tips for installing Crux - neeasade - 26-02-2016

(26-02-2016, 03:16 PM)dsplayer14 Wrote: .
u ok


RE: Tips for installing Crux - arcetera - 27-02-2016

(25-02-2016, 07:11 PM)neo Wrote: Hey There,

I want to move from arch because of systemd and because I want to put myself in great pain so at the end I will feel good because there will be no pain (i.e, making the system simpler). But, I need help to install crux the right way.

Here's what I have done in a VM:

[*] Installed the base system by following the handbook
[*] Configured the ports system to build packages using another user
[*] Currently doing a sysup.

I want a simple and stable setup, able to run bspwm and some browser.

Oh, and a simple question: if I want to replace the default rc script, I just need to overwrite it with another (minirc), right?

Thank you! Waiting for the tips!
I highly recommend using another rc script. I'm using sinit and my own. CRUX rc is a pain in the ass sometimes.

minirc uses busybox init, so you'll have to remove sysvinit and install busybox and minirc (all available in 6c37). bspwm is also available in 6c37.


RE: Tips for installing Crux - tudurom - 27-02-2016

I installed 6c37 and 6c37-git and this is a real goldmine! BTW what's the difference beetween your rc and minirc?


RE: Tips for installing Crux - arcetera - 27-02-2016

my rc uses sinit and has a few changes in terms of coding style, as well as features which i deemed useful


RE: Tips for installing Crux - tudurom - 27-02-2016

Pros and cons?

Btw Yours looks cleaner.


RE: Tips for installing Crux - apk - 27-02-2016

(26-02-2016, 05:07 PM)neeasade Wrote: u ok
yea but i n 2WEEK u shall face the wrath of PRT-Get


RE: Tips for installing Crux - arcetera - 27-02-2016

(27-02-2016, 04:16 PM)neo Wrote: Pros and cons?

Btw Yours looks cleaner.
pros: uses sinit, simpler than busybox, (experimental) smdev support, saner flags, keyboard layouts, out of the box support for most other things

cons: uses a lot of my own preferences, not as thoroughly tested as minirc or maybe even god, i only test on crux

if you're looking for 'tried and tested' try minirc, if you're looking for a little bit more sanity try mine


RE: Tips for installing Crux - z3bra - 28-02-2016

crux has its fair share of downsides, and you should consider them.

* 100% source based
* light dependency handling (eg, you can't uninstall dependencie)
* small port base, meaning you'll have to port many softs by yourself
* sparse documentation
* system V init

Don't worry, there are good points too:

* simple package format
* easily swappable component (eg, init, device manager, ...)
* knowledgeable user base

Its simplicity is its best feature!


RE: Tips for installing Crux - tudurom - 28-02-2016

Does prt-get have a feature to uninstall dependencies?


RE: Tips for installing Crux - arcetera - 28-02-2016

(28-02-2016, 08:17 AM)neo Wrote: Does prt-get have a feature to uninstall dependencies?
no, and that's something which i dislike


RE: Tips for installing Crux - tudurom - 28-02-2016

Then let's make an uninstall script. I think it's pretty easy: make a local database, use it to determine which programs cand be removed, problem solved.

Found this: http://osdir.com/ml/linux.distributions.crux.general/2007-05/msg00094.html


RE: Tips for installing Crux - p3p1 - 08-03-2016

I'm trying to switch from Arch to Crux but I have problem related to Grub-UEFI. My actual configuration provides two partition (sda1,sda2) the first one is EFI partion formatted in fat32, the second one is LUKS+LVM(swap+root-btrfs). Typically in Arch before give grub-mkconfig, I wrote my configuration in /etc/default/grub (an example is attached) but now in Crux seem that this conf file isn't considered and the finally Grub not start right.

/etc/default/grub: http://pastebin.com/59h7ZgWB


RE: Tips for installing Crux - apk - 08-03-2016

the grub config should be placed in /boot/grub/grub.cfg or $esp/grub/grub.cfg (relative to your EFI System Partition location).

Also I find there is no need to use grub-mkconfig in crux, just write the config by hand. Here is mine and it works just fine. http://ix.io/q0y


RE: Tips for installing Crux - neeasade - 08-03-2016

(08-03-2016, 04:43 PM)dsplayer14 Wrote: Here is mine and it works just fine. http://ix.io/q0y
bl0at


RE: Tips for installing Crux - Wildefyr - 08-03-2016

Write your own grub.cfg file. Don't use grub-mkconfig, it's bound to get it wrong.


RE: Tips for installing Crux - tudurom - 22-03-2016

(08-03-2016, 01:53 PM)p3p1 Wrote: I'm trying to switch from Arch to Crux but I have problem related to Grub-UEFI. My actual configuration provides two partition (sda1,sda2) the first one is EFI partion formatted in fat32, the second one is LUKS+LVM(swap+root-btrfs). Typically in Arch before give grub-mkconfig, I wrote my configuration in /etc/default/grub (an example is attached) but now in Crux seem that this conf file isn't considered and the finally Grub not start right.

/etc/default/grub: http://pastebin.com/59h7ZgWB

you may want to take a look at EFISTUB, but that implies recompiling the kernel.


RE: Tips for installing Crux - p3p1 - 23-03-2016

do you have some guide about the implementation of EFISTUB?


RE: Tips for installing Crux - tudurom - 23-03-2016

https://wiki.archlinux.org/index.php/EFISTUB


RE: Tips for installing Crux - novice - 04-06-2016

Hello,
I want to learn crux
I tried to install crux several times and every time i get this message on boot "mount: /etc/fstab: parse error: ignore entry at line 7,8,12,20,22" ,"swapon: /etc/fstab: parse error: ignore entry at line 7,8,12,20,22"
also when i startx it starts wm with error "xauth serverauth.xxx does not exist" ,i have .serverauth.195 and .Xauthority in my home.Can someone help me and sorry for my english.


RE: Tips for installing Crux - novice - 07-07-2016

Well I learned a lot and now I have a fully working crux and all errors solved :)
I love it its hard yet simple.