It was empty except for Ron, who was still lying motionless in the end bed.
The phrase "in the end bed" looks strange to me. I've never seen 'end' is used like that. Usually, I see "at the end of" or "in the end of". I think it's used as an adjective here, but according to the dictionaries I consulted, 'end'- when used as an adjective- means final or ultimate as in the end result, which isn't fit for this context.
What does "in the end bed" mean exactly? Is it a normal use of the word 'end'?