LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 12-13-2022, 08:15 AM   #1
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Rep: Reputation: 0
How to identify the flash sticks.


I have 2 identical USB flash sticks. One has BionicPup32 on it as the bootble USB. The other one is empty. Both of them are inserted into USB ports. On BionicPyp32's desltop, there are 4 USB flash sticks, sda, sda1, sda2, and sdb1. When install the OS, how do I know which one is the bootable and which one is the empty one?

Thank you.
 
Old 12-13-2022, 08:49 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by Jofto View Post
On BionicPyp32's desltop, there are 4 USB flash sticks, sda, sda1, sda2, and sdb1.
sdb is most likely the blank one as sda is showing with two partitions, which would be unusual for a blank drive. Also having a device name of sda would strongly indicate this is the boot device.
 
Old 12-13-2022, 07:22 PM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
in addition to above, in future, you can also look at naming some sticks

eg for ext2 3 or 4 use root powers to add a label to those sticks
also works on internal drives so my fstab uses labels not UUIDs

Code:
man e2label
Code:
sudo e2label /dev/sda1
[sudo] password for me: 
s1

 cat /etc/fstab
LABEL=s1    /    ext4  defaults,noatime           0 1
LABEL=s4    /s4  ext4  users,rw                   0 2
LABEL=swap  swap swap  defaults                   0 3
 
Old 12-13-2022, 07:40 PM   #4
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TenTenths View Post
sdb is most likely the blank one as sda is showing with two partitions, which would be unusual for a blank drive. Also having a device name of sda would strongly indicate this is the boot device.
Thank you.
I'll try to identify them by opening the one marked sda since sda indicates as the boot device.
Appreciate.
 
Old 12-13-2022, 07:42 PM   #5
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by aus9 View Post
in addition to above, in future, you can also look at naming some sticks

eg for ext2 3 or 4 use root powers to add a label to those sticks
also works on internal drives so my fstab uses labels not UUIDs

Code:
man e2label
Code:
sudo e2label /dev/sda1
[sudo] password for me: 
s1

 cat /etc/fstab
LABEL=s1    /    ext4  defaults,noatime           0 1
LABEL=s4    /s4  ext4  users,rw                   0 2
LABEL=swap  swap swap  defaults                   0 3
Thank you.
Sorry, I do not know that much and unable to do what you advise.
 
Old 12-13-2022, 11:03 PM   #6
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Running "lsblk -f" (as root) should give you a pretty good idea about what is on each stick.
 
Old 12-14-2022, 01:20 AM   #7
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rknichols View Post
Running "lsblk -f" (as root) should give you a pretty good idea about what is on each stick.
Thank you.
I am just starting to touch a Linux OS, realy do not know how to run anything. Sorry and appreciate your goodwill.
 
  


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] Desktop RAM sticks I bought are only about half as tall as the RAM sticks they're replacing Gregg Bell Linux - Newbie 7 06-07-2016 05:16 AM
[SOLVED] USB sticks don't work afe r being used as I.S.O boot sticks grahama Linux - Newbie 20 06-23-2015 05:23 PM
LXer: Identify PCI and USB Wired and Wireless Driver in Linux – Identify PCI Driver. Ubuntu, Debian, LXer Syndicated Linux News 0 08-20-2014 07:21 AM
[SOLVED] "read-only filesystem" error on USB sticks = bad sticks? newbiesforever Linux - General 4 09-26-2013 04:33 PM
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

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