LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2016, 03:19 PM   #1
Bourbon
Member
 
Registered: Dec 2011
Location: Gaborone Botswana
Distribution: Linux-Mint 18.3 amd64 Cinnamon
Posts: 108

Rep: Reputation: Disabled
Question How I can access to a partition?


Hi All,

My desktop machine has 2 HDD [UEFI]:
Code:
- /dev/sda = Windows 10
- /dev/sdb partitioned as (pics hereby attached):
/dev/sdb1 = swap
/dev/sdb2 = Linux Mint
/dev/sdb3 = Slackware
/dev/sdb4 = still empty
I have access from Slackware to Windows (/sda) but don't have access to Linux Mint (/dev/sdb2).
Please, what I can do to get access to Linux Mint from Slackware?
Code:
This is the /etc/fstab file:
/dev/sdb1        swap             swap        defaults         0   0
/dev/sdb3        /                ext4        defaults         1   1
/dev/sdb2        /boot/efi        vfat        defaults         1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
I know about the "mount" command, also found this thread:
http://www.linuxquestions.org/questi...tition-600700/
which clearly explains the process but am afraid to spoil something due the (for me) new "UEFI" HDD.

Thank you for reading
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	32
Size:	53.0 KB
ID:	22458   Click image for larger version

Name:	2.png
Views:	27
Size:	54.6 KB
ID:	22459  
 
Old 07-14-2016, 03:27 PM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
How I can access to a partition?

If you're info is good, your Mint is mounted at /boot/efi as shown in your fstab.

Just
Code:
 cd /boot/efi
to check that.

Perhaps a lsblk from Mint and from Slackware could help...
 
Old 07-14-2016, 04:04 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Your /etc/fstab is wrong. It sets the filesystem of /dev/sdb2 as vfat but it is should be ext4 as shown on your second pic. Also this partition should not be mounted as /boot/efi but as /Mint or something like that (create the directory /Mint as root first, then edit /etc/fstab).

Also seeing your fist pic /dev/sda1 is probably an EFI partition, and there is no reason to have a second one.

PS Your HDD has nothing special (it just has a GUID partition table in case of sda), UEFI designates the kind of firmware you have.

Last edited by Didier Spaier; 07-14-2016 at 05:04 PM.
 
Old 07-14-2016, 07:54 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Does it have to be mounted all the time?
 
Old 07-15-2016, 09:24 AM   #5
Bourbon
Member
 
Registered: Dec 2011
Location: Gaborone Botswana
Distribution: Linux-Mint 18.3 amd64 Cinnamon
Posts: 108

Original Poster
Rep: Reputation: Disabled
Hi All,

Thank you for your kind concern, the briefing here:

@ Tonus: - The command cd /boot/efi shows nothing, output here:
Code:
bash-4.3$  cd /boot/efi
bash-4.3$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931,5G  0 disk 
|-sda1   8:1    0   450M  0 part 
|-sda2   8:2    0   100M  0 part 
|-sda3   8:3    0    16M  0 part 
`-sda4   8:4    0   931G  0 part 
sdb      8:16   0 931,5G  0 disk 
|-sdb1   8:17   0     4G  0 part [SWAP]
|-sdb2   8:18   0 357,6G  0 part 
|-sdb3   8:19   0 357,6G  0 part /
`-sdb4   8:20   0 212,3G  0 part 
sdc      8:32   0   1,8T  0 disk 
`-sdc1   8:33   0   1,8T  0 part /run/media/dominum/VERBATIM
sr0     11:0    1  1024M  0 rom  
bash-4.3$
lsblk command from Linux-Mint after editing fstab on Slackware here:
# something wrong with fonts here
Code:
dominum@HP-Pro-3300-Series-MT ~ $ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931,5G  0 disk 
├─sda1   8:1    0   450M  0 part 
├─sda2   8:2    0   100M  0 part /boot/efi
├─sda3   8:3    0    16M  0 part 
└─sda4   8:4    0   931G  0 part 
sdb      8:16   0 931,5G  0 disk 
├─sdb1   8:17   0     4G  0 part [SWAP]
├─sdb2   8:18   0 357,6G  0 part /
├─sdb3   8:19   0 357,6G  0 part 
└─sdb4   8:20   0 212,3G  0 part 
sdc      8:32   0   1,8T  0 disk 
└─sdc1   8:33   0   1,8T  0 part /media/dominum/VERBATIM
sr0     11:0    1  1024M  0 rom  
dominum@HP-Pro-3300-Series-MT ~ $
@ Didier Spaier: - The new "fstab" here:
Code:
/dev/sdb1        swap             swap        defaults         0   0
/dev/sdb3        /                ext4        defaults         1   1
#/dev/sdb2        /boot/efi        vfat        defaults         1   0
/dev/sdb2        /boot/Linux-Mint        ext4        defaults         1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
I have been creating the directory /Linux-Mint under /boot then edited "fstab" file as above; it is mounted now but is'nt listed on Dolphin's left column, I have to go manually to /boot/Linux-Mint to see it (I did'nt work on files there but I can open them; maybe I have to change "1 0" with "1 1"?).
It's wrong the footphat /boot/Linux-Mint? - Needing to cancel and create the Linux-Mint folder under /mnt?
Talking about /dev/sda1, I don't know what I have to do there.

@ jefro: - Yes please, I should like to have access to Linux-Mint just clicking on the Dolphin's left column every time I use the computer as already possible when wishing access to removable hard-disk (VERBATIM) and Windows.

Hoping I don't forget any detail, the issue is almost solved now. I mean, I should like to see Linux-Mint listed on Dolphin.

Thank you once again for your kind help
 
Old 07-15-2016, 04:24 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
I meant
Code:
/dev/sdb2        /Linux-Mint        ext4        defaults         1   0
not
Code:
/dev/sdb2        /boot/Linux-Mint        ext4        defaults         1   0
But as it wouldn't hurt to check the file system in /dev/sdb2 at boot time you could write:
Code:
/dev/sdb2        /Linux-Mint        ext4        defaults         1   2
So create a folder /Linux-Mint. then edit /etc/fstab accordingly.

Please read "man fstab" to get a better understanding.

Also, you do not have to do anything with /dev/sda1, that is the Windows recovery partition, as its label says (ripristino= recovery). There is no need to access it from Linux (neither from Windows unless you need to recover it if it is broken).

Last edited by Didier Spaier; 07-15-2016 at 04:42 PM.
 
1 members found this post helpful.
Old 07-15-2016, 09:47 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Side note.

I think I've read about this odd behavior in Dolphin before. Not sure where.
 
Old 07-18-2016, 02:38 PM   #8
Bourbon
Member
 
Registered: Dec 2011
Location: Gaborone Botswana
Distribution: Linux-Mint 18.3 amd64 Cinnamon
Posts: 108

Original Poster
Rep: Reputation: Disabled
Well, having now access to the Linux-Mint partition even if it is not into the Dolphin left column I mark this thread as SOLVED.
Thank you Didier Spaier

Last edited by Bourbon; 07-18-2016 at 02:39 PM. Reason: Spelling mistake
 
  


Reply



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 do I access another partition? 1968eric Linux - Newbie 5 11-18-2007 09:22 PM
colinux access to ext3 partition (opensuse root partition) billtracy1957 Linux - General 0 05-03-2007 10:29 PM
Suse 10.1, Access denied while trying to access a partition Rollotamasi Linux - Newbie 1 06-23-2006 04:59 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
Can't access new partition. DTre08 Linux - General 6 07-21-2003 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:48 AM.

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