主頁 高登熱話 吃喝玩樂 科技消費 名人專訪 短片
現有會員可[按此]登入。未成為會員可[按此]註冊。
[公司模式 - 關]  [懷舊模式 - 開
[Youtube 預覽 - 關]  [大字型]  [小字型]

您現在聚腳在 軟件台內。

請大家務必定期更改密碼

有見近日有會員懷疑自己帳號被盜用,我們在此向大家呼籲,為保安理由請定期更改密碼,並要為電腦安裝最新的網絡保安軟件,如無必要亦請不要在不屬於自己的電腦登入任何需要密碼的網站,謝謝各位。

香港高登管理員團隊
精選文章
DeerGamer
New App Android IOS
跳至第

發起人
Linux 高登集中討論post (#2)|無限制|TrannyOS好用|GTK正垃圾
265 個回應
最後我係用咗rsync個方法過落external drive

但咁樣重建btrfs sub-volume會有啲問題。
例如我係@, @home 2個sub都要backup

但我restore 返之後,會變咗做
@, Tom, Anna
2個user directory放咗出嚟,@home sub唔見咗

正常係要@, @home
@就係root sub-volume, 入面有曬etc, usr...嗰啲structure
@home就係home sub-volume,入面有放user directory,Tom, Anna... 咁咁咁


我之後create 返@home, 就咁mv Tom, Anna 落@home到

應該work?


其實功夫上,已經不亞於clean install 一次

Reddit有位朋友都建議我clean install ,重頭嚟過算

但有啲config我真係唔記得做過咩嚟,暫時真係restore用住先,有時間先重裝


已經restore 返之後,dm-crypt 出返嚟,比我unlock root
亦到入到sddm - display manager,但登入唔到


但boot 機過程systemd 一直抱怨,係咁重試start service。叫我check log, status

https://upload.hkgolden.media/comment/uiephtfe.sts10qujh4w.103l0l0qdas.xsx.jpg


而家tty 轉唔到,係咁重試start呢堆services

睇嚟clean install 真係最佳做法


唔明喺方面出錯。/var關唔關事
上次講到話,有啲root嘅文件,設定都有放喺/var


有一樣好奇怪嘅係,timeshift 只係同我backup /var以外嘅嘢
好多/var嘅嘢都無backup到

我明好多暫存檔唔重要,亦有可能會conflict

但timeshift 完全唔比我揀full disk snapshot


可能要再入live cd, chroot一次先得喇...


我好奇,如果一個encryption 無咗header ,無曬keyslot

咁係咪代表

就算我個luks 比FBI抄咗,佢都無辦法解鎖得到?

就算用brute force 都唔得啦?都冇入口


請問,你哋係咪覺得,我咁樣覆post ,好煩?

如果會嘅話,我之後會改善下


> Failed to start

- systemd-logind.service
- [email protected]
- systemd-resolved.service
- iio-sensor-proxy.service
- firewalled.service
- NetworkManager.service
- upower.service
- bluetooth.service
- udisk2.service
- power-profiles-daemon.service
- thermald.service

?_?cl [crash]cl


部mint開咗2個月(1個月唔sleep)終於死機#ass#
死嘅原因好離奇,就係個 x desktop死咗,焗住強制跳去cli再要重開先得(但變相乜Windows都冇曬)
systemctl restart lightdm


部mint開咗2個月(1個月唔sleep)終於死機#ass#
死嘅原因好離奇,就係個 x desktop死咗,焗住強制跳去cli再要重開先得(但變相乜Windows都冇曬)
systemctl restart lightdm


X11已經算好stable

同埋,點解要重開windows? 唔係得wayland 先會用個sandbox 咁困住process 咩?

就咁重開dm, wm唔得咩?


係咪得systemd先會強迫load曬啲servicexx(


部mint開咗2個月(1個月唔sleep)終於死機#ass#
死嘅原因好離奇,就係個 x desktop死咗,焗住強制跳去cli再要重開先得(但變相乜Windows都冇曬)
systemctl restart lightdm


X11已經算好stable

同埋,點解要重開windows? 唔係得wayland 先會用個sandbox 咁困住process 咩?

就咁重開dm, wm唔得咩?

唔重開成個gui會卡死
而重開嘅時候似乎冇保留進程逼我功能導致成個介面回歸啱啱開機果陣


用live cd去chroot睇唔到systemd 啲log同埋journalctl 嘅boot log

Dmesg感覺又比唔到啲咩重要信息


個人感覺係memory果邊衝突咗導致gui出事
但冇cross test好難確認


https://superuser.com/questions/688733/start-a-systemd-service-inside-chroot-from-a-non-systemd-based-rootfs

A well-known problem in systemd distros (Arch Linux, OpenSUSE, Fedora).

Systemd replaces sysvinit, and provides one great advantage over this. In sysvinit, when you ask a service to start, it inherits the execution context of the person invoking the script, which includes environment variables, ulimits, and so on. Systemd improves on this at the contrary by notifying a daemon, which will start the service in a well-defined, healthy, constant environment, where of course the performances of the services are much easier to predict, since the environment is always the same.

This implies that, when I call systemctl from within the chroot, it is irrelevant that I am inside chroot, the environment that will be inherited is still that of PID 1, not my current one. But it gets worse than this: since communication sockets are placed inside /run/systemd, a process in a chroot will not even be able to talk to the init system!

So how do you go about chroot'ing in systemd distros?

If all you want to do is have a Linux container, this Arch Wiki page will tell you how to set up a Linux container in less than 30 seconds, thanks to systemd-nspawn.

If instead you really want a chroot environment, this beautiful and crystal clear Web page will provide you with two working solutions (the second one is a modified version of the one offered at point #1).



[sosad]
Several years later I must admit there is only one solution to most Systemd practical problems. Because the error is Systemd itself
I am really fed up with Systemd as I had problems that I never faced with things like Upstart or Openrc :

The only solution :

Systemd is unnecessary complex for solving problems : like alsa instead of ossv4. So if you have something that uses systemd just wipe all the data :

dd if=/dev/urandom of=/dev/dm−0 bs=1M

and install something that doesn’t use it at all while solving problems of SysV Init like Gentoo with Openrc.
Concerning my question systemd makes things like the Windows registry : if a part of it gets screwed up, then it’s over.



個人感覺係memory果邊衝突咗導致gui出事
但冇cross test好難確認

咁其實你都唔算係restart 啫?只係有需要用到dm嘅 process 死咗

其他唔需要顯示嘅background process,例如可能docker, server 嗰啲唔死

唔係好似Windows 咁,少少出錯就一鑊熟bsod


Windows 有問題係真係好難track ,我完整理解得到。作為一個用咗差唔多20年嘅user


普通用家見到個bsod畫面,得到嘅information 真係好少
靠去網上問,remote debug,都會好難好辛苦


得句無鬼用嘅 hex code,無第二部電腦上網查,都唔知佢講緊咩有問題
死display card driver, ram?

我係用過linuz之後,先明點解linux user 咁憎Windows


所以Mr.A上嚟推「/迫」大家轉用linux ,係做福緊人群。對雙方都好。

咁多人上嚟問windows 系統問題,點解會lag, 點解會bsod。

叫人點幫你呢?linux 識得睇journal 已經解決9成問題


*造福


我好奇,如果一個encryption 無咗header ,無曬keyslot

咁係咪代表

就算我個luks 比FBI抄咗,佢都無辦法解鎖得到?

就算用brute force 都唔得啦?都冇入口

首先佢都唔知有冇data, 所以已經談不上brute force
不過如果佢知, 佢會用呢個方法問你拿
https://imgs.xkcd.com/comics/security.png


我好奇,如果一個encryption 無咗header ,無曬keyslot

咁係咪代表

就算我個luks 比FBI抄咗,佢都無辦法解鎖得到?

就算用brute force 都唔得啦?都冇入口

首先佢都唔知有冇data, 所以已經談不上brute force
不過如果佢知, 佢會用呢個方法問你拿
https://imgs.xkcd.com/comics/security.png

張圖有小小unrelated

我個情況係,連你入password 都入唔到。無keyslot去解鎖啲咩嘢呢?無咗header 嘅話,已經唔係「一對門,無咗門鎖咁簡單。」係直頭「門都冇」

我都覺得fbi真係想要攞料,直接要當時人講資料出嚟多


我好奇,如果一個encryption 無咗header ,無曬keyslot

咁係咪代表

就算我個luks 比FBI抄咗,佢都無辦法解鎖得到?

就算用brute force 都唔得啦?都冇入口

首先佢都唔知有冇data, 所以已經談不上brute force
不過如果佢知, 佢會用呢個方法問你拿
https://imgs.xkcd.com/comics/security.png

張圖有小小unrelated

我個情況係,連你入password 都入唔到。無keyslot去解鎖啲咩嘢呢?無咗header 嘅話,已經唔係「一對門,無咗門鎖咁簡單。」係直頭「門都冇」

我都覺得fbi真係想要攞料,直接要當時人講資料出嚟多

有master key既話可以重新format整過個header, 知道唔係random data就可以問你拿料


我係好奇在於,一間屋無門無窗,有咩方法可以走到入去睇入面啲嘢。

即係好似啲cyber-criminals

我起一個system 喺encrypted volume 到,而呢個volume 係無密碼
所以一個重新開機就無可能入得返

https://upload.hkgolden.media/comment/3ki42xho.x4ntvkbwtg1.ry1hpc42nr5.due.gif

如果有fbi上門捉我,我即係關電源,之後拆ram 掉入微波爐

咁樣會唔會快過rewrite with zeros?


跳至第



  快速回覆 - 輸入以下項目

本討論區現只接受會員張貼文章,本站會員請先登入。非會員人仕,您可以按此加入為新會員,費用全免,並可享用其他會員服務。


上次光臨時間: 2/7/2022 21:24
今天貼文總數: 764 | 累積文章數目: 7,022,309

聯絡我們 | 服務條款 | 私隱政策 | 廣告查詢 | 職位空缺
Copyright © 2022 HKGolden.com. All Rights Reserved.