Skip to content

u/krage

In this archive from Jun 2013 to Dec 2014

0
posts
9
comments
0
media
37
score

I've not dealt with LVM before but I'm guessing that specifying your root= line in arch.conf as /dev/mapper/* is the problem. Maybe try lvscan and use the matching path from that output instead? From a quick googling I think yours translated will probably look like /dev/volgroup00/lvolroot

edit: also just in case, did you add the lvm hook to your mkinitcpio.conf before generating your ramfs images?

1 points

That's probably been your issue then. For UEFI booting your kernel images need to end up on your EFI system partition (/dev/sda1 in your case) and syslinux will need to reside there too. The relevant packages/scripts/installation processes will generally require your ESP to be mounted at /boot (or in the case of the more flexible syslinux install steps you were following, mounted at whereever $esp is pointing). If you've not had your ESP mounted there you probably ended up with copies of your kernel images & syslinux in /boot and/or /EFI directories on your root filesystem partition instead.

So mounting ESP should be one of your very early install steps after partitioning/formatting: mount <your main filesystem partition> /mnt -> mkdir /mnt/boot -> mount /dev/sda1 /mnt/boot. That will get your kernel in the right spot during initial pacstrap, and you can set $esp to /boot for your syslinux install so that it too ends up @ its destination. genfstab after pacstrap while your ESP is mounted so that kernel/ramfs updates will find the ESP at /boot in the future too!

Hope round 2 goes more smoothly!

1 points

The simplest rotation of colour schemes I can see is just rotating those command line args... so not especially elegant, but this should work:

#!/bin/bash

#define some theme sequence
theme[0]="-bg #ff0000"
theme[1]="-bg #00ff00"
theme[2]="-bg #0000ff"

#check for last used theme id
if [ ! -f "/tmp/termtheme" ] ; then
  theme_id=0 #defaulting to first theme
else
  theme_id=`cat /tmp/termtheme` #load previous
  theme_id=`expr ${theme_id} + 1` #increment it
  theme_id=`expr ${theme_id} % ${#theme[@]}` #don't exceed max
fi

#store theme id we're about to use
echo "${theme_id}" > /tmp/termtheme

#launch the terminal
rxvt-unicode ${theme[${theme_id}]}

Just expand the theme strings at the top with the complete set of args that you want to change from their defaults in the given theme. They're all pretty obvious in that man page linked previously (-bg, -fg, --color1, --color2, etc.).

7 points

urxvt can certainly do the margin thing, set along these lines in .Xdefaults/.Xresources:

URxvt.internalBorder: 1

Value is the pixel size of margin, max allowed appears to be 100 according to man page.

Edit: Also it just occured to me that you can redefine the entire colourscheme via arguments when launching urxvt, so you could potentially launch your terminals via a shell script to randomize or rotate colour schemes to get your varied background colours unrelated to whatever defaults you've listed in your .Xdefaults/.Xresources.

7 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.