WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TinyCore Builder for VMware View - PXE boot ?  (Read 30490 times)

Offline Logist

  • Newbie
  • *
  • Posts: 7
TinyCore Builder for VMware View - PXE boot ?
« on: March 01, 2013, 07:58:14 AM »
Some of you know it: repurpose.vmwarecloud.at

some of us would like to PXE boot it!

This thread i will update with the solution once we figure it out. Now is there anyone out there that has this working in a sense: You go to the web page, you get the iso you just generated, you PXE boot it!

how?

i buy beers all night for the one who figures this or has this figured out :)

let me just say that it seems loading the extensions via ftp, nfs, initfr, anyway i can think of does not work. and of course during boot the CDE folder on the iso does not get read if you staight up boot it via grldr loader using this:

title vmview to 0xFF
pxe keep
map --mem (pd)/iso/8371bbd9c33f3dfbac2d1e7d305ac1c1.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)


now im not an expert so i may be missing something.. so please help :)


cheers!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #1 on: March 01, 2013, 10:19:23 AM »
Hi Logist
Have you read the Wiki on netbooting?
http://wiki.tinycorelinux.net/wiki:netbooting

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #2 on: March 02, 2013, 03:07:25 AM »
Do not force iso boot (as it might not work)
Use a normal way (not any slower):

   LABEL TinyCore
        MENU LABEL TinyCore
   kernel tinycore/vmlinuz
   append initrd=tinycore/core.gz cde vga=791 nozswap

edit:
For the ones that need to have everything spelled out: with help of ezremaster
« Last Edit: March 04, 2013, 01:38:56 AM by sebus »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #3 on: March 02, 2013, 03:29:54 AM »
Do not force iso boot (as it might not work)
Use a normal way (not any slower):

   LABEL TinyCore
        MENU LABEL TinyCore
   kernel tinycore/vmlinuz
   append initrd=tinycore/core.gz cde vga=791 nozswap

I doubt cde would load like that over pxe - unless perhaps if the necessary files would be packed into an additional initrd which would be appended to core.gz.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ixbrian

  • Retired Admins
  • Sr. Member
  • *****
  • Posts: 436
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #4 on: March 02, 2013, 09:51:24 AM »
If you are trying to include extensions directly in the initrd you might want to try out ezremaster.  It supports either adding extensions in to the initrd or even extracting them in to the initrd.   It was designed to make a remastered ISO image but if you are netbooting or something you can just pull the initrd out of the created ISO image and then use this initrd for netbooting. 

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #5 on: March 03, 2013, 03:53:58 AM »
Ofcourse it works as am I doing it this way (yes, with help of ezremaster)

Offline genec

  • Full Member
  • ***
  • Posts: 240
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #6 on: March 03, 2013, 01:36:38 PM »
I have a rough draft of how to make your own .tcz up in the wiki.  I prefer the dynamic remaster over standard remaster and have an example of what to assemble specifically for VMware View.

*PLEASE* bear in mind that the licensing of VMware View client for Linux does NOT appear to allow redistribution and therefore that builder should be in violation.

EDIT: Except he's probably under special license as he's an employee and this is likely a part of a tasked project.
« Last Edit: March 10, 2013, 11:51:12 PM by genec »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #7 on: March 03, 2013, 02:59:46 PM »
Ofcourse it works as am I doing it this way (yes, with help of ezremaster)
If your core.gz is the result of static remastering adding whatever is required, then yes, of course it should work, only that you omitted mentioning so.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Logist

  • Newbie
  • *
  • Posts: 7
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #8 on: March 04, 2013, 03:53:27 AM »
Hrm ok i am playing with this now. It still wont load the cde folder. Funny it works if I PXE boot and have the CD also in the drive then it loads the cde. *this i found out by accident of course at first i thought yay its working! then i saw the CD in the drive i was like oh F***.. *
but cant seem to get it to load all from PXE.

so in order to see the cde folder i need to use ezremaster to pack it into inside initrd? Hrm how, if i boot up this generated image, it throws me straight into view client and ok i can access appbrowser. but when i run it doesent load the list of all the apps that are there, so that i could make another iso, this time with the cde folder included in the core.gz i take it?

i did make myown.gz and append it to core.gz during boot but i did it without ezremaster and in cmdline. put in the path to where should it extract as per wiki instructions the extensions but still no go.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #9 on: March 04, 2013, 04:04:55 AM »
Funny it works if I PXE boot and have the CD also in the drive then it loads the cde.
not unexpected ;)
Quote
i did make myown.gz and append it to core.gz during boot but i did it without ezremaster and in cmdline. put in the path to where should it extract as per wiki instructions the extensions but still no go.
After booting like that, can you locate the extensions?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Logist

  • Newbie
  • *
  • Posts: 7
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #10 on: March 04, 2013, 05:09:17 AM »
I tried the way on wiki first: the putting it all toghether part
using tmp/opt/tce path and putting the cde folder that comes with the generated iso there.

the extensions were there, they copied to the location specified but did not load.

then this : http://forum.tinycorelinux.net/index.php/topic,14421.0.html

so instead ob above path, supposedly use /tmp/builtin/optional

now the extensions again did copy AND it seems some of them but not all installed since this time I can see them in the /usr/local/tce.installed as well. Only its not booting to the ui and the vmware client like it does otherwise. still stops at prompt. so something is worng when installing from /tmp/builtin/optional . because i get some errors even if i go to the folder and run tce-load *.tcz ,

which may be the wrong way but i figured id try it like that and it still stays in the prompt. and manually running startx just stays at prompt.

it really i mean.. damn its frustrating :) maybe theres some windows thing something i could pxe boot instead ? :DD but i do wanna make this work with this client specialy since update is coming supposedly which will include new client i hope.


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #11 on: March 04, 2013, 05:16:32 AM »
because i get some errors even if i go to the folder and run tce-load *.tcz ,
Code: [Select]
tce-load -i *.tcz
« Last Edit: March 04, 2013, 05:24:13 AM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Logist

  • Newbie
  • *
  • Posts: 7
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #12 on: March 04, 2013, 05:19:22 AM »
sorry i did  use tce-load -i *.tcz

without the [ thou ill try that

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #13 on: March 04, 2013, 05:25:10 AM »
Oops...   :o
No, that was a typo!   :P
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline genec

  • Full Member
  • ***
  • Posts: 240
Re: TinyCore Builder for VMware View - PXE boot ?
« Reply #14 on: March 04, 2013, 06:07:32 AM »
Wonder if repurpose got a takedown request as I haven't been able to peek at it all weekend.

EDIT: more likely server failure and likely a tasked project.
« Last Edit: March 10, 2013, 11:54:29 PM by genec »