Void Linux

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9322
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

Desktop firewall for Void PPC Linux:

/etc/rc.local:

Code: Select all

# Default rc.local for void; add your custom commands here.
#
# This is run by runit in stage 2 before the services are executed
# (see /etc/runit/2).

iptables -t filter -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -t filter -A OUTPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
iptables -t filter -A INPUT -i lo -j ACCEPT
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9322
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »

IMPORTANT: Please connect the USB stick after you have reached the CFE with the f key.
  1. Code: Select all

    CFE> setenv bootargs "root=LABEL=void rootdelay=5"
  2. Code: Select all

    CFE> ramdisk -z -addr=0x24000000 -fatfs usbdisk0:initrd-5.10.img
  3. Code: Select all

    CFE> boot -elf -noints -fatfs usbdisk0:vmlinux-5.15
You can log into this system as amigaone with the password "amigaone".

Installation

You can install Void with the installer (Desktop link) or image the ext4 root partition on the USB stick to a partition on your hard disk with "dd".

For example:

Code: Select all

dd if=/dev/sdd2 of=/dev/sdb6 && e2fsck -f /dev/sdb6 && resize2fs /dev/sdb6 && tune2fs -L void /dev/sdb6
how can I use the terminal as Admin/su? If I type su in the terminal an put "amigaone" ass password, I'll get "Authentication failure"?
User avatar
xeno74
Posts: 9322
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Sat Nov 20, 2021 4:09 pm how can I use the terminal as Admin/su? If I type su in the terminal an put "amigaone" ass password, I'll get "Authentication failure"?
Hi Gerograph,

Please try “sudo su“.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »

Works, thanks!
Next question: I setup void and can boot using either Kernel 5.15 or 5.15.1....as long as I just have one graphic card.
BUT as soon as I put in the second graphic card, I get this:
cfe via one card, Linux output will then be displayed on the other one. BUT just before the login screen should Show up. I will get a Black screen with a flashing cursor....

Anybody an Idea?
User avatar
xeno74
Posts: 9322
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Sat Nov 20, 2021 11:24 pm BUT as soon as I put in the second graphic card, I get this:
cfe via one card, Linux output will then be displayed on the other one. BUT just before the login screen should Show up. I will get a Black screen with a flashing cursor....

Anybody an Idea?
Please boot with the graphics card you want to use with Void. After that execute lspci and look for the hardware address (BusID) of the graphics card. Then create an xorg.conf with the correct hardware address.

For example for the Radeon FireMV 2250:

Code: Select all

Section "Device"
            Identifier "ATI RV516 GL [FireMV 2250]"
            BusID   "PCI:05:00.1"
            Driver "radeon"
EndSection
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »

O.k. this doesn't help. I just put my Radeon HD 4650 into my X1000. Booted up sucessfully and pasted the lines above into a textfile an altered it accordingly. See screenshot:

Image

After shutting down, and rebooting - I became a black screen with a flashing cursor once again... I also tried to add my other graphic card (just in case...) but no success either? I had to remove the second card again, boot with an USB Stick and remove xorg.conf from etc/x11. This enabled me at least to boot normaly into void from SSD again... as long as I have only one graphic card installed
User avatar
xeno74
Posts: 9322
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

With which Void img, did you install Void on the SSD?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »

The one you mentioned above...
viewtopic.php?p=54209#p54209

I tried with the included kernel 5.15 and 5.15.1
viewtopic.php?p=54379#p54379

For installing void, I used the installer...
User avatar
xeno74
Posts: 9322
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

Maybe Julian's xorg.conf helps you to figure out the correct configuration in your xorg.conf.

Image

I don't use two graphics cards in my AmigaOnes so it is difficult for me to help you.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply