Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

NikosAlexandris

Members
  • Posts

    111
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by NikosAlexandris

  1. The steps to approach this were as suggested by Tassie_Tux (and, first, by renihs in #zfsonlinux): booting a live System Rescue ISO (with ZFS 0.6.3 support), importing the zpool (using -R and setting /mnt/funtoo as the mountpoint for the pool), chrooting into the existing Funtoo system, re-emerging all zfs related stuff and let world updates finish completely and successfully.

     

    All seems to be fine, except for boot-update and/or bliss-boot.  I am trying to follow the wiki-instructions (on ZFS install). What is the difference between conf.py and config.py in /etc/bliss-boot/?  The wiki <http://www.funtoo.org/ZFS_Install_Guide#bliss-boot> refers to conf.py.  But, bliss-boot is looking for a config.py. I used

    bliss-initramfs 1 3.12.22-KS.01

    and moved the initrd product to /boot/kernels via

    mv /boot/kernels/3.12.22-KS.01/initrd-3.12.22-KS.01 /boot/kernels/3.12.22-KS.01/initrd

    I had to edit the boot command (at launch) by hand to enter the 3.12.22-KS.01 kernel to boot successfully into Funtoo. I have the following config.py:

    # Copyright 2014 Jonathan Vasquez <jvasquez1011@gmail.com>
    #
    # This Source Code Form is subject to the terms of the Mozilla Public
    # License, v. 2.0. If a copy of the MPL was not distributed with this
    # file, You can obtain one at http://mozilla.org/MPL/2.0/.
    
    #---------- General Configuration ----------
    
    # Kernel Path and Bootloader Type
    bootdir = "/boot/kernels"
    
    # Supported bootloaders: grub2, extlinux
    bootloader = "grub2"
    
    # Is an initrd being used?
    initrd = 1
    
    # 'timeout' is automatically multiplied by 10 for extlinux
    timeout = 3
    
    # Default kernel to boot into
    default = "3.12.22-KS.01"
    
    # What do you want your kernel/initrd to be called in the config file?
    kernel_prefix = "vmlinuz"
    initrd_prefix = "initrd"
    
    # If using 'whole disk zfs', dataset where your /boot directory is in
    zfs_boot = "cognizance/os/funtoo/root"
    
    
    #---------- GRUB 2 settings ----------
    
    # If you are using an UEFI system and booting into an UEFI-enabled
    # Linux install, enable this
    efi = 0
    
    # Only activate this if you are using 'whole disk zfs'
    # aka no /boot, and your /boot directory is inside the zfs pool
    zfs = 0
    
    # Adds all the modules specified on the list to the grub config
    # Feel free to specify or remove anything you use/don't use
    goody_bag = [
    	#"lvm",
    	#"luks",
    	#"mdadm",
    	#"mdraid09",
    	#"mdraid1x",
    ]
    
    
    #---------- extlinux settings ----------
    el_ui = "menu.c32"
    el_m_title = "Boot Menu"
    el_c_title = "1;37;40"
    el_c_border = "30;40"
    el_c_unsel = "37;40"
    
    # If you enable this, it will disable the menu and automatically
    # boot your chosen default kernel. Leaving this at 0 will still boot
    # automatically but it will first show the menu, wait the timeout value
    # that you set above, and then boot the default kernel
    el_auto_boot = 0
    
    
    # ---------- Kernels & Options ----------
    kernels = {
    	'3.12.22-KS.01' : 'root=cognizance/os/funtoo/root quiet',
    }
    
    
    # ---------- Other ----------
    
    # Entries below will be appended (as is) to the end of the final file
    # Use this if you have custom stuff not detected by the bootloader
    # (like Windows installations...)
    
    append = 0
    
    append_stuff = \
    """menuentry "Windows 7" {
    	insmod chain
    
    	set root='(hd0,msdos2)'
    	chainloader +1
    }
    """
    

    Unfortunately, bliss-boot does not seem to pick it up.  Maybe useful to know as well, the boot.conf file is structured as follows:

    cat /etc/boot.conf
    boot {
            generate grub
            default "Funtoo Linux" 
            timeout 3 
    }
    
    "Funtoo Linux" {
            kernel bzImage[-v]
    }
    
    "Funtoo ZFS"    {
            kernel vmlinuz[-v]
            initrd initrd[-v]
            params root=cognizace/os/funtoo/root quiet
    }
    

    Stuck again!

  2. Booting a System Rescue CD (via a USB-Flash stick actually) with ZFS support built-in, I am able to import the pool and see all of its contents via:

    zpool import -R -f /mnt/z PoolName

    I exported the pool and tried to reboot the system.  Now, fianlly, it complains that "Failed to import your zfs root dataset!" and boots into rescue shell. It should be fairly easy to understand what is wrong currently in my Funtoo box and fix it, right? :-)

  3. I let the system (laptop) emerge world updates overnight. In the morning I found it hang. No reaction on any kind of keystrokes.  It has happened again, yesterday, after replacing udev with eudev and upower with upower-pm-utils.  And, my guess, is that it has to do with it. I.e., when the battery erached a full charge state, it hang.

     

    After booting, the system can't mount /home, thus, I can't access my data. However, I can login as root in /.

    Any hints on how to proceed with this?

  4.  

    Try the following...

    emerge --unmerge udev && emerge --oneshot eudev && emerge --unmerge upower && emerge --oneshot sys-power/upower-pm-utils
    

    That should fix the udev problems... I was having the same issue trying to install cinnamon.

     

    Just make sure that it finishes before you reboot otherwise your system will be broken. udev and upower are both system packages that are nessesary to boot correctly.

     

    eudev and upower-pm-utils replace udev and upower respectivly.

     

    Hope that this helps.

     

    P.S. You will probably have to run the following after the above to fix linked libraries but portage should tell you that.

    emerge @preserved-rebuild
    

     

    I also needed to remove lvm2 first. Then, merging eudev worked as per the one-liner above.

  5. None of the above helped me further. Searching more for available packages, showed icedtea-web-1.4.2. Emerging it like

    USE="jamvm javascript" emerge -av icedtea-web

    hinted, among others, a magic message after installation completion saying The icedtea browser plugin (NPPlugin) can be enabled using eselect java-nsplugin. Listing options and current setting revealed the "problem"

    eselect java-nsplugin list
    Available 32-bit Java browser plugins
    Available 64-bit Java browser plugins
      [1]   icedtea-7
      [2]   icedtea-bin-6  current
      [3]   icedtea-web@icedtea-7
      [4]   icedtea-web@icedtea-bin-6
      [5]   oracle-jre-bin-1.7
    

    Setting it to "7", like

    eselect java-nsplugin set 64bit 1

    fixed it and http://glovis.usgs.gov/ runs fine.  I don't know, of course, if installing icedtea-web-1.4.2 was necessary at all.

  6. The USGS Global Visualization Viewer requires Java 7 or higher. In my Funtoo box I have:

    java -version
    
    java version "1.7.0_51"
    Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode

    Isn't this already version 7?  How do I get past this obstacle?  I currently use Firefox which features (the plugin) IcedTea-Web ver. 1.3.2.  I have also been through http://www.funtoo.org/Funtoo_Linux_Web_Browsers#Oracle_Java_Runtime_Environment to ensure it was not a "Security" misconfiguration.

×
×
  • Create New...