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.
Mastodon: @orsetto@todon.eu
- 1 Post
- 36 Comments
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·6 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·6 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”
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 :)
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.
orsetto@lemmy.dbzer0.comto
Linux@lemmy.ml•But hey, I'm just a normal kid, like you, except that I ask questions
4·9 months agoNo viruses is when the gui sucks
orsetto@lemmy.dbzer0.comto
Asklemmy@lemmy.ml•What's a website you've heard of (besides Lemmy) that you're sure nobody else here has?
5·11 months agoThe owner is my hero
orsetto@lemmy.dbzer0.comto
Asklemmy@lemmy.ml•Which keyboard app do you use on your phones? Do you enable clipboard history in it?
1·11 months agoTry heliboard. It’s FOSS, and it’s based off the keyboard in AOSP, which should basically be gboard.
orsetto@lemmy.dbzer0.comto
Linux@lemmy.ml•Yo, I found this for 380$ should I buy it and how well does Linux run on it, if you have one of this is it a good in term of build quality
2·1 year agoYup, no doubts there.
Anyway, OP, if I were you I’d buy that laptop (not for gaming tho, or at least not if you’re looking for something more than “good enough”)
orsetto@lemmy.dbzer0.comto
Linux@lemmy.ml•Yo, I found this for 380$ should I buy it and how well does Linux run on it, if you have one of this is it a good in term of build quality
6·1 year agoI’m not really sure, but wasn’t userbenchmark biased in favor of nvidia gpu?
In any case, I agree that an rx5500 is on the weaker side, so don’t expect much, but it shouldn’t be a lot worse than an rtx3050 (i’m not an expert tho)
orsetto@lemmy.dbzer0.comto
Asklemmy@lemmy.ml•What are some of the most popular Lemmy apps to use?
3·1 year agoI used jerboa at first and it was really great, although a bit buggy (haven’t used it in a while tho)
I’m now using a different frontend my instance provides (Photon, at p.lemmy.dbzer0.com) and it is really great on mobile. I added it to my home from the browser and it just feels like an app
Ads try to sell you something, there is no “call to action”. Here, there is nothing to sell, so by definition it’s not an ad.
They are just asking you if you’d like to help them in providing you the product you’re already using.
Encrypting home is good (although full disk encryption is better and with mint it’s still easy enough)
Mint uses some helper scripts to mount/unmount your encfs, so maybe while trying to delete the files you deleted those too, and this would explain the login failing. It’s been a while tho so I’m not sure, better to wait for someone else.