LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-03-2018, 06:10 PM   #1
shooglefly
LQ Newbie
 
Registered: Feb 2018
Location: Castlegar, British Columbia, Canada
Distribution: kubuntu, Fedora
Posts: 5

Rep: Reputation: Disabled
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
 
Old 02-03-2018, 06:33 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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

Last edited by keefaz; 02-03-2018 at 06:35 PM.
 
Old 02-03-2018, 06:54 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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

Last edited by BW-userx; 02-03-2018 at 06:59 PM.
 
Old 02-03-2018, 07:11 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
 
Old 02-04-2018, 07:35 AM   #5
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,498

Rep: Reputation: Disabled
One of the best sources for learning.

https://www.tldp.org/guides.html
 
Old 02-07-2018, 11:15 PM   #6
shooglefly
LQ Newbie
 
Registered: Feb 2018
Location: Castlegar, British Columbia, Canada
Distribution: kubuntu, Fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
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
 
Old 02-08-2018, 12:58 AM   #7
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 shooglefly View Post
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.
 
Old 02-08-2018, 03:28 AM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,498

Rep: Reputation: Disabled
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.

Last edited by fatmac; 02-08-2018 at 03:30 AM.
 
Old 02-08-2018, 04:13 PM   #9
shooglefly
LQ Newbie
 
Registered: Feb 2018
Location: Castlegar, British Columbia, Canada
Distribution: kubuntu, Fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-08-2018, 04:24 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.
 
Old 02-08-2018, 04:46 PM   #11
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Quote:
Originally Posted by shooglefly View Post
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)
 
Old 02-08-2018, 06:22 PM   #12
shooglefly
LQ Newbie
 
Registered: Feb 2018
Location: Castlegar, British Columbia, Canada
Distribution: kubuntu, Fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
I have Fedora running on this pc
 
Old 02-08-2018, 06:27 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Look in your menu for something about dvd .... under multimedia is the first place I'd look.
 
Old 02-08-2018, 06:36 PM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by shooglefly View Post
I have Fedora running on this pc
Which desktop environment?
 
Old 02-09-2018, 04:29 PM   #15
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
just install xfburn and use that, it doesn't pull in too many dependencies.
be sure to "Burn Image".
 
  


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
[SOLVED] How to learn Linux system administration and terminal command? pdixit Linux - Newbie 17 07-10-2016 09:41 PM
How to best learn to effectively use the terminal in Ubuntu? djd259th Linux - Newbie 3 03-04-2009 10:19 AM
mounting devices LQ496873 Linux From Scratch 1 03-13-2006 06:51 AM
Mounting CD-Devices evilmonkey Linux - Newbie 10 06-16-2003 10:07 PM
How does a Newbie learn Terminal? tomplate Linux - Newbie 13 03-01-2002 03:37 PM

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

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