That's pretty thin stuff to go on. I doubt the following is what you seek, but it sounds vaguely like "Universe" and "Common Sense," two Heinlein novellas that were later sold as the novel Orphans of the Sky.
An immense "generation ship" suffers a mutiny, and the farmer types living on the lower levels forget they are living inside a starship. Until one day a curious young man dares to visit the forbidden upper levels and learns about the stars.