We help IT Professionals succeed at work.

can an ext3 drive connected to another linux system

judejames
judejames asked
on
Medium Priority
237 Views
Last Modified: 2010-04-20
Title:  can an ext3 drive connected to another linux system
 Hi All,
I just wanted to know if I could connect my linux ext3 external USB drive to any other Linux operating system. If I do so what will be the pre requisites.
Thanks.
Comment
Watch Question

Software Engineer -- Consultant
Commented:
You can connect it

Connect it to the machine
as root type `fdisk -l`
look for your drive and note the /dev/XXX name of it's partition ( eg: /dev/sdc1 )

use the command ( as root )
mount /dev/XXX /mnt
replace XXX with the partition name ( eg sdc1 )

before you disconnect the drive it's important you unmount it
as root: `umounot /dev/XXX`
Pétur Ingi EgilssonSoftware Engineer -- Consultant

Commented:
Note: GNOME and KDE might do this for you,.. an icon the drive will pop up on the desktop for you....

Author

Commented:
won't it ask for username/password or something like that on a new system?
Pétur Ingi EgilssonSoftware Engineer -- Consultant

Commented:
No. It will not ask for user/pass unless you are using encrypted filesystem. ( ext3 inside an encryption loop )
Encryption is not implemeted by default.

http://encryptionhowto.sourceforge.net/ - for more information about encrypted filesystems.
nociSoftware Engineer
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
If you use an encrypted filesystem you can should look into the cryptoloop version that implements luks, it will make things a lot easier.

http://luks.endorphin.org/

Using the right setup you can boot from an encrypted filesystem using this.
Gentoo has support for this in the initramfs.


Duncan RoeSoftware Developer
CERTIFIED EXPERT

Commented:
Instead of "fdisk -l", you can just "cat /proc/partitions" (no need to be root). If you do this before and after plugging in the drive, you'll see what new partitions it provided.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.