Thanks for the steps, I will give a try in my free time..
-----Original Message-----
From: VanCutsem, Geoffroy [mailto:geoffroy.vancutsem@intel.com]
Sent: Tuesday, October 30, 2018 6:19 AM
To: Mohammad, Jamal M <MohammadJamal.Mohiuddin(a)ncr.com>; Miguel Bernal Marin
<miguel.bernal.marin(a)linux.intel.com>
Cc: dev(a)lists.clearlinux.org
Subject: RE: [Clr-dev] Offline Clear Linux Installation
I think you should be able to just 'dd' the live image on your disk and boot it
like that. The downside is that you only have what's in the live image (i.e. not much
beyond the core OS)
Mixer is what you want to create your own 'fork' of Clear Linux. If you do *not*
want to deviate from the upstream Clear Linux (and want to be able to use the updates
posted on
https://urldefense.proofpoint.com/v2/url?u=http-3A__download.clearlinux.o...),
then your best option would be to create a custom image that includes the bundles you want
(and based on the Clear Linux version you want). You can use
https://urldefense.proofpoint.com/v2/url?u=http-3A__ister.py&d=DwIFAg...
to build such image and flash it onto your disk (using 'dd'). This is something
that's worked for me (but is not documented on the website as far as I know). Here are
the steps I followed:
On your Clear Linux dev machine (so one that has all Clear Linux dev tools such as mixer,
ister, etc.) 1. Tweak an image config file - see below for one that I used myself [1], I
used this one as the baseline [2]
Note that I also use a specific version of Clear Linux in there as I wanted to reproduce
the exact set-up from one my colleague 2. Build the image: "sudo
https://urldefense.proofpoint.com/v2/url?u=http-3A__ister.py&d=DwIFAg...
-t my-image.json"
3. Compress the disk: "xz release.img"
4. Boot your target off any Linux distro (e.g. Clear Linux USB stick) 5. Flash your image
onto the internal disk, e.g. (assuming a SATA disk as /dev/sda): "unxz -k
release.img.xz | sudo dd of=/dev/sda"
6. Reboot your target machine (and unplug the USB stick), it should boot Clear Linux 7.
(Optional, but recommended) Resize your partition (set to 20GB in the my-image.json file
below) to use the entire disk, this guide can help you do that:
https://urldefense.proofpoint.com/v2/url?u=https-3A__clearlinux.org_docum...
(this is the reason I have the "storage-utils" bundle in my my-image.json
file).
Good luck, and I hope this helps.
Geoffroy
[1] my-image.json
{
"DestinationType": "virtual",
"PartitionLayout": [{"disk": "release.img",
"partition": 1, "size": "512M", "type":
"EFI"},
{"disk": "release.img", "partition":
2, "size": "4G", "type": "swap"},
{"disk": "release.img", "partition":
3, "size": "15G", "type": "linux"}],
"FilesystemTypes": [{"disk": "release.img",
"partition": 1, "type": "vfat", "label" :
"boot"},
{"disk": "release.img", "partition":
2, "type": "swap", "label" : "swap"},
{"disk": "release.img", "partition":
3, "type": "ext4", "label" : "root"}],
"PartitionMountPoints": [{"disk": "release.img",
"partition": 1, "mount": "/boot"},
{"disk": "release.img",
"partition": 3, "mount": "/"}],
"Version": 25620,
"Bundles": ["os-core", "os-core-update",
"kernel-native", "glmark2", "vim",
"network-basic", "sysadmin-basic", "dev-utils",
"desktop", "openssh-server", "service-os",
"kernel-pk", "octave", "storage-utils"] } [2]
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_bryteise_...
-----Original Message-----
From: Dev [mailto:dev-bounces@lists.clearlinux.org] On Behalf Of
Mohammad, Jamal M
Sent: Monday, October 22, 2018 5:25 AM
To: Miguel Bernal Marin <miguel.bernal.marin(a)linux.intel.com>
Cc: dev(a)lists.clearlinux.org
Subject: Re: [Clr-dev] Offline Clear Linux Installation
I made bootable using Rufus and created bootable USB Drive, when I
booted it on my hardware , there were no options provided to install
the image on the hard disk, except it just booted as live image.. Is
there any way we can achieve this offline..
-----Original Message-----
From: Miguel Bernal Marin [mailto:miguel.bernal.marin@linux.intel.com]
Sent: Sunday, October 21, 2018 8:19 PM
To: Mohammad, Jamal M <MohammadJamal.Mohiuddin(a)ncr.com>
Cc: dev(a)lists.clearlinux.org
Subject: Re: [Clr-dev] Offline Clear Linux Installation
> We have board based on Apollo Lake , and the application doesn't
> need to
be connected to Internet. So, I was checking whether Clear Linux works
here or not. I assume in this scenario, it is better to use Yocto..
>
You can flash the live-image
*
https://urldefense.proofpoint.com/v2/url?u=https-
3A__cdn.download.clearlinux.org_image_clear-2D25720-
2Dlive.img.xz&d=DwIBAg&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-
7N65qoDnmtsyGh_QYq3kPCn-
Loy2L0LHnCs&m=VxbV1E3kyOp2iPYPpdahcsxCN1CkpndWO7AVXl6_RNM&s=
mUL6EY9lY7Ga7tdUHMG6GQGrcJhbegNO4K5Ezt5e9qo&e=
or create your own image with mixer tool
*
https://urldefense.proofpoint.com/v2/url?u=https-
3A__clearlinux.org_features_mixer-
2Dtool&d=DwIBAg&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-
7N65qoDnmtsyGh_QYq3kPCn-
Loy2L0LHnCs&m=VxbV1E3kyOp2iPYPpdahcsxCN1CkpndWO7AVXl6_RNM&s=
T8fM2BnRHQXBIqiBzGMh109uPWDii82B9fhqBih5yk8&e=
+
https://urldefense.proofpoint.com/v2/url?u=https-
3A__clearlinux.org_documentation_clear-
2Dlinux_guides_maintenance_mixer&d=DwIBAg&c=gJN2jf8AyP5Q6Np0yWY1
9w&r=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-
Loy2L0LHnCs&m=VxbV1E3kyOp2iPYPpdahcsxCN1CkpndWO7AVXl6_RNM&s=
NQKCXVSPt173gYlfTV2pmsaHhsqoW9_WCLXe7bL7L1w&e=
+
https://urldefense.proofpoint.com/v2/url?u=https-
3A__github.com_clearlinux_how-2Dto-
2Dclear&d=DwIBAg&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-
7N65qoDnmtsyGh_QYq3kPCn-
Loy2L0LHnCs&m=VxbV1E3kyOp2iPYPpdahcsxCN1CkpndWO7AVXl6_RNM&s=
EQc-bTUiziGyEUWvjkpPSvERuDOukCDiKpEoY-rcvRY&e=
> -----Original Message-----
> From: Nesius, Robert A [mailto:robert.a.nesius@intel.com]
> Sent: Saturday, October 20, 2018 11:02 PM
> To: Mohammad, Jamal M <MohammadJamal.Mohiuddin(a)ncr.com>
> Cc: dev(a)lists.clearlinux.org
> Subject: Re: [Clr-dev] Offline Clear Linux Installation
>
> *External Message* - Use caution before opening links or attachments
>
> We don't have an offline installer yet - it's on our list of things
> we'd like to
do but hasn't become a front burner project yet.
>
> The use cases/platforms we support has been growing - did you have a
specific embedded platform in mind?
>
> -Rob
>
> Sent from mobile device.
>
> > On Oct 20, 2018, at 6:21 AM, Mohammad, Jamal M
<MohammadJamal.Mohiuddin(a)ncr.com> wrote:
> >
> > Hi Guys,
> >
> > I see "Active Internet" connection as a requirement for installing
> > OS on
bare metal.
> >
> > Is this compulsory or are there any offline installation technique.
> >
> > Can we use Clear Linux on Embedded devices, I see the main page
> > says
for " Cloud, IoT and client"
> >
> > Thanks and Regards,
> > Jamal
--
Regards,
Miguel Bernal Marin Open Source Technology Center
https://urldefense.proofpoint.com/v2/url?u=https-
3A__clearlinux.org&d=DwIBAg&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-
7N65qoDnmtsyGh_QYq3kPCn-
Loy2L0LHnCs&m=VxbV1E3kyOp2iPYPpdahcsxCN1CkpndWO7AVXl6_RNM&s=
3016JylftPA9Cu-TpwOt_iiB5kRIuY52ZGybov2F_As&e= Intel
Corporation
_______________________________________________
Dev mailing list
Dev(a)lists.clearlinux.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.clearlinux.
org_mailman_listinfo_dev&d=DwIFAg&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-7
N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs&m=DBG9j7JWmVIEUlIq3M9urokkeUG2VD0Z-
HG8BiXTZHg&s=s1INtB0QVw0DTCgm4QYQr_onT5iCS0xO_kiwdh4gdXg&e=