LinuxQuestions.org
Help answer threads with 0 replies.
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 12-28-2023, 10:36 AM   #61
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled

Okay, guessing:

Code:
keos@keos:~
$ cd Downloads
keos@keos:~/Downloads
$ cd ventoy-1.0.96
keos@keos:~/Downloads/ventoy-1.0.96
$ sudo sh Ventoy2Disk.sh -r 321240 -I /dev/sda
[sudo] password for keos:     

**********************************************
      Ventoy: 1.0.96  x86_64
      longpanda admin@ventoy.net
      https://www.ventoy.net
**********************************************

Disk : /dev/sda
Model:  USB  SanDisk 3.2Gen1 (scsi)
Size : 460 GB
Style: MBR

You will reserve 321240 MB disk space 

Attention:
You will install Ventoy to /dev/sda.
All the data on the disk /dev/sda will be lost!!!

Continue? (y/n) y

All the data on the disk /dev/sda will be lost!!!
Double-check. Continue? (y/n) y

Create partitions on /dev/sda by parted in MBR style ...
Done
Wait for partitions ...
partition exist OK
create efi fat fs /dev/sda2 ...
mkfs.fat 4.2 (2021-01-31)
success
Wait for partitions ...
/dev/sda1 exist OK
/dev/sda2 exist OK
partition exist OK
Format partition 1 /dev/sda1 ...
mkexfatfs 1.3.0
Creating... done.
Flushing... done.
File system created successfully.
mkexfatfs success
writing data to disk ...
sync data ...
esp partition processing ...

Install Ventoy to /dev/sda successfully finished.

keos@keos:~/Downloads/ventoy-1.0.96
$
And it looks like this now in Gparted.
I add the ISO and the 'data' in this form:

Then I go to the BIOS, make the changes, open ventoy, the operating system appears.
I go for the data to the option,
'F2: Browse' > windows open:

DISK (hd0,msdos3) [] fat 313 GB
DIR [Documents]
[hd0,3/Documents/...]
DIR [chess]
DIR [linux] DIR [linux]
(hd03)/Documents/chess/..]

Only these file names appear, there is nothing in existence, as before, there is no data anywhere ...
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2023-12-28_10-53-58.png
Views:	10
Size:	62.6 KB
ID:	42301   Click image for larger version

Name:	Screenshot_2023-12-28_11-06-37.png
Views:	10
Size:	120.6 KB
ID:	42302   Click image for larger version

Name:	Screenshot_2023-12-28_11-08-49.png
Views:	9
Size:	75.1 KB
ID:	42303  

Last edited by Camello; 12-28-2023 at 10:38 AM.
 
Old 12-28-2023, 11:22 AM   #62
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
That 32.0 KiB Documents directory looks like "data" to me. What data would you expect to find on a 300G volume that you never put anything on?

I suggest you attach a volume label to your 300G volume. Before doing that, consider what you intend to put there. If you'll only be using it with Linux, EXT4 could be a much more appropriate filesystem.

Instead of attaching pictures, copy and paste from the terminal the commands issued with their outputs. It should make understanding what you did clear, unlike your narrative.
 
Old 12-28-2023, 01:45 PM   #63
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
Yes, as you can see i was guessing ...

Now, as you indicate i changed to ext4 and labeled it as data but when trying to add the data (in thunar, but no as root) i found it is no possible to do this, and error:

'ERROR creating directory /media/keos/data/documents'

I'm just follow instructions if are not very complex ...

if you suggest any command that can better clarify what all I do ... please do not hesitate ...

EDIT:

I did it now again, but as root, the data get into ventoy but when i check to see if it is abailable it do not appear, just like before ...

Last edited by Camello; 12-28-2023 at 02:04 PM.
 
Old 12-28-2023, 03:41 PM   #64
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
After running the commands in post 61, did you use gparted to create a ntfs and/or fat32 partition in the empty space at the end of the drive to store your files and/or one for persistence?

Last edited by colorpurple21859; 12-28-2023 at 03:45 PM.
 
Old 12-28-2023, 04:11 PM   #65
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
After applying the commands in #61 in gparted i formatted sda3 as fat32, -- no, i don't use windows.

