Montgomery Scott

Montgomery "Scotty" Scott served as Chief Engineer of the USS Enterprise and Enterprise-A. He was presumed dead for 75 years until he was rescued from a transporter buffer by the Enterprise-D. He later became the head of the Starfleet Corps of Engineers.

Early Life and Family
Scott's sister, Clara eventually married Hamish Preston, and the two had a son, Peter. (Novel: Engines of Destiny, Star Trek II: The Wrath of Khan)

After graduating from Starfleet Academy, Scott returned home to show off his uniform. He was ridiculed by Gregor Campbell and Sean Toricelli, two of his freinds. (Novel: Engines of Destiny)

Retirement
Captain Scott retired soon after Admiral Kirk's apparent death. He briefly lived with his sister and her husband in Cromarty before finding his own place in Glasgow. Beseiged by nightmares of Kirk's death, he did very little consulting work. After about a year, he briefly met Guinen before befreinding Ensign Matt Franklin. The newly-graduated ensign convinced him to travel with him on the USS Jenolan to Norpin V, where Scott was to retire. (Engines of Destiny)

According to another account, Scott met Ensign Franklin while onboard the Jenolan. (TNG novelization: Relics)

The Jenolan crashed on a Dyson sphere, leaving Scott and Franklin as the only survivors. They rigged the transporter to keep them alive indefinately.

The Twenty-Fourth Century
Scott was eventually rescued by the Enterpise-D, though Franklin's signal has degraded beyond recovery. He helped the Enterprise escape from the Dyson sphere and was given the shuttlecraft Goddard. (TNG episode and novelization: "Relics")