The officially official Devuan Forum!

You are not logged in.

#51 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-27 20:34:08

if i use dd it copy not files but sectors,
how use dd if destination bigger/smaller then source partition?

#52 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-26 12:40:16

@nixer

user:group and not UID:GID, which can cause some permissions issues

if it so, why this important thing not mentioned in the rsync manual at first place?

#53 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-26 12:36:10

@alexkemp
ok, but where is help? i am always use sudo su, and is my habit, and it always worked for me, but after rsync not.
I just want to show that Linux is still an wonky and shaky system.

#54 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-25 18:39:49

@alexkemp

If so, what were the error messages?

freeartist-devuan@home:~$ sudo su
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
freeartist-devuan@home:~$

freeartist-devuan@home:~$ sudo su
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[sudo] password for freeartist-devuan:

#55 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-25 18:37:48

@nixer Thanks for reply.
Yes i use Artix for copy Devuan. But where is mistake? Why i cant use another linux os here? Please explain. At many instuctions that i read i am not seen any warnings about type os for copy another os, just it all say "use live os"

#56 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-25 04:05:07

use su - ("switch user to root") not sudo su. sudo by itself is "switch user to root one-time only".

but why sudo worked at sourcre old hdd Devuan, and after rsync -aXHx at ssd not?

#57 Re: Installation » [SOLVED] at boot-systemd-udevd: failed to execute /lib/elogind/elogind-uaccess » 2024-08-24 20:13:30

@chris2be8 Thanks

Help this

apt install initramfs-tools
update-initramfs -u

#58 Re: Installation » [SOLVED] at boot-systemd-udevd: failed to execute /lib/elogind/elogind-uaccess » 2024-08-24 00:09:36

any ideas?

after booting

/lib/elogind/elogind-uaccess-command /dev/sr0
/lib/elogind/elogind-uaccess-command /dev/sg1

successfully ruining with no errors

/dev/sr0 is my IDE DVD-RW Optiarc Sony Nec

#59 Installation » [SOLVED] at boot-systemd-udevd: failed to execute /lib/elogind/elogind-uaccess » 2024-08-23 14:34:35

deepforest
Replies: 4

Fresh Devuan install.
All working/booting good but i see this lines at start booting OS, why?

[    4.139449] systemd-udevd[406]: failed to execute '/lib/elogind/elogind-uaccess-command' '/lib/elogind/elogind-uaccess-command /dev/sg1 ': No such file or directory
[    4.170784] systemd-udevd[407]: failed to execute '/lib/elogind/elogind-uaccess-command' '/lib/elogind/elogind-uaccess-command /dev/sr0 ': No such file or directory
root@devuan:/home/freeartist-devuan# rc-service elogind status
elogind is running.
root@devuan:/home/freeartist-devuan# 

#60 Re: Installation » is the Devuan repository server usually slow or offline? » 2024-08-23 12:22:35

sorry today is ok, but at last night is says that repos offline

#63 Re: Desktop and Multimedia » GParted - unallocated space within the partition(HOW recover data?) » 2024-08-23 02:54:26

@ALL Thanks.
Is it possible fully recover OS partition after formatting/deleting in Gparted?
After formatting i am did not write any data to this partition.
Maybe just needed restore partition table and mbr? How do that?

ps also i did full img this partition to another drive using ddrescue.

#65 Re: Desktop and Multimedia » GParted - unallocated space within the partition(HOW recover data?) » 2024-08-22 16:37:09

not help
i am loose sourse /dev/sdb1 partition (hdd)
before i try copy block device to block device THIS my error!
cp -a /dev/sdb1 /dev/sdc1
Tell me please how can i recover partition with ddresue now after formatting in Gparted?

home:[root]:/home/freeartist-artix# sudo fsck.ext4 -v /dev/sdb1
e2fsck 1.47.0 (5-Feb-2023)
/dev/sdb1: clean, 12/4612096 files, 434297/18432000 blocks
home:[root]:/home/freeartist-artix#

#66 Desktop and Multimedia » GParted - unallocated space within the partition(HOW recover data?) » 2024-08-22 15:58:32

