Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have two disks with the exact same partitioning and size. When I start the computer it obviously only boots from one of the disks. How can I tell which one? (I have used sudo fdisk -l, but that will list the disks but since they have the same partitioning and size, I do not get a clue on which one is getting booted from) Thanks in advance.

share|improve this question

migrated from stackoverflow.com Mar 9 '11 at 5:34

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Executing mount without any parameters will give you a list of all mounted drives. The one mounted to /boot, or / if there is no /boot, is your boot device.

share|improve this answer
    
thanks a lot, that solved it! –  Anonymous Mar 9 '11 at 3:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.