how to get privileged to unmount sda1?

Asked by Sbn on 2008-02-17

Hey, I have a dual-boot with XP/Ubuntu 7.10, and the hdd from XP is always visible on my gutsy desktop. When I try to unmount it I get the message "you are not privileged to unmount this volume." That sounds like real BS to me, as I am the owner and sole user of this computer. Anybody???

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Vojtěch Trefný
Solved:
2008-02-17
Last query:
2008-02-17
Last reply:
2008-02-17

You do not need root privileges to unmount external hard disks, but you do need root privileges to unmount internal hard disks.

Just execute:-

sudo umount /media/mount-point-of-windows-drive

that should do the trick.

"as I am the owner and sole user of this computer"
→ No, you're not - "owner of computer" is root (superuser, admin etc.).

Only root can unmout internal drives (you as user can handle only removable drives (flash disks etc.).

"sudo umount /dev/sda1"

Sbn (esbenvinsnes) said : #3

Ok I get it, but how come I was able to do it in my former installation?

Thanks