I got some Linux operating system on my Chromebook and had around 30 gigs of storage. I decided I wanted a Unity instead of the one I was using, and reset my Chromebook. Now I only have 4 gigs of storage. Any idea on how to get it back?
Just dumping this here in the off chance it can help someone else. I’ve tested it in zsh, but it’s pretty simple so it should work in other shells with minor, if any, modifications.
cdrtools and probably
This script also assumes your DVD drive is
/dev/sr0 you may need to change that.
Here is the source as well (license removed to save space, but it is MIT)
#!/bin/zsh NAME=$1 ARRAY=($(isoinfo -d -f -i /dev/sr0 | grep -i -E 'block size|volume size' | sed '/is/ s/[^:]*: *//; s/,.*//')) print Creating $NAME print bs=$ARRAY, count=$ARRAY print Now running \'dd if=/dev/sr0 of=$NAME bs=$ARRAY count=$ARRAY status=progress\' dd if=/dev/sr0 of=$NAME bs=$ARRAY count=$ARRAY status=progress && md5sum /dev/sr0 && md5sum $NAME
Save this to a file and run it with an argument that has the full path of where you want the iso to go.
This program gets the block size and block count so it rips the DVD correctly. Then it checks the md5sum and prints them out so you can check if they are correct.
I thought it’d be really cool if they made an Epic Rap Battles of History featuring both Bill Gates and Linus Trovalds. Feel free to comment this suggestion on their latest video! I’d love to see it
So I have been having some issues with my backup appliance (45Drives Storinator Q30 storage pod running CentOS 7). I use it as a repo for my Veeam backups. Normally it’s fast to write to but that’s no longer the case. I rebuilt the box using Ubuntu 16.04 and, while everything appears to be stable, my backups are at a crawl (something like 30-50 MBps). Everything was set up pretty much as it was before. Two 10 GbE nics in a bond, software raid 1 on the boot drives, I installed the latest drivers for the Rocket 750 HBA card, I imported the existing raid 6 using mdadm and they were mounted using the default fstab parameters. I tried using dd to create a 10GB file using random bits and it took a few minutes to create. I’m at a loss at this point wondering what the issue could be. Mdadm doesn’t show any resyncs or anything that could be potentially wrong with the raid so not sure what to do here.
I have a device that needs to broadcast packets on a network segment. I need my server to accept these broadcasts through its iptables rules, but currently my iptables rule is blocking it. I’ve logged the drop and shown this message below (chopping out the unnecessary info):
SRC=172.16.16.16 DST=255.255.255.255 LEN=171 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=37001 DPT=10001 LEN=151
I’ve tried entering either of the commands below. They were entered at the very top of the input chain, and neither of them seem to catch this packet & allow it through. I’m wondering why, and if there is a way I can just permit broadcasts on port 10001 through iptables:
iptables -A INPUT -p tcp -s 172.16.16.0/24 -d 255.255.255.255 --dport 10001 -m conntrack --ctstate NEW -j ACCEPT iptables -A INPUT -p tcp -s 172.16.16.0/24 -d 255.255.255.255 --dport 10001 -j ACCEPT
Hi, i am fairly new to linux, doing my best but i hit the wall. My conf.httpd.conf and conf.d files are blank when opening with nano. All i tried so far is reinstalling but it didn’t help me and i am stuck.
In a few weeks I’ll be building a new pc for my bedroom and I want to load Linux onto it rather than Windows. Does Linux support one CPU brand more than the other? Also what are some of the major hurdles for first time linux users I would need to research?
Also I’m planning on doing an AMD build(CPU & gpu) if that helps any.