Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a HP pavilion laptop with 2 hard drives primary is linux and new, 2nd drive is also full install with important files. I just need help in mounting or being able to get info from it so that i can format as storage. All that it mounted at this point is /boot, i need rest of drive contents please help.
Need some more info.
What linux distribution are you running and what distribution is on the 2nd drive?
Do you know how the 2nd drive is partitioned?
Post the output of the command
fdisk -l (must be root or use sudo and that is a small L)
If the second drive is just one partition you could mount it somewhere. This also assumes your distro uses sd* for the hard disks and that you have root access to the system. I will concur with the above statement that additional information would be helpfull in giving you a better answer.
Code:
user@system $ mkdir /mnt/sdb1
user@system $ mount /dev/sdb1 /mnt/sdb1
user@system $ cd /mnt/sdb1
I do not think it is that simple. I assumed based on one your previous posts that the data probably resides on a LVM partition. The steps to mount the 2nd drive depends on what distribution is currently running and if it includes LVM support. Here are the basic steps
lvm vgchange -a y
lvm lvs (this just lists the volume name, change the mount command to reflect if different)
mkdir /media/drive2
mount /dev/VolGroup00/LogVol00 /media/drive2 (volume name should match above)
If the currently running distribution like fedora is also using a LVM then you might have problems if the volumes have the same name.
Okay so both drives have fedora 10 distro, 2nd drive was my primary but had bad sectors making it unreadable in boot, i want to be able to just get info off then format the disk. currently i have an icon on my desktop that is labeled "/boot" i believe its reading the drive just not sure
[root@localhost sdb1]# mkdir /mnt/sdb2
[root@localhost sdb1]# mount /dev/sdb2 /mnt/sdb2
mount: unknown filesystem type 'lvm2pv'
[root@localhost sdb1]#
Indeed it looks like this is a lvm partition and mount will not be able to auto mount it. I do not have experience with LVM but michaelk posted some usefull info above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.