Mega 2560 sketch upload problem

This the first time I use Arduino board. I tried to upload the blink sketch (built-in examples) to a new Arduino Mega 2560 but it didn't work. Mega 2560 is selected at 'Boards' menu but I can't select the serial port because the 'Port' menu is disabled. the Arduino functions normally when connected to USB port of the computer: the green LED is on and pin 13 LED blinks.

I use Arduino 1.6.6 and ubuntu 14.04 (64-bit).

After trying to upload, I get this message:
"avrdude: Version 6.0.1, compiled on Apr 14 2015 at 19:04:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "/home/omar/.local/share/umake/ide/arduino/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/home/omar/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : COM1
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "COM1": No such file or directory
ioctl("TIOCMGET"): Inappropriate ioctl for device
ioctl("TIOCMGET"): Inappropriate ioctl for device
avrdude: ser_send(): write error: Bad file descriptor
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions."

Thank you for help.

Where did you buy the board from?

Sounds like the usb-to-serial chip isn't being configured properly by linux on connect.

The board isn't mine. I'm not sure whether it is original. How to configure usb-to-serial chip properly?

Identify what USB to Serial chip the board is using.

It features the ATmega16U2 programmed as a USB-to-serial converter.

Check if any try.usbmodem devices are created when plugged in.

If so, you made need to add your user to the dialout group or run the IDE with su.

No, there aren't any devices created (ttyUSBX or ttyACMX) when plugging Arduino. Plus, results are the same by runnig IDE with sudo. I don't know what is the dialout group?

Sounds like the 16u2 needs to be reprogrammed.

Look at this one: