libera/#devuan/ Sunday, 2023-04-23

rwpxrogaan, I am very familiar with the saga. I simply disagree with the premise. Put me down for strongly disagree.00:25
se7enI have been having trouble with installing Devuan to my new SSD01:29
se7enThe auto-partitioner does not appear to be using 85% of the disk like I ask it to make, and after the install Grub fails to install period.01:29
se7enThe installer appears to fail to recognize that the device is even an SSD, and even attempted to overwrite all data for the FDE01:30
gnarfaceuefi too?01:39
Xenguyxrogaan: rwp: We know that JWZ is, ah, volatile, of course01:46
se7enYes I use UEFI01:51
onefangI have been looking for a replacement for xscreensaver, but not found anything yet with the features I want.  Think I posted to our mailing list about that.02:40
rrqonefang: I make xautolock have the features I want :)03:01
onefangThat basically just launches some program after it detects inactivity.  Still need the "some program", and mostly I trigger xscreensaver manually to lock things when I step out.03:18
onefangRecommends xtrlock, xscreensaver, i3lock, and sucksless-tools.  I tried the sucksless one, let's look at xtrlock and i3lock.03:19
rrqyes I use xtrlock03:19
onefang"you don't type at it".  lol03:19
rrqbut also fiddle with xset03:20
onefangSo it unlocks how?  If you don't type at it.03:20
onefangxset for blanking and monitor turn off I guess.03:20
rrqyes, xtrlock waits for my password03:21
onefangSo you do type at it.  B-)03:21
rrqyes03:21
* onefang installs it to try it out.03:21
rrq"xtrlock -b" ... if it's an old CRT then I also had  "mouse move" a repeated "keiller" script03:22
onefangInstalling it wants to restart my email servers graphing thingy?03:23
rrqno-recommends?03:23
onefangYep, I got recommends turned off.03:23
onefangMight have been aleft over from the update I did a short time ago.  shrugs03:24
rrqodd.. yes xtrlock doesn't depend on anything03:24
onefangFour libraries it depends on.  libc, libcrypt, libx11, and libxi.03:25
rrqye "anything worth mentioning" :)03:26
onefanglol03:26
onefangAh it can blank the screen.03:26
onefangSo I would still have to deal with "turn monitors off, turn them back on at mouse wave".  Also no password prompt, which I kinda prefer, that's why I decided to not use sucksless.03:28
rrqI have a wrapper script with "xset s 5 dpms 5 +dpms" before and "xset s 600 dpms 0 -dpms" after03:29
onefangThough I have sucksless-tools installed for other reasons.03:30
rrq.. and my wrapper script also does setxkbmap fiddling (since I sometimes use "se")03:31
onefang"se"?03:31
rrqthat the two-letter acronym for those pesky viking's language03:31
onefangAh.03:32
onefangCoz you are related to pesky vikings?03:32
rrqindeed :)03:32
rrqand at the time I happened to have some keys that are part of the mapped keys in my pasword03:34
rrqlike å ä ö03:35
onefangFair enough.03:35
onefangI'm not seeing anything for the "turn monitors on and prompt for password when I wave the mouse / hit some shift key".03:39
onefangCoz I like to make sure I'm typing my password into the correct place.  Typed it into the wrong place once, which was being projected onto a screen in front of a room full of computer experts.  Wont make that mistake again.  lol03:41
* onefang swaps my HDMI ports and reboots so X notices I want two that are not mirrored, then tests xscreensaver again.03:45
rrqtighr xtrlock doesn't offer any prompt;just eats the typing. start with newline03:45
rrqtighr? right.03:45
rrqand end with newline03:46
onefangThat did the trick, xscreensaver is behaving now.03:52
onefangOdd, coz the one it was plugged into before was HDMI 0, now it's in HDMI 1.  If it was gonna default to behaving properly on only one, I would have guessed HDMI 0.  shrugs03:53
onefangI hate rebooting.03:53
* onefang spends the next half hour starting up things the refuse to automate and logging into lots of things.03:54
onefangSwitching to awesome window manager might help with the automation, I can script it in my favourite scripting language.  B-)03:55
gnarfaceonefang: maybe the bios is deciding which one is hdmi-0 on the fly at boot?04:22
gnarfacelike maybe based on whichever display is connected and powers up first or something?04:23
onefangNah, it worked fine for years before I moved house, and plugged into the "wrong" port.04:39
onefangAnyway, it's fixed now.  Time to move on.04:40
AlexLikeRockR.I.P. https://www68.zippyshare.com/09:00
se7enI did not see a reply to my messages left yesterday. I do not know a good time to come on for troubleshooting. I am unable to install Devuan to my new SSD with the Desktop Installer (not the Net or Server installer). The autopart does not appear to be respecting the 85% provisioning request and after installing the system anyway Grub fails to install. I'm on a UEFI system18:53
gnarfacei only asked whether it was a uefi system or not18:53
gnarfacedid you use lvm with your encrypted setup?18:54
se7enYes18:54
gnarfacedo you have the cryptsetup-initramfs package?18:54
se7enI don't know if this matters but when I set it to do 85% of the disk, there is freespace but only a few MBs big. It is at the top and the bottom of the list, not together.18:55
se7enIn my presently-installed system?18:55
gnarfacethe percentage math is crude18:55
gnarfacei usually do everything manually18:55
gnarfaceand use static sizes18:55
gnarfacei mean in the new one you're trying to install18:56
gnarfacethere's a few possible failure cases but i don't know them all very well and they all have the same symptom18:56
gnarfacepeople around here do know18:57
gnarfacefsmithred: ^18:57
se7enWhat would you suggest then for seperate /var, /home, /tmp parts on a 1Tb SSD? 15% need to be free for overprovisioning, yes?18:57
gnarfacetmp and var probably shouldn't be more than 5GB each for a desktop system18:59
gnarfaceeven that is overkill but it gives you some headroom in case something goes off the rails18:59
gnarfacei don't think this is why it's not booting though19:00
gnarfacei think the boot issue has to do with the uefi integration and/or the encrypted disk setup, just based on statistics19:01
gnarfaceit might be as simple as adding a missing package19:01
gnarfacei recommend you stick around until fsmithred or someone else who has done this a few times shows up19:02
se7enIt's not that it's not booting, it's that grub fails to install19:07
se7enRepeatedly19:07
fsmithredback19:34
fsmithredse7en, got any error messages from grub?19:37
fsmithredand have you tried booting in rescue mode to reinstall the bootloader?19:37
fsmithred^^^ booting the installation media in rescue mode^^19:38
se7enfsmithred: I have tried to reinstal via rescuemode. I have not recieved error messages from grub, only from the installer. It's the Catastrophic Error message. However, it seems that it's a good thing because I'm also having problems with the autoparter as I said, which is also generating a swapfile20:38
fsmithredswapfile?20:49
fsmithredyou're not using the desktop-live iso, are you?20:49
fsmithredse7en, ^^^20:49
se7enfsmithred: yes21:02
se7enWell, no21:02
se7enNot the live ISO21:02
se7enThe regular installer. I've always used the regular desktop installer in the past, except the one time or so I used the net installer.21:02
fsmithredwhat happens when you try to boot the installed system? you get a grub prompt or what?21:57
se7enIt skips back to the disk22:00
se7enWhen I select the EFI boot entry for the HDD it just goes back to the selector22:00
fsmithredso you do get a boot menu?22:04
fsmithreddo you know how to boot from grub command line?22:04
fsmithredor is that the boot menu from the bios?22:06
fsmithreddo you have a separate boot partition, or is that part of the encrypted volume?22:07
fsmithredif /hoot is encrypted, does /etc/default/grub have the line for cryptodisk added?22:08
fsmithredis the root partition on luks1 or luks2? (it should be luks1)22:08
se7enI know how to boot. I did not get anything22:18
se7enBoot menu from the BIOS (UEFI)22:18
se7enI have screenshots22:18
se7enWell, not of boot but of the error22:18
se7enI only have one comp, so I have the old HDD in the computer right now and the SSD in its bo22:19
se7ens/bo/box22:19
se7enThe partition scheme it made: https://freespeechextremist.com/media/f01c2924-1f06-4486-b642-35416a58e72a/Tusky_1681603250712_7I5KJBV25M.jpg?name=Tusky_1681603250712_7I5KJBV25M.jpg22:19
se7enThe error that keeps coming up, recovery mode or otherwise https://freespeechextremist.com/media/3d0bdbec-3297-43aa-a3af-269ae26d7fe6/Tusky_1681601637555_6MIFIXM4D1.jpg?name=Tusky_1681601637555_6MIFIXM4D1.jpg22:19
se7enTerminal output from the installer https://freespeechextremist.com/media/afdfe571-ffc2-49a9-8f1f-93cf2f064191/Tusky_1681600943805_DZ4EA77EP1.jpg?name=Tusky_1681600943805_DZ4EA77EP1.jpg22:20
fsmithredok, I will look at that - will be back in a few minutes.22:20
fsmithredyou ran 'grub-install /dev/sda'? Did you try just 'grub-install'? You shouldn't need to name the drive with uefi because the bootloader goes into the esp partition.22:27
se7enYes22:27
se7enI ran the program after the installer failed22:28
se7enboth ways22:28
se7enThis output is from the installer22:28
fsmithredweird that it thinks sda is a volume group. Any idea why it says that?22:29
se7enNot at all.22:29
se7enIt did this without the 85% attempt too22:29
fsmithredand the esp partition was mounted to /boot/efi when you tried installing bootloader?22:31
se7enIf the installer failed to do that, I do not know. I followed some instruction desperately tring to search for the solution, and at one point it did have me mount the efi. It said no such device.22:31
se7enIf I remember correctly22:32
se7enI had last attempted this a week ago22:32
se7enI had other things I needed to do with my computer, so I just switched back to the HDD22:32
fsmithredwere both hard drives in when you did the install?22:33
fsmithredand is there an esp partition on the old drive?22:33
se7enThis is a laptop, there is only one bay22:33
fsmithredah, ok.22:33
se7enAll the information I'm finding on SSDs is cotradictory and/or outdated. Debian mainline hosts a guide, but it's for a HDD/SDD dual setup22:34
fsmithredwhat kind of laptop?22:34
se7enA lot of the info says 15% overprovision, so that's why I'm telling it 85%. I'm also seeing lots of contradictory info SWAP22:34
se7enThinkpad T53022:34
fsmithredand ssd?22:34
fsmithreddamn, it should work.22:35
se7enI bought a Samsung 870 EVO from a dumbshit who worked at Best Buy, probably for more than it's worth22:35
fsmithredI've put ssd in T240 and T450s22:35
rustyaxeive just quit using swap and let OOM killer deal with unbounded process growth rrather than shred my SSDs write cycles and bring the machine to a crawl22:36
se7enHe didn't even know what a "TWD" metric was. "Yeah, don't worry. It'll last for a few years to a decade. You want it to last longer, buy a better brand like this Samsung for $30 more."22:36
se7enFirst and last time I'll ever buy from Best Buy. The memes from 10 years ago have held true today. Fry's is gone forever. Radio Shack is gone forever. They knew their own product.22:36
rustyaxeRadio SHack here closed only a few months ago22:37
fsmithredwell, I hope that's not a serious issue because i'm running off a usb stick22:37
se7enI paid $80 for this drive before warranty, then I looked online and found an 8TB for $100. I think it was only an HDD but still.22:37
rustyaxeid take a 1tb SSD over an 8tb HD any day for a primary drive22:37
fsmithred8TB for $100 sounds like something is wrong with it.22:38
se7enIt was off some site called Parts Picker22:38
se7enAs for myself, I already have this thing and I want it to work.22:38
rustyaxethe SSD is best option anyways.. So use it22:39
se7enthat parts picker: https://pcpartpicker.com/products/internal-hard-drive/#sort=ppgb&page=122:39
rustyaxeback soon foodening22:39
se7enSo what could I do on my next attempt to install Devuan to the new drive?22:39
fsmithrednot sure22:41
fsmithredmaybe boot from removable to look around at what's on the hard disk22:41
fsmithredor start removable media to get to grub prompt and try to boot the hard drive22:41
fsmithredset root=(hd0,gpt2)22:42
se7enOk22:43
se7enAlso, for that Parts Picker site does that look like it's legitimate?22:43
fsmithredlinux /vmlinuz-<version> ro root=/dev/mapper/whatever22:44
fsmithredinitrd /initrd-<version>22:44
fsmithredboot22:44
fsmithreduse tab-complete for the version number22:44
fsmithredbut that won't be enough to fix it because you aren't getting a grub prompt when you try to boot the hard drive22:45
se7enLet me ask this: Could you provide a partition scheme for my SSD so I may manualy partition, with the CryptoLUKS arrangement?22:46
se7enAnd 85% use22:46
fsmithredwhat's 85%?22:48
fsmithredleave some unpartitioned space on the drive?22:48
se7en85% used, 15% free for overprovisioning22:48
se7enI have been led to believe this is the optimal configuration22:48
fsmithredI don't understand22:48
fsmithredthe install automatically leaves 5% for filesystem management22:49
se7enIt's an SSD. You need to leave a portion blank for overprovisioning22:49
rustyaxewut?22:49
fsmithredblank means what? Not part of any partition?22:49
se7enAnd studying overprovisioning, it seems that 15% is optimal22:49
se7enFree space22:49
fsmithredunfilled filesystem space?22:50
se7enYes22:50
fsmithredthat's easy - don't put so much on the drive that it's full.22:50
se7enNo, unpartitioned reserved space22:50
fsmithrednever heard of that and I don't have any of that on my SSDs22:50
se7enhttps://www.kingston.com/en/blog/pc-performance/overprovisioning22:51
se7enAll my study said to leave free space on the drive to allow the drive to function properly22:51
fsmithredI usually make separate /home and root partition. If encrypted, I make separate /boot22:51
se7enAnd it appears that 15% is optimal for overprovisioning22:52
se7enThat means 150GB free space not allocated to any partition22:52
rustyaxeyou keep saying that same nonsense.22:52
se7enOn a 1TB drive22:52
se7enThen what is your suggestion22:52
fsmithredThis OP capacity is non-user accessible and invisible to the host operating system. It is strictly reserved for the SSD controller’s use.22:53
se7enhttps://en.wikipedia.org/wiki/Write_amplification22:53
fsmithredaccording to Kingston, you can't do anything with it.22:54
se7enThe SSD controller will use free blocks on the SSD for garbage collection and wear leveling. The portion of the user capacity which is free from user data (either already TRIMed or never written in the first place) will look the same as over-provisioning space (until the user saves new data to the SSD). If the user saves data consuming only half of the total user capacity of the drive, the other22:55
se7enhalf of the user capacity will look like additional over-provisioning (as long as the TRIM command is supported in the system).22:55
se7enSo by this logic it is desirable to have unpartitioned free space as part of the overprovisioning setup in addition to any NRAM the manufacturer has provided. In my research of SSDs, this looked to be optimal at 15%. This information may have predated NVRAM additions to SSDs though. As I said, I was finding a large amount of outdated information. I do not know the amount of overprovison NVRAM that22:56
se7enhas been put into this drive22:56
se7enafk22:57
fsmithredanyway, you should have a small esp partition, maybe 64-500MB, root partition 10-30GB, swap partition equal to RAM22:58
fsmithredshit, I meant to erase that ^^^22:59
fsmithredfuck the swap. 120MB is plenty unless you hibernate22:59
fsmithredsounds like they're talking about unused filesystem space, not unpartitioned space.23:01
fsmithredand separate /boot partition that's maybe 500MB23:02
fsmithredthe rest for /home23:03
se7enOic. Still, isn't it a good thing to make sure you don't use that space byt having it unavailabile to the system anyway?23:27
fsmithredse7en, it's not clear to me where that OP space is.23:32
fsmithredor what needs to happen with it.23:32
fsmithredI used all available space on two evos and one cheap crucial ssd. We'll see how long they last. It's been about a year for the evos and the crucial was used a lot for two or three years. It still works.23:34
se7enIt seems that it's blank space that functions similar to SWAP to serve as a temporary buffer to move data around on the drive and optimize memory23:34
fsmithredcheap= the one that has no heat sink23:34

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!