LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-10-2017, 03:49 PM   #1
MesaJimbo
LQ Newbie
 
Registered: Apr 2017
Location: Mesa, Arizona
Distribution: Linux Mint 18.1
Posts: 4

Rep: Reputation: Disabled
Question Accessing a 2nd Disc


Genuine newbie - never posted on anyone's site before. For the last several decades I've been able to find or determine a solution (I'm new to Linux).

I've resurrected an old Dell Precision 360 (3gb) and installed and updated Mint Cinnamon 18.1 on a new WD 1tb hard drive (serial ATA).

On a matching hard drive I had installed Pinguy (it failed to boot after an update) which has several files I'd love to access.

blked shows both discs correctly as sda1 and sdb1 with their correct identifying attributes.

I've followed many threads to try many solutions to mount the drive without success. Because this is a bootable Linux drive, it has several partitions (Pinguy defaults used).

Is there a relatively painless way to access this drive or should I simply exercise the nuclear option & cut my losses?

Thank you!
 
Old 04-10-2017, 08:20 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,893

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
First, I suggest that you try to fix the boot problem. Boot into your Linux Mint system and try reinstalling grub:

grub-mkconfig -o /boot/grub/grub.cfg

grub-install /dev/sda

See if grub can find the pinguy system and add it to the grub boot list.

-----------------------------
Steve Stites
 
Old 04-10-2017, 09:57 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,713

Rep: Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549
With Mint, the partitions should show up as new devices in your file manager - and probably mounted. Just tried with Mint Mate and they certainly did. Let's see the output of these after plugging the drive in.
Code:
dmesg | tail -n 15
blkid
df -hT
 
2 members found this post helpful.
Old 04-11-2017, 11:42 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
If it's not automounted (autofs), mount it and roam it.

$ cat /proc/partitions
(depending on output)

$ sudo mkdir /mnt/partition1
$ sudo mount /dev/sdb1 /mnt/partition1

$ cd /mnt/partition1
$ find . -iname '*some*thing*i*care*about*'

$ cp something_results $HOME/

$ cd $HOME/
$ sudo umount /dev/sdb1
 
Old 04-11-2017, 04:00 PM   #5
MesaJimbo
LQ Newbie
 
Registered: Apr 2017
Location: Mesa, Arizona
Distribution: Linux Mint 18.1
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you for things to try!

Very busy now.
Will try to do this tonight, if not tomorrow.
This will be one huge help if it works!
Regards,
Jt.
 
Old 04-12-2017, 09:03 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,148
Blog Entries: 4

Rep: Reputation: 3232Reputation: 3232Reputation: 3232Reputation: 3232Reputation: 3232Reputation: 3232Reputation: 3232Reputation: 3232Reputation: 3232Reputation: 3232Reputation: 3232
Also check out /etc/fstab where you can specify mount-points, the means of communicating with them (if applicable), and whether you want them to be automatically mounted at startup.

Linux will identify the attached disks and the usable partitions thereupon, and will create /dev/sd... entries for each of them. But as for mounting, it consults /etc/fstab.

- - -

Although not pertinent to this case, you should also check out "Logical Volume Management (LVM)." You can spread-out a single mount point across several drives.

Last edited by sundialsvcs; 04-12-2017 at 09:04 AM.
 
Old 04-12-2017, 02:37 PM   #7
MesaJimbo
LQ Newbie
 
Registered: Apr 2017
Location: Mesa, Arizona
Distribution: Linux Mint 18.1
Posts: 4

Original Poster
Rep: Reputation: Disabled
Red face Tried: still looking, need additional info

Thank you all for your rapid responses!

Question for jailbait:
I like the approach but am afraid to reinstall Grub on a running system!
When you said, "Boot into your Linux Mint system ..." did you mean
that I should simply boot it up or are you suggesting that I boot from a usb
or similar then go have a peek? Meanwhile your suggestion led me to learn a bit about Grub. Always wondered how that worked!
Am I being a silly paranoid old man about this? (I still have scars - some are fresh!)
--------------------------------
Shadow_7 - very clear instructions!
Tried that and after cd'ing into the new partion ls showed nothing.

Commands and Output:
james@james-390 ~ $ sudo mkdir /mnt/partitionSdb
[sudo] password for james:
james@james-390 ~ $ cd /mnt/partitionSdb

james@james-390 /mnt/partitionSdb $ sudo mount /dev/sdb1 /mnt/partitionSdb
mount: unknown filesystem type 'VMFS_volume_member'
james@james-390 /mnt/partitionSdb $ ls
james@james-390 /mnt/partitionSdb $ cat /proc/partitions
major minor #blocks name

1 0 65536 ram0
1 1 65536 ram1
1 2 65536 ram2
1 3 65536 ram3
1 4 65536 ram4
1 5 65536 ram5
1 6 65536 ram6
1 7 65536 ram7
1 8 65536 ram8
1 9 65536 ram9
1 10 65536 ram10
1 11 65536 ram11
1 12 65536 ram12
1 13 65536 ram13
1 14 65536 ram14
1 15 65536 ram15
11 0 1048575 sr0
2 0 4 fd0
8 0 976762584 sda
8 1 498688 sda1
8 2 1 sda2
8 5 976261120 sda5
8 16 976762584 sdb
8 17 976759968 sdb1
252 0 973111296 dm-0
252 1 3145728 dm-1

james@james-390 /mnt/partitionSdb $ blkid
/dev/sda1: UUID="af5db090-62c2-4811-92ee-17b7f37a683e" TYPE="ext2" PARTUUID="0c241aeb-01"
/dev/sda5: UUID="smCA9d-YyP5-DzB4-cLrC-2S1D-bmyo-MOU5e0" TYPE="LVM2_member" PARTUUID="0c241aeb-05"
/dev/sdb1: UUID_SUB="4ad261d0-dbb0789a-5ee8-001aa00158c0" UUID="4ad261d0-c702c92a-e2e9-001aa00158c0" TYPE="VMFS_volume_member"
/dev/mapper/mint--vg-root: UUID="5b0cbcc7-a894-407d-a6ab-09a87c10e03f" TYPE="ext4"

james@james-390 /mnt/partitionSdb $ dmesg | tail -n 15
[ 269.799282] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25497 PROTO=UDP SPT=51878 DPT=8612 LEN=24
[ 297.634952] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25535 PROTO=UDP SPT=51882 DPT=8612 LEN=24
[ 325.480237] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25573 PROTO=UDP SPT=51497 DPT=8612 LEN=24
[ 353.302042] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25611 PROTO=UDP SPT=51501 DPT=8612 LEN=24
[ 381.133730] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25646 PROTO=UDP SPT=52238 DPT=8612 LEN=24
[ 408.979738] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25681 PROTO=UDP SPT=63222 DPT=8612 LEN=24
[ 436.813710] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25727 PROTO=UDP SPT=63226 DPT=8612 LEN=24
[ 464.651237] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25764 PROTO=UDP SPT=58554 DPT=8612 LEN=24
[ 492.484693] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25802 PROTO=UDP SPT=58558 DPT=8612 LEN=24
[ 548.155236] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25871 PROTO=UDP SPT=58566 DPT=8612 LEN=24
[ 575.987590] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25908 PROTO=UDP SPT=57041 DPT=8612 LEN=24
[ 603.839083] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25945 PROTO=UDP SPT=56772 DPT=8612 LEN=24
[ 631.671938] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=25982 PROTO=UDP SPT=56776 DPT=8612 LEN=24
[ 659.322711] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=26013 PROTO=UDP SPT=56780 DPT=8612 LEN=24
[ 688.088482] [UFW BLOCK] IN=enp4s0 OUT= MAC=00:1a:a0:01:58:c0:00:21:00:b4:5a:3e:08:00 SRC=192.168.1.3 DST=192.168.1.13 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=26057 PROTO=UDP SPT=63377 DPT=8612 LEN=24

then:

james@james-390 /mnt $ sudo umount /dev/sdb1
umount: /dev/sdb1: not mounted

And here's the output from blkid:
james@james-390 /mnt $ blkid
/dev/sda1: UUID="af5db090-62c2-4811-92ee-17b7f37a683e" TYPE="ext2" PARTUUID="0c241aeb-01"
/dev/sda5: UUID="smCA9d-YyP5-DzB4-cLrC-2S1D-bmyo-MOU5e0" TYPE="LVM2_member" PARTUUID="0c241aeb-05"
/dev/sdb1: UUID_SUB="4ad261d0-dbb0789a-5ee8-001aa00158c0" UUID="4ad261d0-c702c92a-e2e9-001aa00158c0" TYPE="VMFS_volume_member"
/dev/mapper/mint--vg-root: UUID="5b0cbcc7-a894-407d-a6ab-09a87c10e03f" TYPE="ext4"

The desired partition sdb1 is definitely recognized by the hardware.
Please remember that this is a disc previously used to hold Linux Pinguy, which failed to boot after its last update (without error messages).

Thank you all.

Last edited by MesaJimbo; 04-12-2017 at 02:39 PM.
 
Old 04-12-2017, 03:09 PM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
fancy file stuff.

$ cat /proc/partition
$ blkid

$ vgscan
$ lvscan

About all that changes is the name of thing you mount ( /dev/mapper/mint--vg-root in your case ). And the tools needed to get useful information (and to be able to use them). Of course you need to install those tools in some cases.

$ sudo apt-get install lvm2
 
Old 04-12-2017, 04:32 PM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,893

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by MesaJimbo View Post

Question for jailbait:
I like the approach but am afraid to reinstall Grub on a running system!
When you said, "Boot into your Linux Mint system ..." did you mean
that I should simply boot it up or are you suggesting that I boot from a usb
or similar then go have a peek? Meanwhile your suggestion led me to learn a bit about Grub.
What I am suggesting is that you boot into your Linux Mint system as normal.
Then open a terminal.
Then issue the su command and give your password when asked.
Then issue the command: grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig will list every bootable system that grub finds on any of your partitions.
Then issue the command: grub-install /dev/sda This will create a new grub boot screen, among other things.
boot your computer.
When the grub menu appears use the down arrow key to select your panguy system if it is listed.
Hit enter and grub will attempt to boot your panguy system.

----------------------------
Steve Stites
 
Old 04-13-2017, 01:36 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,256
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
mesajimbo, please wrap your code in code tags to make it easier to read (and spot possible errors).

i managed to find this:
Quote:
Originally Posted by MesaJimbo View Post
mount: unknown filesystem type 'VMFS_volume_member'
relevant?
 
Old 04-14-2017, 08:12 PM   #11
MesaJimbo
LQ Newbie
 
Registered: Apr 2017
Location: Mesa, Arizona
Distribution: Linux Mint 18.1
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you jailbait and all

Jailbait,
Your last instructions were very explicit - exactly what I needed.
After finishing some pending tasks and backup to a usb drive, I followed those instructions.
The process finished without error.
The boot process only finds one bootable partition - the Linux Mint18, as before.
No harm, no foul.

Hardware still sees the 2nd disc and I'm still unable to see anything thereupon.
Either the disc or software is unreadable.
When time permits I'll reformat it and find some good use.
Thanks all.

I'll also figure out how to "wrap my code in tags".

thanks all !

CLOSED
 
Old 04-14-2017, 08:49 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,504

Rep: Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113Reputation: 4113
I've never used vSphere but VMFS i.e. VMware Virtual Machine Filesystem is a special filesystem to store virtual machine disk images. You might be able to mount sdb1 via fuse by installing the vmfs-tools package.

At the moment there is no indication that Pinguy was installed on the second drive unless it was a virtual machine. As stated just reformat it.

Last edited by michaelk; 04-14-2017 at 09:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to tell which programs are accessing the disc a lot? lucidology Linux - Newbie 3 08-15-2009 02:18 AM
Havine problem installing 2nd disc of Call of Duty with Cedega dstrbd1 Linux - Games 1 02-03-2006 06:59 PM
Problem with accessing NTFS disc cold Red Hat 1 10-29-2005 05:50 PM
Accessing 2nd Harddrive D4ve G Linux - Newbie 3 07-19-2005 12:09 AM
accessing a 2nd drive I added joel b Linux - Newbie 8 02-24-2005 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration