command line - How to access a different Hard Drive through Ubuntu Shell? - Ask Ubuntu
after did update on ubuntu, os bugged out , wouldn't open programs. decided restart computer hoping fix problem. upon restart realized ubuntu locked login loop. tried several fixes this, none of helped, decided reinstall ubuntu. issue need files.
the last time remember, hard drives located in /media
on ubuntu; whenever go location in shell, directory empty. i'm not sure if location of hard drives has moved since or if hard drive isn't mounted.
first mount hdd partitions
let assume sdb
external hard drive , sdb1
partition, want copy data to.
run sudo mount /dev/sdb1 /mnt
mount sdb1
/mnt
. copy external hdd run cp <required_file> /mnt/<some_folder>
Comments
Post a Comment