• 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 @deeiivid
      Última edición por

      What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved in the user's home instead of in /var/www, but with all the messing around I've done I've preferred to uninstall Apache and when I restart to make sure it doesn't accept SSH connections although it does ask for the password. As a curiosity, it does allow me to connect to the Transmission web interface.

      Well, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine correctly :mad:

      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:

        What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved on the user's home instead of in /var/www, but with all the messing around I've done I've preferred to uninstall Apache and when I restarted to make sure it turns out that it doesn't accept SSH connections although it does ask for the password. As a curiosity it does allow me to connect to the Transmission web interface.

        So, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine correctly :mad:

        I feel identified. In my case the journey is 150 km. The curious thing is that sometimes it fixes itself. I think all this is related to the issue of SD card data corruption.

        In a couple of weeks I'll start investigating how to install Raspbian on the external hard drive to have the least possible access to the SD card.

        PD: Yorus, I edited your post without wanting to. I clicked edit instead of quote and I started writing as happily as if it were a new post :facepalm:. I left it exactly as it was.

        Toda la actualidad en la portada de Hardlimit
        Mis cacharros

        hlbm signature

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

          @Yorus:

          What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved on the user's home instead of in /var/www, but with all the messing around I've done I preferred to uninstall Apache and when I restarted to make sure it turns out that it doesn't accept SSH connections although it does ask for the password. As a curiosity, it does allow me to connect to the Transmission web interface.

          So, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine properly :mad:

          I didn't think twice and told him to turn it off instead of restarting :ugly: :ugly:

          @cobito:

          I feel identified. In my case the journey is 150 km. The curious thing is that sometimes it fixes itself. I think all this is related to the issue of SD card data corruption.

          In a couple of weeks I'll start investigating how to install Raspbian on the external hard drive to have the least possible access to the SD card.

          PD: Yorus, I edited your post without meaning to. I clicked edit instead of quote and started writing as happily as if it were a new post :facepalm:. I left it exactly as it was.

          Exactly like me, 150 km. But well I waited for it to be my turn to go... because if not...

          I'm surprised by the amount of problems you're having with the SD issue... how is it possible so much data corruption? maybe it's a Raspbian thing?

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

            I still have to confirm that it's a matter of the SD card again, but given what I've seen, there are many possibilities. We'll see when I look at it on Wednesday.

            The thing about turning off instead of restarting sounds familiar to me, but my case was a bit different, since I had two terminals open, the one on the raspberry via SSH and the one on the local computer, and believing I was with the raspberry I did a'sudo reboot' of the PC with a lot of things open :ugly:. It didn't ask for a password because I was tinkering around and let's say that the permissions hadn't expired yet.

            Mi centro de operaciones
            Mi blog en HL

            hlbm signature

            YorusY 1 Respuesta Última respuesta Responder Citar 0
            • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post

                                            Foreros conectados [Conectados hoy]

                                            1 usuarios activos (1 miembros y 0 invitados).
                                            febesin, pAtO, HIAL-9000

                                            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.