[SOLVED] Simultaneous access of 2 hard-disks (each having a Linux Distro on it) from the same laptop
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
No output from fdisk -l ?
You may need to be root for fdisk -l to work properly
Your OS detects 2 disks /dev/sda and /dev/sdb
/dev/sda has partitions sda1 sda2 sda3 sda5 sda6
/dev/sdb has partitions sdb1 sdb2 sdb3 sdb5
sdb1 and sdb3 are formatted as etx4
sdb5 and sda6 are formatted as swap
mount will tell you what is currently mounted where (Ie the disk which is mounted at / is currently running your OS)
So you will be able to work out which disk is the other one, and then mount its partitions
with the mount command.
Eccentric-aquarian ~ # mount
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sdb3 on /home type ext4 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
Many thanks to you, gdejonge
It worked and now I can see the data from the laptop harddisk !
Thanks again !
Eccentric-aquarian media # ls
Eccentric-aquarian media # mkdir part1
Eccentric-aquarian media # mkdir part2
Eccentric-aquarian media # mount /dev/sda1 part1
Eccentric-aquarian media # cd part1
Eccentric-aquarian part1 # ls
bin boot dev etc home lib lost+found media mnt opt proc root sbin selinux srv success sys tmp usr var
Eccentric-aquarian part1 # cd home/
Eccentric-aquarian home # ls
Eccentric-aquarian home # mount /dev/sda2 /media/part2
Eccentric-aquarian home # cd ..
Eccentric-aquarian part1 # cd ..
Eccentric-aquarian media # cd part2
Eccentric-aquarian part2 # ls
Eccentric-aquarian part2 # cd anisha
Eccentric-aquarian anisha # ls
bin Comics cppPrograms Desktop Documents Frm_Reports.aspx How to install wireless LAN card Photography tarballs