LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-15-2023, 06:32 PM   #31
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594

mount command not found doesn’t make sense.

I notice your location is Canada. If you system is non-English you will need to convert to the language of your system I think.
 
Old 02-15-2023, 07:10 PM   #32
RenH
Member
 
Registered: Oct 2015
Location: Vancouver, BC Canada
Distribution: Ubuntu
Posts: 269

Original Poster
Rep: Reputation: Disabled
No, no, English is the basic language in British Columbia. I will try to send you a photo, if I know how to.
 
Old 02-15-2023, 08:08 PM   #33
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
try this:
Code:
sudo su -
mount /dev/sdb1 /mnt/usb
mount /home/<user directory>/Downloads/Lubuntu 22.04.LTS amd64.iso /mnt/iso
cp -a /mnt/iso/* /mnt/usb/
cp /home/<user directory>/Downloads/bootia32.efi /mnt/usb/EFI/boot/

Last edited by colorpurple21859; 02-15-2023 at 08:21 PM.
 
Old 02-15-2023, 08:26 PM   #34
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Just did some testing, the name of the iso is wrong in the mount command for the iso, I copied what I thought was the name of the iso from an earlier post.

Last edited by colorpurple21859; 02-15-2023 at 08:30 PM.
 
Old 02-16-2023, 01:16 AM   #35
RenH
Member
 
Registered: Oct 2015
Location: Vancouver, BC Canada
Distribution: Ubuntu
Posts: 269

Original Poster
Rep: Reputation: Disabled
Thanks colorpurple. I was going to send you a screen capture via Flickr but your last replies preempted my action.

Following your last email I went back and checked the name of the Lubuntu I am using. It is:
Quote:
lubuntu-22.04.1-desktop-amd64.iso
. There are no spaces between letters or numbers. So I used it instead of the one we have been using.Programme displayed
Quote:
this device does not exist
.

Your command line:
Quote:
mount /home/<user directory>/Downloads/Lubuntu 22.04.LTS amd64.iso /mnt/iso
I wrote:
Quote:
mount /home/reynold/Downloads/lubuntu-22.04.1-desktop-amd64.iso /mnt/iso
Well I got something!
Quote:
mount: /mnt/iso: WARNING: source write-protected, mounted read-only
.

When I typed the line:
Quote:
sudo cp -a /mnt/iso/* /mnt/usb
I got:

Quote:
cp: cannot create directory '/mnt/usb/boot': Input/output error
cp: cannot create regular file '/mnt/usb/boot.catalog': Input/output error
cp: cannot create directory '/mnt/usb/casper': Input/output error
cp: cannot create directory '/mnt/usb/dists': Input/output error
cp: cannot create directory '/mnt/usb/EFI': Input/output error
cp: cannot create directory '/mnt/usb/install': Input/output error
cp: cannot create regular file '/mnt/usb/md5sum.txt': Input/output error
cp: cannot create directory '/mnt/usb/pool': Input/output error
cp: cannot create directory '/mnt/usb/preseed': Input/output error
cp: cannot create symbolic link '/mnt/usb/ubuntu': Operation not permitt
 
Old 02-16-2023, 03:44 AM   #36
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,510

Rep: Reputation: Disabled
Looks like you may not have a /mnt/usb mounted....
 
Old 02-16-2023, 05:04 AM   #37
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
this device does not exist
Check and see if the usb you are attempting to put iso on is still /dev/sdb
Code:
sudo parted -l

Last edited by colorpurple21859; 02-16-2023 at 05:07 AM.
 
Old 02-16-2023, 07:17 AM   #38
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
maybe this will be easier:
open file-manager go to Downloads, right click the iso, click mount
got to where the iso is mounted
open another file manager go to the usb, drag and drop files from the iso to the usb.
 
Old 02-16-2023, 03:10 PM   #39
RenH
Member
 
Registered: Oct 2015
Location: Vancouver, BC Canada
Distribution: Ubuntu
Posts: 269

Original Poster
Rep: Reputation: Disabled
I did
Quote:
sudo parted -l
and got:

Quote:
Model: ATA WDC WD10EZEX-21M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 607GB 607GB ext4
4 607GB 992GB 385GB ext4
3 992GB 1000GB 8472MB linux-swap(v1) swap


Model: JetFlash Transcend 8GB (scsi)
Disk /dev/sdb: 7723MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 7722MB 7721MB primary fat32
 
Old 02-16-2023, 03:40 PM   #40
RenH
Member
 
Registered: Oct 2015
Location: Vancouver, BC Canada
Distribution: Ubuntu
Posts: 269

Original Poster
Rep: Reputation: Disabled
Hi colorpurple,
I just searched for /mnt/usb and I obviously have it:

Quote:
/$ ls
bin etc lib lost+found proc snap usr
boot home lib32 media root srv var
cdrom initrd.img lib64 mnt run sys vmlinuz
dev initrd.img.old libx32 opt sbin tmp vmlinuz.old
reynold@reynold-Aspire-XC-603:/$ cd /mnt
reynold@reynold-Aspire-XC-603:/mnt$ ls
iso usb
What I can't understand is that when I look at the attached USB under "Devices" on my hard drive I see "7.7 GB Volume" but it is blank!
 
Old 02-16-2023, 06:41 PM   #41
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,382

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
I edited the commands in post 25 for the correct iso name. Try running the commands again
 
1 members found this post helpful.
Old 02-16-2023, 07:24 PM   #42
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by RenH View Post
I wrote:
Code:
sudo cp -a /mnt/iso/* /mnt/usb
Well I got something! .
Code:
cp: cannot create directory '/mnt/usb/boot': Input/output error
cp: cannot create regular file '/mnt/usb/boot.catalog': Input/output error
cp: cannot create directory '/mnt/usb/casper': Input/output error
cp: cannot create directory '/mnt/usb/dists': Input/output error
cp: cannot create directory '/mnt/usb/EFI': Input/output error
cp: cannot create directory '/mnt/usb/install': Input/output error
cp: cannot create regular file '/mnt/usb/md5sum.txt': Input/output error
cp: cannot create directory '/mnt/usb/pool': Input/output error
cp: cannot create directory '/mnt/usb/preseed': Input/output error
cp: cannot create symbolic link '/mnt/usb/ubuntu': Operation not permitted
This response seems likely if your user does not have write permissions at the mount point (/mnt/usb).
 
1 members found this post helpful.
Old 02-16-2023, 11:05 PM   #43
RenH
Member
 
Registered: Oct 2015
Location: Vancouver, BC Canada
Distribution: Ubuntu
Posts: 269

Original Poster
Rep: Reputation: Disabled
Hi Colorpurple,

SOME SUCCESS! I succeeded in installing Lubuntu on the USB. I moved the USB over to the Notebook and booted up. It showed the Lubuntu emblem but otherwise the programme is stuck! I have over 4 gigs left on the USB. Sooo close!

My Bios version is 309 and I think there is a newer one.

Strange, but when I did
Quote:
lsblck
it showed I had sda and sdc but no sdb, which used to be the USB!
 
Old 02-17-2023, 04:16 AM   #44
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,510

Rep: Reputation: Disabled
Quote:
Originally Posted by RenH View Post
I have been trying to use a live USB without success. My latest Live USB has Lubuntu. Nothing happens, even when I tried earlier USBs of other Ubuntu versions. I did the SHA256 test and the downloaded version is fine. I used Startup Disk Creator. Is there something I am doing wrong or not doing?

Thanks for any advice!
Ren
I have a feeling that you are not writing the Ubuntu O/S as a disk image, if you are trying to use it as a boot medium.

Quote:
sudo cp -a /mnt/iso/* /mnt/usb
The above will copy all the files to the USB disk, but it won't be bootable, for that to happen, it must be copied as a disk image.

Code:
sudo cp file.iso /dev/sd?
Use whatever your usb disk is, /dev/sdb usually.

(I normally use dd to create bootable pendrives, but 'cp' will work too.)
 
1 members found this post helpful.
Old 02-17-2023, 04:20 AM   #45
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,510

Rep: Reputation: Disabled
Quote:
Originally Posted by RenH View Post
Strange, but when I did it showed I had sda and sdc but no sdb, which used to be the USB!
You likely have 2 USB socket controlled by 2 different USB hubs, & put it into the other socket; or removed & reinserted it.
 
  


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
Live USBs with persistence newellrp1 Linux - General 6 11-09-2016 03:27 AM
new USBs won't boot live Linux distros! linuxhippy Linux - General 2 01-10-2010 07:55 PM
Problem with Live USBs joeblurton Linux - General 7 01-06-2009 07:38 PM
I only can login with devfs=nomount, later on no CDR or USBs SK_pt Mandriva 1 03-18-2005 05:22 AM
HELP! I only can login with devfs=nomount, so later no CDR or USBs SK_pt Linux - Hardware 2 07-08-2004 02:34 PM

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

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