The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » Grub problem on HP Zbook with SSD HD » 2024-07-05 16:30:08

I tried installing Devuan again, booting in UEFI mode and doing a full disk install.
The BIOS still did not find GRUB at boot.
I could boot to Devuan GRU only navigating tthrough the BIOS submenus.
I decied to try MxLnux (which I usually keep at hand in frugal mode) and installed it also full disk.
It worked perfectly and got the GRUB menu no problem.
So I repartitioned the HD and reistalled Devuan on a second partition.
I could probaly have make Devuan install work going through the UEFI folders renaming procedure, but this is okay for the time being.

#2 Re: Installation » Grub problem on HP Zbook with SSD HD » 2024-07-04 16:08:03

Thanks for the help.
I'll follow your suggestions and post the outcome.

#3 Re: Installation » Grub problem on HP Zbook with SSD HD » 2024-07-03 22:28:34

Thanks for taking the time to look at the datas.
Actually, half a day running Windows convinced me I have no use for it (I wanted to try some free piano VSTs but they suck).
So, I'm considering getting rid of Windows altogether and make the laptop Devuan only.
My partition table presently looks like this:

/dev/sda4: BLOCK_SIZE="512" UUID="E6144245144218C7"+ TYPE="ntfs" PARTUUID="055c56c6-aefe-4e7f-97ad-788bf916e38c"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="19a810ce-4d1e-4d4c-8967-b699d45c3370"
/dev/sda5: LABEL="devuan" UUID="6c5b969d-293f-4c45-925b-e4723d86abc1" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e427b8b8-d30e-472e-87a6-b6152d993643"
/dev/sda3: BLOCK_SIZE="512" UUID="16A69470A69451DB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="69c81569-7560-4872-ab26-b171a4333d5f"
/dev/sda1: UUID="4A93-10CE" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="19a018fe-c429-410c-8b06-0c9aef63bb7b"
/dev/sda6: LABEL="Files" UUID="c61d01bf-0d1c-43ac-bc29-d45b5756f8eb" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3ad740c1-773c-4d15-bd5d-b04ecc7c5ba3"

