#🔌│tech
1 messages · Page 873 of 1
Mhm
Every tab gets its own pool of resources (in chrome)
Pidgin only uses 81m virt, 37.4m res and 27.6m shr
Not to mention every multiple tabs.
Wow I phrased that terribly
What I meant is there's a bunch of processes.
Infact I only use ungoogled-chromium on Windows (in a vm) for the voice chat ability. Otherwise, palemoon or netsurf all the way possible.
That is less than the client would need
Sad state of the world we live in.
for me the official client needs 4.7% of my memory while the alternative takes only 0.7% While rarely reporting 0.1% core use. (official periodic peak around 1,5% with 0.7 % base core util)
lol
Yep.
Not to mention the fucking official client has sound issues and desktop sharing issues too since the longest amount of time.
Also pulseaudio being forced.
also it only has 1 process count instead of 9
oh yea
this one can use alsa directly
Which one are you using?
eyy, no more stutter when pulseaudio has been started after discord while discord just dies finding a ghost pulseaudio
also why doesnt it check that beforehand?
firefox does it
currently using ripcord
Oh? I thought firefox dropped alsa, did they revert that?
not firefox, the client
Oh woops.
I remember seeing ripcord actually.
apulse to the rescue.
just annoying sometimes
as pulseaudio could be set incorrectly in either on but better check both
alsamixer and pulsemixer
also microsoft teams is the worst piece of incompatible software if encountered yet
holy shit yes
it is skype
I can't even run it in like 5 different browsers
Not to mention even the fucking desktop app fails
The only fucking thing that worked was the shitty mobile app
Which I removed afterwards
and everything works in alsa, pulse but NOT IN ITSELF. JUST SEND THE DATA YOU GET DONT ADD NOISE TO IT
Biggest piece of garbage I've seen yet.
Long live text chat
Also can it adhere to the modern filefolder structure?
at least it some standard
Yeah but no one respects it
mpv seems to respect the standard somewhat
were
or it is aur fixing it already
afaik the mpv dev flipped out and stopped adhering to it
Dont know about that, cant be bothered to find out. It works and that makes me happy enough
XDG should remove the capital letters in the pathing
XDG shouldn't even need to exist IMO
There should be documentation instead of where people are supposed to store things.
If a user wants .config moved, they don't need to move XDG_config or whatever, they can just symlink the folder.
As for programs which refuse to follow symlinks, what the fuck is wrong with them?
ehhh you update the export path?
Mage I need your help
XDG uses the environment variables to define the paths and some people cant handle having symlinks
file in home = bad (according to their logic)
eh, in the end user defines how it functions
was afk, r00d, what u need?
no idea if this works but gonna try pinging @365619937122844672
Can anyone tell me if that converted to a ping or not, I can't see it
actually after further looking I think it's supposed to be something along the lines of @plush summit
Huzzah it works
Hi yeah sorry I didn't respond before
if you will listem to me
Go ahead
i cant tell if you just dont care or genuinely go out of your way to avoid me given our past
anywho
I was afk mate
i want to use btrfs snapshots
thats fine
just i dont see you active often
when when i do ping you dont respond (guessing your are busy or hate me)
ANYWAY
i want to create subvolumes for my root and home
sounds simple enough
btrfs subvolume create /mnt/@
btrfs subvolume create /mnt/@home
however
i want the home subvolume to be on another disk
and then i want to mount that subvolume where home is to the root
so i dont take up space of my root partition with my home folder
how do i do this
here is what i tried so far
mount $RootPart /mnt
btrfs subvolume create /mnt/@
umount $RootPart
mount $HomePart /mnt
btrfs subvolume create /mnt/@home
umount $HomePart
mount -o compress=lzo,subvol=@,noatime $RootPart /mnt
mkdir -p /mnt/home
mount -o compress=lzo,subvol=@home,noatime $HomePart /mnt/home
mkdir -p /mnt/boot/efi
mount $BootPart /mnt/boot/efi```
But the way I would do it if I wasn't using it, would be something along these lines
because i am stuck
I would create a partition on both disks for brtfs, then mount /dev/disk2 to /home/
At least that's with regular ext2/3/4
I'll look for a solution meanwhile however.
Oh wait
Why are you mounting it at /mnt?
If you want it to be in /mnt still, just use mount --rbind to mount it to /home
Even regular bind should be fine.
Let me reread to be sure
Ok so you have two disks with two brtfs partitions total right?
does $RootPart have the full absolute path?
YES
Ok.
So you just want to mount your @home or whatever at /home/user/ right?
Since you already mounted it at /mnt/home, at least that's what I can see from the above
yes
Ok you want to use mount bind then.
it says there is no valic mount point for /mnt/home
do i need to mount and create a directory in the second disk?
even then im not sure how to do that
Also you need root user
this is different from mounting with ext4
not a problem
i am doing this durign install
i am automaticaly root durign install
and you chroot into the install later?
Nono not that.
I searched some of the stuff you posted and found something that might be what you're looking for?
Unless that is what you are using and are redesigning it for yourself
i looked long and hard
Scroll down a bit, there is some brtfs and @home stuff
Not sure if it will be of any use to you however.
I DONT thing this is what i want
Right but ignoring that, what about the mount stuff?
Can you take any knowledge from there?
Because otherwise I'm all out of ideas. I don't use brtfs at all.
You can't directly mount a thing into another thing
That literally sounds like mount bind. Unless I really don't understand
You can't mount it to the root however
No way possible.
Since the root is the base of the disk, you either unmount the disk or do not mount the subfolder you are talking about.
mkfs.ext4 /dev/sda3
mkfs.ext4 /dev/sda4
mount /dev/sda3 /mnt
mkdir -p /boot/efi
mkdir /mnt/home
mount /dev/sda4 /mnt/home
Which are neither what you want.
what
the fresh slate is having 2 disks /dev/sda3 and /dev/sdb1 formated with btrfs
ive been testing this in a virtual machine before i deploy it on my hardware
Ok...
What is the 2nd disk
As in, why does it have a folder in it?
If it's gonna be the user, why not just keep it simple and just make the root dir of the 2nd disk as the user?
BECAUSE I WAnt to be able to make use of btrfs snapshots
the data needs to be under a subvolume
and preferably, i would like this sdisk with this subvolume to contain my home folder
Actually, wouldn't
mount -o compress=lzo,subvol=@home,noatime $HomePart /mnt/home
be
mount -o compress=lzo,subvol=@/home (mailto:subvol=@home),noatime $HomePart /mnt/home
Because subvol @ is the root, right?
Or well, the root of that brtfs thing.
mailto?
but @home is whatever
oh shit
did it replace it with mailto?
lmao
hold up
mount -o compress=lzo,subvol=@home,noatime $HomePart /mnt/home
is what you tried right?
oh for fuck sakes
right let me just do this instead then
mount -o compress=lzo,subvol=!home,noatime $HomePart /mnt/home
where ! is @
The correct thing would be
mount -o compress=lzo,subvol=!/home,noatime $HomePart /mnt/home
no?
i dont know
Try it
i was hoping you would know
Because !home isn't root, it's some random garbage at least going from the documentation
@ is root
i thought @home would be a subdir under @proud nacelle
It's not valid
do @/home
sorry for the ping
well
can't hurt
fuck
wait
pretty sure this is the solution
what
i looked at that solution
how the fuck
iit didnt work for me
¯_(ツ)_/¯
ffs tomorrow i'm gonna fucking try installing btrfs
and doing what you are trying to do
and as a parting gift
and parted
I'll play with btrfs tmrw and see if I can resolve the issue
No
Well leaving as in going to bed?
Like

i thought you were leaving wooting
Haha no
never to be seen again
Yeah bout that
Even if I wanted to
People like @pale sigil wouldn't let me.
Fuck sake
Why can't I get anything right tonight
you pinged them
I’m awake what did I miss
Oh did I?
The language of the gods
SCATTER!
look at that
anywho
On my screen I didn't
gn
sleep well
I'll take a look tmrw
thankyou
You too.
let me know what you find
I don’t think I woke up
you did to a nightmare
^
reality is one level up
||and furries, im just more cancerous than they are||
Well
That's a you problem
No one is making you be like that
GIMP - Green Is My Pepper
well mine at least.
song: DBOYD - Lazy Dayze
Now you are a unwise toothless
Was that intentional
My first experience with Linux was Arch Linux
*linux mint*
Ofcourse I always play 67d chess
I tried to install Linux Mint on my grandmother's computer and for some reason it has a problem to wear the Wi-Fi turns on every other reboot and then doesn't work for the opposite reboot
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
I'm going to the forums and nobody can figure it out
It's as Linux as apple is UNIX
its like calling a nuke an solution for cold room
Does the abbacus count
What is that
box for tv and other shit. also modems now that i think of it
too many things run linux
everything began with hello world
but can't seem to fucking **standardize** on distros, tools, etc.
Windows
The latest windows update completely broke WSL
AWSL sounds better
You tipe faster than me
Are you trying to give me an heart attack in %any?
speedrun any exploits etc
lul
i couldn't speedrun worth for shit
actually
speedrun for destroying my linux install
that i can do
XD
an accidental slash here, an accidental argument there, shazam! root is gone!
get banned from club penguin
that's an actual thing
I told you all I would do it. And here it is, as promised. Actual time: 0:33.833 (clickbait 3 milliseconds off!!)
how the fuck do you ban an email
Maybe I should create a furry distribution of Linux
it exists
and i wont talk about it
i fucking refuse to believe that
i try to forget
now he's gonna go looking for it
calling it
also tfw banned for playing the game.
There is also a hannah montana distro
That would be LFS
What is the lfs
*linux from scratch*
Oh
I remember one of the assignments was to compile our own Linux kernel and install it
People had weird problems such as segmentation faults
4 out of 40 students got it done
*[laughs in make cd /usr/src/linux && make -j9 && make install]*
make clean install
No need to if it's already clean to begin with
And you still don't
Unless you broke something horribly
Like the bad child you are.
you need to clean it from the dirty .o files the make makes
No you don't?
I literally never clean it mate
Never had an issue.
Issue rises when you have a broken .c file. Then you need to clean.
Yeah you're supposed to do mrproper instead of clean
Voooooooo mas
mrproper and clean do different things too
Be careful
One of them clears .configs
Not a fun time
just rm -rf / to make sure you got it all
nah
If you're not redoing your config every time you're doing it wrong
Nono
I mean the clean/mrproper
One of them cleans the .config
Bullshit having to redo it all
I've done it multiple times like an idiot
I still don't have backups
Of any type.
true random number generator untill it gives a valid configs folder
Actually
There is a way for it to randomly generate
But it's not for working configs
And you don't include the config in the kernel itself for easy restoration?
It's for seeing if shit still compiles or not
I am aware that is a thing
But
I forget
Rip no piping in this kernel
Gunzip isn't that special
unzip
tar -FLAGSBUTWITCHWERETHEYAHHHHHHHH
*this is fine*
Oh you're that minimal
What's that phrase
You become the thing you were gainst
against
live long enough to see yourself become monster
urgh
can't remember
potato brain
All material owned by Warner Bros. For entertainment purposes only.
learn to use your brain. mine is just only good for remembering boomer memes
is it a dlc?
can i unlock the rest of my brain?
My favourite quote from GLaDOS.
I genuinely hate anyone who puts anime in their video which has no relevance to anime.
that is not vibe check passing grade worty of you mister
this incident will be reported "this incident will be reported"
Don't know if my last message got sent
But I see the issue r00d was having
ssl error or something blocked me
cant block me if i do my pcie bussiness over usb
because pcie has the root matrix
*wat*
also
i fuckin figured it out
i think
you literally just need to mount the path
Before he was doing
mount -o compress=lzo,subvol=!home,noatime $HomePart /mnt/home
the correct way is literally
mount -o compress=lzo,subvol=home,noatime $HomePart /mnt/home
from the device to the location
you can also figure out the subvolume name
by doing btrfs subvolume list ./(root of btrfs)
you just need to fill in what is given after "path"
then again i might be a retard and i might have misunderstood his question
expectations subverted yet again
no you
not sure if this will ping him
@r00d l0bster(sleep deprived)
let me guess
i chucked it
@plush summit
mount -o compress=lzo,subvol=home,noatime $HomePart /mnt/home
this should work
tested it before going to bed
remove @, just put the dir name
rm @proud nacelle
chief
lol it autofilled you
well fuck you your ship might be anti radar but it sure as hell ain't fucking anti eyes
:eyes:
spying is for the weak. you rush and clear site
can't rush if we're retreating
Then hold site to take site then move up
how about
this discussion is making no sensical fucking sense
and that i am tired
hmmm yes but could it
well no
seriously though
goodnight
no clue if i even pinged him right since my shit is wack
go sleep
sleep you must
Network effect 😦
Mastodon?
@ashen spindle the cooler moved during transport!
Thats what thry mailed back lol
@vagrant marsh cooler?
Yea. That it moved during transport
I call bullcrap. There is no residual thermal paste on the exposed part
someone ever heard of salt networking hardware?
Yea, made by TrollTech, right?
idk

yea friend moved to switzerland
and he pays 40 CHF for 10G
and got a router from them
So, in the end, for gamingnAmpere is just larger Turing chips (similar perf/watt) with better memory
better price too
Or, given equal memory, will it have worse perf/watt
An early look at Intel 11th gen performance benchmarks with their Xe LP Graphics
If you want to support the channel, consider a Dave2D membership by clicking the “Join” button above!
http://twitter.com/Dave2D
http://www.instagram.com/Dave2D
https://discord.gg/Dave2D
Purchas...
Looks like EVGA RMA'd my 1080 Ti with a 2080. Do they actually not have 1080 Ti's or parts or just want to move 2080 stock out?
Makes perfect sense for them not to have 1080TIs anymore. Honestly even 2000 series seems unlikely.
I figured they'd at least have parts for a repair. They've been selling b-stock 2080's and Ti's like crazy I think though
Figured. I bought a pcie usb-c card a while back for quest link and now I have a virtual link connection
Unless it doesn't work which is terrible
uhhh I'm pretty sure the quest connects with a regular sub port, usually A not c
dont think they use the usb on a gpu
and it's probably cheaper for them to just send you a card they cant really get rid of anymore, instead of spending work time to fix it :p
that's true
oof
thats a lot of fibre
About 400 lines there. It's a main line cable.
ohhhhhh I was so confused
So which one is ground?
I thought thats like a bread with colored sugar crumbs on it
Not sure why but the first image just makes me puke
@reef patrol all of them have a bit of ground on them 

someone is gonna have a lot of fun splicing those together
I guess it kind of looks like if you chopped through a bone, Callum. A clown's bones maybe.
( Carnival music )
Nah that isn’t what makes me sick.
I think it’s the colours that trigger me
Along with it looking similar to ugh what’s that phobia again
Oh the hole thing? Tryptophobia?
Ye
is it fibre?
Isn’t fibre
considering its electrical wires, it definitely is not fiber / optical.
Electrical? In such small wires? Seems... odd? I figured they ran thicker ones to reduce loss of energy. This isn't in a house after all. It's a main line cable they accidentally dug up while redoing the road.
telephone lines?
Those are... copper. And used purely for internet here. So.. 😄
couldnt tell from the pixels :p
you can easily tell fibre
honestly 20gb is a bit much, 14/16 would be more than enough and prob a bit cheaper/cooler
hell even 12 would be nice
@timid chasm Show them the Doom 4K benchmark and claim it's not equal
14/16 would be a very odd configuration
Like, 10 chips on the top and 4 or 6 on the bottom?
@ashen spindle What they also 'confirmed' is: no Ti cards, but what looks like some Super models?
ok gigabyte is actually insane
they made a blower style cooler
for a 3090
I need to know how loud this will be
MMm can't wait for the jet engine memes
wanna bet if it goes above or below a 290x in terms of noise?
@proud nacelle so what do i need to do?
mount $RootPart /mnt
btrfs subvolume create /mnt/@ #makes root subvolume
umount $RootPart
mount $HomePart /mnt
btrfs subvolume create /mnt/@home #makes home sub vol on seperate disk or partiton
umount $HomePart
what do i do now
i dont know them, callum
Now you can do something like sh mount -o subvol=@ $RootPart /mnt mkdir -p /mnt/home mount -o subvol=@home $HomePart /mnt/home
so
mount -o compress=lzo,subvol=@,noatime $RootPart /mnt```
this is correct for mounting the root
but when i do bash mount -o compress=lzo,subvol=@home,noatime $HomePart /mnt/home
i get an error that no such directory exists
Yes hence why I put the mkdir in there
ok
so i have it right in my script
and then to mount boot i dobash mkdir -p /mnt/boot/efi mount $BootPart /mnt/boot/efi
how to i view the btrfs tree to see that everything is where i want it to be on both disks/partitions?
btrfs subvolume list <mountpoint> to list subvolumes, just mount to see where all your current mounts are and their options
@proud nacelle subvol=home did not work
it threw an error
@crimson wigeon that worked
thankyou
i want to see if it ACTUALLY worked though
lsblk might not have all the details but its output shows rather clearly if different devices are being used... To see if it actually worked I dunno, yank the home disk out and see if everything breaks?
XD
thats one way to do it i guess
or i could check to see if any data is actualy being put on the home disk
if ther e is not data
then ima have a bad day
my next problem is not being able to chroot into the new install
So what's making you unable to chroot?
i dont know
i install all of these packages with pacstrap to /mnt
pacstrap /mnt base base-devel linux linux-firmware nano networkmanager grub efibootmgr bash-completion xorg-server xorg-apps xorg-xinit xterm xf86-video-amdgpu mesa vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings plasma-meta kde-applications-meta atom audacity barrier barrier-headless bashtop blender chromium codeblocks darktable desmume discord dolphin-emu firefox firejail fish filelight gimp git jre8-openjdk jre8-openjdk-headless mupen64plus nmap notepadqq obs-studio ppsspp python screenfetch shotcut steam syncthing tor wine whois wireshark-qt
do i need to spesify the btrfs subdir?
You do have it mounted there when pacstrapping, right?
yes
Note that for testing you might want to only install the base system so it doesn't take so long
fair
turbo fan, turbo noise
LOL
Well, it works for SFF builds, I guess
Or something that can't take the heat
If it's a reference board, it might be an option with a cheaper fan for water cooling
interesting
you cannot install bedrock linux with btrfs file system and subvolumes
i have to choose between btrfs or bedrock linux
Choose windows
I don't see why
"Until this is resolved, it is strongly recommended not to use Bedrock, GRUB, and BTRFS/ZFS. Any two of the three is fine; consider another bootloader or filesystem." Just don't use GRUB!
exept when it doesnt
im done with windoge
what other bootloaders ahve the functionality of grub
Sadly I don't know of any that are as feature packed, but whatever I use rEFInd
i would like features
looks like im going to choose between btrfs with subvolumes an the snapshots...and no bedrock linux
or i am going to use ext4 with bedrock linux
i dont want ot give up grub because of the features
What features specifically?
it can boot almost anything
i dont want to need to install another bootloader if an media i want to boot from cannot be recognized by the bootloader
Wonder how much supply of GPUs Nvidia even gets from Samsung
Low supply isn't due to a few scalpers alone
Ah I see, in my experience rEFInd is pretty good at picking up everything bootable, but sometimes it doesn't autodetect and then I might have to go old school EFI shell
yeah
i want to avoid that
as i would need to learn the efi shell
and i dont want to do that
thats not a rumor tho
i think their roadmap confirmed this
i think a turbo fan simply fans extra quick
oh I guess for waterblocks that dont use FE design or Stacking it in a case with another card might be a valid option
still a minority usecase lul

