Where do you find PotatOS in Portal 2?

Quick answer: At the end of Chapter 6, in the Catwalk Control Room below the salt mine cave in old Aperture. Scare off the bird, then pick GLaDOS up to put her on your portal gun.
Show walkthrough (story spoilers)
Who PotatOS is
PotatOS is GLaDOS after Wheatley puts her into a potato battery. She falls down the shaft with you at the start of Chapter 6 and is carried away by a bird. You get her back at the end of the same chapter.
Get to the Control Room
Finish Pump Station Beta and pull its two levers. Cave Johnson plays a long recorded message about the history of Aperture in the salt mine cave. Place portals on the angled wall to the right of the big pipe and on the floor below to drop into the Control Room.
Scare the bird
The bird is attacking GLaDOS in the room. Walk up to scare it away, wait for GLaDOS to finish talking, then pick her up. She is spiked onto your portal gun and passes out for a moment from its power.
After that
Picking her up turns on the elevator. Portal across the high walls and floor to reach it. From here GLaDOS talks you through Chapter 7; see The Fall walkthrough.
