General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
[QUOTE=Naelstrom;42320346]Oh thank [B][I]god[/I][/B] someone asked. Here, I made it myself: [url]https://github.com/naelstrof/slop[/url]
Make sure to check out the "practical applications" section.
[editline]asfd[/editline]
oh and I guess if you're not the kind of guy who wants to be capable of configuring every aspect of your screen recorder. You'll be interested in "recordmydesktop", it's very well made.[/QUOTE]
On Crunchbang I get this when I start slop:
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 33 (X_GrabKey)
Serial number of failed request: 25
Current serial number in output stream: 26
[QUOTE=kaukassus;42323081]Whats the pro's and con's for having btrfs as a primary filesystem as opposed to ext4?
I was considering using btrfs as my primary FS, but I don't know how it compares to existing solutions.[/QUOTE]
Copy-on-write, snapshots, in-place compression, and something I don't use because I'm only using it on my laptop so far, RAID with non-symmetric drives.
There's a ton of other shit too, but the code is basically at the stage of "stable for consumers, but not for the people running our economy".
[QUOTE=nikomo;42323578]Copy-on-write, snapshots, in-place compression, and something I don't use because I'm only using it on my laptop so far, RAID with non-symmetric drives.
There's a ton of other shit too, but the code is basically at the stage of "stable for consumers, but not for the people running our economy".[/QUOTE]
Isn't the performance of btrfs still slower than ext4?
Depends on use-case AFAIK, but you'd never spot any difference outside a benchmark.
Also, I've got one more thing to tweak now, and after that I'll be pretty happy about my setup on the laptop.
[t]http://i.imgur.com/g8jfwQx.png[/t]
(The last thing being lock-screen not triggering when going to suspend, that's an annoying bug)
Since I have a spare netbook wich I'd like to put GNU/Linux, I might aswell do an install with btrfs.
So I think I'm gonna do the following:
Install Linux Mint with the following disk setup:
- Full Disk encryption
- LVM
- Btrfs on all volumes
- /boot partition with Ext2
Also I think I'm gonna upgrade straight to kernel 3.11
[QUOTE=Naelstrom;42320346]Oh thank [B][I]god[/I][/B] someone asked. Here, I made it myself: [url]https://github.com/naelstrof/slop[/url]
Make sure to check out the "practical applications" section.
[editline]asfd[/editline]
oh and I guess if you're not the kind of guy who wants to be capable of configuring every aspect of your screen recorder. You'll be interested in "recordmydesktop", it's very well made.[/QUOTE]
Ooooh, you moved from slrn to slop, that's why there was a leftover binary in the directory. Shit, I never spotted that.
[QUOTE=kaukassus;42323923]Since I have a spare netbook wich I'd like to put GNU/Linux, I might aswell do an install with btrfs.
So I think I'm gonna do the following:
Install Linux Mint with the following disk setup:
- Full Disk encryption
- LVM
- Btrfs on all volumes
- /boot partition with Ext2
Also I think I'm gonna upgrade straight to kernel 3.11[/QUOTE]
That's basically my setup, except I'm running 3.12-rc2
One thing of note is that the partitioner in the installer is a pain in the fucking ass, what I ended up doing was going with the automatic options (use the entire drive, setup full disk encryption with LVM), and after install but still in the LiveCD, I did sudo su, went into /dev/mapper, btrfs-convert vg-whatever, it has root somewhere in the name, mkdir /btrfs, mount -t btrfs vg-whatever /btrfs, cd /btrfs/etc, nano fstab and change out the filesystem in fstab from ext4 to btrfs, and change the settings flags to "defaults".
Removed USB stick, reboot, worked fine.
After booting into the system, you can reclaim some space by deleting /ext2-saved, but that will make it so you can't roll back to ext4 from btrfs.
okay so, I'm doing this UEFI iso boot thingy but I'm already stuck.
[code]cp: failed to preserve ownership for '/mnt/usb/efi/microsoft/boot/fonts/cht_boot.ttf': Operation not permitted
[/code]
and it goes on and on. I'm running this with sudo so I have no clue why it isn't working. this is the command cp -a /mnt/iso/* /mnt/usb btw. I did as the wiki said (except for this part "awk 'BEGIN {FS="="} /archisolabel/ {print $3}' /mnt/iso/loader/entries/archiso-x86_64.conf | xargs mkfs.vfat -F32 /dev/sdXY -n" as I had made my FAT32 filesystem with gparted)
[QUOTE=PredGD;42324492]okay so, I'm doing this UEFI iso boot thingy but I'm already stuck.
[code]cp: failed to preserve ownership for '/mnt/usb/efi/microsoft/boot/fonts/cht_boot.ttf': Operation not permitted
[/code]
and it goes on and on. I'm running this with sudo so I have no clue why it isn't working. this is the command cp -a /mnt/iso/* /mnt/usb btw. I did as the wiki said (except for this part "awk 'BEGIN {FS="="} /archisolabel/ {print $3}' /mnt/iso/loader/entries/archiso-x86_64.conf | xargs mkfs.vfat -F32 /dev/sdXY -n" as I had made my FAT32 filesystem with gparted)[/QUOTE]
FAT32 doesn't understand Linux permissions and you're copying with -a which means "preserve all attributes" (which includes permissions), so it fails. Just copy normally.
[QUOTE=Larikang;42324645]FAT32 doesn't understand Linux permissions and you're copying with -a which means "preserve all attributes" (which includes permissions), so it fails. Just copy normally.[/QUOTE]
thanks, I think it worked!
[code][root@ragingArch ~]# cp /mnt/iso/* /mnt/usb
cp: omitting directory '/mnt/iso/boot'
cp: omitting directory '/mnt/iso/efi'
cp: omitting directory '/mnt/iso/sources'
cp: omitting directory '/mnt/iso/support'
[/code]
[QUOTE=PredGD;42324692]thanks, I think it worked!
[code][root@ragingArch ~]# cp /mnt/iso/* /mnt/usb
cp: omitting directory '/mnt/iso/boot'
cp: omitting directory '/mnt/iso/efi'
cp: omitting directory '/mnt/iso/sources'
cp: omitting directory '/mnt/iso/support'
[/code][/QUOTE]
You might want to add -R to that, otherwise it won't copy subdirectories recursively.
[QUOTE=mastersrp;42324701]You might want to add -R to that, otherwise it won't copy subdirectories recursively.[/QUOTE]
yeah I think so too, was just about to post about how it didn't work :v:
[QUOTE=Darkwater124;42323403]On Crunchbang I get this when I start slop:
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 33 (X_GrabKey)
Serial number of failed request: 25
Current serial number in output stream: 26[/QUOTE]
X is so bad. Some window managers let slop grab the keyboard, some don't and literally instantly kill slop.
Hold on let me add an option to disable keyboard grabbing.
[editline]asf[/editline]
Ok it's done, update slop and try running it with the -nk or --nokeyboard option and it should run fine for you.
If you want to cancel a selection: right-click instead of mashing any button on your keyboard.
I can't wait for Wayland to arrive.
[editline]27th September 2013[/editline]
And having DE's that provide full support for it.
And everything being stable and smooth.
[QUOTE=mastersrp;42324056]Ooooh, you moved from slrn to slop, that's why there was a leftover binary in the directory. Shit, I never spotted that.[/QUOTE]
Yeah, sorry! Slrn was actually taken by some archaic news program for Linux, so I couldn't make an AUR package for it.
[editline]sf[/editline]
You can find the aur package here, I keep it up to date:
[url]https://aur.archlinux.org/packages/slop/[/url]
grr, still not working. double checked if all the files had made it over to the USB but it still won't boot. there is no error or screen saying "no bootmgr found!" like it would usually do, just a simple underscore blinking.
[QUOTE=PredGD;42324879]grr, still not working. double checked if all the files had made it over to the USB but it still won't boot. there is no error or screen saying "no bootmgr found!" like it would usually do, just a simple underscore blinking.[/QUOTE]
My motherboard had a hell of a time trying to boot into UEFI. What I had to do is boot into UEFI shell. Some motherboards just have it built in, but I had to move the UEFI shell executable onto some obscure place on a USB in a specific USB port. ughgh
From there you can browse the windows files and manually execute the windows boot executables till you get it working (there was around 5 different executables you can try the last time I tried).
Otherwise try disabling Windows Safe Boot, disable Legacy compatibility, and try using a boot menu to specifically select UEFI BOOT USB-123.
[QUOTE=Naelstrom;42324926]My motherboard had a hell of a time trying to boot into UEFI. What I had to do is boot into UEFI shell. Some motherboards just have it built in, but I had to move the UEFI shell executable onto some obscure place on a USB in a specific USB port. ughgh
From there you can browse the windows files and manually execute the windows boot executables till you get it working (there was around 5 different executables you can try the last time I tried).
Otherwise try disabling Windows Safe Boot, Legacy compatibility, and try using a boot menu to specifically select UEFI BOOT USB-123.[/QUOTE]
can I disable safe boot etc etc in the BIOS settings? also, using the boot menu didn't work. and and UEFI shell, do I just put it on another USB and boot up in that instead, then use the shell to boot into windows repair?
Yeah your bios settings might be messing with it, but otherwise using UEFI shell will give you error messages and lots of feedback about why you can't start the windows 8 usb key.
Check this out here: [url]https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#UEFI_Shell[/url]
Putting the shell executable in the right place will either cause your bios to enable a "BOOT UEFI SHELL" button, or just allow you to boot the usb key as a UEFI shell.
Getting into the UEFI shell will let you run "FSx:" where x is a filesystem number (usually 0 through 3), then you can just ls and cd around till you find the colorful binaries to run.
I can't boot the UEFI shell using my BIOS, so I'll have to put it on another USB, but I don't really understand what the wiki wants me to do. it says "Shell.efi copied as (USB)/efi/boot/bootx64.efi". what should I do here? rename the shell.efi to that and put it on it?
[editline]27th September 2013[/editline]
slashes aren't allowed in filenames either so I'm at total loss
It means make a folder efi inside the usb, then inside the efi folder make another one called boot, then place the Shell.efi named as bootx64.efi inside both folders.
[editline]asdf[/editline]
aka [code]mkdir -p /media/usb/efi/boot
cp Shell.efi /media/usb/efi/boot/bootx64.efi[/code]
well, couldn't get that to work. found out that the USB works though, since it worked on a friends laptop. he got booted into the repair menu.
[editline]27th September 2013[/editline]
it doesn't matter if the .iso was added to a USB stick with GPT or MBR or? I'm using rufus with a friends computer and the MBR option is the only thing I can choose with BIOS motherboards.
[editline]27th September 2013[/editline]
got it working but I can't fix my shit. pressing the auto repair thing will just say that windows couldn't fix the issue and trying to refresh the system tells me the drive is locked. how fix?
[QUOTE=Lyoko774;42322802]KDE or E18 is good for gaming too.[/QUOTE]
KDE's not bad at all. It's almost up to speed to Unity. Almost. Always hearing good words come from here about E1x so I might check that out. Reading up about [Enlightenment] before, it sounds like it could have that problem Windows has where if the window stops working, moving it would cause graphical hiccups in it.
[editline]editline[/editline]
This is getting old. Every GTK theme I bother with, it doesn't want to include the window border.
[editline]E[/editline]
Wait, so should I bother with E17 or E18? Nothing goes right whenever I try to compile and make install software. From errors in the makefile to the program just not working.
can't I fix windows because the drive is GPT? I just entered to install a new install of windows and it said it couldn't install on my partitions because it was of type GPT.
cinnamon-screensaver wasn't receiving the event from the laptop suspending, that's why I didn't have a lockscreen when suspending.
I just uninstalled it and installed gnome-screensaver instead, it's almost the same thing, and nobody looks at their lockscreen for more than 2 seconds.
snip for some reason it fixed itself after breaking itself
Hello people, my /etc/issue is acting up. Bits of it don't line up at the login prompt.
[t]http://jesusfuck.me/di/I1W9/IMG_20130925_114628184.jpg[/t]
(sorry for phone camera, I don't feel like setting up SSH to take screenshots with)
It works fine if I cat /etc/issue, though:
[t]http://jesusfuck.me/di/3KJ6/IMG_20130925_114648773.jpg[/t]
I feel like I'm missing something stupid. What could it be?
Permissions?
why would it be permissions, i'm not trying to execute some script
[editline]28th September 2013[/editline]
wait, i think i see the problem
[editline]28th September 2013[/editline]
backslashes.
apparently they're special in /etc/issue.
Had an issue with Firefox on Linux being very slow to scroll certain pages, especially if they had embedded Youtube videos. My computer is pretty capable, and it made smooth scroll look awful, so I figured it was something I could fix. I found this awesome userscript that completely fixes it, not sure what it does exactly, but I thought it might help someone here:
[url]http://www.openjs.com/scripts/greasemonkey/fixed_background_remover/[/url]
Sorry, you need to Log In to post a reply to this thread.