Someone made a bot on eBay to make the bids insanely high
if you dutch, sure
still, its unreal how quick everything sold out
There wasn't much to begin with
Jesus christ what the fuck are these prices
lots of people at home, waiting since announcement, 20 series was not great
Nvidia didn't even try and stop bots and distribute the cards evenly
???
newegg said they had more traffic that on black friday
Like
95% of which was bots?
Locally I can buy this
For cheaper
We have an amazing used market infrastructure in our country
But boy 200 euros for 1050 is a ripoff of massive proportions
Tbh, I don't know if Germany has that
Most of Europe has black friday
Not to the point of America
But some sort of sales do happen
I meant used market
Black Friday has just started becoming interesting in the last 2-3 years here
But the sales are still minor
Yeah nothing impressive
Mostly in the range of what they are usually
Alright a little bit of a life hack
When a store has a sale
Black friday has stopped being black friday a while ago
It's more or less an end of the year fundraiser for shops now
Rather than discounts
Yeah
So what people are doing is buying shit 1 month beforehand
Just coincided with my last build
in america still one of the biggest traffic days for websites
But I saved like 50€
Most shops are clearing inventory 1 month before Black Friday
You are getting a rather decent discount then
I would not wait for Black Friday to start a build
So November 27th is Black Friday
Look for parts at around October 20th
This year might be great for parts
New cards launch, new CPUs launch
People might sell their PCs for consoles
Corona, people need money
The prices will go down quite a lot I predict
I got quite a bit of hardware to sell 
But if anything, I'd buy Zen 3 and maybe RDNA2 if it turns out better than Ampere
that's why its so surprising the demand was even higher
i still dont get the concept of "black friday"
shopping
yeah no, i didnt mean that
more like what is so special about it?
why does it need to be something special?
It's just a retail excuse to get rid of old stock.
yup
And get people to get their cards out, since they're there anyway.
in the netherlands its heavily regulated by law, but i guess in america its very much happening. prices inflated before black friday, then htey give a discount on the products, losing only 5% while the discount says 20%
price gouging bad
Yeah we've also got strict laws on discounts here in Denmark. As a direct result of retailers trying to scam people hard.
Offer has to be limited time, product cannot have been price adjusted in 6? weeks prior (To avoid setting the price higher to make the discount seem bigger) and other things.
human psychology is easy to manupulate
Sucks to be you locke
I get a 4 day weekend for thanksgiving
Christmas Eve and Christmas Day as well
cash cow?
it only took many years for my company to do the latter
japanese spending their money on the japanese market? thats stagnent for the past 20 years?
its not about being atheist or not.
you get days off
double the rate.. and you get a free payed day off
yea, but not every company allows that
its a day off. im not gonna work on a free day off
Better, makes the pay more
you are mad
it it all is set in law, ahhh. The greatness of Unions
i'm actually not sure germany has even one 4 day weekend
maybe when first and second chistmass falls on thursday/friday
or monday tuesday respectively
i think it actually does this year i think
ah no. it falls on a friday and saturday
damnit
but since my company also gives me the 24th off it's one for me anyway
finally finished the script(s)
@proud nacelle what do you think
download part 1 with curl when you boot into the iso
then when you get dumped into chroot run the second part
echo "downloadint part 2 to /mnt/"
in part 1 the pacstrap section could be little cleaner I think
seems https://bash.cyberciti.biz/guide/The_case_statement might be more suitable. With it setting some variable to add to the basic install
If you're feeling lucky you can add the shebang to the part2 script and exec it directly in the chroot, perhaps something like arch-chroot /mnt /install_part_2.sh may or may not work
i could have used a case there, yeah
i could have used case in most places of the if statemenst
r00d i'm not sure then
because it worked on my end
Created one partition on two drives, one of them was just a regular btrfs with no subvolumes, another with a subvolume.
So honestly I'm left wondering if I don't get the question or if something is broken.
@plush summit
Also I found a 16GB microsd card for $4 CAD. No way of knowing if it's legit though, gotta test it later.
/mnt/home worked for me
though i cant install bedrock linux
so i added it as an option in my script
:thonk
can either format with ext4 or btrfs

