geth is not starting in private network .

TheaThea Member Posts: 1
Hi,
I am using linux 16 LTS system. I've installed Geth successfully .After that when I am starting Geth using following command :

"geth --genesis gen.json --datadir data -verbosity 6 --ipcdisable --port 30301 --rpcport 8101 --networkid 1234 console"
it is showing error like "incorrect usage and flag provided but not defined: -genesis ".But same command is running fine in windows.I tried above command after removing all the hyphens(-).Geth is starting in main network but not in private network.I want to start geth in private network.
Can anyone tell me what to do?

Thanks in advance.
Sign In or Register to comment.