Cinnamon x86_64
1) Addition. If I boot up Porteus
as guest and
Blaze wrote:If I open folder as root I can't to mount ISO files via right click of mouse (I don't see mounted ISO at the left sidebar of nemo).
+ names (labels) of my partitions is missing - I see only sda1, sda2, etc, but not labels or tomes (names of tomes - Том 205 GB, Том 64 GB, etc).
If I boot up Porteus as root
ISO files mounts well and I see this at the left sidebar of nemo.
I think, that's doing demon or init script (/etc/rc.d) for user that you choose via cheat code (login=guest or login=root) when Porteus boot up.
But this abbility needs for both accounts - guest and root
Probably, need to tweak /etc/rc.d/rc.S
Code: Select all
# LVM support:
if egrep -q 'TYPE="LVM|TYPE=".*_raid_member"' /mnt/live/tmp/devices 2>/dev/null; then
echo "Initializing LVM (Logical Volume Manager):"
vgscan --mknodes --ignorelockingfailure
if [ $? = 0 ]; then
vgchange -ay --ignorelockingfailure
# Create fstab entries:
blkid | grep /dev/mapper | sort >/mnt/live/tmp/lvm
echo -e "\n# LVM volumes:" >>/etc/fstab
MOPT=`egrep -o " mopt=[^ ]+" /proc/cmdline | cut -d= -f2`; [ $MOPT ] || MOPT="noatime,nodiratime,suid,dev,exec,async"
LVM=`grep -c / /mnt/live/tmp/lvm`; x=1
while [ $x -le $LVM ]; do
NAME=`sed -n "$x"p /mnt/live/tmp/lvm | cut -d: -f1 | sed -e 's@/dev/mapper/@@' -e 's@-@/@g'`
# Fallback mode:
test -h /dev/$NAME || NAME=`sed -n "$x"p /mnt/live/tmp/lvm | cut -d: -f1 | sed s@/dev/mapper/@@`
FS=` sed -n "$x"p /mnt/live/tmp/lvm | egrep -o " TYPE=[^ ]+" | cut -d'"' -f2`
echo "/dev/$NAME /mnt/$NAME $FS $MOPT 0 0" >>/etc/fstab
mkdir -p /mnt/$NAME; [ -z "`egrep -qo " noauto( |\$)" /proc/cmdline`" ] && mount /mnt/$NAME; let x=x+1
done
fi
fi
2) I checked
Code: Select all
mkdir /media/porteus
mount -t iso9660 -o loop /mnt/sda5/Porteus-LXDE-v3.1-i486.iso /media/porteus
vs nemo right click action /usr/libexec/gvfsd-archive file="%F"
For some reason, the methods of mounting are have different permissions (different chmod for the files)
For example - I boot up Porteus as guest and I want to mount ISO of Porteus or another ISO (does not matter)
as root and copy all files to my USB stick
with permissions by deffault. As guest I can't to do this and I need permissions of content ISO by default.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16