Skip to main content
Topic: Help Migration from Arch linux openrc-eudev (Read 1846 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Help Migration from Arch linux openrc-eudev

Hi, I was using arch linux with openrc-eudev without systemd until i had a error in the openrc-eudev repository i readed that the repository will not be updated and all about Artix
Perhaps someone can help me with a guide to upgrade to Artix from openrc-eudev
i suppose this step will be no necessary as i dont have systemd Installed
Code: [Select]
Save a list of your running systemd daemons, you'll need to install the respective openrc scripts afterwards.

systemctl list-units --state=running | grep -v systemd | awk '{print $1}' | grep service > daemon.list

i have my grub installed and a Boot partition in Funtoo linux as i have a triple boot system, Funtoo, arch and freebsd
how should i edit the grub.conf file?
below is my grub.cfg file

Code: [Select]
set timeout=3

  insmod part_gpt
  insmod ext2
  set root=(hostdisk//dev/sda,gpt4)
  search --no-floppy --fs-uuid --set e3d7a984-532d-4b4c-a58d-aaa78480854b
if loadfont /grub/unifont.pf2; then
  set gfxmode=text
  insmod all_video
  terminal_output gfxterm
fi

set menu_color_normal=cyan/blue
set menu_color_highlight=blue/cyan

menuentry "Funtoo Linux  - linux-4.4.2-gentoo" {
  insmod part_gpt
  insmod ext2
  set root=(hostdisk//dev/sda,gpt4)
  search --no-floppy --fs-uuid --set e3d7a984-532d-4b4c-a58d-aaa78480854b
  linux /vmlinuz-4.4.2-gentoo rootfstype=xfs root=/dev/sda6
  set gfxpayload=keep

}

menuentry "Funtoo Linux  - linux-4.9.34-gentoo" {
  insmod part_gpt
  insmod ext2
  set root=(hostdisk//dev/sda,gpt4)
  search --no-floppy --fs-uuid --set e3d7a984-532d-4b4c-a58d-aaa78480854b
  linux /vmlinuz-4.9.34-gentoo rootfstype=xfs root=/dev/sda6
  set gfxpayload=keep

}
menuentry "arch linux Damian" {
insmod part_gpt
insmod ext2
set root=(hostdisk//dev/sda,gpt1)
search --no-floppy --fs-uuid --set 9c2db628-3db6-48a4-82ec-31bbf9733d64
linux /vmlinuz-linux  root=/dev/sda2 rootfstype=ext4
initrd /initramfs-linux.img
set gfxpayload=keep

}

menuentry "FreeBSD" {
insmod part_gpt
set root='(hd1,2)'
kfreebsd /boot/loader
}



i have console display manager installed does elogind change something in my display manager?
best regards

Re: Help Migration from Arch linux openrc-eudev

Reply #1
You should follow the guide at https://systemd-free.org/news.php#170727, it mostly applies to the old [eudev-openrc] systems too. There have been some changes with the activation of [arch-openrc/nosystemd] but not too many, hopefully. Not as many as with Artix, anyway. You've missed quite a few developments... Just follow the guide and be careful. Have a bootable live USB key nearby, just in case.

Your consolekit packages should be removed; perhaps you can keep them if you don't get any conflicts - I made a backup of all my consolekit/nosystemd packages with bacman. Artix repos use elogind though, if you have any AUR packages depending on consolekit will probably stop working.

As for grub, make a backup of your current config before running update-grub (which should detect all your OSes, but you can't be too careful). Don't forget that live USB key; the most likely cause of incomplete boots is related to grub.

Re: Help Migration from Arch linux openrc-eudev

Reply #2
Hi in step 3  i created a file  /etc/pacman.d/mirrorlist
with this inside
 # Worldwide mirrors
Server = https://mirrors.dotsrc.org/artix-linux/repos/\$repo/os/\$arch
Server = http://mirror.strits.dk/artix-linux/repos/\$repo/os/\$arch
Server = https://artix.mief.nl/repos/\$repo/os/\$arch
Server = http://mirror1.artixlinux.org/artix-linux/repos/\$repo/os/\$arch

after
 sudo pacman -Scc && pacman -Syy
warning: database file for 'system' does not exist
warning: database file for 'world' does not exist
warning: database file for 'galaxy' does not exist

cache directory: /var/cache/pacman/pkg/
:: ¿Desea quitar TODOS los archivos de la caché? [s/N] s
removing all cache files...

base data directory: /var/lib/pacman/
:: ¿Desea quitar los repositorios no utilizados? [S/n] s
quitando repositorios de sincronización no utilizados...
error can not make this operation unless you are superuser
error: no puede realizar esta operación, a menos que sea superusuario.


Re: Help Migration from Arch linux openrc-eudev

Reply #3
You are supposed to execute the instructions to the letter. Instead of executing the command
Code: [Select]
cat > /etc/pacman.d/mirrorlist <<EOF
# Worldwide mirrors
Server = https://mirrors.dotsrc.org/artix-linux/repos/\$repo/os/\$arch
Server = http://mirror.strits.dk/artix-linux/repos/\$repo/os/\$arch
Server = https://artix.mief.nl/repos/\$repo/os/\$arch
Server = http://mirror1.artixlinux.org/artix-linux/repos/\$repo/os/\$arch
EOF
you copied/pasted including the escape backslashes. Remove all '\' from the file.

Re: Help Migration from Arch linux openrc-eudev

Reply #4
Thanks in step 5 i have this problem


resolving dependency
searching for conflict between packages
:: procps-ng y procps-ng-nosystemd are in conflict (procps). delete procps-ng-nosystemd? [s/N] s
:: gcc-libs y gcc-libs-multilib are in conflict. delete gcc-libs-multilib? [s/N] s
:: gcc y gcc-multilib are in conflict. delete gcc-multilib? [s/N] s
error: no se pudo preparar la operación (no se pudieron satisfacer las dependencias)
:: gcc-fortran-multilib: deleting«gcc-multilib» broke dependency with «gcc-multilib=7.2.0-1»
:: lib32-glibc: installing «glibc» (2.25-7) broke dependency with «glibc>=2.26»
:: valgrind: installing«glibc» (2.25-7) broke dependency with «glibc=2.26»


pd: i deleted packge glibc with sudo pacman -Rdd glibc and my system went to hell, it doesnt boot now!!!
what now?

 

Re: Help Migration from Arch linux openrc-eudev

Reply #5
chroot in from a live boot, and then install correct version of glibc using "pacman -U /path/to/glibc/package". I've never deleted glibc, so I'm not a 100% sure this will work, but try it.