deepforest
Replies: 6

Please. How fix this?
https://i.ibb.co/tzCQ9MT/Screenshot-202 … -55-59.png
https://i.ibb.co/7WXCLnw/Screenshot-202 … -00-13.png
Partition --> Check not help

UPD
story, i am interrupted cp operation by ctr+c(or z, i do not remember)
launch Gparted and reformat destination patrition,
but i dont know how source partitition of cp operation was formatted too,
i guess cp move to background and still copyng,
because unmount say that target is busy,
Question why its happens?
Perhaps source+destination partition was linked by cp operation at bacground, and i start use Gparted? And here was my mistake?

#67 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-22 13:39:59

i did

home:[freeartist-artix]:~$ sudo rsync -aXHx --info=progress2 /mnt/Dev1/ /mnt/Dev2/
 18,553,600,204  74%    9.40MB/s    0:31:21 (xfr#423384, to-chk=0/585833)
home:[freeartist-artix]:~$

update grub, cloned ssd os booted ok, but still have permissions problem

root@home:~# sudo mount /dev/sdc1 /mnt/
[  262.998370] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Quota
mode: none.
root@home:~#

freeartist-devuan@home:~$ sudo su
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
freeartist-devuan@home:~$

freeartist-devuan@home:~$ sudo su
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[sudo] password for freeartist-devuan: 

some help this

sudo chmod a+w /tmp
chown root:root /usr/bin/sudo && chmod 7455 /usr/bin/sudo

now desktop, xorg, slim worked, but at thunar i cant see any storage devices
where is issue again?
what i am did wrong?

#68 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-22 00:52:07

@all thanks for explanation and good advices
yes, original Devuan 5 at hdd still alive,
so, how better remake clone  to ssd?:
1. cp     --archive/--preserve=all/--preserve=xattr
2. rsync -aHX
3. clonezilla

ps and if clone will succesed how install grub to ssd?

#69 Re: Installation » after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd) » 2024-08-20 02:01:58

this is what I have saved in my post-install help file...

thanks its very useful

#70 Re: Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-20 01:51:26

thanks for reply,
i am copy os use midnight commander,
at first i try copy as non sudo user but mc say that needed sudo permissions for copy os to another drive,
copy Devuah i did under Artix linux that installed in dual boot at another partition

how thunar handles user mounts these days (still GVFS?

maybe so

ps
i do not know is it right way but me help
chmod -R 775 *

#71 Installation » how restore default permissions root folder after copy OS to SSD? » 2024-08-16 01:42:00

deepforest
Replies: 32

i am copy OS disk partition(all dirs\files)  to SDD with sudo permissions,
cloned OS working, but Thunar now show content of mounted drives it say "permission deny",
how restore permissions at new cloned OS at SSD?

UPD
i am use this instruction for clone os to another drive
https://askubuntu.com/a/741727

#72 Re: Installation » after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd) » 2024-08-16 01:34:14

thanks for reply.
#GRUB_DEVICE_UUID="bab95b18-9201-499e-b96b-6ab89bfd41e0"
its line i did when try to get it work

hmm i do not know how but its working now. grub now use correct uuid.
may be this cmd help?
tune2fs -U bab95b18-9201-499e-b96b-6ab89bfd41e0 /dev/sdb1

maybe the boot system is picking up the old UUID from a vmlinuz file from the old system (hdd)

maybe, how check it, or update vmlinuz?

#73 Installation » after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd) » 2024-08-14 17:24:34

deepforest
Replies: 5

1. copy hdd ext4 partiotion to ssd ext4
2. install grub to ssd partition
3. update ssd fstab with new UUID
4. update-gub

try to boot in grub boot menu ssd entry still use old uuid from hdd partition
old hdd uuid
linux /boot/vmlinuz-6.1.0-23-amd64 root=039cfdd1-19a0-436a-868e-93ad302371ad
new sdd uuis
if i am manually change via "e"
linux /boot/vmlinuz-6.1.0-23-amd64 root=bab95b18-9201-499e-b96b-6ab89bfd41e0
all booting ok in to sdd

root@home:/boot/grub# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
fd0      2:0    1     4K  0 disk 
sda      8:0    0 186.3G  0 disk 
├─sda1   8:1    0  10.5G  0 part 
├─sda2   8:2    0     1K  0 part 
├─sda5   8:5    0  29.3G  0 part 
├─sda6   8:6    0  48.8G  0 part 
├─sda7   8:7    0  48.8G  0 part 
└─sda8   8:8    0  48.8G  0 part 
sdb      8:16   0 223.6G  0 disk 
├─sdb1   8:17   0  72.3G  0 part /
├─sdb2   8:18   0  72.3G  0 part 
├─sdb3   8:19   0    75G  0 part 
├─sdb4   8:20   0     1K  0 part 
└─sdb5   8:21   0     4G  0 part [SWAP]
sdc      8:32   0 149.1G  0 disk 
├─sdc1   8:33   0  70.3G  0 part 
├─sdc2   8:34   0   4.5G  0 part 
├─sdc3   8:35   0    50M  0 part 
└─sdc4   8:36   0  74.2G  0 part 
sdd      8:48   0 931.5G  0 disk 
├─sdd1   8:49   0  75.7G  0 part 
├─sdd2   8:50   0     4G  0 part 
├─sdd3   8:51   0 345.7G  0 part /home
├─sdd4   8:52   0     1K  0 part 
└─sdd5   8:53   0 506.1G  0 part 
sde      8:64   0   149G  0 disk 
├─sde1   8:65   0  70.3G  0 part 
├─sde2   8:66   0     4G  0 part 
└─sde3   8:67   0  74.7G  0 part 
root@home:/boot/grub# 
root@home:/# blkid
/dev/sdd2: UUID="34d1ae4c-5d37-4bb7-bdd4-ae5a95060504" TYPE="swap" PARTUUID="907085ae-02"
/dev/sdd5: LABEL="NEW5" BLOCK_SIZE="512" UUID="3232708532704FB9" TYPE="ntfs" PARTUUID="907085ae-05"
/dev/sdd3: UUID="24c316e7-38e1-4db4-a0aa-ade09eea7782" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="907085ae-03"
/dev/sdd1: UUID="5720e815-c048-427f-b2f8-c5bd6d68665b" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="907085ae-01"
/dev/sdb2: UUID="e4470a2b-7a42-4eee-9051-2f0ce31da08c" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="1f909dee-02"
/dev/sdb5: UUID="d531b1fd-dfd5-4734-9ab2-e4f304348902" TYPE="swap" PARTUUID="1f909dee-05"
/dev/sdb3: LABEL="New 10" BLOCK_SIZE="512" UUID="B842FF8142FF42A4" TYPE="ntfs" PARTUUID="1f909dee-03"
/dev/sdb1: UUID="bab95b18-9201-499e-b96b-6ab89bfd41e0" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="1f909dee-01"
/dev/sde2: UUID="a5633ead-0ebc-4f5b-b0fd-cd036aeb94f6" TYPE="swap" PARTUUID="0002426d-02"
/dev/sde3: UUID="c266328b-3853-45d6-b1e5-5e795370f40e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0002426d-03"
/dev/sde1: UUID="039cfdd1-19a0-436a-868e-93ad302371ad" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0002426d-01"
/dev/sdc2: UUID="b6b16d67-2aab-43c1-bfc4-d948e4a270b5" TYPE="swap" PARTUUID="6296eae2-02"
/dev/sdc3: LABEL="System Reserved" BLOCK_SIZE="512" UUID="A0D6B4C7D6B49ECA" TYPE="ntfs" PARTUUID="6296eae2-03"
/dev/sdc1: LABEL="NEW4" BLOCK_SIZE="512" UUID="4E9E2ABD9E2A9E09" TYPE="ntfs" PARTUUID="6296eae2-01"
/dev/sdc4: LABEL="NEW_10" BLOCK_SIZE="512" UUID="A414D1AC14D1822A" TYPE="ntfs" PARTUUID="6296eae2-04"
/dev/sda7: LABEL="NEW_7" BLOCK_SIZE="512" UUID="0EAC29DEAC29C157" TYPE="ntfs" PARTUUID="3dd23dd1-07"
/dev/sda5: LABEL="NEW1" BLOCK_SIZE="512" UUID="E498D01C98CFEADE" TYPE="ntfs" PARTUUID="3dd23dd1-05"
/dev/sda1: LABEL="M-PM-^]M-PM->M-PM-2M-QM-^KM-PM-9 M-QM-^BM-PM->M-PM-<" BLOCK_SIZE="512" UUID="064C49404C492BAD" TYPE="ntfs" PARTUUID="3dd23dd1-01"
/dev/sda8: LABEL="NEW3" BLOCK_SIZE="512" UUID="B8E45713E456D2EC" TYPE="ntfs" PARTUUID="3dd23dd1-08"
/dev/sda6: LABEL="NEW2" BLOCK_SIZE="512" UUID="E8802A87802A5C76" TYPE="ntfs" PARTUUID="3dd23dd1-06"
root@home:/# 

already did, not help
root@home:/# tune2fs -U bab95b18-9201-499e-b96b-6ab89bfd41e0 /dev/sdb1

/etc/fstab                                 

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=bab95b18-9201-499e-b96b-6ab89bfd41e0 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdd3 during installation
UUID=24c316e7-38e1-4db4-a0aa-ade09eea7782 /home           ext4    defaults        0       2
# swap was on /dev/sdb2 during installation
UUID=d531b1fd-dfd5-4734-9ab2-e4f304348902 none            swap    sw              0       0

/etc/default/grub                                                                                                                                                 

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet rd.driver.blacklist=nouveau mitigations=off"
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
#GRUB_DEVICE_UUID="bab95b18-9201-499e-b96b-6ab89bfd41e0"

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

/boot/grub/grub.cfg
https://pastebin.com/raw/XGDbb5mL

root@home:/home/freeartist-devuan# update-grub2
Generating grub configuration file ...
Found background image: splash.png
Found linux image: /boot/vmlinuz-6.1.0-23-amd64
Found initrd image: /boot/initrd.img-6.1.0-23-amd64
Found linux image: /boot/vmlinuz-6.1.0-21-amd64
Found initrd image: /boot/initrd.img-6.1.0-21-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows 7 on /dev/sda1
Found MS-DOS 5.x/6.x/Win3.1 on /dev/sda6
Found Windows 7 on /dev/sda7
Found Windows 10 on /dev/sdc1
Found Windows 10 on /dev/sdc3
Found Fedora Linux 40 (Xfce) on /dev/sdd1
Found Devuan GNU/Linux 5 (daedalus) on /dev/sde1
Found Artix Linux (rolling) on /dev/sde3
done
root@home:/home/freeartist-devuan# grub-install -v
grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ... not found.
grub-install: info: Looking for /proc/device-tree ...
grub-install: info: ... not found.
Installing for i386-pc platform.
grub-install: error: install device isn't specified.
root@home:/home/freeartist-devuan# 

#74 Re: Installation » install at Daedalus emelfm, old software that require GTK+ v1.2.x? » 2024-07-28 05:08:22

thank you i will try play with makeconfig,
at git is silent, i try post to devs via mail

#75 Re: Installation » install at Daedalus emelfm, old software that require GTK+ v1.2.x? » 2024-07-27 21:16:00

install libmagic-dev
but

multiple definition of `file'
collect2: error: ld returned 1 exit status

build when add this at 438 line makefile
<------>@$(CC) $(LDFLAGS) -Wl,-allow-multiple-definition $(OBJECTS) -o $(TARGET) -Wl,--as-needed $(lLIBS)
original was
<------>@$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -Wl,--as-needed $(lLIBS)
after launch emelfm2 its look strange
https://i.ibb.co/74FSxDS/Screenshot-202 … -08-13.png

ps debug log https://pastebin.com/raw/2Bi4MiKP

Board footer

Forum Software