• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

resize / expand / 2GB root

Scheduled Pinned Locked Moved Samsung S3 Neo+
4 Posts 2 Posters 558 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      test_root
      last edited by 7 Aug 2023, 18:21

      Hey, Im testing on old device, indeed
      maybe there is a way to expand 2 GB root image or to copy /usr and make it boot from mounted SD card?

      Followed lots of stackexchange talks but no sucsess same error. Eample:
      resize2fs 1.42.13 (17-May-2015)
      resize2fs: Invalid argument while trying to open /dev/loop2
      couldn't find valid filesystem superblock.
      or invalid argument
      Or Bad magic number in super-block while trying to open /userdata/ubuntu.img
      Couldn't find valid filesystem superblock.

      Main thing I managed to ssh in to this phone, makes more sence for a second day of my new hoby 🙂 but I need more space to install packages and etc. More than 2GB, there are free 7GB and mounted SD card with 30GB

      Any help?

      A 1 Reply Last reply 9 Aug 2023, 08:37 Reply Quote 0
      • A Offline
        AppLee @test_root
        last edited by AppLee 8 Sept 2023, 08:48 9 Aug 2023, 08:37

        Hi @test_root

        My advice: Do not mess with partition size.
        Theoretically you can mount the SD card and boot from there. But you have to modify the bootloader in order to do so.
        I don't think it is doable or worth it.

        You tackle this like a phone a standard computer, which it is not.
        If I would have to guess I'd say you want do "apt install" large software like LibreOffice which is deprecated. Using apt will mess with the OS and create more problems than it can solve.

        Edit: I'll throw this thread in for more information: https://forums.ubports.com/topic/9231/terminal-error

        T 1 Reply Last reply 9 Aug 2023, 15:22 Reply Quote 0
        • T Offline
          test_root @AppLee
          last edited by 9 Aug 2023, 15:22

          @AppLee LibreOffice is not needed but some packages in terminal, indeed.
          Technically I was using any devices as a computer if it had terminal even without root.
          Found this old S3 Neo in a storage I left long ago, technically more can be done via Termux or any simulated VM on Android because free space in root is not 2GB with free 76 MB.

          From this point lots of unanswered questions my Android phone (not this one) is more usable for daily usage or a game play like with this device just because interface is more better for eyes because of daily Ubuntu usage on computers.

          Still thank you, for your answer.

          A 1 Reply Last reply 10 Aug 2023, 08:40 Reply Quote 0
          • A Offline
            AppLee @test_root
            last edited by 10 Aug 2023, 08:40

            @test_root
            Depending on your use case you can remount the root partition in RW and then mount the SD card.
            But you need to understand what you are doing and playing with links in order to get something to work.

            Of course prior to that the SD card should be formatted properly.

            But as I mentioned, booting directly from the SD might be too difficult.

            1 Reply Last reply Reply Quote 0
            • K Keneda referenced this topic on 10 Aug 2023, 12:58
            2 out of 4
            • First post
              2/4
              Last post