LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Want to learn something about 'Terminal' and mounting devices (https://www.linuxquestions.org/questions/linux-newbie-8/want-to-learn-something-about-terminal-and-mounting-devices-4175623045/)

shooglefly 02-03-2018 06:10 PM

Want to learn something about 'Terminal' and mounting devices
 
Just learning this kind of system and wondered, is there a help manual on line to gen me up with 'Terminal' and possibly learning the command line to 'mount' devices, etc.
Thanks,
KJ

keefaz 02-03-2018 06:33 PM

Nowadays with freedesktop stuff (polkit etc), most devices are mounted automatically (eg when inserting an usb key...)

Each command for the most part has a manual, just type "man <command name>" in a terminal window
or "help <function name>" if it's a shell function

BW-userx 02-03-2018 06:54 PM

Code:

#find mount source

bash-4.4$ sudo blkid
/dev/sda1: LABEL="System Reserved" UUID="7E88DA2288D9D8AB" TYPE="ntfs" PARTUUID="0f3f3740-01"
/dev/sda2: UUID="01D285E8BED961F0" TYPE="ntfs" PARTUUID="0f3f3740-02"
/dev/sda3: UUID="FC9AF6529AF608C2" TYPE="ntfs" PARTUUID="0f3f3740-03"
/dev/sda5: UUID="d8d528f3-7b38-4942-b5fd-e6ab48233240" TYPE="ext4" PARTUUID="0f3f3740-05"
/dev/sda6: UUID="73162908-e58c-4a91-8bcc-1747c81c4cfc" TYPE="ext4" PARTUUID="0f3f3740-06"
/dev/sda7: UUID="b27bf034-8100-4341-90ef-7a9f11cf7e85" TYPE="ext4" PARTUUID="0f3f3740-07"
/dev/sdb1: LABEL="ntfs" UUID="0926403274AFA5C7" TYPE="ntfs" PARTUUID="d5ea7b5f-6ba5-4e0a-ac4e-61a773ba235f"
/dev/sdb2: UUID="1475e9ac-1659-4abf-9768-eaf4b55a7dec" UUID_SUB="0fc8c893-2607-406f-a3e5-60df5c9b3656" TYPE="btrfs" PARTUUID="9e950861-6922-4d3f-a912-da0f8354a396"
/dev/sdb3: UUID="441802d7-aa6c-4459-ac4f-3bb4d508f582" UUID_SUB="76564a47-05fe-4eaf-bcf4-19eaf8d516f7" TYPE="btrfs" PARTUUID="2d2808e3-dfce-4cea-bf9c-7d86a844d299"
/dev/sdb4: LABEL="data" UUID="5ca98f9f-4e04-4824-805d-6efca9be0292" TYPE="ext4" PARTUUID="dd666f38-c964-4ab4-b15a-63e114186687"
/dev/sdb5: UUID="7c9e2c22-0272-4f27-afdb-0dff0ad0854b" TYPE="ext4" PARTUUID="e5f2f3d1-671f-4b39-8407-ab16736afe8b"
/dev/sdb6: UUID="dfe0024c-1c7e-4aad-9462-337934cc6bc7" TYPE="ext4" PARTUUID="37c97b7d-0de7-45e2-b4f8-3a8ab5f5bf5c"
/dev/mmcblk0: PTUUID="0002a713" PTTYPE="dos"
/dev/mmcblk0p1: UUID="992875c3-07cf-42a5-9161-ff9e39951166" TYPE="swap" PARTUUID="0002a713-01"
/dev/sdc1: LABEL="4TB_esaystore" UUID="f39d5ad2-4898-45fc-8e7d-ec8f61fa6d78" TYPE="ext4" PARTUUID="032bf4e0-f87c-4442-9847-b85c76399301"

#mount source to destination

bash-4.4$ sudo mount /dev/sda7 /mnt/hd

# shows source mounted contents
bash-4.4$ ls /mnt/hd
lost+found  usera  userx

#unmount destination

bash-4.4$ sudo umount /mnt/hd

#shows source unmounted from destination


bash-4.4$ ls /mnt/hd
bash-4.4$

man mount
mount --help

hydrurga 02-03-2018 07:11 PM

Hi, KJ, and welcome to LQ.

If you search on the web for linux terminal tutorial you will find plenty of tutorials to help you.

Let us know which work(s) best for you.

fatmac 02-04-2018 07:35 AM

One of the best sources for learning.

https://www.tldp.org/guides.html

shooglefly 02-07-2018 11:15 PM

I'm back! Have checked out Linux terminal commands and am pleased with the suggestions you gave.
Now I have another question: Have installed Fedora from a free download.
The questions is: When I want to move an .iso file that I downloaded to a 'disc image mounter' it comes up with a request...
Authorization is required to modify the loop device/ dev/loop
Asks Administrator
Password BOX
The only password I entered is the one on boot up which doesn't work here.
Don't recall ever creating a password at this level.
What am I missing?
Hope this is in the right place.,
Thanks, KJ

ondoho 02-08-2018 12:58 AM

Quote:

Originally Posted by shooglefly (Post 5817142)
The questions is: When I want to move an .iso file that I downloaded to a 'disc image mounter' it comes up with a request...
Authorization is required to modify the loop device/ dev/loop
Asks Administrator
Password BOX
The only password I entered is the one on boot up which doesn't work here.

it probably asks for the root password.
you provided a user password during install.
but please hold your horses; what exactly are you trying to do there?
i think you're doing it wrong.

fatmac 02-08-2018 03:28 AM

Some file managers will let you 'look inside' an .iso file, they loop mount it for this purpose.

If you are trying to 'image' a disk, that is, write it to optical media, then use a program that images disks, you are not creating a CD/DVD, but placing an image onto it.

Also, some distros require you to be root, or use sudo, to write optical media.

shooglefly 02-08-2018 04:13 PM

What I'm trying to do is put an image on a DVD. What program would I be able to access that would do that?
I'm not that familiar with this OS that I know how to be root (or use sudo).
Really a novice; maybe I needd to learn more.

BW-userx 02-08-2018 04:24 PM

you're trying to burn to a CD/DVD? what os desktop wm are you running, some have or come with software to do that. kdedvd burner etc... so yeah easy peasy.

RockDoctor 02-08-2018 04:46 PM

Quote:

Originally Posted by shooglefly (Post 5817499)
What I'm trying to do is put an image on a DVD. What program would I be able to access that would do that?
I'm not that familiar with this OS that I know how to be root (or use sudo).
Really a novice; maybe I needd to learn more.

To burn an iso file to DVD from Linux, I've used brasero, gnomebaker, k3b, and xfburn. Any one should do the job. On my distro (Fedora Mate) xfburn is the default program)

shooglefly 02-08-2018 06:22 PM

I have Fedora running on this pc

BW-userx 02-08-2018 06:27 PM

Look in your menu for something about dvd .... under multimedia is the first place I'd look.

hydrurga 02-08-2018 06:36 PM

Quote:

Originally Posted by shooglefly (Post 5817551)
I have Fedora running on this pc

Which desktop environment?

ondoho 02-09-2018 04:29 PM

just install xfburn and use that, it doesn't pull in too many dependencies.
be sure to "Burn Image".


All times are GMT -5. The time now is 08:22 AM.