Giter Site home page Giter Site logo

Comments (16)

fydeos-alpha avatar fydeos-alpha commented on May 13, 2024 10
  • First, bring up a shell prompt (ctrl + alt + F2 for tty shell; or ctrl + alt + t for crosh shell then enter shell for bash), login with chronos / test0000

  • Execute the lsblk command and verify your stateful partition label name, it's likely to be mmcblk0p1. Make sure it's listed in the output.

  • Execute the expansion script:

    sudo /usr/sbin/expand-partition.sh --dst /dev/mmcblk0p1
    

    Once the script finish running without error, your stateful partition should be expanded to occupy the rest of your SD card free space.

from chromium_os-raspberry_pi.

vedranius avatar vedranius commented on May 13, 2024 2
  • First, bring up a shell prompt (ctrl + alt + F2 for tty shell; or ctrl + alt + t for crosh shell then enter shell for bash), login with chronos / test0000

  • Execute the lsblk command and verify your stateful partition label name, it's likely to be mmcblk0p1. Make sure it's listed in the output.

  • Execute the expansion script:

    sudo /usr/sbin/expand-partition.sh --dst /dev/mmcblk0p1
    

    Once the script finish running without error, your stateful partition should be expanded to occupy the rest of your SD card free space.

Thanks! This worked great! :)

from chromium_os-raspberry_pi.

yunshansimon avatar yunshansimon commented on May 13, 2024 1

expand.sh.txt

1.save the script to expand.sh
2.change mod chmod 755 expand.sh
3.run as root sudo expand.sh /dev/sda or /dev/mmcblk0
4.restart os.

from chromium_os-raspberry_pi.

yunshansimon avatar yunshansimon commented on May 13, 2024 1

The execute permission of ~/Downloads is forbiden. You need copy it to /usr/local/bin or /usr/local/sbin.

from chromium_os-raspberry_pi.

yunshansimon avatar yunshansimon commented on May 13, 2024 1

Try the latest release

from chromium_os-raspberry_pi.

nmcain avatar nmcain commented on May 13, 2024

Wow! Thank you! We should pu this in the readme

from chromium_os-raspberry_pi.

yunshansimon avatar yunshansimon commented on May 13, 2024

It doesn't belong vanilla Chromium OS. It is from FydeOS.
Close the tag if it works, please.

from chromium_os-raspberry_pi.

nmcain avatar nmcain commented on May 13, 2024

when I run the script, it shows this.
chronos@(none) ~/Downloads $ chmod 755 expand.sh chronos@(none) ~/Downloads $ sudo expand.sh /dev/sda sudo: expand.sh: command not found chronos@(none) ~/Downloads $ ls expand.sh IMG_20181229_175907.jpg chronos@(none) ~/Downloads $ expand.sh /dev/sda bash: expand.sh: command not found chronos@(none) ~/Downloads $ ./expand.sh /dev/sda bash: ./expand.sh: Permission denied chronos@(none) ~/Downloads $ sudo ./expand.sh /dev/sda sudo: unable to execute ./expand.sh: Permission denied chronos@(none) ~/Downloads $ chmod +x expand.sh chronos@(none) ~/Downloads $ sudo expand.sh /dev/sda sudo: expand.sh: command not found chronos@(none) ~/Downloads $ ./expand.sh bash: ./expand.sh: Permission denied chronos@(none) ~/Downloads $ sudo ./expand.sh sudo: unable to execute ./expand.sh: Permission denied chronos@(none) ~/Downloads $

from chromium_os-raspberry_pi.

nmcain avatar nmcain commented on May 13, 2024

`(none) /usr/local # sudo ./expand.sh /dev/sda
ERROR: Can't open /dev/sda: No such file or directory
ERROR: Can't open /dev/sda: No such file or directory
ERROR: Can't open /dev/sda: No such file or directory
ERROR: Can't open /dev/sda: No such file or directory
partx: stat of /dev/sda failed: No such file or directory
resize2fs 1.44.1 (24-Mar-2018)
open: No such file or directory while opening /dev/sda1
(none) /usr/local # sudo ./expand.sh /dev/mmcblk0
ERROR: Entry outside of valid region
ERROR: -i 1 -s 59306940
resize2fs 1.44.1 (24-Mar-2018)
The filesystem is already 524288 (4k) blocks long. Nothing to do!

(none) /usr/local # `

from chromium_os-raspberry_pi.

jslby avatar jslby commented on May 13, 2024

@yunshansimon
can you help me pls.

sudo ./expand.sh /dev/mmcblk0
ERROR: Entry outside of valid region
ERROR: -i 1 -s 60245948
resize2fs 1.44.5 (15-Dec-2018)
Filesystem at /dev/mmcblk0p1 is mounted on /media/STATE; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/mmcblk0p1 is now 524301 (4k) blocks long.

you solved not work for me

from chromium_os-raspberry_pi.

blairbo avatar blairbo commented on May 13, 2024

This worked perfectly for me.

from chromium_os-raspberry_pi.

MuTong233 avatar MuTong233 commented on May 13, 2024

Try the latest build and login as a normal Google account.It should be expanded automatically.

from chromium_os-raspberry_pi.

PrinceAlvar avatar PrinceAlvar commented on May 13, 2024

hello im new to Chrome OS and i currently have this problem, how do i get to the Chrome OS terminal and what command do i enter into it so that it reads the full 64gb SD card i have?

from chromium_os-raspberry_pi.

liberodark avatar liberodark commented on May 13, 2024

please add this script into the images would be better.
in /usr/bin/ or run that in auto?

from chromium_os-raspberry_pi.

PrinceAlvar avatar PrinceAlvar commented on May 13, 2024

please add this script into the images would be better.
in /usr/bin/ or run that in auto?

can you please walk me through on how to do this over call or discord?
#6199409474
Disc #0804 Prince_Alvar

from chromium_os-raspberry_pi.

yetipi3 avatar yetipi3 commented on May 13, 2024

#80 i dont understand (im new to this)

from chromium_os-raspberry_pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.