LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-18-2021, 04:39 AM   #1
tjobful
LQ Newbie
 
Registered: Sep 2021
Location: Greece
Posts: 17

Rep: Reputation: Disabled
Where is my SSD?


Hey there! I have just installed my first Linux distro on a Raspberry pi 4 (Ubuntu Mate 20.4).

I am in the processing of trying to move over from the SD to an SSD.

After plugging the SSD into the Pi, nothing appears, and I cannot find it in the file viewer.

Is it supposed to be like that, or is something wrong? What can I do to find my SSD?

(Also a side question if anyone knows: I cannot seem to find a way to install Raspberry Pi imager onto the Raspberry itself with this distro (Ubuntu Mate 20.4 arm64--help?))

Thanks!
 
Old 09-18-2021, 05:02 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by tjobful View Post
Hey there! I have just installed my first Linux distro on a Raspberry pi 4 (Ubuntu Mate 20.4).

I am in the processing of trying to move over from the SD to an SSD.

After plugging the SSD into the Pi, nothing appears, and I cannot find it in the file viewer.

Is it supposed to be like that, or is something wrong? What can I do to find my SSD?

(Also a side question if anyone knows: I cannot seem to find a way to install Raspberry Pi imager onto the Raspberry itself with this distro (Ubuntu Mate 20.4 arm64--help?))

Thanks!
Show us the output of
Code:
sudo fdisk -l
please.
 
Old 09-18-2021, 05:55 AM   #3
tjobful
LQ Newbie
 
Registered: Sep 2021
Location: Greece
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Show us the output of
Code:
sudo fdisk -l
please.
Are you sure about this command? With me it reads invalid option. Thanks!
 
Old 09-18-2021, 06:41 AM   #4
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554

You shouldn't type a command involving "sudo" or "su" without first checking "man command" to see what it will do.

If you had ran "man fdisk", you would discover that "-l" is short for "--list"; you've presumably misread it as the number one.

Some commands have both a -l and a -1 option, so it's important to check which one you need before entering a command.


Last edited by boughtonp; 09-18-2021 at 06:43 AM.
 
1 members found this post helpful.
Old 09-18-2021, 06:56 AM   #5
tjobful
LQ Newbie
 
Registered: Sep 2021
Location: Greece
Posts: 17

Original Poster
Rep: Reputation: Disabled
Right on! Thank you.
So that gave indeed some different results:
It found the SSD, listing it at the bottom
https://www.dropbox.com/s/qinc4fux91...20ssd.png?dl=0
(photo of the terminal)

EDIT: I'm accessing the forum from another computer (hence the picture).
ALSO: Please notify me if I am involuntarily sharing sensitive information here (I don't think so -- but I'm a noob with this). Thanks!!

Last edited by tjobful; 09-18-2021 at 06:58 AM.
 
Old 09-18-2021, 08:55 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I would expect both partitions to be mounted automatically and the Pi 4 should be capable of handling the current load.

Post the output of the command:
lsblk -f

The posted information is not sensitive.
 
Old 09-18-2021, 08:58 AM   #7
tjobful
LQ Newbie
 
Registered: Sep 2021
Location: Greece
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I would expect both partitions to be mounted automatically and the Pi 4 should be capable of handling the current load.

Post the output of the command:
lsblk -f

The posted information is not sensitive.
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0
squash 0 100% /snap/core
loop1
squash 0 100% /snap/core
loop2
squash 0 100% /snap/snap
loop3
squash 0 100% /snap/snap
loop4
squash 0 100% /snap/soft
loop5
squash 0 100% /snap/ubun
loop6
squash 0 100% /snap/ubun
loop7
squash 0 100% /snap/ubun
sda
├─sda1
│ vfat system-boot
│ 3264-7E3D
└─sda2
ext4 writable
f4e5bdff-5d16-4c2c-9af0-e557daeb0d9b
mmcblk0

├─mmcblk0p1
│ vfat system-boot
│ 3264-7E3D 136,6M 46% /boot/firm
└─mmcblk0p2
ext4 writable
f4e5bdff-5d16-4c2c-9af0-e557daeb0d9b 5,8G 60
 
Old 09-18-2021, 09:17 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I have not played with Ubuntu on a Pi yet and do not know how the desktop is configured but its possible the drive is not automatically mounting because the UUIDs match your SD card. You might have to manually mount them.
Code:
sudo mkdir /mnt/sda1
sudo mkdir /mnt/sda2
sudo mount -t vfat /dev/sda1 /mnt/sda1
sudo mount -t ext4 /dev/sda2 /mnt/sda2
 
