Manual Installation Via the Cmd Line

Follow

Comments

123 comments

  • Joe Uhl

    I have a new laptop and sadly must leave Windowz as the OS on its SSD.

    Since neverware (understandably) no longer supports dual boot due to M$ updates breaking things, I want/need to install CR from a 16GB CR Install USB drive which shows as sda to a 16GB nano USB which shows as sdb.  I am wanting that nano USB to be live and (if possible) persistent. 

    I found a different thread where @Forrest Smith referenced this thread as how to accomplish this.

    Just as with @Andrea Baiardi, I am getting the same results. 

    Can anyone please confirm if my only option is to use the usb installer program to create CR on the nano USB & just expand it to use the full 16GB with parted as suggested by @Phil Reilly (which will sadly not auto update) ...or... if there is some other (any other) method which will allow for persistence & possibly even allow for auto updates?

     

    Thanks in in advance for any and all help.   

     

    Not to be repetitive, but the results I get are identical to Andrea’s which were just as listed below. 

     

    This will install from '/dev/sda' to '/dev/sdb'.

    This will erase all data at this destination: /dev/sdb 

    Are you sure (y/N)? y

    32+0 records in

    32+0 records out

    16384 bytes (16 kB, 16 KiB) copied, 0.0144183 s, 1.1 MB/s

    33+0 records in

    33+0 records out

    16896 bytes (17 kB, 16 KiB) copied, 0.0162272 s, 1.0 MB/s

    WARNING:root:duplicate device kname: /dev/dm-1

    WARNING: Primary GPT header is invalid

    WARNING: Secondary GPT header is invalid

    ERROR: GptSanityCheck() returned 2: GPT_ERROR_INVALID_HEADERS

    Traceback (most recent call last):

      File "/opt/neverware/cgpt_reader_guy.py", line 235, in <module>

        main()

      File "/opt/neverware/cgpt_reader_guy.py", line 227, in main

        lines = get_cgpt_lines(target_drive)

      File "/opt/neverware/cgpt_reader_guy.py", line 33, in get_cgpt_lines

        out = subprocess.check_output(['/usr/bin/cgpt', 'show', target_drive])

      File "/usr/lib64/python2.7/subprocess.py", line 573, in check_output

        raise CalledProcessError(retcode, cmd, output=output)

    subprocess.CalledProcessError: Command '['/usr/bin/cgpt', 'show', '/dev/sdb']' returned non-zero exit status 1"

  • Phil Reilly

    Still the same:

    Installing to a USB although possible is a waste of time since OTA updating of the OS is not supported in cloudready/chromiumOS. If you want to run from a USB run from the install USB after expanding the last partition(16) to fill the unused portion of the disk. Search this site for the procedure you would want to use(I use gparted on Linux) for this operation.

  • Phil Reilly

    Note: The newest software has sanity check built in so before expanding any partitions or otherwise tinkering you must on first boot run:

    sudo disable_verity

    in a shell then you can shutdown & expand partition 16 to consume as much of the USB you would want.

Please sign in to leave a comment.