recovery images flashed with `cros flash` don't work on the Chromebook |
||
Issue descriptionI've probably filed this before, but this is becoming a hindrance to work in many cases (despite the dd alternative, having a single cros flash command do the job is much nicer). Flashed eve latest-beta recovery image from the dev-server, on the Eve it says "the device you have inserted does not contain Chrome OS." If the same exact image is flashed onto the usb using dd, I can boot on eve fine. (cr) (master release-R61-9765.B/refs/heads/master) kirtika@kirtika2 ~/trunk/src/scripts $ cros flash usb:// xbuddy://remote/eve/latest-stable/recovery Removable device(s) found. Please select/confirm to continue: [0]: Patriot Memory 7.4G (/dev/sdc) Please choose an option [0-0]: 0 [################################################################################################################################################################################################################################################################################] 100% 15:44:57: NOTICE: cros flash completed successfully.
,
Nov 29 2017
How do I know which image cros flash used? --> I was monitoring the files under `ls /mnt/host/source/devserver/static/eve-release/` in the chroot since I know from past bugs that that is where the image is dumped. Full output of running with --debug: kirtika@kirtika2 ~/trunk/src/scripts $ cros flash --debug usb:// xbuddy://remote/eve/latest-beta/recovery 16:50:33: DEBUG: Cache dir lookup. 16:50:33: DEBUG: Configured cache_dir to '/mnt/host/source/.cache' 16:50:33: INFO: Preparing to image the removable device 16:50:33: DEBUG: RunCommand: lsblk --pairs --output NAME,RM,TYPE,SIZE 16:50:33: DEBUG: RunCommand: lsblk --pairs /dev/sdc --output NAME,RM,TYPE,SIZE Removable device(s) found. Please select/confirm to continue: [0]: Patriot Memory 7.4G (/dev/sdc) Please choose an option [0-0]: 0 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Using shadow config file stored at /mnt/host/source/src/platform/dev/shadow_xbuddy_config.ini 16:50:36: INFO: [28/Nov/2017:16:50:36] UTIL Error happened while reading lsb-release file: cat: /etc/lsb-release: No such file or directory 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/reef/R58-9332.0.2017_03_03_1517-a1 from /mnt/host/source/src/build/images/reef/R58-9332.0.2017_03_03_1517-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/reef/R58-9332.0.2017_03_03_1422-a1 from /mnt/host/source/src/build/images/reef/R58-9332.0.2017_03_03_1422-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/reef/R58-9332.0.2017_03_03_1439-a1 from /mnt/host/source/src/build/images/reef/R58-9332.0.2017_03_03_1439-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/reef/R62-9835.0.2017_08_12_1609-a1 from /mnt/host/source/src/build/images/reef/R62-9835.0.2017_08_12_1609-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/reef/R58-9332.0.2017_03_03_1608-a1 from /mnt/host/source/src/build/images/reef/R58-9332.0.2017_03_03_1608-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/whirlwind/R58-9231.0.2017_02_06_2231-a1 from /mnt/host/source/src/build/images/whirlwind/R58-9231.0.2017_02_06_2231-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/whirlwind/R58-9231.0.2017_01_30_1917-a1 from /mnt/host/source/src/build/images/whirlwind/R58-9231.0.2017_01_30_1917-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/whirlwind/R58-9231.0.2017_01_31_1339-a1 from /mnt/host/source/src/build/images/whirlwind/R58-9231.0.2017_01_31_1339-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/whirlwind/R58-9231.0.2017_02_06_2210-a1 from /mnt/host/source/src/build/images/whirlwind/R58-9231.0.2017_02_06_2210-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R60-9533.0.2017_05_10_1131-a1 from /mnt/host/source/src/build/images/caroline/R60-9533.0.2017_05_10_1131-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R60-9525.0.2017_05_05_1404-a1 from /mnt/host/source/src/build/images/caroline/R60-9525.0.2017_05_05_1404-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R60-9525.0.2017_05_07_1410-a1 from /mnt/host/source/src/build/images/caroline/R60-9525.0.2017_05_07_1410-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R59-9406.0.2017_03_27_1349-a1 from /mnt/host/source/src/build/images/caroline/R59-9406.0.2017_03_27_1349-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R61-9719.0.2017_07_06_1711-a1 from /mnt/host/source/src/build/images/caroline/R61-9719.0.2017_07_06_1711-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R57-9016.0.2016_11_24_1939-a1 from /mnt/host/source/src/build/images/caroline/R57-9016.0.2016_11_24_1939-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R60-9556.0.2017_05_16_1309-a1 from /mnt/host/source/src/build/images/caroline/R60-9556.0.2017_05_16_1309-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R61-9720.0.2017_07_06_2033-a1 from /mnt/host/source/src/build/images/caroline/R61-9720.0.2017_07_06_2033-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R59-9391.0.2017_03_22_1903-a1 from /mnt/host/source/src/build/images/caroline/R59-9391.0.2017_03_22_1903-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R61-9679.0.2017_07_06_1442-a1 from /mnt/host/source/src/build/images/caroline/R61-9679.0.2017_07_06_1442-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R60-9555.0.2017_05_15_1751-a1 from /mnt/host/source/src/build/images/caroline/R60-9555.0.2017_05_15_1751-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R57-9016.0.2016_11_24_1938-a1 from /mnt/host/source/src/build/images/caroline/R57-9016.0.2016_11_24_1938-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/caroline/R61-9720.0.2017_07_07_1513-a1 from /mnt/host/source/src/build/images/caroline/R61-9720.0.2017_07_07_1513-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/samus/R64-10059.0.2017_10_23_1326-a1 from /mnt/host/source/src/build/images/samus/R64-10059.0.2017_10_23_1326-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/samus/R59-9370.0.2017_03_20_1108-a1 from /mnt/host/source/src/build/images/samus/R59-9370.0.2017_03_20_1108-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/samus/R64-10059.0.2017_10_23_1333-a1 from /mnt/host/source/src/build/images/samus/R64-10059.0.2017_10_23_1333-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/peach_pit/R64-10065.0.2017_10_25_0903-a1 from /mnt/host/source/src/build/images/peach_pit/R64-10065.0.2017_10_25_0903-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/peach_pit/R64-10065.0.2017_10_25_1051-a1 from /mnt/host/source/src/build/images/peach_pit/R64-10065.0.2017_10_25_1051-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/peach_pit/R64-10066.0.2017_10_25_1209-a1 from /mnt/host/source/src/build/images/peach_pit/R64-10066.0.2017_10_25_1209-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R62-9781.0.2017_07_26_1714-a1 from /mnt/host/source/src/build/images/eve/R62-9781.0.2017_07_26_1714-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R61-9720.0.2017_07_20_1328-a1 from /mnt/host/source/src/build/images/eve/R61-9720.0.2017_07_20_1328-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R61-9654.0.2017_06_16_1445-a1 from /mnt/host/source/src/build/images/eve/R61-9654.0.2017_06_16_1445-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R64-10053.0.2017_10_20_1746-a1 from /mnt/host/source/src/build/images/eve/R64-10053.0.2017_10_20_1746-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R64-10126.0.2017_11_15_0106-a1 from /mnt/host/source/src/build/images/eve/R64-10126.0.2017_11_15_0106-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R61-9720.0.2017_07_13_1403-a1 from /mnt/host/source/src/build/images/eve/R61-9720.0.2017_07_13_1403-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R64-10149.0.2017_11_21_0210-a1 from /mnt/host/source/src/build/images/eve/R64-10149.0.2017_11_21_0210-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R63-9974.0.2017_10_04_1741-a1 from /mnt/host/source/src/build/images/eve/R63-9974.0.2017_10_04_1741-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R62-9781.0.2017_07_26_1205-a1 from /mnt/host/source/src/build/images/eve/R62-9781.0.2017_07_26_1205-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R64-10059.0.2017_10_23_0721-a1 from /mnt/host/source/src/build/images/eve/R64-10059.0.2017_10_23_0721-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R63-9932.0.2017_09_12_1418-a1 from /mnt/host/source/src/build/images/eve/R63-9932.0.2017_09_12_1418-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R59-9428.0.2017_04_03_1352-a1 from /mnt/host/source/src/build/images/eve/R59-9428.0.2017_04_03_1352-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/eve/R61-9720.0.2017_07_18_1713-a1 from /mnt/host/source/src/build/images/eve/R61-9720.0.2017_07_18_1713-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/fizz/R64-10126.0.2017_11_13_2357-a1 from /mnt/host/source/src/build/images/fizz/R64-10126.0.2017_11_13_2357-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/fizz/R64-10126.0.2017_11_13_2138-a1 from /mnt/host/source/src/build/images/fizz/R64-10126.0.2017_11_13_2138-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Linking to /mnt/host/source/devserver/static/fizz/R64-10124.0.2017_11_13_0650-a1 from /mnt/host/source/src/build/images/fizz/R64-10124.0.2017_11_13_0650-a1 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Path is remote/eve/latest-beta/recovery, location suffix is -release 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Get artifact 'recovery' with board eve and version latest-beta'. Locally? False 16:50:36: INFO: [28/Nov/2017:16:50:36] XBUDDY Checking channel 'beta' for latest 'eve' image 16:50:36: INFO: RunCommand: /mnt/host/source/.cache/common/gsutil_4.27.tar.gz/gsutil/gsutil -o 'Boto:num_retries=10' ls -- gs://chromeos-releases/beta-channel/eve/ 16:50:37: INFO: RunCommand: /mnt/host/source/.cache/common/gsutil_4.27.tar.gz/gsutil/gsutil -o 'Boto:num_retries=10' ls -d -- 'gs://chromeos-image-archive/eve-release/R*10032.58.0' 16:50:39: INFO: [28/Nov/2017:16:50:39] XBUDDY Resolved version latest-beta to eve-release/R63-10032.58.0. 16:50:39: INFO: [28/Nov/2017:16:50:39] XBUDDY Image already cached. 16:50:39: INFO: [28/Nov/2017:16:50:39] XBUDDY Updating timestamp for eve-release/R63-10032.58.0 16:50:39: INFO: [28/Nov/2017:16:50:39] XBUDDY Returning path to payload: eve-release/R63-10032.58.0/recovery_image.bin 16:50:39: INFO: [28/Nov/2017:16:50:39] XBUDDY Path is remote/eve/latest-beta/recovery, location suffix is -release 16:50:39: INFO: Using image eve-release/R63-10032.58.0/recovery_image.bin [################################################################################################################################################################################################################################################################################] 100% 16:53:09: DEBUG: RunCommand: sudo 'CROS_CACHEDIR=/mnt/host/source/.cache' -- sync 16:53:09: NOTICE: cros flash completed successfully.
,
Nov 29 2017
and your device is in dev mode right ? the images being fetched here are dev key signed only. i'd point out that the command you listed in comment #0 isn't the same as you listed in comment #2. in #0, you used "stable" (which currently resolves to R62-9901.79.0), but in #2 you used "beta" which resolved to R63-10032.58.0.
,
May 31 2018
Hi, this bug has not been updated recently and remains untriaged. Please acknowledge the bug and provide status within two weeks (6/8/2018), or the bug will be closed. Thank you.
,
May 31 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by vapier@chromium.org
, Nov 29 2017