Mastodon: @orsetto@todon.eu
- 6 Posts
- 61 Comments
Oh yeah i figured there were some tools able to do that, i meant to say that you can’t substitute one with the other in place without doing some sort of conversion.
sorry for the late reply. I honestly do not remember what the procedure is. The best thing you can do is look on the internet for a easy to follow guide, or wait for someone else’s response
Unfortunately changing from MBR to GPT also deletes existing partitions and partition table, because the two are not compatible.
Luckily, testdisk should be able to recover the old partition table without much fuss, if you didn’t write other data to the disk.
I don’t have a manual handy but the man page from what i remember is pretty clear, and there’s also an online documentation.
orsetto@lemmy.dbzer0.comto Asklemmy@lemmy.ml•What's a piece of esoteric knowledge you have?12·2 months agoAnd all that just because someone decided that an array bigger that 16 bytes would have been too expensive (/s probably)
orsetto@lemmy.dbzer0.comto Asklemmy@lemmy.ml•What's a piece of esoteric knowledge you have?35·2 months agoI’m almost sure the backstory to how you gained this knowledge is “i spent hours debugging something, and that 15 chars limit was the problem”
I might be a robot, I don’t know why but i can’t solve the captcha lol
I’d love to give this a try tho so maybe I’ll come back later
Just a random idea, but would you consider using anubis instead? (That new thingy that has been popping up lately, for example on the archwiki). I haven’t checked it out but I bet it’s also better on a privacy standpoint in respect to google’s captcha
There’s no shame in combining multiple tools, that’s what pipelines are all about
Not at all, but some times it’s just funny
You can select specific lines, with regex or by using a line number; or you can select multiple lines by using a comma to specify a range.
Yep, learning this made sed even more useful to me.
I also gave awk a try and now i know what i’ve missed all these years
(Also, sorry for the 12 days old reply :))
12 days late, but thanks for the bit of history, I always enjoy this stuff :)
orsetto@lemmy.dbzer0.comto linuxmemes@lemmy.world•I'd just like to interject for a moment13·2 months agoI understand what argument could be made against musl, which is licensed under MIT, but what’s wrong with GPLv2?
I remember Torvald saying something about not wanting to change the kernel’s license to GPLv3, but I’ve never understood the differences
Are you opposed to using awk?
Not at all, I’m just not familiar with it so I find it confusing.
Although, looking at your command, i think I understand what it means
I see. I guess what confused me was that i didn’t understand what addresses were.
Thank you for your explanations :)
I meant to ask what is the difference between, i.e.,
sed '/myregex/ s/from/to/ p'
andsed '/myregex/ s/from/to/ ; p'
, but while testing to explain what i meant I answered myself, and in the process I also understood what addresses are eheRight, awk is a proper programming language, right? that’ll be for another day…
!/dev/dm-2!!p
This weired me out until I read the explanation. I’m so used to the slashes lol
In the end I’ve used the first command you wrote, because KISS, but I appreciate your explanation
Check the sed man page for more details
Yes that’s been my only source so far, but to be honest it’s really cryptic. it might just be that I’m used to syscalls man pages (also sed is kinda complex it can’t be easy to write a single man page for it)
The -n suppresses auto-printing
That’s something I was missing! It makes the command look definitely less complicated.
Also, what is the difference between separating expressions with a space vs with a semicolon?
Easier IMHO is awk
Eh, that’s another beast. For some reason tho I find sed more appealing.
No viruses is when the gui sucks
orsetto@lemmy.dbzer0.comto cybersecurity@infosec.pub•Seven Years Old Linux Kernel Vulnerability Let Attackers Execute Remote Code14·5 months agoAs another user said, this is CVE-2024-36904, fixed in may 2024
File compatibility wouldn’t really be a problem, just make sure not to nuke any partition. If you’re using ntfs you might need to install the drivers, but it’s pretty straightforward
orsetto@lemmy.dbzer0.comto 196@lemmy.blahaj.zone•OneHundredNinetySix rules a 32x32 grid - Day 1English2·5 months agoYeah, i did see the post in the end. Thank you anyway :)
orsetto@lemmy.dbzer0.comto 196@lemmy.blahaj.zone•OneHundredNinetySix rules a 32x32 grid - Day 1English13·5 months agoI spent too long trying to figure out why the link to the previous post was not working. Turns out, the front end I use with my instance automatically overrides link so I see other instance’s posts from my instance, but you’re using a front end too and linked to that so it kinda shat itself lol
Anyway, #B00B5A 5,5
https://truthsocial.com/@realDonaldTrump/posts/114738606142462442
Good enough source for you?