hick518
-
Posts
76 -
Joined
-
Last visited
-
Days Won
4
Reputation Activity
-
hick518 got a reaction from cardinal in boot-update error with LVM
Arg, I figured it out right after posting this. I specified my LVM root partition by two different paths, although both of them are valid.
In boot.conf I had /dev/mapper/vg1-rootfs
In fstab I had /dev/vg1/rootfs (which is a symbolic link to /dev/mapper/vg1-rootfs)
Once I made them the same, boot-update worked.
I realized two other mistakes I made, which I would like to point out.
1) In boot.conf I had this:
kernel kernel[-v] initrd initramfs-genkernel[-v] This does not work because [-v] is not a wildcard like I had thought. It seems to be a variable which gets its value from the kernel line. On my system the kernel is 'kernel-debian-sources-x86_64-4.4.6-1'. So I think [-v] equals '-debian-sources-x86_64-4.4.6-1'. Boot-update cannot find a match for my initrd line, which would be 'initramfs-genkernel-debian-sources-x86_64-4.4.6-1' -- that file does not exist. I thought my initrd line would match to initramfs-genkernel-x86_64-4.4.6-1, but I was wrong about that.
The other mistake I made is that I do not need the genkernel initramfs at all. The debian one works fine for an LVM root filesystem.
So my files now look like this, and my system is bootable.
/etc/boot.conf:
boot { generate grub default "Funtoo Linux genkernel lvm" timeout 3 } "Funtoo Linux genkernel lvm" { kernel kernel[-v] initrd initramfs[-v] params += dolvm real_root=/dev/vg1/rootfs rootfstype=ext4 resume=swap:/dev/mapper/vg1-swap /etc/fstab:
/dev/sda1 /boot ext2 noauto,noatime 1 2 /dev/vg1/swap none swap sw 0 0 /dev/vg1/rootfs / ext4 noatime 0 1 boot-update configures grub.cfg with the following kernel and initrd:
kernel-debian-sources-x86_64-4.4.6-1 initramfs-debian-sources-x86_64-4.4.6-1 Sorry for the noise!
-
hick518 got a reaction from cardinal in ice1712.ko missing from debian-sources-4.4.6
I tested debian-sources-4.5.2 successfully and updated the bug report.
I'm also testing gentoo-sources, based on your and tmp-meteque's comments in http://forums.funtoo.org/topic/923-upgrading-debian-sources-requires-14-gb-in-vartmp
Thanks!
-
hick518 got a reaction from tmp-meteque in upgrading debian-sources requires 14 GB in /var/tmp
Cardinal, thanks for all the info. I still have a lot to learn.
For now, I have decided the easiest thing for me is to stick w/ debian-sources and do this:
mkdir /home/tmp
PORTAGE_TMPDIR=/home/tmp emerge -av debian-sources
It's currently compiling.
-
hick518 got a reaction from cardinal in upgrading debian-sources requires 14 GB in /var/tmp
Cardinal, thanks for all the info. I still have a lot to learn.
For now, I have decided the easiest thing for me is to stick w/ debian-sources and do this:
mkdir /home/tmp
PORTAGE_TMPDIR=/home/tmp emerge -av debian-sources
It's currently compiling.
-
hick518 got a reaction from nrc in tab completion in sftp
I spent quite a while figuring out how to get tab completion to work in sftp, so I figured I'd document it here. I had to enable the libedit flag for openssh. My /etc/portage/package.use file now contains this line:
>=net-misc/openssh-6.8_p1-r3 libedit
-
hick518 got a reaction from cardinal in tab completion in sftp
I spent quite a while figuring out how to get tab completion to work in sftp, so I figured I'd document it here. I had to enable the libedit flag for openssh. My /etc/portage/package.use file now contains this line:
>=net-misc/openssh-6.8_p1-r3 libedit
-
hick518 got a reaction from Deklan? in What Badly Pimped-out Vehicle is the Best Visual Metaphor for Systemd?
And this is what it looks like when you pile on way too much crap...
-
hick518 got a reaction from aryvandaar in What Badly Pimped-out Vehicle is the Best Visual Metaphor for Systemd?
And this is what it looks like when you pile on way too much crap...
