Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

hick518

Members
  • Posts

    76
  • Joined

  • Last visited

  • Days Won

    4

Reputation Activity

  1. Great Post
    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!
  2. Trolling
    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!
  3. Trolling
    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.
  4. Trolling
    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.
  5. Trolling
    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
     
     
  6. Trolling
    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
     
     
  7. Trolling
    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...
     

     

     

  8. Trolling
    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...
     

     

     

×
×
  • Create New...