Forum › Forums › New users › New Users and General Questions › device /dev/sdb1 is an internal device and you’re not root
- This topic has 46 replies, 8 voices, and was last updated Nov 28-2:12 am by ninos.
-
AuthorPosts
-
November 24, 2025 at 1:44 pm #190893
ninosMemberon my antiX 23.1 system
df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 788M 904K 787M 1% /run
/dev/sda2 37G 11G 24G 31% /
tmpfs 5.0M 12K 5.0M 1% /run/lock
tmpfs 1.6G 0 1.6G 0% /dev/shmbut, there is also another bigger SSD, sdb1,
which when I try to open with the file manager
the message: “device /dev/sdb1 is an internal device and you’re not root”
appearshow can I solve this?
I had installed another distro in sdb1, but it failed to work,
then I must have made a foolish mistake trying to erase it and format it to fat 32 using gparted.antiX works fine in sda2
and I want to keep it as my daily computer,
but I also need sdb1, to store data.- This topic was modified 10 months ago by ninos.
- This topic was modified 10 months ago by ninos.
- This topic was modified 10 months ago by ninos.
using only various GNU/Linux distros, GhostBSD and Haiku
[perpetual antiX newbie]November 24, 2025 at 4:13 pm #190909Robin
MemberHi Ninos,
1st, check how (with what options) the drive is actually mounted:
$ mount | grep sdb1Then check your fstab, how it is registered there.
$ cat /etc/fstabMake sure the line describing the partition has the option “users” in it.
Example:
UUID=e17c3eaa-61ff-2113-6b41-09a1ee0e95af /media/antiX ext4 users,noauto,exec 0 0After modifying the fstab file you’ll have to reboot to make the new settings active.
format it to fat 32
Consider using ext4 instead. Then you can use aPUSB for making it accessible for all default users easily.
Windows is like a submarine. Open a window and serious problems will start.
November 25, 2025 at 8:13 am #190922
ninosMemberemmanuel@antix1:~
$ cat /etc/fstab
# Pluggable devices are handled by uDev, they are not in fstab
UUID=ab5128e9-1bc2-4290-9338-b9ecd23d16b0 / ext4 discard,noatime 1 1
#-> /dev/sdb2
UUID=c5879efe-09ff-402c-9bc1-8bb1ac0ffd68 /media/c5879efe-09ff-402c-9bc1-8bb1ac0ffd68 ext4 users,noauto,exec 0 0
/dev/cdrom /media/cdrom iso9660 noauto,users,exec,ro 0 0
/dev/cdrw /media/cdrw iso9660 noauto,users,exec,rw 0 0
/dev/dvd /media/dvd udf noauto,users,exec,ro 0 0
/dev/dvdrw /media/dvdrw udf noauto,users,exec,rw 0 0
/dev/sr0 /media/sr0 auto noauto,users,exec,ro 0 0
/swap/swap swap swap defaults 0 0?????????????????????
what should I do?
- This reply was modified 10 months ago by ninos.
using only various GNU/Linux distros, GhostBSD and Haiku
[perpetual antiX newbie]November 25, 2025 at 8:40 am #190927
sybokMemberYou should add a line pointing to /dev/sdb1
1) Determine UUID of /dev/sdb1 using the output of
sudo blkid
2) Create a mount-point for /dev/sdb1 (and set permissions), e.g.
sudo mkdir /data/ && sudo chown emmanuel -R /data/ && sudo chgrp emmanuel -R /data/
3) Add a corresponding line in ‘/etc/fstab/’ file (the line containing /dev/sdb1 in your ‘/etc/fstab’ or suggested by @Robin can serve as an inspiration).BTW, you have a second partition on the “/dev/sdb drive”, i.e. /dev/sdb2, already mounted at /media/<UUID>/.
If it is not crucial (and all data from there backed up), you may consider to format the whole /dev/sdb and create a single partition on it.November 25, 2025 at 9:12 am #190928
ninosMember3) Add a corresponding line in ‘/etc/fstab/’ file (the line containing /dev/sdb1 in your ‘/etc/fstab’ or suggested by @Robin can serve as an inspiration).
BTW, you have a second partition on the “/dev/sdb drive”, i.e. /dev/sdb2, already mounted at /media/<UUID>/.
If it is not crucial (and all data from there backed up), you may consider to format the whole /dev/sdb and create a single partition on it.I don’t understand this…
or rather,
I don’t understand any of the three suggested steps,
unfortunately over and above my head…- This reply was modified 10 months ago by ninos.
- This reply was modified 10 months ago by ninos.
- This reply was modified 10 months ago by ninos.
using only various GNU/Linux distros, GhostBSD and Haiku
[perpetual antiX newbie]November 25, 2025 at 9:50 am #190933Robin
MemberI don’t understand this…
Hi Ninos, no problem. Step by step then:
First, you need the UUID of /dev/sdb1. You can get it from lsblk:
$ lsblk -f | grep sdb1The UUID is located in the 5th column and consists of a long string of characters and numbers, with some dashes in it.
Then open /etc/fstab in leafpad or geany with root permissions:
$ sudo leafpad /etc/fstab`#-> /dev/sdb2
UUID=c5879efe-09ff-402c-9bc1-8bb1ac0ffd68 /media/c5879efe-09ff-402c-9bc1-8bb1ac0ffd68 ext4 users,noauto,exec 0 0`Copy the above line from your fstab file and paste it into the same file. Then modify the copy as follows:
#-> /dev/sdb1 UUID=... /media/sdb1 vfat defaults,users,exec,umask=000,iocharset=utf8 0 0replace the three dots … by the actual UUID you’ve retrieved by the step before from lsblk.
Save the file back to disk and reboot.
Windows is like a submarine. Open a window and serious problems will start.
November 25, 2025 at 9:57 am #190934
ninosMemberemmanuel@antix1:~
$ lsblk -f | grep sdb1
└─sdb1 vfat FAT32 1F56-06B0
emmanuel@antix1:~where is the UUID of /dev/sdb1???????????????????????
using only various GNU/Linux distros, GhostBSD and Haiku
[perpetual antiX newbie]November 25, 2025 at 10:07 am #190936Robin
MemberOK, seems you have a different version of lsblk (?), the LABEL column seems to be missing, so it is not in the 5th column for you. Please check the full output of
$ lsblk -f
Therein the columns will have headers, one of these reads UUID. The UUID you are after is right below this header then, in the line starting with sdb1.I guess you’ll find it reads 1F56-06B0, then it would be UUID=1F56-06B0 in /etc/fstab
Windows is like a submarine. Open a window and serious problems will start.
November 25, 2025 at 10:18 am #190937
ninosMemberemmanuel@antix1:~
$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1
│
└─sda2
ext4 1.0 rootantiX23.2
ab5128e9-1bc2-4290-9338-b9ecd23d16b0 23.7G 30% /
sdb
└─sdb1
vfat FAT32 1F56-06B0
sr0using only various GNU/Linux distros, GhostBSD and Haiku
[perpetual antiX newbie]November 25, 2025 at 10:31 am #190939Robin
MemberSeems the forum has mangled the output, and your console window is to small and adds line breaks. Should look that way:
$ lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS loop0 squashfs 4.0 0 100% /live/linux sda ├─sda1 ext4 1.0 rootantiX21 d82f9aa5-5c4f-4ada-97fd-31a86929bc7d 15,3G 31% /media/root ├─sda2 swap 1 swap 17ac2d3a-e01e-4126-b2d0-d8bfa288a27c [SWAP] ├─sda3 ext4 1.0 home e1992eca-60bf-41ff-8a42-08b9ee0f82af 45,2G 1% /media/home └─sda4 ext4 1.0 c48582a2-9e89-4d2c-9224-d6042480f9e7 17,2G 84% /media/sda4 sdb ├─sdb1 ext4 1.0 antiX-Live-usb c554d9a8-6a00-1d14-9fb2-eea83d9ce278 5,7G 80% /home/demo/Live-usb-storage │ /root/Live-usb-storage │ /live/boot-dev └─sdb2 vfat FAT32 ANTIX-UEFI 6AB0-6224 35,9M 26% /media/ANTIX-UEFI sr0 zram0 [SWAP]Hope you can make your output look similar.
Additional note: Your lsblk reveals there is no /dev/sdb2 partition present on your /dev/sdb device, so you don’t need an entry for it in fstab. Merely the new entry for /dev/sdb1 is needed. Don’t touch any other entries.
Windows is like a submarine. Open a window and serious problems will start.
November 25, 2025 at 10:41 am #190940
ninosMemberwhen I open fstab it says:
# Pluggable devices are handled by uDev, they are not in fstab
UUID=ab5128e9-1bc2-4290-9338-b9ecd23d16b0 / ext4 discard,noatime 1 1
#-> /dev/sdb2
UUID=c5879efe-09ff-402c-9bc1-8bb1ac0ffd68 /media/c5879efe-09ff-402c-9bc1-8bb1ac0ffd68 ext4 users,noauto,exec 0 0
/dev/cdrom /media/cdrom iso9660 noauto,users,exec,ro 0 0
/dev/cdrw /media/cdrw iso9660 noauto,users,exec,rw 0 0
/dev/dvd /media/dvd udf noauto,users,exec,ro 0 0
/dev/dvdrw /media/dvdrw udf noauto,users,exec,rw 0 0
/dev/sr0 /media/sr0 auto noauto,users,exec,ro 0 0
/swap/swap swap swap defaults 0 0please, tell me which part of the above
I should change with
#-> /dev/sdb1
UUID=1F56-06B0 /media/sdb1 vfat defaults,users,exec,umask=000,iocharset=utf8 0 0and how I SAVE the edited leafpad text
- This reply was modified 10 months ago by ninos.
using only various GNU/Linux distros, GhostBSD and Haiku
[perpetual antiX newbie]November 25, 2025 at 10:48 am #190943
ninosMember
using only various GNU/Linux distros, GhostBSD and Haiku
[perpetual antiX newbie]November 25, 2025 at 11:07 am #190947Robin
MemberAs you can see in your screenshot (below), the UUID is actually the 5th column, also for you.
please, tell me which part of the above I should change with …
You can replace this part, since you don’t have a sdb2 partition obviously, according to the lsblk output:
`#-> /dev/sdb2
UUID=c5879efe-09ff-402c-9bc1-8bb1ac0ffd68 /media/c5879efe-09ff-402c-9bc1-8bb1ac0ffd68 ext4 users,noauto,exec 0 0`by that:
`#-> /dev/sdb1
UUID=1F56-06B0 /media/sdb1 vfat defaults,users,exec,umask=000,iocharset=utf8 0 0`and how I SAVE the edited leafpad text
In leafpad click open the Menu “File”, then click therein on the entry “Save”.
Attachments:
Windows is like a submarine. Open a window and serious problems will start.
November 25, 2025 at 12:13 pm #190950
ninosMemberI replaced it
saved it
closed the leafpad window
and the terminal
rebootbut NOTHING CHANGED
when I tried to open the big SSD with the file manager
it says the same thing:
udevil: denied 88: device /dev/sdb1 is an internal device and you’re not rootusing only various GNU/Linux distros, GhostBSD and Haiku
[perpetual antiX newbie]November 25, 2025 at 1:13 pm #190951
XaverMemberedit:
/etc/udevil/udevil.confchange line 137
from
‘# allowed_internal_devices = ‘
to
‘allowed_internal_devices = /dev/*’ -
AuthorPosts
- You must be logged in to reply to this topic.