The only two partitions I'd like to keep would be:
SDA 5 (where I installed Devuan
SDA 6 (my personal archives partition)
Can I erase all the other partitions, reboot in Legacy mode and use Devuan install ISO to re-install GRUB in the MDR?
I could also install a second Devuan in the free space (since I can use a testing distro) and install GRUB then.

#4 Re: Installation » Grub problem on HP Zbook with SSD HD » 2024-07-03 20:32:39

Thanks for the link.
Yep, it could be HP.
I need to look into it with time and attention.
Right now, I had to reinstall the system in a rush and get it usable cause my old laptop gave up the ghost on me and I had to work.
I've never needed to boot UEFI before (and also never kept Windows on my machines) or owned an HP laptop, so this is all new to me.

#5 Re: Installation » Grub problem on HP Zbook with SSD HD » 2024-07-03 16:38:35

I have temporarily solved the problem installing grub2win.
I had to point grub2win to the partition where Devuan was installed and also set the option to force grub2win to load (I don't remember the exact term) otherwise the system would still boot in windows.
Now I get Devuan on grub2win menu and it boots fine.
It-s not ideal (I'd rather have grub on linux) but seems to work just fine.

#6 Re: Installation » Grub problem on HP Zbook with SSD HD » 2024-07-03 14:44:06

I wish there'd be a way to just make GRUB work from the HD. It seems strange that Linux couldn't be installed on a laptop just cause it has an SSD disk.
The error I get when I boot in legacy mode is that the is no bootable system.
I wonder if I could Install Devuan in Legacy mode and still boot Windows 10 with GRUB.

#7 Installation » Grub problem on HP Zbook with SSD HD » 2024-07-03 06:03:13

amc252
Replies: 13

Hello,

I'm trying to install Devuan on a HP ZBook 15 G2 laptop with SSD HD.
If possible, I'd like to keep Windows 10 on a small partition.
I first tried to enable Legacy booting, but then the BIOS would refuse to boot Windows or find the USB pendrive.
So, I decided to stick with UEFI (I just disabled fast booting).
I went through the install as usual, but noticed that OS Prober failed to detect Windows.
I installed GRUB on the HD (SDA)
Upon reboot, the system just boot into Windows and does not seem to find GRUB.
On this Debian wiki:
https://wiki.debian.org/InstallingDebia … G3/stretch
I found this warning:

2. Do not attempt to install bootloader on a buit-in NVMe SSD drive because grub install fails and the system will not be bootable. Instead, install Debian on another disk and use NVMe SSD as a data disk.

But in my case, the laptop has just the SSD drive.

Here is the output from blkid:

$ blkid
/dev/sda1: UUID="4A93-10CE" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="19a018fe-c429-410c-8b06-0c9aef63bb7b"
/dev/sda3: BLOCK_SIZE="512" UUID="16A69470A69451DB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="69c81569-7560-4872-ab26-b171a4333d5f"
/dev/sda4: BLOCK_SIZE="512" UUID="E6144245144218C7" TYPE="ntfs" PARTUUID="055c56c6-aefe-4e7f-97ad-788bf916e38c"
/dev/sda5: LABEL="devuan" UUID="6c5b969d-293f-4c45-925b-e4723d86abc1" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e427b8b8-d30e-472e-87a6-b6152d993643"

sda1 is the UEFI partition
sda2 is where windows is installed
sda5 is the partition where I installed Devuan

And here is the system information:

System:
  Kernel: 6.1.0-21-amd64 [6.1.90-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/antiX/vmlinuz quiet splasht nosplash
  Desktop: Fluxbox v: 1.3.7 info: tint2 vt: 7 dm: LightDM v: 1.26.0 Distro: MX-23.3_fluxbox_x64
    Libretto May 19 2024 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: Hewlett-Packard product: HP ZBook 15 G2 v: A3009DD10303
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Hewlett-Packard model: 2253 v: KBC Version 03.12 serial: <superuser required>
    UEFI: Hewlett-Packard v: M70 Ver. 01.24 date: 04/17/2019
Battery:
  ID-1: BAT0 charge: 57.0 Wh (100.0%) condition: 57.0/57.0 Wh (100.0%) volts: 16.9 min: 14.8
    model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: full
CPU:
  Info: model: Intel Core i7-4810MQ bits: 64 type: MT MCP arch: Haswell gen: core 4 level: v3
    note: check built: 2013-15 process: Intel 22nm family: 6 model-id: 0x3C (60) stepping: 3
    microcode: 0x27
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 823 high: 990 min/max: 800/3800 scaling: driver: intel_cpufreq
    governor: ondemand cores: 1: 800 2: 800 3: 798 4: 800 5: 800 6: 800 7: 990 8: 800 bogomips: 44695
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: conditional; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-7.5 process: Intel 22nm built: 2013 ports: active: eDP-1 empty: VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
  Device-2: NVIDIA GK106GLM [Quadro K2100M] vendor: Hewlett-Packard driver: N/A
    alternate: nouveau non-free: series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler
    code: GKxxx process: TSMC 28nm built: 2012-18 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:11fc class-ID: 0300
  Device-3: Cheng Uei Precision Industry (Foxlink) HP EliteBook integrated HD Webcam type: USB
    driver: uvcvideo bus-ID: 3-7:3 chip-ID: 05c8:0374 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x960 s-dpi: 96 s-size: 337x253mm (13.27x9.96") s-diag: 421mm (16.59")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x15c3 built: 2014 res: 1280x960 hz: 60 dpi: 95
    gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    direct-render: Yes
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: Hewlett-Packard 8
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403
  Device-2: NVIDIA GK106 HDMI Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e0b class-ID: 0403
  API: ALSA v: k6.1.0-21-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I217-LM vendor: Hewlett-Packard driver: e1000e v: kernel port: 6080
    bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 3d:00.0 chip-ID: 8086:08b1 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 3-12:5
    chip-ID: 8087:07dc class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
    sub-v: 500 hci-v: 4.0 rev: 500
  Info: acl-mtu: 1021:5 sco-mtu: 96:5 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, audio, telephony
Drives:
  Local Storage: total: 227.31 GiB used: 0 KiB (0.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: B1H5 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Kingston model: DT 101 G2 size: 3.74 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  Message: No partition data found.
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 1862 libs: 890 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm pkgs: 0
    pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
Info:
  Processes: 235 Uptime: 7m wakeups: 2 Memory: 11.56 GiB used: 1.52 GiB (13.2%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Video Tweaks:
Detected possible Hybrid Graphics

So, is there a way to install GRUB on the SSD HD and keep Windows working?

Thanks.

#8 Re: Other Issues » Unknown HTTP error on Pidgin Facebook » 2023-06-01 18:29:21

This is the output of the debug window:

(11:12:37) util: Writing file prefs.xml to directory /home/mac/.purple
(11:12:37) util: Writing file /home/mac/.purple/prefs.xml
(11:12:50) http: Timeout reached for request 0x5603f3eb4a60
(11:12:50) http: Request 0x5603f3eb4a60 performed without success.
(11:12:50) connection: Connection error on 0x5603f3eb14c0 (reason: 0 description: Unknown HTTP error)
(11:12:50) account: Disconnecting account myfbaccount@mail.com (0x5603f3369690)
(11:12:50) connection: Disconnecting connection 0x5603f3eb14c0
(11:12:50) connection: Destroying connection 0x5603f3eb14c0
(11:12:54) prefs: /pidgin/debug/width changed, scheduling save.
(11:12:54) prefs: /pidgin/debug/height changed, scheduling save.
(11:12:55) util: Writing file accounts.xml to directory /home/mac/.purple
(11:12:55) util: Writing file /home/mac/.purple/accounts.xml
(11:12:59) util: Writing file prefs.xml to directory /home/mac/.purple
(11:12:59) util: Writing file /home/mac/.purple/prefs.xml
(11:13:01) autorecon: do_signon called
(11:13:01) autorecon: calling purple_account_connect
(11:13:01) account: Connecting to account myfbaccount@mail.com.
(11:13:01) connection: Connecting. gc = 0x5603f3e9dd80
(11:13:01) http: Performing new request 0x5603f3f19810 to graph.facebook.com.
(11:13:01) autorecon: done calling purple_account_connect
(11:13:01) dnsquery: Performing DNS lookup for graph.facebook.com
(11:13:01) dns: Wait for DNS child 4350 failed: No child processes
(11:13:01) dns: Created new DNS child 4369, there are now 1 children.
(11:13:01) dns: Successfully sent DNS request to child 4369
(11:13:01) dns: Got response for 'graph.facebook.com'
(11:13:01) dnsquery: IP resolved for graph.facebook.com
(11:13:01) proxy: Attempting connection to 2a03:2880:f00d:110:face:b00c:0:2
(11:13:01) proxy: Connecting to graph.facebook.com:443 with no proxy
(11:13:01) proxy: Connection in progress
(11:13:32) http: Timeout reached for request 0x5603f3f19810
(11:13:32) http: Request 0x5603f3f19810 performed without success.
(11:13:32) connection: Connection error on 0x5603f3e9dd80 (reason: 0 description: Unknown HTTP error)
(11:13:32) account: Disconnecting account myfbaccount@mail.com (0x5603f3369690)
(11:13:32) connection: Disconnecting connection 0x5603f3e9dd80
(11:13:32) connection: Destroying connection 0x5603f3e9dd80
(11:13:37) util: Writing file accounts.xml to directory /home/mac/.purple
(11:13:37) util: Writing file /home/mac/.purple/accounts.xml
(11:13:54) autorecon: do_signon called
(11:13:54) autorecon: calling purple_account_connect
(11:13:54) account: Connecting to account myfbaccount@mail.com.
(11:13:54) connection: Connecting. gc = 0x5603f3f13200
(11:13:54) http: Performing new request 0x5603f354a240 to graph.facebook.com.
(11:13:54) autorecon: done calling purple_account_connect
(11:13:54) dnsquery: Performing DNS lookup for graph.facebook.com
(11:13:54) dns: Wait for DNS child 4369 failed: No child processes
(11:13:54) dns: Created new DNS child 4395, there are now 1 children.
(11:13:54) dns: Successfully sent DNS request to child 4395
(11:13:59) dns: Got response for 'graph.facebook.com'
(11:13:59) dnsquery: IP resolved for graph.facebook.com
(11:13:59) proxy: Attempting connection to 2a03:2880:f00d:110:face:b00c:0:2
(11:13:59) proxy: Connecting to graph.facebook.com:443 with no proxy
(11:13:59) proxy: Connection in progress

#9 Other Issues » Unknown HTTP error on Pidgin Facebook » 2023-05-30 17:22:28

amc252
Replies: 1

Hello,

DISCLAIMER: This is not a Devuan specific issue but, since there are so many knowledgeable people here, I'm hoping someone can help me shed some light on this problem.

Recently I have been experiencing a strange problem with Pidgin.
When I try to connect to Facebook (I use purple-facebook) I get the error message: Unknown HTTP error
There isn't any reference number and, if I launch Pidgin from the terminal, doesn't get any error output either.
This happens on Devuan Chimaera, Debian Testing, and I even tried a live Fedora 35 iso.
I also tried different facebook accounts with the same result.
However, this doesn't happen 100% of the time, and very occasionally it connects fine.
I have been using the same setup for a long time, and never had any problem.
The system is up to date, and I use the latest purple-facebook library.
If I use a browser, I can access my facebook account without any problem and haven't noticed any trouble with other connections.

Any suggestions as to how address this issue?

#10 Re: Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-05-01 16:59:46

I would guess the shown cable is an analog input, not an output.

It is made for digitisinging (recording) analog TV signals consisting of composit-video and audio, e.g. from video-tape-recorders (VHS/BetaMax/video8/whtever) or old video-cameras with TV-out.

Makes sense to me.

What make and model of laptop do you have?
What make and model of TV would you like to connect it to?

Toshiba Satellite
Samsung Tantus Digital TV

#11 Re: Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-04-30 18:09:16

chris2be8 wrote:

You would probably have got a better response if you had started by saying what make and model of laptop you have and what make and model of TV you would like to connect it to. And putting the above link in your first post would have been more helpful (or just saying what make and model it is).

As it is no one could offer any specific help since they could only guess what you were trying to connect.

It seemed rather clear to me, then again perception is everything.

If they do work at all, it's possible that the cables only work for very specific use cases.

That's precisely what I asked.

Is there a good reason that you are considering doing this instead of using the simplest and most straightforward solution possible?

Curiosity.

#12 Re: Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-04-29 18:14:41

Thanks for all the feedback.
Just to be clear, my doubt is not how can connect the laptop to the digital TV. As I said, it has the monitor port so I could use that.
The USB to RCA audio & video does exist and you can see a pic here: https://drive.google.com/file/d/1j7DbXk … share_link
The fact that I found such a cable is in fact what got me wondering if connecting this way was possible. 

iThen I suggest you use it, that's exactly what it's for. Why bugger about with any of this when you already have the right electrical signal, the right video format, and the right connector already present?

I don't understand what gives you the right to patronize anyone, or assume I haven't already tried what you suggest.
A forum is to ask questions depending or what people need to know, right?
If you cannot answer--or don't like--the question asked why posting an "answer" at all?

#13 Re: Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-04-29 06:58:48

Thanks for your reply.

in case it was not clear enough, what I meant is I would like to connect my laptop to a digital TV using the video and audio output from the laptop's USB port to the RCA video and audio entrey on the TV, and do so by mean of a connecting cable which has a USB plug on one side and 3 RCA video plugs on the other.
The laptop has a TV-out connection, I just wanted to know if I could use the USB port instead.
Since there are headphones that use USB ports and cameras, I assumed there might be a chance to connect a TV the same way.

#14 Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-04-28 23:28:12

amc252
Replies: 14

Hello everybody,

My system is Devuan Chimaera with ALSA and mpv.
I'm trying to connect my laptop to a digital TV using a USB connector (to the laptop USB port) and RCA audio/video plugs on the TV input, so that I can see images and hear sound played on the laptop on the TV.
Is it possible? and if so, how do I go about configuring the system?

Thanks for your suggestions

#15 Re: Hardware & System Configuration » [SOLVED] no MMIO resource found error » 2022-11-21 07:33:48

Thanks.

The post indicated refers to older drivers than what Devuan is using now, which makes it simpler.
In case anyone else got the same problem, what worked for me was:

sudo apt-get install r8168-dkms
sudo rmmod r8169
sudo touch /etc/modprobe.d/blacklist.conf
sudo echo "blacklist r8169" > /etc/modprobe.d/blacklist.conf
sudo update-initramfs -u -k all

#16 Hardware & System Configuration » [SOLVED] no MMIO resource found error » 2022-11-21 06:49:08

amc252
Replies: 2

Hi,

On my Devuan Chimaera box I keep getting the following dmesg error:

[  887.331600] r8169 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
[  887.331731] r8169 0000:01:00.0: no MMIO resource found

It shows up over and over on tty.
I have checked for drivers and modules errors but haven't found anything.
Any suggestion as to what might cause it?

Thanks.

#17 Re: Other Issues » dns error on certain webpages » 2022-11-08 18:17:17

It seems odd that two separate browsers all of a sudden would present the same error (without having been upgraded). Of course, they are both based on Qtwebengine, so that might be a clue.
Yet, if both Qutebrowser and Falkon had problems displaying a page like Distrowatch, I'd think someone would have already noticed.
I'm, still inclined to think I messed something up somehow.

#18 Re: Other Issues » dns error on certain webpages » 2022-11-08 01:18:35

Hi,
thanks for the feedback.

I spoke to my my internet provider who made a reconfiguration of my modem.
Now I can access lists.alpinelinux.org, but I still get an error on distrowatch. (Bad Request
Your browser sent a request that this server could not understand.) on Qutebrowser and Falkon, but it works fine on Waterfox.

$ ping distrowatch.com
PING distrowatch.com(2a00:9080:1:58a::1) 56 data bytes
64 bytes from 2a00:9080:1:58a::1: icmp_seq=1 ttl=48 time=175 ms
$ dig distrowatch.com @8.8.8.8

; <<>> DiG 9.18.4-2~bpo11+1-Debian <<>> distrowatch.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53423
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;distrowatch.com.		IN	A

;; ANSWER SECTION:
distrowatch.com.	10144	IN	A	82.103.129.71

;; Query time: 11 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Mon Nov 07 17:09:34 PST 2022
;; MSG SIZE  rcvd: 60

This is my default nameserver

$ dig distrowatch.com @192.168.1.254

; <<>> DiG 9.18.4-2~bpo11+1-Debian <<>> distrowatch.com @192.168.1.254
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28168
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;distrowatch.com.		IN	A

;; ANSWER SECTION:
distrowatch.com.	9457	IN	A	82.103.129.71

;; Query time: 8 msec
;; SERVER: 192.168.1.254#53(192.168.1.254) (UDP)
;; WHEN: Mon Nov 07 17:14:17 PST 2022
;; MSG SIZE  rcvd: 49
$ delv https://distrowatch.com/
;;   validating ./SOA: got insecure response; parent indicates it should be secure
;;   validating ./SOA: got insecure response; parent indicates it should be secure
;; no valid RRSIG resolving 'com//DS/IN': 192.168.1.254#53
;; broken trust chain resolving 'https://distrowatch.com//A/IN': 192.168.1.254#53
;; resolution failed: broken trust chain

#19 Re: Other Issues » Refracta-snapshot no medium containing live file system » 2022-11-07 16:15:23

Camtaf wrote:

Snapshot works well on a regular system, but I noticed this -

I also enabled the option to save a copy of the file system.

& wondered if that overrode making a 'live' - I suggest to try just making a 'live' system.

(I've changed the working directory before, & that works, but I haven't tried writing it to a different disk/partition.)

I used refracta always from an installed system. AFAIK the file system copy option only preserve the first copy refracta makes in order to creates the squashfs file so to shorten the process if repeated.
Also, in the latest tries, I used refracta default options where the snapshot and work directories are in the /home folder in the same partition.

#20 Other Issues » dns error on certain webpages » 2022-11-06 22:17:24

amc252
Replies: 5

Hi,

today I got a strange issue on my Devuan Chimaera box which I had encountered and solved on Alpine a few weeks ago.

On qutebrowser and Falkon, when I go the the page https://lists.alpinelinux.org/ I get  a '404 Not Found nginx' error.
I also get an error on https://distrowatch.com/ 'Bad Request Your browser sent a request that this server could not understand.'
On waterfox, distrowatch works fine but lists.alpinelinux.org doesn't.
On Dillo, both lists.alpinelinux.org and distrowatch.com work fine.

Now, on Alpine, I solved the problem by installing dhclient and creating the file /etc/dhcp/dhclient.conf with the code:

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, domain-search, host-name,
	dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
	netbios-name-servers, netbios-scope, interface-mtu,
	rfc3442-classless-static-routes, ntp-servers;
	
prepend domain-name-servers 8.8.8.8, 8.8.4.4;

On Devuan dhclient is already there, so I tried to append the 'prepend domain-name-servers 8.8.8.8, 8.8.4.4;' line but to no effect.
Note that at the time, on Devuan the pages giving me errors worked fine. Except for an update/upgrade, I didn't change anything.

So, here what I have tried so far:

I tried on another Chimaera fresh install on my laptop = same error
I tried from Daedalus live cd with Firefox                      = same error
I tried from Slitaz frugal with tazweb                             = pages work fine

Here some more output:

alpine linux list page

dig https://lists.alpinelinux.org/lists

; <<>> DiG 9.18.4-2~bpo11+1-Debian <<>> https://lists.alpinelinux.org/lists
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3831
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;https://lists.alpinelinux.org/lists. IN	A

;; AUTHORITY SECTION:
.			86398	IN	SOA	a.root-servers.net. nstld.verisign-grs.com. 2022110601 1800 900 604800 86400

;; Query time: 12 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Sun Nov 06 13:18:37 PST 2022
;; MSG SIZE  rcvd: 139
$ delv https://lists.alpinelinux.org/
;; validating ./DNSKEY: got insecure response; parent indicates it should be secure
;; insecurity proof failed resolving './DNSKEY/IN': 192.168.1.254#53
;; resolution failed: ncache nxdomain
; negative response, fully validated
; https://lists.alpinelinux.org/.	10800 IN \-ANY	;-$NXDOMAIN
; . SOA a.root-servers.net. nstld.verisign-grs.com. 2022110601 1800 900 604800 86400
; . RRSIG SOA ...
; . RRSIG NSEC ...
; . NSEC aaa. NS SOA RRSIG NSEC DNSKEY
; org. RRSIG NSEC ...
; org. NSEC organic. NS DS RRSIG NSEC
$ delv https://lists.alpinelinux.org/
;;   validating ./SOA: got insecure response; parent indicates it should be secure
;;   validating ./SOA: got insecure response; parent indicates it should be secure
;; no valid RRSIG resolving 'org//DS/IN': 192.168.1.254#53
;; broken trust chain resolving 'https://lists.alpinelinux.org//A/IN': 192.168.1.254#53
;; resolution failed: broken trust chain
$ curl https://lists.alpinelinux.org/
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
$ ping https://lists.alpinelinux.org/
ping: https://lists.alpinelinux.org/: Name or service not known

alpine linux website

$ ping alpinelinux.org
PING alpinelinux.org(2604:1380:2002:4001::4 (2604:1380:2002:4001::4)) 56 data bytes
64 bytes from 2604:1380:2002:4001::4 (2604:1380:2002:4001::4): icmp_seq=1 ttl=47 time=170 ms
$ curl https://alpinelinux.org/
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="Alpine Linux">
        <title>index | Alpine Linux</title>

        <link rel="stylesheet" href="/css/pure-min.css" />
        <link rel="stylesheet" href="/css/grids-responsive-min.css" />
        <link rel="stylesheet" href="/css/font-awesome.min.css" />
        <link rel="stylesheet" href="/css/styles.css" />
        <link rel="shortcut icon" href="/alpine-logo.ico" />
    </head>
    <body>
        <div id="wrapper">
            <header class="pure-g" id="header">
                <div class="pure-u-1 pure-u-lg-4-24">
                    <div class="logo">
                        <a href="/"><img src="/alpinelinux-logo.svg" class="pure-img" alt="" /></a>
                    </div>
                </div>
                <input type="checkbox" id="menu-toggle-cb">
                <label id="menu-toggle" for="menu-toggle-cb" onclick><s class="bar"></s><s class="bar"></s><s class="bar"></s></label>
                <div class="pure-u-1 pure-u-lg-20-24 box-relative menu-wrapper">
                    <nav class="pure-menu pure-menu-horizontal menu-local">
                        <ul class="pure-menu-list">
                            <li class="pure-menu-item"><a href="/about" class="pure-menu-link">About</a></li>
                            <li class="pure-menu-item"><a href="/downloads" class="pure-menu-link">Downloads</a></li>
                            <li class="pure-menu-item"><a href="/releases" class="pure-menu-link">Releases</a></li>
                            <li class="pure-menu-item"><a href="/community" class="pure-menu-link">Community</a></li>
                            <li class="pure-menu-item"><a href="/sponsors" class="pure-menu-link">Sponsors</a></li>
                        </ul>
                    </nav>
                    <nav class="pure-menu pure-menu-horizontal menu-external">
                        <ul class="pure-menu-list">
                            <li class="pure-menu-item"><a href="https://docs.alpinelinux.org" class="pure-menu-link">docs</a></li>
                            <li class="pure-menu-item"><a href="https://wiki.alpinelinux.org" class="pure-menu-link">wiki</a></li>
                            <li class="pure-menu-item"><a href="https://gitlab.alpinelinux.org" class="pure-menu-link">git</a></li>
                            <li class="pure-menu-item"><a href="https://gitlab.alpinelinux.org/alpine/aports/-/issues" class="pure-menu-link">issues</a></li>
                            <li class="pure-menu-item"><a href="https://pkgs.alpinelinux.org" class="pure-menu-link">packages</a></li>
                            <li class="pure-menu-item"><a href="https://mirrors.alpinelinux.org" class="pure-menu-link">mirrors</a></li>
                            <li class="pure-menu-item"><a href="https://security.alpinelinux.org" class="pure-menu-link">security</a></li>
                        </ul>
                    </nav>
                </div>
            </header>
            <div class="banner">
                <div class="banner-content">
                    <h1>Small. Simple. Secure.</h1>
                    <h3>Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox.</h3>
                </div>
            </div>
            <div id="content" class="index">
                <div class="pagedate">
                    <time datetime=""></time>
                </div>
                <div class="pure-g">
   
    <div class="pure-u-1 pure-u-md-1-2">
        <div class="l-box">
            <h2>
                <a href="/atom.xml" class="atom"><i class="fa fa-rss"></i></a>
                Alpine News
            </h2>
            <ul class="home-list">
                <li><time>2022-08-09</time>  <a href="posts/Alpine-3.13.12-3.14.8-3.15.6-3.16.2-released.html">Alpine 3.13.12, 3.14.8, 3.15.6 and 3.16.2 released</a></li>
                <li><time>2022-07-19</time>  <a href="posts/Alpine-3.13.11-3.14.7-3.15.5-released.html">Alpine 3.13.11, 3.14.7 and 3.15.5 released</a></li>
                <li><time>2022-07-18</time>  <a href="posts/Alpine-3.16.1-released.html">Alpine 3.16.1 released</a></li>
                <li><time>2022-07-14</time>  <a href="posts/Alpine-edge-signing-keys-rotated.html">Alpine Linux edge signing keys rotated</a></li>
                <li><time>2022-05-23</time>  <a href="posts/Alpine-3.16.0-released.html">Alpine 3.16.0 released</a></li>
                <li><time>2022-04-04</time>  <a href="posts/Alpine-3.12.12-3.13.10-3.14.6-3.15.4-released.html">Alpine 3.12.12, 3.13.10, 3.14.6 and 3.15.4 released</a></li>
                <li><time>2022-03-28</time>  <a href="posts/Alpine-3.12.11-3.13.9-3.14.5-3.15.3-released.html">Alpine 3.12.11, 3.13.9, 3.14.5 and 3.15.3 released</a></li>
                <li><time>2022-03-23</time>  <a href="posts/Alpine-3.15.2-released.html">Alpine 3.15.2 released</a></li>
                <li><time>2022-03-17</time>  <a href="posts/Alpine-3.12.10-3.13.8-3.14.4-released.html">Alpine 3.12.10, 3.13.8 and 3.14.4 released</a></li>
                <li><time>2022-03-16</time>  <a href="posts/Alpine-3.15.1-released.html">Alpine 3.15.1 released</a></li>
            </ul>
            <a class="pure-button read-more" href="/posts">Read more</a>
        </div>

    </div>

    <div class="pure-u-1 pure-u-md-1-2">
        <div class="l-box">
            <h2>
                <a href="https://gitlab.alpinelinux.org/alpine/aports" class="cgit">
                    <i class="fa fa-git "></i>
                </a>
                Latest development
            </h2>
            <ul class="home-list">
                <li><time datetime="2022-11-06T21:41:33+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=a11f31670c86cbf0655a0ad5724b5fd30154f1ed">testing&#x2F;php7-pecl-igbinary: upgrade to 3.2.11</a></li>
                <li><time datetime="2022-11-06T21:41:07+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=7805d2911f8c124c2c5838ec521e32cb67a5a380">testing&#x2F;php8-pecl-igbinary: upgrade to 3.2.11</a></li>
                <li><time datetime="2022-11-06T21:40:35+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=6b14763a93e44ae193c1884b9aa36db276620be4">testing&#x2F;php82-pecl-igbinary: upgrade to 3.2.11</a></li>
                <li><time datetime="2022-11-06T21:40:06+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=974c75bdd44af0ae737a1c83926f353d2c79e76a">community&#x2F;php81-pecl-igbinary: upgrade to 3.2.11</a></li>
                <li><time datetime="2022-11-06T20:19:06+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=d3a307eaa18940711b507972fd0ad613ad75b363">community&#x2F;php81-pecl-igbinary: upgrade to 3.2.10</a></li>
                <li><time datetime="2022-11-06T20:19:06+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=c996011c7ecaa5751351fb1a74b4a772253bcb40">testing&#x2F;php82-pecl-igbinary: upgrade to 3.2.10</a></li>
                <li><time datetime="2022-11-06T20:19:06+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=51af7764ee5f3ddbce1c6502b97566255bab79ac">testing&#x2F;php8-pecl-igbinary: upgrade to 3.2.10</a></li>
                <li><time datetime="2022-11-06T20:19:06+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=7e1f46e51a4d39f49dac88283a65612e2ea5b28f">testing&#x2F;php7-pecl-igbinary: upgrade to 3.2.10</a></li>
                <li><time datetime="2022-11-06T20:13:36+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=ceea2c91524f8256d392260d489647346777f02e">community&#x2F;zabbix: upgrade to 6.2.4</a></li>
                <li><time datetime="2022-11-06T18:39:44+00:00">2022-11-06</time>  <a href="http://git.alpinelinux.org/aports/commit/?id=8d2c7b1891416741111f1dc99f8d0d19d612b476">community&#x2F;py3-platformdirs: upgrade to 2.5.3</a></li>
            </ul>
            <a class="pure-button read-more" href="https://gitlab.alpinelinux.org/alpine/aports/-/commits/master">Read more</a>
        </div>
    </div>

</div> <!-- end pure-g -->

            </div> <!-- end content -->
            <footer>&copy; Copyright 2022 Alpine Linux Development Team all rights reserved | <a href="/privacy-policy.html">Privacy Policy</a></footer>
        </div> <!-- end wrapper -->
    </body>
</html>

distrowatch

$ dig https://distrowatch.com/

; <<>> DiG 9.18.4-2~bpo11+1-Debian <<>> https://distrowatch.com/
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 29820
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;https://distrowatch.com/.	IN	A

;; AUTHORITY SECTION:
.			86383	IN	SOA	a.root-servers.net. nstld.verisign-grs.com. 2022110601 1800 900 604800 86400

;; Query time: 8 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Sun Nov 06 14:29:46 PST 2022
;; MSG SIZE  rcvd: 128
$ delv https://distrowatch.com/
;;   validating ./SOA: got insecure response; parent indicates it should be secure
;; insecurity proof failed resolving 'https://distrowatch.com//A/IN': 192.168.1.254#53
;; resolution failed: ncache nxdomain
; negative response, fully validated
; https://distrowatch.com/. 10800	IN	\-ANY	;-$NXDOMAIN
; . SOA a.root-servers.net. nstld.verisign-grs.com. 2022110601 1800 900 604800 86400
; . RRSIG SOA ...
; . RRSIG NSEC ...
; . NSEC aaa. NS SOA RRSIG NSEC DNSKEY
; com. RRSIG NSEC ...
; com. NSEC comcast. NS DS RRSIG NSEC

curl gave me an output a mile long.

$ ping https://distrowatch.com/
ping: https://distrowatch.com/: Name or service not known

Any suggestions as to what I could do?

#21 Re: Other Issues » Refracta-snapshot no medium containing live file system » 2022-11-06 20:50:56

fsmithred wrote:

I'm not seeing an obvious error there. Sorry. The only other idea I have right now is that somewhere between bios and grub and kernel there's confusion about the order of disks. And I'm not sure what to do to about that other than messing with the disk order in the bios.

Google says some other things to try are:
- use usb2 port instead of usb3 (or a usb2 hub if you don't have a usb2 port)
- try a different usb stick
- set bios to use AHCI instead of IDE (or RAID)

I don't think usb ports or the stick are the problem since I get the same error whether I boot from usb, boot the iso on the hd from grub or boot the system in frugal mode.
I agree it's baffling. I mess around with lots of live iso and remasters (slitaz, antix, slax, etc) and never came across this issue in a DDed image.

#22 Re: Other Issues » Refracta-snapshot no medium containing live file system » 2022-11-05 22:37:40

Repeated the process, same result. Here is the new log produced by refractasnapshot -d:

+ echo 'configfile is /etc/refractasnapshot.conf'
+ echo 'make_efi is yes'
+ check_grub
+ [[ yes = \y\e\s ]]
+ dpkg -l
+ grep -v bin
+ grep grub-efi-amd64
+ grep '^ii'
+ echo 'grub-efi-amd64 is not installed'
+ grub_message='Warning: grub-efi-amd64 is not installed. The snapshot may not be compatible with UEFI. 
To disable this warning, set make_efi=no in /etc/refractasnapshot.conf or set force_efi=yes for special use.
'
+ [[ no = \y\e\s ]]
+ make_efi=no
+ echo 'force_efi is no'
+ echo 'make_efi is no'
+ [[ ! -e /var/lib/dpkg/info/dosfstools.list ]]
+ choose_task
+ [[ no = \y\e\s ]]
+ uefi_message='uefi disabled'
+ true
+ echo '
 Choose a task.
 
 1. Create a snapshot (uefi disabled)
 2. Re-squash and make iso (no-copy)
 3. Re-make efi files and iso (no-copy, no-squash)
 4. Re-run xorriso only. (make iso, no-copy, no-squash)
 5. Help
 6. Exit
 '
+ read ans
+ case $ans in
+ echo 'This may take a moment while the program checks for free space.    '
+ check_copies
+ [[ -d /home/snapshot ]]
+ ls /home/snapshot/snapshot-20221104_1848.iso
++ ls /home/snapshot/snapshot-20221104_1848.iso
++ wc -l
+ snapshot_count=1
++ du -sh /home/snapshot
++ awk '{print $1}'
+ snapshot_size=237M
+ [[ -z 237M ]]
+ [[ -d /home/work/myfs ]]
++ du -sh /home/work/myfs
++ awk '{ print $1 }'
+ saved_size=663M
++ echo '* You have a saved copy of the system using 663M of space
   located at /home/work/myfs.'
+ saved_copy='* You have a saved copy of the system using 663M of space
   located at /home/work/myfs.'
+ [[ yes = \y\e\s ]]
++ echo '* The temporary copy of the filesystem will be saved 
   at /home/work/myfs.'
+ save_message='* The temporary copy of the filesystem will be saved 
   at /home/work/myfs.'
+ check_directories
++ echo /home/snapshot
++ grep /media/
++ awk -F / '{ print "/" $2 "/" $3 }'
+ snapdir_is_remote=
++ echo /home/work
++ grep /media/
++ awk -F / '{ print "/" $2 "/" $3 }'
+ workdir_is_remote=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ [[ -d /home/snapshot ]]
+ [[ yes = \n\o ]]
+ [[ yes = \y\e\s ]]
+ [[ -d /home/work ]]
+ check_space
++ df -h -x tmpfs -x devtmpfs -x iso9660
++ awk '{ print "  " $2 "\t" $3 "\t" $4 "\t" $5 "  \t" $6 "\t\t\t" $1 }'
+ disk_space='  Size	Used	Avail	Use%  	Mounted			Filesystem
  9.6G	2.0G	7.1G	22%  	/			/dev/sda8
  384G	87G	278G	24%  	/media/mac/Files			/dev/sda5'
+ check_initrd
+ lsinitramfs /initrd.img
+ grep -q conf.d/cryptroot
+ lsinitramfs /initrd.img
+ grep -q cryptroot/crypttab
+ lsinitramfs /initrd.img
+ egrep -q 'conf.d/resume|conf.d/zz-resume-auto'
+ remove_resume=yes
+ swap_message='The snapshot initrd will be modified to allow booting without the host'\''s swap partition.'
+ '[' '' = yes ']'
+ report_space
+ [[ -f /usr/bin/less ]]
+ pager=/usr/bin/less
+ /usr/bin/less
+ echo '
 You will need plenty of free space. It is recommended that free space 
 (Avail) in the partition that holds the work directory (probably "/")
 should be two times the total installed system size (Used). You can 
 deduct the space taken up by previous snapshots and any saved copies of
 the system from the Used amount.

 Warning: grub-efi-amd64 is not installed. The snapshot may not be compatible with UEFI. 
To disable this warning, set make_efi=no in /etc/refractasnapshot.conf or set force_efi=yes for special use.

 * You have 1 snapshots taking up 237M of disk space.
 * You have a saved copy of the system using 663M of space
   located at /home/work/myfs.
 * The temporary copy of the filesystem will be saved 
   at /home/work/myfs.
 * The snapshot directory is currently set to /home/snapshot

 You can change these and other settings by editing 
 /etc/refractasnapshot.conf.

 Turn off NUM LOCK for some laptops.

 The snapshot initrd will be modified to allow booting without the host'\''s swap partition.

 Current disk usage:
 (For complete listing, exit and run '\''df -h'\'')

   Size	Used	Avail	Use%  	Mounted			Filesystem
  9.6G	2.0G	7.1G	22%  	/			/dev/sda8
  384G	87G	278G	24%  	/media/mac/Files			/dev/sda5
 
 To proceed, press q.
 To exit, press q and then press ctrl-c
'
+ set_distro_name
+ [[ /usr/lib/refractasnapshot/iso = \/\u\s\r\/\l\i\b\/\r\e\f\r\a\c\t\a\s\n\a\p\s\h\o\t\/\i\s\o ]]
+ [[ live.cfg = \l\i\v\e\.\c\f\g ]]
++ lsb_release -i -s
+ DISTRO=Devuan
++ grep -q Refracta /etc/issue
+ true
+ echo '
	This is the distribution name that will appear in the boot menu for the
	live image. You can change it to something else, or you can blank this,
	and the the menu entries will just say "GNU/Linux <kernel-version>"
	'
+ exec
+ break
+ [[ -z Devuan ]]
+ DISTRO=Devuan
+ housekeeping
+ [[ '' = \y\e\s ]]
+ [[ -n '' ]]
++ awk -F: '/1000:1000/ { print $1 }' /etc/passwd
+ username=mac
+ [[ mac != user ]]
+ username_opt=username=mac
+ [[ -e /vmlinuz ]]
+ [[ -e /initrd.img ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ yes = \y\e\s ]]
+ echo -e '\nRunning updatedb...\n'
+ updatedb
/usr/bin/refractasnapshot: line 662: updatedb: command not found
+ [[ '' = \y\e\s ]]
+ cd /home/work
+ copy_isolinux
+ [[ -f /usr/lib/ISOLINUX/isolinux.bin ]]
+ isolinuxbin=/usr/lib/ISOLINUX/isolinux.bin
+ [[ -f /usr/lib/syslinux/modules/bios/vesamenu.c32 ]]
+ vesamenu=/usr/lib/syslinux/modules/bios/vesamenu.c32
+ rsync -a /usr/lib/syslinux/modules/bios/chain.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/ldlinux.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/libcom32.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/libutil.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/ISOLINUX/isolinux.bin /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/vesamenu.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ [[ '' = \y\e\s ]]
+ copy_kernel
+ rsync -a /usr/lib/refractasnapshot/iso/ /home/work/iso/
+ cp /vmlinuz /home/work/iso/live/
+ cp /initrd.img /home/work/iso/live/
+ copy_filesystem
+ [[ yes = \y\e\s ]]
++ type -p cpulimit
+ [[ -n /usr/bin/cpulimit ]]
+ pid=1339
+ cpulimit -e rsync -l 50
+ rsync -av / myfs/ --delete-before --delete-excluded --exclude=/home/work --exclude=/home/snapshot --exclude=/home/work/efi-files --exclude-from=/usr/lib/refractasnapshot/snapshot_exclude.list
+ [[ -n 1339 ]]
+ kill 1339
+ '[' '' = yes ']'
+ '[' yes = yes ']'
+ clean_initrd
+ extract_initrd
+ mkdir /tmp/extracted
+ pushd /tmp/extracted
++ file -L /initrd.img
++ egrep -o 'gzip compressed|XZ compressed|cpio archive'
+ COMPRESSION='gzip compressed'
+ '[' 'gzip compressed' = 'gzip compressed' ']'
+ echo 'Archive is gzip compressed...'
+ zcat /initrd.img
+ cpio -i
140896 blocks
+ popd
+ echo 'Initrd is extracted'
+ edit_initrd
+ pushd /tmp/extracted
+ '[' -f conf/conf.d/cryptroot ']'
+ '[' -f cryptroot/crypttab ']'
+ '[' -f conf/conf.d/resume ']'
+ echo 'Removing resume'
+ rm -f conf/conf.d/resume
+ rm -f /home/work/myfs/etc/initramfs-tools/conf.d/resume
+ '[' -f conf/conf.d/zz-resume-auto ']'
+ popd
+ rebuild_initrd
+ pushd /tmp/extracted
+ '[' 'gzip compressed' = 'gzip compressed' ']'
+ find . -print0
+ gzip -c
+ cpio -0 -H newc -o
140895 blocks
+ popd
+ rm -rf /tmp/extracted
+ edit_system
+ find myfs/var/log -name '*gz' -print0
+ xargs -0r rm -f
+ find myfs/var/log/ -type f -exec truncate -s 0 '{}' ';'
+ [[ yes = \y\e\s ]]
+ [[ -f /home/work/myfs/etc/pmount.allow ]]
+ [[ yes = \y\e\s ]]
+ sed -i 's/recent_files=.*;/recent_files=/' /home/work/myfs/home/mac/.config/geany/geany.conf
sed: can't read /home/work/myfs/home/mac/.config/geany/geany.conf: No such file or directory
+ [[ -e /home/work/myfs/lib/live/config/1161-openssh-server ]]
+ sed -i 's/PermitRootLogin yes/PermitRootLogin prohibit-password/' /home/work/myfs/etc/ssh/sshd_config
sed: can't read /home/work/myfs/etc/ssh/sshd_config: No such file or directory
+ [[ yes = \y\e\s ]]
+ sed -i 's|.*PasswordAuthentication.*no|PasswordAuthentication yes|' /home/work/myfs/etc/ssh/sshd_config
sed: can't read /home/work/myfs/etc/ssh/sshd_config: No such file or directory
+ touch /home/work/myfs/etc/fstab
+ '[' -e /home/work/myfs/etc/machine-id ']'
+ mknod -m 622 /home/work/myfs/dev/console c 5 1
+ mknod -m 666 /home/work/myfs/dev/null c 1 3
+ mknod -m 666 /home/work/myfs/dev/zero c 1 5
+ mknod -m 666 /home/work/myfs/dev/ptmx c 5 2
+ mknod -m 666 /home/work/myfs/dev/tty c 5 0
+ mknod -m 444 /home/work/myfs/dev/random c 1 8
+ mknod -m 444 /home/work/myfs/dev/urandom c 1 9
+ chown -v root:tty /home/work/myfs/dev/console /home/work/myfs/dev/ptmx /home/work/myfs/dev/tty
+ ln -sv /proc/self/fd /home/work/myfs/dev/fd
+ ln -sv /proc/self/fd/0 /home/work/myfs/dev/stdin
+ ln -sv /proc/self/fd/1 /home/work/myfs/dev/stdout
+ ln -sv /proc/self/fd/2 /home/work/myfs/dev/stderr
+ ln -sv /proc/kcore /home/work/myfs/dev/core
+ mkdir -v /home/work/myfs/dev/shm
+ mkdir -v /home/work/myfs/dev/pts
+ chmod 1777 /home/work/myfs/dev/shm
+ [[ -z '' ]]
+ echo '# The loopback network interface
auto lo
iface lo inet loopback
'
+ rm -f '/home/work/myfs/var/lib/wicd/configurations/*'
+ rm -f /home/work/myfs/etc/wicd/wireless-settings.conf
+ rm -f '/home/work/myfs/etc/NetworkManager/system-connections/*'
+ rm -f '/home/work/myfs/etc/network/wifi/*'
+ rm -rf '/home/work/myfs/var/lib/connman/*'
+ get_filename
+ [[ datetime = \d\a\t\e\t\i\m\e ]]
++ date +%Y%m%d_%H%M
+ filename=snapshot-20221105_2156.iso
+ [[ no = \y\e\s ]]
+ add_extras
+ dir_prefix=pkglist
+ for dir in "$work_dir"/iso/"$dir_prefix"*
+ rm -r /home/work/iso/pkglist_snapshot-20221104_1848
+ mkdir -p /home/work/iso/pkglist_snapshot-20221105_2156
+ dpkg -l
+ awk '{ print $2 }'
+ egrep 'ii|hi'
+ [[ -f /usr/share/doc/_Release_Notes/Release_Notes ]]
+ set_boot_options
+ '[' /usr/lib/refractasnapshot/iso = /usr/lib/refractasnapshot/iso ']'
+ sed -i 's:${DISTRO}:Devuan:g' /home/work/iso/isolinux/live.cfg
+ sed -i 's:${netconfig_opt}::g' /home/work/iso/isolinux/live.cfg
+ sed -i 's:${ifnames_opt}::g' /home/work/iso/isolinux/live.cfg
+ sed -i 's:${username_opt}:username=mac:g' /home/work/iso/isolinux/live.cfg
+ [[ no = \y\e\s ]]
+ [[ no = \y\e\s ]]
+ squash_filesystem
+ echo 'Squashing the filesystem...'
+ [[ yes = \y\e\s ]]
++ type -p cpulimit
+ [[ -n /usr/bin/cpulimit ]]
+ pid=1423
+ mksquashfs myfs/ iso/live/filesystem.squashfs -noappend
+ cpulimit -e mksquashfs -l 50
Warning: no target process found. Waiting for it...
+ [[ -n 1423 ]]
+ kill 1423
+ [[ yes = \n\o ]]
+ make_iso_fs
+ echo 'Creating CD/DVD image file...'
+ [[ yes = \y\e\s ]]
+ [[ -f /usr/lib/syslinux/mbr/isohdpfx.bin ]]
+ [[ -f /usr/lib/syslinux/isohdpfx.bin ]]
+ [[ -f /usr/lib/ISOLINUX/isohdpfx.bin ]]
+ isohybrid_opt='-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin'
+ [[ -n liveiso ]]
+ xorriso -as mkisofs -r -J -joliet-long -l -iso-level 3 -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16 -V liveiso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /home/snapshot/snapshot-20221105_2156.iso iso/
xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:/home/snapshot/snapshot-20221105_2156.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 7225m free
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/home/work/iso'
xorriso : UPDATE :      36 files added in 1 seconds
xorriso : UPDATE :      36 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/usr/lib/ISOLINUX/isohdpfx.bin'
libisofs: NOTE : Aligned image size to cylinder size by 362 blocks
xorriso : UPDATE :  3.23% done
xorriso : UPDATE :  74.89% done
ISO image produced: 120832 sectors
Written to medium : 120832 sectors at LBA 0
Writing to 'stdio:/home/snapshot/snapshot-20221105_2156.iso' completed successfully.

+ [[ yes = \y\e\s ]]
+ cd /home/snapshot
+ sha256sum snapshot-20221105_2156.iso
+ cd /home/work
+ cleanup
+ [[ yes = \n\o ]]
+ final_message
+ echo -e '\n\tAll finished!\n'
+ exit 0

#23 Re: Other Issues » Refracta-snapshot no medium containing live file system » 2022-11-05 16:24:51

Yes, I used /dev/sdb.
I don't think the problem lies there since it happens even in the frugal mode where I simply copied the filesystem.squashfs to the folder.
I'll try again with the -d option to see if it sheds more light on what I am doing wrong.

#25 Re: Other Issues » Refracta-snapshot no medium containing live file system » 2022-11-04 23:37:38

andyp67 wrote:

Forget daedalus,
computers are files and folders,
and folders have to be wrapped up as a file.
The latest wrapping is courtesy of Facebook.
The analogy is Chubb and Yale have been making locks forever and Facebook start making locks and it's got a monkey metal spring in it and it breaks and you're up shit creek without a paddle.

I don't understand what this has to do with the issue at hand.
I'm not even using daedalus, just mentioned that the grub stanza is tested to boot a live system without issues.

Board footer

Forum Software