oh
i want to check for an efi partition, see if it is less than 1G and if it is extend it to make it larger and move any other partitions ahead of it
any way to do this in the script
I mean the EFI partition is generally the first one
So check for /dev/sdX1
Or you could search it by filesystem type.
As for extending, more than likely there is a commandline way of doing it.
Actually
I remember now
It's literally parted.
gparted is just a gui for parted.
So anything gparted does parted can do in cli.
on one of my machines EFI is the third partition
for some reason
yes, they both use the same
Well
which is why i want to extend the one i have
Another way of doing it is
Mount the filesystem at a temporary directory
And then look for a specific keyword or item.
For example, look for a folder named EFI or something.
And then unmount and continue if it ain't.
Otherwise go do the other thing.
Ok well just go from there then
the efi partition is always labled as EFI
Just look for a partition with a label with EFI
but i dont know the best way to fetch and use that informatiom
fdisk -l returns the partition data
I ain't a god at linux.
but i dont know how to use it in a script properly
And most of those partition programs offer a "script" mode.
Here's a simple way of doing it
Hold up
Making a proof of concept
blkid -o export | grep -B 1 EFI | grep DEVNAME | rev | head -c 8 | rev
This should give you the partition which EFI resides at.
Actually no I fucked up
Hold up
No I didn't fuck up
What
Anyway try that script
You might need to change the EFI thing to the actual EFI label name.
you ok?
do you need a hug?
let me start arch
I'm assuming you at least know how to pipe it into a var
yaeh i know about pipe
Alright good
That script is hack though. There's an easier way, pretty sure about it
But hey if it works...
i just want to check with something
see if efi exists
and if it does
check the size
if its below a certain size, i want to resize and move any obstructing partitions
Finding out if UEFI is on is possible via /sys, for checking it, you need to find the EFI label which that script provides.
As for checking the size
Give me a moment
EFI
what the fuck gives
EFI system
oh
fuck sake
i set a lable myself
please done explode ;-;
side note
fdisk thinks my legacy partition is an efi one
doesn't matter, still gonna keep making script
wtf
ok right
i'm just gonna assume you have less than 10 partitions
is that correct?
fuck sake
yes i have less than 10
though i would like to account for any number of partitions
what are you doing and why
trying to make a script
and because why the fuck not
got one part done, doing the second
why is fdisk being a child
what size are you looking for
1gb?
yeah
if it doesnt exist then i want to resize to 1GB
its just over half as large as you normaly wayt the efi partition
the reccomendes size is 512 mb
right
just promise me this isn't gonna be used to try and make a >1tb partition
and this script should work when i'm done
well
it ain't gonna be flexible past gigabytes/gigibytes
and i cba to make it flexible past that
because i'm doing it very hackily
just trying to get it working as a proof of concept
what if i want my EFI partition to be 16EiB
what the hell is wrong with you
XD
