| Guest35 | Hello. Does anyone have experience with setting up devuan on raspberry pi? | 16:50 |
|---|---|---|
| fsmithred | Guest35, yes (not me) but you will get more answers in #devuan-arm channel | 16:52 |
| Guest35 | Guest35: Thanks | 16:52 |
| fsmithred | did you find our images? | 16:53 |
| Guest35 | What images? | 16:53 |
| fsmithred | https://arm-files.devuan.org/ | 16:53 |
| Guest35 | Oh I haven't found those before. I would still need to format it using raspberry pi imager yes? | 16:54 |
| fsmithred | I don't know | 16:55 |
| fsmithred | be patient. Answers don't all come right away. | 16:56 |
| Guest35 | (y) I'll just try it out and see if it works | 16:57 |
| freem | do rPIs have onboard storage, or are they still requiring external storage suck as micro-sd cards? | 16:57 |
| Guest35 | I'm using a micro sd card for mine | 16:58 |
| Guest35 | It's a raspberry pi 4 so it's a bit of an old model | 16:58 |
| freem | meh, I can't even find which firmware they use | 17:00 |
| freem | anyway, what I'd do is that i'd just install the OS on the SD card as if it was a normal HDD | 17:01 |
| fsmithred | aren't they just disk images with no installer? | 17:02 |
| freem | no idea, I only have a set of beaglebone black | 17:03 |
| Guest35 | whats that | 17:03 |
| freem | which is why I wanted to know the name of the firmware rPI uses... if it was UBoot I'd have some basics for sure at least | 17:03 |
| fsmithred | there are instructions in the readme on that page | 17:04 |
| freem | Guest35: it's the precursor of this kind of SoC. Unlike rPI, it never required non-free blobs to be 100% usable. https://www.beagleboard.org/boards/beaglebone-black | 17:04 |
| debdog | what fsmithred said: https://arm-files.devuan.org/README.txt | 17:05 |
| freem | globally it's less powerful than a rPI, at least from CPU/GPU considerations. It does have an on-board storage though, which is nice because I would not trust micro-sd cards on the long run | 17:05 |
| Guest35 | i have had two micro sd cards bend because of the rpi's case '=( | 17:06 |
| freem | welp. Each tool their pros and cons :) | 17:07 |
| Guest35 | ive been reformatting my sd card for like hours now trying to get devuan on my rpi to boot because i hadnt found the arms for rpi | 17:09 |
| freem | you could setup a networked install. It's a bit more complicated to setup initially, but on the medium-term it's a huge time saving. Also avoids to plug and replug stuff into fragile electronics. | 17:10 |
| freem | but I guess it would not help much with the problem of burning the SD card by sending too many writes operations to it. Dunno how robust those are on this kind of aspect. | 17:11 |
| freem | I don't even know if rPI4 supports network booting. I'd be surprised if it would not though. | 17:11 |
| Guest35 | already tried the network iso but it doesnt boot on rpi 4 | 17:12 |
| freem | well, you MUST have arm binaries, otherwise nothing will work | 17:12 |
| freem | as for rPI4 I suppose it's armhf, 32 bit stuff? So you need to pick those iso, not the stuff for arm64 (no idea how it's named) | 17:13 |
| freem | ah, finally! https://github.com/pftf/RPi4 apparently rPI4 uses a UEFI firmware, so it is really just like any computer | 17:14 |
| freem | the only difference with a normal computer is that you need arm binaries instead of x86 ones, is all | 17:16 |
| freem | now, I have no idea if their firmware embeds a GUI like a normal computer... but I don't see why they would not | 17:17 |
| Guest35 | alright i got it to boot and im in the setup, where it asks you for the keyboard model that im using can i just choose any random model since i dont think my keyboard model's listed here | 17:19 |
| Guest35 | my keyboard is a keychron c3 pro | 17:19 |
| freem | real coders use butterflies, no need for keyboards | 17:35 |
| Guest35 | i went through the setup and now im just stuck in the terminal | 17:35 |
| Guest35 | the setup via run-setup command i mean | 17:35 |
| Guest35 | it says system ready to go | 17:35 |
| freem | define "stuck"? | 17:35 |
| Guest35 | i mean its just the terminal the setup gui is gone | 17:36 |
| freem | do you have a prompt? | 17:36 |
| Guest35 | uhh not really but it says system ready to go | 17:36 |
| freem | just checking quickly, so that I know what to expect, and try to ask better questions: how much are you used to terminals and linux in general? | 17:37 |
| Guest35 | im just doing this for a college assignment if that answers your question | 17:37 |
| freem | I may have the bad habit to associate rPI users with powerusers :) | 17:37 |
| freem | I see, so beginner | 17:38 |
| Guest35 | yeah | 17:38 |
| freem | that will help | 17:38 |
| Guest35 | ive used ubuntu and debian briefly but i havent had these issues | 17:38 |
| freem | so, a "prompt" is what terminals output. Usually looks like: "root@system: /home/foobar$ " | 17:39 |
| freem | it means the terminal is ready to receive a command from you | 17:39 |
| Guest35 | i see | 17:39 |
| Guest35 | my prompt's root@bcm2711 | 17:40 |
| freem | ok, so you are logged as root | 17:40 |
| freem | you said install is complete? | 17:40 |
| freem | no error message? | 17:40 |
| Guest35 | yup | 17:40 |
| freem | then type "reboot" | 17:40 |
| Guest35 | pretty sure since it says system is ready to go | 17:40 |
| Guest35 | alright | 17:40 |
| freem | it will reboot the rPI and that shuold lead you to ... whatever is default in a rPI. It may not have a graphical environment installed. If so, I guess you'll need to do "apt-get install task-lxde-desktop" as root | 17:41 |
| Guest35 | i rebooted and logged in but im still in the terminal | 17:42 |
| Guest35 | alright ill install the thing | 17:42 |
| freem | I picked lxde because it's meant to be lightweight, might be better for a rPI | 17:42 |
| freem | most distro install gnome by default | 17:42 |
| Guest35 | it read the package list but it cant locate the package on the drive | 17:43 |
| Guest35 | maybe i can install xfce4 | 17:43 |
| freem | possibly | 17:43 |
| freem | oh | 17:43 |
| freem | you may need to do "apt-get update" before | 17:43 |
| freem | with network on | 17:43 |
| freem | can you ping, say, "perdu.com"? | 17:44 |
| Guest35 | i said get update and it seems to be frozen at 0% | 17:44 |
| freem | it's a quick test to check if all is good network-side (it's a french joke website) | 17:44 |
| Guest35 | thats strange because im connected to ethernet | 17:44 |
| freem | yeah, I suspect you have no networking setup | 17:44 |
| Guest35 | when i use the other OS my ethernet works | 17:45 |
| Guest35 | hold on ill reboot and try pinging that site | 17:45 |
| freem | try the ping quickly? | 17:45 |
| freem | no need to reboot each time | 17:45 |
| freem | just ctrl+c will abort your current task on the terminal | 17:45 |
| Guest35 | ah alright i was gonna ask | 17:45 |
| Guest35 | it pinged the website | 17:45 |
| Guest35 | in 6ms average | 17:46 |
| freem | that's why I needed to know your skill level, otherwise I would not have explained ctrl+c :) | 17:46 |
| freem | yeah, don't care about this | 17:46 |
| freem | it means you do have network setup correctly | 17:46 |
| Guest35 | ah | 17:46 |
| Guest35 | do you think there just might not be an update available then | 17:46 |
| freem | name resolution and actually contacting internet works, that is what it means when you can ping a website like that | 17:46 |
| freem | I think your /etc/apt/sources.list is wrong | 17:47 |
| freem | probably | 17:47 |
| Guest35 | whats that | 17:47 |
| freem | it is the file where apt will find which servers to contact and which database of packages to sync with | 17:47 |
| Guest35 | ah so i downloaded the wrong installation? | 17:49 |
| freem | possibly, no idea | 17:49 |
| freem | I never did a normal isntall on arm :D | 17:49 |
| freem | always ended up using my own scripts and all | 17:49 |
| Guest35 | that would be weird because i just downloaded the rpi4 iso | 17:49 |
| Guest35 | oh hold up it gave me an error | 17:49 |
| freem | yeah | 17:49 |
| freem | I don't know. You can ping outside, but "apt-get update" is failing... | 17:50 |
| Guest35 | it said http://deb.devuan.org/merged chimaera inRelease | 17:50 |
| Guest35 | temporary failure resolving deb.devuan.org | 17:50 |
| Guest35 | which is really strange because i thought i got daedalus | 17:50 |
| freem | ah, same here | 17:50 |
| freem | well, as a temporary measure, I guess you can modify those to use "us.deb.devuan.org" instead | 17:51 |
| freem | that's the link used in example in here: https://beta.devuan.org/os/packages and I just tried to ping it: works from here, unlike deb.devuan.org | 17:51 |
| Guest35 | i'm in europe | 17:51 |
| freem | fr works as well | 17:52 |
| Guest35 | uhh how do i modify it though lol | 17:52 |
| freem | dunno for other mirrors | 17:52 |
| freem | you probably have nano installed | 17:52 |
| Guest35 | nano? | 17:52 |
| Guest35 | im sorry you're losing me | 17:52 |
| freem | so, as root: "nano /etc/apt/sources.list" | 17:52 |
| freem | "nano" is the name of a text editor for console | 17:52 |
| freem | one that is easy to use and often installed :) | 17:53 |
| freem | I think debian/devuan install it by default | 17:53 |
| Guest35 | alright just tested the same thing u said and pinging us.deb works while just deb doesnt | 17:56 |
| Guest35 | im just trying to figure out how to get the packages from us.deb now | 17:57 |
| freem | huh | 17:57 |
| Guest35 | like | 17:57 |
| freem | I did not said that pinging us.deb... would help | 17:57 |
| Guest35 | install the update from us.deb.devuan.org server instead of deb.devuan.org | 17:57 |
| Guest35 | no i know i was just testing connection | 17:57 |
| freem | I said to edit with nano the file /etc/apt/sources.list so that it uses us.deb.devuan.org (or fr.deb... or de.deb... or whatever) before doing the update | 17:58 |
| freem | ah weird | 17:58 |
| fsmithred | did apt update work with us.deb.devuan.org? | 17:58 |
| freem | actually don't | 17:58 |
| freem | it seems deb.devuan.org is reachable again | 17:59 |
| fsmithred | yeah, that happens a lot. It might have been in the middle of updating itself | 17:59 |
| Guest35 | still cant ping it though | 17:59 |
| freem | oh, ok | 17:59 |
| Guest35 | so what do i put in nano to default to us.deb.devuan.org | 17:59 |
| fsmithred | just try apt update again first | 18:00 |
| Guest35 | still not working with deb.devuan.org | 18:01 |
| freem | it's weird, http requests pass, but ping fails to resolve the domain | 18:01 |
| fsmithred | ok, maybe pick a specific mirror close to home. I don't think the country codes do anything. | 18:01 |
| Guest35 | i mean they clearly do because i can ping the us mirror | 18:02 |
| Guest35 | just not the default mirror | 18:02 |
| freem | how can by browser resolve but not CLI tools... | 18:02 |
| * freem shrugs | 18:02 | |
| Guest35 | thing is i dont know how to update from us.deb.devuan.org instead of deb.devuan.org | 18:02 |
| fsmithred | https://pkgmaster.devuan.org/mirror_list.txt | 18:03 |
| fsmithred | you would need to edit the file | 18:03 |
| fsmithred | nano /etc/apt/sources.list | 18:03 |
| Guest35 | do i type that exact thing in nano? | 18:03 |
| fsmithred | at the bottom of the screen are instructions on using the editor | 18:03 |
| fsmithred | you type that in terminal and nano will start with that file open | 18:04 |
| fsmithred | arrow keys to navigate, add the us. in front of deb.devuan.org | 18:04 |
| fsmithred | then ctrl-X (save and exit) and y to say yes to save the file | 18:05 |
| Guest35 | navigate where? | 18:05 |
| fsmithred | inside the file you are editing | 18:05 |
| fsmithred | move the cursor to the line you want to edit, then move it over to where you want to insert characters. | 18:06 |
| Guest35 | hold up so after i type /ect/apt/sources.list in nano what do i do | 18:06 |
| Guest35 | thats the only part that has me stuck | 18:06 |
| fsmithred | nope | 18:06 |
| fsmithred | don't type that inside the file | 18:06 |
| Guest35 | oh | 18:06 |
| fsmithred | that is the path to the file | 18:06 |
| fsmithred | nano /etc/apt/sources.list | 18:06 |
| fsmithred | opens that file in nano text editor | 18:07 |
| fsmithred | one more thing to do first | 18:07 |
| fsmithred | important | 18:07 |
| Guest35 | it says directory /ect/apt does not exist | 18:07 |
| fsmithred | cp /etc/apt/sources.list . | 18:07 |
| fsmithred | note the dot at the end | 18:07 |
| fsmithred | etc not ect | 18:07 |
| fsmithred | think 'etcetera' | 18:07 |
| fsmithred | cp /etc/apt/sources.list . | 18:08 |
| fsmithred | that will copy the file to your current directory in case you totally screw it up | 18:08 |
| fsmithred | do that before you edit | 18:08 |
| Guest35 | alright did that, it didnt output anything from the console though but now i did the nano thing again and it opened the file.. turns out i was just typing in /ect instead of /etc haha | 18:09 |
| Guest35 | uhh so its displaying 5 deb links now | 18:09 |
| fsmithred | cool. | 18:09 |
| fsmithred | 5? | 18:09 |
| fsmithred | all 5 are uncommented? | 18:09 |
| fsmithred | http://us.deb.devuan.org/merged <- like that plus whatever comes after merged | 18:10 |
| Guest35 | alright so on all of the links i added us. after deb http:// | 18:10 |
| fsmithred | :) | 18:10 |
| fsmithred | ctrl-x | 18:11 |
| fsmithred | y | 18:11 |
| fsmithred | apt update | 18:11 |
| Guest35 | now its saying file name to write: /ect/apt/sources.list after i exited and saved to buffer | 18:11 |
| fsmithred | yes | 18:11 |
| fsmithred | y | 18:11 |
| fsmithred | enter | 18:11 |
| Guest35 | its working | 18:12 |
| Guest35 | holy shit finally | 18:12 |
| fsmithred | cool | 18:12 |
| freem | nice | 18:12 |
| Guest35 | i think when the professor gave me this assignment he didnt know that the deb.devuan.org would be invalid and id have to edit it from nano | 18:12 |
| Guest35 | thanks for the help man | 18:12 |
| fsmithred | yw | 18:12 |
| fsmithred | how old is the image you used? You might want to run 'apt upgrade' afteward | 18:13 |
| Guest35 | ok so after i update ill still have to run something like sudo apt install xfce4 xfce4-goodies right | 18:14 |
| Guest35 | befor i reboot | 18:14 |
| Guest35 | the image i used shouldnt be old let m check | 18:14 |
| fsmithred | you'r already root so you don't need sudo | 18:14 |
| fsmithred | yeah, install something for a desktop | 18:14 |
| Guest35 | do i run apt upgrade anyways just to be sure | 18:15 |
| freem | yes, better to do the upgrade now that there are less candidates to update | 18:17 |
| Guest35 | i need to reboot right after installing the graphical interface | 18:32 |
| Guest35 | holy shit finally its working | 18:40 |
| debdog | ALL HAIL SHIT! | 18:48 |
| metala | we have to teach newbies not to reboot after install / update, except for kernel. | 21:37 |
| phogg | would be a nice feature of needsrestart: tell you which daemons / programs need to start, and says either do / do not reboot | 21:55 |
| rustyaxe | Wut | 21:57 |
| rustyaxe | i reboot a few times a year to get a fresh kernel, thats about it | 21:58 |
| metala | the new user wanted to restart to get to X, that's why I mentioned it. I think it's good to shut down the machine, if it's not a server and has LUKS. | 22:07 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!