Nothing is coming, there is no data, not even now that I formated again in ext4 as was indicated by ...

EDIT:

I'm doing everything again, from the begining, 'clean/cero', now, again after the aplying of the commands, this is how it looks, Gparted:

https://www.linuxquestions.org/quest...1&d=1703801889

Can any body tell me what to do from here?

Thanks
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2023-12-28_17-14-44.png
Views:	8
Size:	117.6 KB
ID:	42304  

Last edited by Camello; 12-28-2023 at 04:21 PM.
 
Old 12-28-2023, 04:41 PM   #66
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
You need to create an EXT4 partition in the unallocated space. Once it has been created, it needs to be formatted. The mkfs.ext4 command is one that can do this. I don't use gparted, so don't know if it has this capability.
 
Old 12-28-2023, 05:17 PM   #67
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
gparted formats a new partition to whatever is selected during creation. Gparted is able to format an existing partition to a different filesystem.

Create a partition in the empty 300gb free space for file storage, if using ext4, permissions will need to be adjusted to be able to access files by any user as you will be booting iso files to access the data, henceforth the suggestion to use ntfs file system.

Last edited by colorpurple21859; 12-28-2023 at 05:23 PM.
 
Old 12-29-2023, 05:31 AM   #68
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,569

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
You keep referring to the fact that there is no data on the partition but make no mention of how any data would get there. As asked in post 62, what data? You are repeatedly creating a new partition and formatting it which destroys any data that may have been on it but make no mention of what data you may have put on the partition or how you put it there.

Are the images you are posting taken from the installed MX Linux or from the MX Linux iso on the Ventoy flash drive? If you have actually copied or tried to copy data to that data partition (sda3?), how did you do it? Did you do it from the installed MX Linux?

Quote:
ERROR creating directory /media/keos/data/documents'
The above is from your earlier post which indicates you need root/subo permissions to create a document under /media/keos/data. Is this being done from your installed MX or from the flash drive? If you were able to copy something using root, how did you check to see if it was copied and available? Did you try mounting the partition?
 
Old 12-29-2023, 05:39 AM   #69
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
Quote:
Create a partition in the empty 300gb free space for file storage, if using ext4, permissions will need to be adjusted to be able to access files by any user as you will be booting iso files to access the data, henceforth the suggestion to use ntfs file system.
Sorry but somewhat confusing to my poor understanding, you indicate first that I should format it for ext4, correct, I understand this, but then you suggest later "something" related to 'nfts', I don't follow this ...

I had previously formatted in ext4 and when I added the data, it did not appear ... what could I have done wrong before in order to avoid it now?.

@yancek,

How should the data be added? Maybe this/here is my mistake.

EDIT:

Just in case,

MORE INFORMATION:

Code:
keos@keos:~
$ sudo fdisk -l
[sudo] password for keos:     
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: PC SN520 NVMe WDC 256GB                 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D3C3AE91-35A3-4FC3-8778-09C16F235FCF

Device             Start       End   Sectors  Size Type
/dev/nvme0n1p1      2048   3002367   3000320  1.4G EFI System
/dev/nvme0n1p2   3002368   5984255   2981888  1.4G Linux swap
/dev/nvme0n1p3   5984256  88997887  83013632 39.6G Linux root (x86)
/dev/nvme0n1p4  88997888 184377343  95379456 45.5G Linux filesystem
/dev/nvme0n1p5 184377344 286676991 102299648 48.8G Linux filesystem


Disk /dev/sda: 460.27 GiB, 494206451712 bytes, 965246976 sectors
Disk model:  SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3f4c9d7b

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 307281919 307279872 146.5G  7 HPFS/NTFS/exFAT
/dev/sda2       307281920 307347455     65536    32M ef EFI (FAT-12/16/32)
/dev/sda3       307347456 965246975 657899520 313.7G 83 Linux
keos@keos:~
$