Old 09-18-2021, 09:23 AM   #9
tjobful
LQ Newbie
 
Registered: Sep 2021
Location: Greece
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I have not played with Ubuntu on a Pi yet and do not know how the desktop is configured but its possible the drive is not automatically mounting because the UUIDs match your SD card. You might have to manually mount them.
Code:
sudo mkdir /mnt/sda1
sudo mkdir /mnt/sda2
sudo mount -t vfat /dev/sda1 /mnt/sda1
sudo mount -t ext4 /dev/sda2 /mnt/sda2
Didn't do nothing when I typed to code unfortunately. Appreciate it tho!
 
Old 09-18-2021, 09:30 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
They probably will not show up as anything in the file browser. You will need to navigate over by clicking on other locations in the file browser and select computer. Then scroll down to /mnt ...
Or just use the terminal and

cd /mnt/sda2
 
Old 09-18-2021, 09:36 AM   #11
tjobful
LQ Newbie
 
Registered: Sep 2021
Location: Greece
Posts: 17

Original Poster
Rep: Reputation: Disabled
In the /mnt directory I found additional folders with following names:
bin, boot, dev, etc, home, lib, media, mnt , opt, proc, root, run, sbin, snap, srv, sys, tmp, usr, var
(should be worth mentioning that the mnt folder from the list listed was empty).

The command in terminal said "No such file or directory"
 
Old 09-18-2021, 09:43 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I assume that is because /dev/sda2 is mounted to /mnt and not /mnt/sda2. Looking at the output of the lsblk command should show the current mount points.
 
Old 09-18-2021, 09:45 AM   #13
tjobful
LQ Newbie
 
Registered: Sep 2021
Location: Greece
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I assume that is because /dev/sda2 is mounted to /mnt and not /mnt/sda2. Looking at the output of the lsblk command should show the current mount points.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 48,8M 1 loop /snap/core18/1936
loop1 7:1 0 48,9M 1 loop /snap/core18/2127
loop2 7:2 0 28,1M 1 loop /snap/snapd/12886
loop3 7:3 0 26,9M 1 loop /snap/snapd/9730
loop4 7:4 0 16K 1 loop /snap/software-boutique/56
loop5 7:5 0 8K 1 loop /snap/ubuntu-mate-pi/11
loop6 7:6 0 14,9M 1 loop /snap/ubuntu-mate-welcome/578
loop7 7:7 0 15,2M 1 loop /snap/ubuntu-mate-welcome/641
loop8 7:8 0 65,1M 1 loop /snap/gtk-common-themes/1515
loop9 7:9 0 130M 1 loop /snap/chromium/1755
loop10 7:10 0 147M 1 loop /snap/gnome-3-28-1804/160
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 255M 0 part /mnt/sda1
└─sda2 8:2 0 465,5G 0 part /mnt
mmcblk0 179:0 0 14,9G 0 disk
├─mmcblk0p1 179:1 0 255M 0 part /boot/firmware
└─mmcblk0p2 179:2 0 14,7G 0 part /
 
Old 09-18-2021, 09:53 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Code:
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 255M 0 part /mnt/sda1
└─sda2 8:2 0 465,5G 0 part /mnt
As assumed /dev/sda2 is mounted to /mnt and not /mnt/sda2
sudo umount /mnt
sudo mount -t ext4 /dev/sda2 /mnt/sda2
 
Old 09-18-2021, 10:08 AM   #15
tjobful
LQ Newbie
 
Registered: Sep 2021
Location: Greece
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Code:
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 255M 0 part /mnt/sda1
└─sda2 8:2 0 465,5G 0 part /mnt
As assumed /dev/sda2 is mounted to /mnt and not /mnt/sda2
sudo umount /mnt
sudo mount -t ext4 /dev/sda2 /mnt/sda2
sudo unmount /mnt
[sudo] password:
sudo: unmount: command not found
desktop:~$ sudo mount -t ext4/dev/sda2 /mnt/sda2
mount: mnt/sda2: can't find in /etc/fstab.
 
  


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
Access To Encrypted SSD Partition With Native Password in SSD>SATA Enclosure skidvicious Linux - Hardware 5 12-03-2015 04:40 PM
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
To SSD or not to SSD jlinkels Linux - Hardware 14 10-02-2012 07:36 AM
SSD raid1 vs SSD raid10 advice ? wonker Linux - Hardware 8 05-23-2012 01:46 AM

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

All times are GMT -5. The time now is 01:12 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