• Portada
    • Recientes
    • Usuarios
    • Registrarse
    • Conectarse

    Raspberry Pi Guide

    Programado Fijo Cerrado Movido General
    68 Mensajes 12 Posters 18.8k Visitas 1 Watching
    Cargando más mensajes
    • Más antiguo a más nuevo
    • Más nuevo a más antiguo
    • Mayor número de Votos
    Responder
    • Responder como tema
    Accede para responder
    Este tema ha sido borrado. Solo los usuarios que tengan privilegios de administración de temas pueden verlo.
    • YorusY Desconectado
      Yorus Veteranos HL @Yorus
      Última edición por

      I feel bad linking several posts in a row, but if I don't, the notifications that someone has written ? won't arrive.

      Well, I'm in front of the beast and I can't log in directly to the machine, it says:

      Cannot execute: No such file or directory 

      I had enabled root but I can't log in as root or as pi.

      Mi centro de operaciones
      Mi blog en HL

      hlbm signature

      cobitoC YorusY 2 Respuestas Última respuesta Responder Citar 0
      • cobitoC Desconectado
        cobito Administrador @Yorus
        Última edición por

        Insert the card into a PC with Linux and without mounting it, type in the console
        fsck -f /dev/sdb2

        Note that sdb is the device corresponding to the SD card if you only have one hard drive and there is nothing in the optical drives. If you are not sure (you can mess things up if you make a mistake), type:
        df -h

        There look at the device (first column) that corresponds to your SD card based on capacity. If you are not sure, mount it and run df -h again, using the mount point to locate it. REMEMBER TO UNMOUNT IT BEFORE RUNNING FSCK OR YOU WILL LOSE EVERYTHING.

        Remember to add the 2 after sdX because that indicates the partition. If you don't, it will give a superblock error.

        If you see that the number of errors is very large, run

        fsck -fy /dev/sdb2

        and everything will be automatically confirmed.

        Run it several times until there are no errors.

        Toda la actualidad en la portada de Hardlimit
        Mis cacharros

        hlbm signature

        YorusY 1 Respuesta Última respuesta Responder Citar 0
        • YorusY Desconectado
          Yorus Veteranos HL @cobito
          Última edición por

          Coincidentally it is also sdb2, but it doesn't throw errors:

          sudo fsck -f /dev/sdb2 fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) Step 1: Checking i-nodes, blocks and sizes Step 2: Checking directory structure Step 3: Checking directory connectivity Step 4: Checking reference counts Step 5: Checking group information summary /dev/sdb2: 71793/245760 files (0.2% non-contiguous), 453837/954880 blocks  

          And it continues with the same error. I don't know, I'm going to opt for a clean installation again to see if messing around with permissions and other things with Apache has messed something up. I could try to recover it from the PC, but I think it would take me less time this way and I can make sure that the Apache issue is back in place.

          Mi centro de operaciones
          Mi blog en HL

          hlbm signature

          cobitoC 1 Respuesta Última respuesta Responder Citar 0
          • cobitoC Desconectado
            cobito Administrador @Yorus
            Última edición por

            Now the same thing happens to me. The problem is that the services that depend on MySQL also cannot contact the database even though the web server is working fine. If I don't find a solution to these problems I'm going to have to look for an alternative. The services that run on the Raspi are not used for critical things, but I have to have some confidence that I will be able to resort to them when I want.

            Toda la actualidad en la portada de Hardlimit
            Mis cacharros

            hlbm signature

            YorusY 1 Respuesta Última respuesta Responder Citar 0
            • YorusY Desconectado
              Yorus Veteranos HL @cobito
              Última edición por

              Well, we're in a bit of a pickle. Let's see if I can give it another try this weekend and start investigating these glitches, firmware, etc...

              Mi centro de operaciones
              Mi blog en HL

              hlbm signature

              1 Respuesta Última respuesta Responder Citar 0
              • H Desconectado
                hjt123
                Última edición por

                ¡Esta publicación está eliminada!
                1 Respuesta Última respuesta Responder Citar 0
                • YorusY Desconectado
                  Yorus Veteranos HL @Yorus
                  Última edición por

                  I'm still struggling with the setup. I followed this guide to move almost everything to the external hard drive, as the file system has once again been messed up: http://belinuxmyfriend.blogspot.com.es/2012/11/arrancando-la-raspberry-pi-desde-un.html and it worked except for the step of making the root partition take up the whole disk, because it tries to do it on the next reboot but fails. I decided to connect the disk to the laptop again and did it with Gparted without any problems, the only thing is that it keeps trying (and failing) to resize the partition on each boot. Another problem I encountered, but before doing all this, is when doing the update of raspy-config, which causes it not to work on the next reboot. We'll see how it goes after the apt-get upgrade I'm doing now, but I'm considering going back to the old C7 for these issues and I'll keep messing around with this one more calmly, but at least have something that gives me service.

                  Mi centro de operaciones
                  Mi blog en HL

                  hlbm signature

                  cobitoC 1 Respuesta Última respuesta Responder Citar 0
                  • cobitoC Desconectado
                    cobito Administrador @Yorus
                    Última edición por

                    @Yorus:

                    I'm still struggling with the setup. I followed this guide to move almost everything to the external hard drive, since the file system has been messed up again:

                    http://belinuxmyfriend.blogspot.com.es/2012/11/arrancando-la-raspberry-pi-desde-un.html

                    and it worked for me except for the step of making the root partition take up the whole disk, because it tries to do it on the next reboot but fails. I decided to connect the disk to my laptop again and did it with Gparted without any problems, the only thing is that it keeps trying (and failing) to resize the partition every time it boots.

                    Another problem I encountered, but before doing all this, is when doing the update of raspy-config, which makes it not work on the next reboot.

                    We'll see how it goes after the apt-get upgrade I'm doing now, but I'm considering going back to the old C7 for these issues and I'll keep messing around with this one more calmly, but at least have something that works.

                    That same guide is the one I planned to follow when I tried, but instead of expanding the partition to the whole hard drive, I plan to use some partition manager to manually expand it to 20 or 30 gb and create another partition for data.

                    If this keeps causing problems, I'll take the Raspi out of service until further notice. I already have an Atom N270 ready to replace it if needed.

                    Toda la actualidad en la portada de Hardlimit
                    Mis cacharros

                    hlbm signature

                    victorpexacosV 1 Respuesta Última respuesta Responder Citar 0
                    • L Desconectado
                      lanweidana @cobito
                      Última edición por

                      ¡Esta publicación está eliminada!
                      1 Respuesta Última respuesta Responder Citar 0
                      • victorpexacosV Desconectado
                        victorpexacos @cobito
                        Última edición por

                        The truths that the SDs give quite a few problems.

                        I now have raspbian + xbmc + retroArch and sometimes when loading retroArch it gives me an error and I think I will have to leave only the boot system on the SD and the rest on a hard drive

                        But for now happy, it offers quite a lot as a multimedia center and classic games.

                        Greetings!!

                        YorusY 1 Respuesta Última respuesta Responder Citar 0
                        • YorusY Desconectado
                          Yorus Veteranos HL @victorpexacos
                          Última edición por

                          @victorpexacos:

                          The truths that the SDs give quite a few problems.

                          I now have raspbian + xbmc + retroArch and sometimes when loading retroArch it gives me an error and I think I will have to leave only the boot system on the SD and the rest on a hard drive

                          But for now I am happy, it offers quite a lot as a multimedia center and classic games.

                          Greetings!!

                          What classic games have you installed?, emulators perhaps? It's more curiosity than anything else, because if I did it I would do it on another PC.

                          Mi centro de operaciones
                          Mi blog en HL

                          hlbm signature

                          cobitoC 1 Respuesta Última respuesta Responder Citar 0
                          • cobitoC Desconectado
                            cobito Administrador @Yorus
                            Última edición por

                            Mother of beautiful love. I just checked the SD card and it is so messed up that it is impossible to do anything with it with any partitioning utility for Windows or Linux or any of the most famous (for effective) utilities to restore SD cards.

                            Pfff, what a frustrating and disappointing debut the Raspi is having as a server for me.

                            Let me see if I investigate a bit how to solve this because if not...

                            For now I am already setting up the Atom to take over its function until I find a definitive solution.

                            Toda la actualidad en la portada de Hardlimit
                            Mis cacharros

                            hlbm signature

                            YorusY 1 Respuesta Última respuesta Responder Citar 0
                            • YorusY Desconectado
                              Yorus Veteranos HL @cobito
                              Última edición por

                              Yes, things are messed up, just by looking at it the SD card goes to hell. I've done several tests and if you have to turn it off by force... forget about not having errors.

                              For now I give up using it for torrents, after all, to have it on for 24 hours every two weeks I can afford to leave the desktop on. I have reinstalled the web server (lighttpd instead of Apache) and let's see if I don't mess with the permissions and I can leave at least one blog online.

                              The truth is that I am surprised by so many problems, because I have read in many other forums and it is not something generalized although it does happen to quite a few people.

                              Mi centro de operaciones
                              Mi blog en HL

                              hlbm signature

                              deeiividD 1 Respuesta Última respuesta Responder Citar 0
                              • deeiividD Desconectado
                                deeiivid Veteranos HL @Yorus
                                Última edición por

                                Have you tried installing a different distro?
                                Is it possible to install everything from the system on an hdd via usb and only leave the boot files on the SD?

                                YorusY 1 Respuesta Última respuesta Responder Citar 0
                                • YorusY Desconectado
                                  Yorus Veteranos HL @deeiivid
                                  Última edición por

                                  No, I have not tested it with another system, because it is supposed to be the best for general purposes (not multimedia).

                                  Installing everything on the external drive except the boot is easy with this guide:

                                  http://belinuxmyfriend.blogspot.com.es/2012/11/arrancando-la-raspberry-pi-desde-un.html

                                  although personally I had a problem with the part of using expand_rootfs and I had to do it on another computer with Gparted.

                                  For now, as I said, I give up on the torrent issue on the raspberry but I will install the web server and ownCloud, but instead of on an external drive on a pendrive, which seems to be more reliable than the SD card.

                                  Mi centro de operaciones
                                  Mi blog en HL

                                  hlbm signature

                                  cobitoC 1 Respuesta Última respuesta Responder Citar 0
                                  • cobitoC Desconectado
                                    cobito Administrador @Yorus
                                    Última edición por

                                    I have a theory that all this trouble has its root in failures with the RAM. The corruption of data on the SD card is due to the corruption in the information contained in the RAM, so it is quite likely that these problems will end up being transferred to external devices. I have to do some tests about this, but until I can fix the SD card, I won't be able to.

                                    Toda la actualidad en la portada de Hardlimit
                                    Mis cacharros

                                    hlbm signature

                                    YorusY 1 Respuesta Última respuesta Responder Citar 0
                                    • YorusY Desconectado
                                      Yorus Veteranos HL @cobito
                                      Última edición por

                                      It wouldn't surprise me at all. Today I tried to put the system on a pendrive and when I connected the pendrive, without the changes yet, it wouldn't boot and from there it ended again :mad:.

                                      I think next week I will start the C7 again and leave the Raspberry tests for moments of boredom or holidays.

                                      Mi centro de operaciones
                                      Mi blog en HL

                                      hlbm signature

                                      1 Respuesta Última respuesta Responder Citar 0
                                      • H Desconectado
                                        houci
                                        Última edición por

                                        ¡Esta publicación está eliminada!
                                        1 Respuesta Última respuesta Responder Citar 0
                                        • ElfoE Desconectado
                                          Elfo
                                          Última edición por

                                          @cobito:

                                          I had been working on the guide for over a week and finally uploaded the videos yesterday.

                                          This time I published it on an external website: Raspberry Pi Guide

                                          Incidentally, the server is running on a Raspi.

                                          I would have liked to cover many more topics, but it was becoming endless and with the time I had, it's all I could cover.

                                          I hope you find it interesting.

                                          PD: I will improve the presentation over time. I'm sorry it was published in those ways.

                                          What a nice present to return to the forum, thanks for the effort. I'm already eager to dive into one of these! And in the future "marry" it with an Arduino board and build a homemade flux capacitor ?

                                          BTW, the guide link is offline now. Maintenance on the raspServer? ;D

                                          Best regards!

                                          YorusY 1 Respuesta Última respuesta Responder Citar 0
                                          • YorusY Desconectado
                                            Yorus Veteranos HL @Elfo
                                            Última edición por

                                            It's back online, but both Cobito and I are victims of the "SD card-eating Raspberrys".

                                            Mi centro de operaciones
                                            Mi blog en HL

                                            hlbm signature

                                            ElfoE 1 Respuesta Última respuesta Responder Citar 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post

                                            Foreros conectados [Conectados hoy]

                                            0 usuarios activos (0 miembros y 0 invitados).
                                            febesin, pAtO,

                                            Estadísticas de Hardlimit

                                            Los hardlimitianos han creado un total de 543.5k posts en 62.9k hilos.
                                            Somos un total de 34.9k miembros registrados.
                                            roymendez ha sido nuestro último fichaje.
                                            El récord de usuarios en linea fue de 123 y se produjo el Thu Jan 15 2026.