Code:
keos@keos:~
$ sudo blkid
/dev/nvme0n1p5: UUID="9dc4d7f2-b30d-47f3-94a9-8671976a9cf1" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="a3271b41-8a09-4ef4-8f9b-7895fa200fa5"
/dev/nvme0n1p3: LABEL="rootMX21" UUID="18dde8e5-0707-421f-ba5a-551a6863f412" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="c5692368-ddb7-4405-a8b2-aac232755d3a"
/dev/nvme0n1p1: UUID="6693-9A38" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="1f8b0ce7-b5a4-4236-8019-565e23b47888"
/dev/nvme0n1p4: LABEL="rootMX23" UUID="10236dfd-8fba-48f5-b7cf-27aa1df5a9e7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="af6c241f-a4db-4b52-8c12-f13e5b66dfde"
/dev/nvme0n1p2: UUID="857acb06-9ea7-4274-b0f6-bced4ca2c251" TYPE="swap" PARTUUID="ae7c042f-5b43-47e4-bc93-f688bd2bb898"
/dev/sda1: LABEL="Ventoy" UUID="3017-3ABF" BLOCK_SIZE="512" TYPE="exfat" PTTYPE="dos" PARTUUID="3f4c9d7b-01"
/dev/sda2: SEC_TYPE="msdos" LABEL_FATBOOT="VTOYEFI" LABEL="VTOYEFI" UUID="B2C8-40D2" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="3f4c9d7b-02"
/dev/sda3: LABEL="Data" UUID="81f48659-d0f9-4907-8042-976f790dd169" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3f4c9d7b-03"
keos@keos:~
$
From Gparted:
https://www.linuxquestions.org/quest...1&d=1703855373
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2023-12-29_06-50-05.png
Views:	7
Size:	56.6 KB
ID:	42312  

Last edited by Camello; 12-29-2023 at 07:11 AM.
 
Old 12-29-2023, 08:55 AM   #70
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
open a terminal
Code:
sudo mount /dev/sdc3 /mnt
mkdir /mnt/files
chmod 777 /mnt/files
copy your files into the files directory
You can name the files directory any name you prefer.

Last edited by colorpurple21859; 12-29-2023 at 09:09 AM.
 
Old 12-29-2023, 10:23 AM   #71
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
Sorry if I ask you but the partition on the USB is 'sda3' not 'sdc3' as you seem to indicate here:

Quote:
sudo mount /dev/sdc3 /mnt
 
Old 12-29-2023, 10:28 AM   #72
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Yes sda3, sorry my bad
It’s always good to ask questions and double check when something doesn’t seem right

Last edited by colorpurple21859; 12-29-2023 at 10:30 AM.
 
Old 12-29-2023, 11:11 AM   #73
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,569

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
You might be a little more clear about how you tried to add data to this partition. Are you moving or copying files/folders from your install of MX Linux on the internal drive? Are you doing this from a terminal? Or are you using a file manager? When you copied or moved data, did you get any warning or error messages? If you did, what were they? If you do not see any warning or error messages, what do you mean by the data did not appear? Did you boot the iso on the usb (sda) to try to access? Did you mount the data partition before you did this?
 
Old 12-29-2023, 01:00 PM   #74
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
@colorpurple21859

Code:
keos@keos:~
$ sudo mount /dev/sda3 /mnt
[sudo] password for keos:     
keos@keos:~
$ mkdir /mnt/files
mkdir: cannot create directory ‘/mnt/files’: Permission denied
keos@keos:~
$
@yancek,

I always do it from thunar, I don't know how to do it any other way -- I haven't tried yet, as I have some problems with the above ...
 
Old 12-29-2023, 01:35 PM   #75
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Code:
sudo mount /dev/sda3 /mnt
sudo mkdir /mnt/files
sudo chmod 777 /mnt/files

Last edited by colorpurple21859; 12-29-2023 at 01:41 PM.
 
  


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] Can I make a USB hard drive bootable with same procedure to make USB stick bootable? Tem2 Linux - Hardware 1 02-16-2019 08:25 AM
[SOLVED] If I dd copy a bootable usb drive to an iso will the iso be bootable? mgallatin Linux - Software 5 03-23-2011 04:46 PM
Creating bootable CDROM from a bootable USB drive seaquesttr Linux - Desktop 2 08-01-2010 11:57 AM
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 09:18 PM
How to make a bootable DVD along with RPMs azgs Linux - Newbie 1 09-06-2007 08:44 AM

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

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