On Dec 19, 2012, at 5:24 PM, Marshall <
asl...@gmail.com> wrote:
> Hello. Hopefully I'm posting this in the right forum. If not, please point me the right way.
>
> I was wondering if there was a way to change OS files (specifically /sbin/session_manager_setup.sh) on the running image in developer mode, and to re-sign the OS image, so that it boots in non-developer mode again?
>
No. The verified boot feature means that the system is specifically
designed to test whether the OS that's booting is an image that was
built and delivered by Google. If you change an OS file like this,
the image is no longer what Google built, and can no longer boot
in verified mode.
> I used make_dev_ssd.sh to mount the partition in read-write mode, which allowed me to change the file. Then, after switching back to non-developer mode, the OS image isn't bootable any more. It fails verification on startup and tells me that I need to reinstall ChromeOS.
>
> Is the only solution to build my own version of ChromeOS? Or is there a simpler way?
>
Editing the file as you did it is probably the easiest way to change
it. You can build and install your own copy of Chromium OS, but
you'd still have to boot in developer mode, not verified mode.
If your objective is to have an image with your change, but with
root file system verification turned back on (that is, undo some of
the effects of 'make_dev_ssh.sh'), then you'll have to build your
own Chromium OS image, and boot it in developer mode.
If you want to go back to a stock Chrome OS with verified boot
enabled, you'll need to reinstall. The instructions for that are
here:
http://www.google.com/chromeos/recovery
> Any help would be appreciated!
>
> Thanks, Marshall
>
> --
> Chromium OS discuss mailing list:
chromium-...@chromium.org
> View archives, change email options, or unsubscribe:
>
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
-- jrb