New issue
Advanced search Search tips

Issue 826514 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Chrome OS: Booting from USB launches system repair.

Project Member Reported by msw@chromium.org, Mar 27 2018

Issue description

Chrome OS: Booting from USB launches system repair.

I do Chrome on Chrome OS development via simple-chrome:
https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md

Lately, every time I boot USB to load a new test image on my eve device, it goes through system repair.
Apparently, this replaces the stateful partition with one that does not have tools I need (rsync, etc.)
So, the next time I try to run deploy_chrome, I need to do dev_install (on a coworker's network jack...)

Here are my latest steps in more detail:
01) Run "git pull" and "gclient sync" to get ToT @ #546195
02) Run "cros chrome-sdk --board=$BOARD --log-level=info --version=10519.0.0" ($BOARD == eve), (see  Issue 826463  for old CHROMEOS_LKGM) this loaded 10517.0.0.
03) Download https://storage.cloud.google.com/chromeos-image-archive/eve-release/R67-10517.0.0/chromiumos_test_image.tar.xz
04) "tar xf <file>" and "cros flash usb:// <extracted file>" to a thumb drive
05) Boot my eve device with the thumb drive plugged in
06) Press Ctrl+U at the boot screen
07) Recovery screen shows up... wait 5 minutes... system reboots... <<< BUMMER!!!
08) Press Ctrl+U at the boot screen again
09) Press Ctrl+Alt+F2 to get into the console, login as root/test0000
10) Run /usr/sbin/chromeos-install
11) Reboot and remove USB drive
12) Press Ctrl+D at the boot screen
13) Sign in and use chrome os at R67-10517.0.0 (I can boot from the same USB thumb drive with the same test image again with no issue...)
14) Build "autoninja -C out_eve/Release chrome chrome_sandbox nacl_helper" in my chrome-sdk
15) Run "deploy_chrome --build-dir=out_eve/Release --to=XXX.XX.XXX.XX" (IP redacted)
16) It offers to remove roots verification, I say "yes", machine reboots
17) It says "rsync is not found on the device." ... "Run dev_install on the device to get rsync installed" <<< BUMMER!!!
18) I try to run dev_install, but it gives an error... (Issue 701955), so use a coworker's network jack... <<< BUMMER!!!
19) Now that rsync is installed, I can deploy chrome.
20) Next, I re-ran through the same steps (2)-(19) using --version=10520.0.0, and hit the same issues...

I would really appreciate any help fixing my device to avoid these extra steps that impede my work.
 

Comment 1 by msw@chromium.org, Mar 27 2018

Reducing the repro steps, I don't even have to deploy_chrome, or run dev_install.
Installing one test image, and then USB booting *another* test image is enough to trigger the system repair for me:

01) Download https://storage.cloud.google.com/chromeos-image-archive/eve-release/R67-10520.0.0/chromiumos_test_image.tar.xz
02) "tar xf <file>" and "cros flash usb:// <extracted file>" to a thumb drive
03) Boot my eve device with the thumb drive plugged in
04) Press Ctrl+U at the boot screen
05) Recovery screen shows up... wait 5 minutes... system reboots... <<< BUMMER!!!
06) Press Ctrl+U at the boot screen again
07) Press Ctrl+Alt+F2 to get into the console, login as root/test0000
08) Run /usr/sbin/chromeos-install
09) Reboot and remove USB drive
10) Press Ctrl+D at the boot screen
11) Sign in and use chrome os at R67-10517.0.0 (I can boot from the same USB thumb drive with the same test image again with no issue...)
12) Download https://storage.cloud.google.com/chromeos-image-archive/eve-release/R67-10521.0.0/chromiumos_test_image.tar.xz
13) "tar xf <file>" and "cros flash usb:// <extracted file>" to a thumb drive
14) Boot my eve device with the thumb drive plugged in
15) Press Ctrl+U at the boot screen
Expected: Boots from USB with no problems
Actual: Runs system recovery to wipe the stateful partition... <<< BUMMER!!!

Still, help with this issue would be greatly appreciated.

Comment 2 by xiy...@chromium.org, Mar 28 2018

Cc: vapier@chromium.org reinauer@chromium.org
+vapier, reinauer to help to triage.

So far we only saw this on one particular eve device. It is annoying and makes it painful to work with the device.

Sign in to add a comment