FedoraForum.org - Fedora Support Forums and Community
Page 3 of 3 FirstFirst 1 2 3
Results 31 to 42 of 42
  1. #31
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    397

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    Yes, it is 866 megabytes. Burn it to a usb drive and see if it boots. What kickstart did you use? You obviously didn't add any (many) packages to the kickstart.

  2. #32
    Join Date
    Feb 2018
    Location
    Usa
    Posts
    28

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    I followed almost all of this instructions expect last part.

    https://fedoraproject.org/wiki/Livem..._use_a_Live_CD

  3. #33
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    397

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    Just run the following command in root: "# rm -vrf /var/lib/mock/fedora-27-x86_64/root/var/lmc" (outside of mock). If you are in the mock shell, use this:
    "rm -vrf /var/lmc". Before you do this, copy the iso to another directory (Desktop, etc.). If you don't remove the /var/lmc directory, the program won't allow you to create another live iso.

    By the way, I generally create a custom iso based on xfce4. In order to fetch non-free packages you have to add rpmfusion repositories. Here is a copy of the initial section of my flattened kickstart:
    Code:
     #version=DEVEL
    # X Window System configuration information
    xconfig  --startxonboot
    # Keyboard layouts
    keyboard 'us'
    # Root password
    rootpw --iscrypted --lock locked
    # System language
    lang en_US.UTF-8
    # Shutdown after installation
    shutdown
    # System timezone
    timezone US/Pacific
    # Firewall configuration
    firewall --enabled --service=mdns
    # Network information
    network  --bootproto=dhcp --device=link --activate
    repo --name="fedora" --baseurl=http://mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/releases/27/Everything/x86_64/os/
    repo --name="fedora-updates" --baseurl=http://mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/updates/27/x86_64/
    repo --name=rpmfusionfree --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-27&arch=x86_64
    repo --name=rpmfusionfreeupdates --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-27&arch=x86_64
    repo --name="rpmfusion-nonfree" --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-27&arch=x86_64
    repo --name="rpmfusionnon-freeupdates" --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-27&arch=x86_64
    repo --name="google-chrome" --baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
    
    # Use network installation
    url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-27&arch=x86_64
    # System authorization information
    auth --useshadow --passalgo=sha512
    # SELinux configuration
    selinux --disabled
    
    # System services
    services --disabled="sshd" --enabled="NetworkManager,ModemManager"
    # System bootloader configuration
    bootloader --location=mbr
    # Clear the Master Boot Record
    zerombr
    #swap size
    part swap --size=512
    # Partition clearing information
    clearpart --all
    # Disk partitioning information
    part / --fstype="ext4" --size=8194
    I had to increase the size of the root partition of the iso to 8194 megabytes (default = 5000+), otherwise livemedia-creator would throw an error and stop.

    Here is a copy of my %packages section (which is quite large and very complete):
    Code:
     %packages
    @admin-tools
    @anaconda-tools
    @base-x
    @core
    @dial-up
    @fonts
    @guest-desktop-agents
    @hardware-support
    @input-methods
    @multimedia
    @networkmanager-submodules
    @printing
    @standard
    @xfce-apps
    @xfce-desktop
    @xfce-extra-plugins
    @xfce-media
    @xfce-office
    aajohan-comfortaa-fonts
    anaconda
    dracut-live
    glibc-all-langpacks
    gnome-keyring-pam
    grub2-efi
    kernel
    kernel-modules
    kernel-modules-extra
    memtest86+
    syslinux
    system-config-printer
    wget
    xscreensaver-extras
    -PackageKit*
    -acpid
    -aspell-*
    -autofs
    -coolkey
    -desktop-backgrounds-basic
    -gimp-help
    -hplip
    -isdn4k-utils
    -mpage
    -numactl
    #-sane-backends
    -sox
    -xfce4-sensors-plugin
    #-xsane
    -xsane-gimp
    NetworkManager.x86_64
    NetworkManager-wifi.x86_64
    gcc.x86_64
    vlc.x86_64 
    akmod-wl.x86_64
    kernel-devel.x86_64
    kernel-headers.x86_64
    @libreoffice
    gparted
    google-chrome-stable.x86_64
    -abiword
    -midori
    -fedora-release 
    -fedora-logos 
    -fedora-release-notes 
    generic-release 
    generic-logos 
    generic-release-notes
    ffmpeg.x86_64
    gedit.x86_64
    tar
    #dracut-network
    lorax.x86_64
    lorax-lmc-novirt
    pykickstart
    k3b.x86_64
    ImageMagick
    mock
    git
    @virtualization
    vim
    mplayer
    pavucontrol
    blueberry
    dvd+rw-tools.x86_64
    sudo
    %end
    I use this to install an up-to-date, custom fedora system filled with all the packages I need. I also install the iso in a live usb drive.

    Since I have added non-free packages, I had to get rid of the fedora logos since technically it no longer is a Fedora system.
    Last edited by donatom; 16th March 2018 at 05:44 AM.

  4. #34
    Join Date
    Feb 2018
    Location
    Usa
    Posts
    28

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    I will try to follow yours next.

  5. #35
    Join Date
    Feb 2018
    Location
    Usa
    Posts
    28

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    I added the line. It shows me like this

    # X Window System configuration information
    Unrecognized option: Window
    use: X [:<display>] [option]
    -a # default pointer acceleration (factor)
    -ac disable access control restrictions
    -audit int set audit trail level
    -auth file select authorization file
    -br create root window with black background
    +bs enable any backing store support
    -bs disable any backing store support
    -c turns off key-click
    c # key-click volume (0-100)
    -cc int default color visual class
    -nocursor disable the cursor
    -core generate core dump on fatal error
    -displayfd fd file descriptor to write display number to when ready to connect
    -dpi int screen resolution in dots per inch
    -dpms disables VESA DPMS monitor control
    -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
    -f # bell base (0-100)
    -fc string cursor font
    -fn string default font name
    -fp string default font path
    -help prints message with these options
    +iglx Allow creating indirect GLX contexts
    -iglx Prohibit creating indirect GLX contexts (default)
    -I ignore all remaining arguments
    -ld int limit data space to N Kb
    -lf int limit number of open files to N
    -ls int limit stack space to N Kb
    -nolock disable the locking mechanism
    -maxclients n set maximum number of clients (power of two)
    -nolisten string don't listen on protocol
    -listen string listen on protocol
    -noreset don't reset after last client exists
    -background [none] create root window with no background
    -reset reset after last client exists
    -p # screen-saver pattern duration (minutes)
    -pn accept failure to listen on all ports
    -nopn reject failure to listen on all ports
    -r turns off auto-repeat
    r turns on auto-repeat
    -render [default|mono|gray|color] set render color alloc policy
    -retro start with classic stipple and cursor
    -s # screen-saver timeout (minutes)
    -seat string seat to run on
    -t # default pointer threshold (pixels/t)
    -terminate terminate at server reset
    -to # connection time out
    -tst disable testing extensions
    ttyxx server started from init on /dev/ttyxx
    v video blanking for screen-saver
    -v screen-saver without video blanking
    -wm WhenMapped default backing-store
    -wr create root window with white background
    -maxbigreqsize set maximal bigrequest size
    +xinerama Enable XINERAMA extension
    -xinerama Disable XINERAMA extension
    -dumbSched Disable smart scheduling and threaded input, enable old behavior
    -schedInterval int Set scheduler interval in msec
    -sigstop Enable SIGSTOP based startup
    +extension name Enable extension
    -extension name Disable extension
    -query host-name contact named host for XDMCP
    -broadcast broadcast for XDMCP
    -multicast [addr [hops]] IPv6 multicast for XDMCP
    -indirect host-name contact named host for indirect XDMCP
    -port port-num UDP port number to send messages to
    -from local-address specify the local address to connect from
    -once Terminate server after one session
    -class display-class specify display class to send in manage
    -cookie xdm-auth-bits specify the magic cookie for XDMCP
    -displayID display-id manufacturer display ID for request
    [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
    enable/disable accessx key sequences
    -ardelay set XKB autorepeat delay
    -arinterval set XKB autorepeat interval


    Device Dependent Usage
    -modulepath paths specify the module search path
    -logfile file specify a log file name
    -configure probe for devices and write an xorg.conf
    -showopts print available options for all installed drivers
    -config file specify a configuration file, relative to the
    xorg.conf search path, only root can use absolute
    -configdir dir specify a configuration directory, relative to the
    xorg.conf.d search path, only root can use absolute
    -verbose [n] verbose startup messages
    -logverbose [n] verbose log messages
    -quiet minimal startup messages
    -pixmap24 use 24bpp pixmaps for depth 24
    -pixmap32 use 32bpp pixmaps for depth 24
    -fbbpp n set bpp for the framebuffer. Default: 8
    -depth n set colour depth. Default: 8
    -gamma f set gamma value (0.1 < f < 10.0) Default: 1.0
    -rgamma f set gamma value for red phase
    -ggamma f set gamma value for green phase
    -bgamma f set gamma value for blue phase
    -weight nnn set RGB weighting at 16 bpp. Default: 565
    -layout name specify the ServerLayout section name
    -screen name specify the Screen section name
    -keyboard name specify the core keyboard InputDevice name
    -pointer name specify the core pointer InputDevice name
    -nosilk disable Silken Mouse
    -flipPixels swap default black/white Pixel values
    -disableVidMode disable mode adjustments with xvidtune
    -allowNonLocalXvidtune allow xvidtune to be run as a non-local client
    -allowMouseOpenFail start server even if the mouse can't be initialized
    -ignoreABI make module ABI mismatches non-fatal
    -isolateDevice bus_id restrict device resets to bus_id (PCI only)
    -version show the server version
    -showDefaultModulePath show the server default module path
    -showDefaultLibPath show the server default library path
    -novtswitch don't automatically switch VT at reset & exit
    -sharevts share VTs with another X server
    vtXX use the specified VT number
    -keeptty don't detach controlling tty (for debugging only)

    (EE)
    Fatal server error:
    (EE) Unrecognized option: Window
    (EE)
    (EE)
    Please consult the Fedora Project support
    at http://wiki.x.org
    for help.
    (EE)

  6. #36
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    397

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    Quote Originally Posted by Overclocked
    I added the line. It shows me like this
    What line did you add -- and where did you add it? If it was a command, please print the entire command. If it is part of the kickstart, please print the entire section of the ks.

  7. #37
    Join Date
    Feb 2018
    Location
    Usa
    Posts
    28

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    I didn't use kickstart at all. I only follow commands from the link you gave me. That's all I did.

  8. #38
    Join Date
    Feb 2018
    Location
    Usa
    Posts
    28

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    I only did this part like this

    $ sudo setenforce 0
    $ mock -r fedora-27-x86_64 --shell --old-chroot
    <mock-chroot> sh-4.3# git clone https://pagure.io/fedora-kickstarts.git

  9. #39
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    397

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    You need to flatten the kickstart, add any packages you would like to include in the iso, save changes, the run the livemedia-creator commands as shown on the wiki:

    ksflatten

    change directory into fedora-kickstarts and flatten a kickstart

    <mock-chroot> sh-4.3# cd fedora-kickstarts
    <mock-chroot> sh-4.3# ksflatten --config fedora-live-soas.ks -o flat-fedora-live-soas.ks --version F26

    livemedia-creator example

    <mock-chroot> sh-4.3# livemedia-creator --ks flat-fedora-live-soas.ks --no-virt --resultdir /var/lmc --project Fedora-soas-Live --make-iso --volid Fedora-SoaS-26 --iso-only --iso-name Fedora-SoaS-27-x86_64.iso --releasever 27 --title Fedora-SoaS-live
    You must change the livemedia-creator command line to correspond to the kickstart you are using (Fedora-xfce-live, etc.)

    I use the Fedora-27-xfce-live kickstart and my command line looks like this:

    Code:
    livemedia-creator --ks flat-fedora-live-xfce.ks --no-virt --resultdir /var/lmc --project Fedora-xfce-Live --make-iso --volid Fedora-xfce-27 --iso-only --iso-name Fedora-Custom.iso --releasever 27 --title Fedora-XFCE-live
    To add new packages, use vi to add them at the end of the flattened kickstart:

    Code:
     vi fedora-kickstarts/flat-fedora-live-xfce.ks

  10. #40
    Join Date
    Feb 2018
    Location
    Usa
    Posts
    28

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    I did ksflatten. But I didn't try Fedora-27-xfce-live kickstart.

  11. #41
    Join Date
    Feb 2018
    Location
    Usa
    Posts
    28

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    After I follow your command, it says like this

    Your command:

    livemedia-creator --ks flat-fedora-live-xfce.ks --no-virt --resultdir /var/lmc --project Fedora-xfce-Live --make-iso --volid Fedora-xfce-27 --iso-only --iso-name Fedora-Custom.iso --releasever 27 --title Fedora-XFCE-live
    Message:
    flat-fedora-live-xfce.ks is missing.

  12. #42
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    397

    Re: Updating fedora iso with newest kernel using Livemedia-creator

    You have to refer to your own kickstart file. If you flattened fedora-live-kde.ks, then everything in the command has to refer to that same version. So your livemedia-creator command would look something like this:
    Code:
    livemedia-creator --ks flat-fedora-live-kde.ks --no-virt --resultdir /var/lmc --project Fedora-kde-Live --make-iso --volid Fedora-kde-27 --iso-only --iso-name Fedora-Custom.iso --releasever 27 --title Fedora-KDE-live

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. livemedia-creator fails - help wanted!
    By Skeeter9807 in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 8th October 2017, 08:22 PM
  2. F25 onwards - Livemedia-creator usage
    By antikythera in forum Guides & Solutions (Not For Questions)
    Replies: 1
    Last Post: 4th August 2017, 10:03 AM
  3. Error Using LiveMedia-Creator
    By crokett in forum Fedora Spins & Remixes
    Replies: 2
    Last Post: 17th October 2016, 08:20 PM
  4. livemedia-creator
    By sea in forum Reviews, Rants & Things That Make You Scream
    Replies: 3
    Last Post: 5th August 2013, 06:34 PM
  5. livemedia-creator: parameters?
    By livecdOrNothing in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 20th April 2013, 01:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •