zoukankan      html  css  js  c++  java
  • grub2 boot Fedora-Workstation-Live-x86_64-29-1.2.iso

    # cannot use ISO files on NTFS partitions, otherwise, cannot install Fedora, error is below
    # dracut-initqueue; /sbin/iso-scan: line 35: rmdir: command not found
    # You cannot use ISO files on partitions controlled by LVM (Logical Volume Management).
    # (hd0,msdos5) is a NTFS partition
    # (hd0,msdos10) is an EXT4 partition

    # cannot use ISO files on NTFS partitions
    menuentry 'Fedora-Workstation-Live-x86_64-29-1.2 NTFS' {
        set root=(hd0,msdos5)
        loopback loop /win-tools/Fedora-Workstation-Live-x86_64-29-1.2.iso
        linux (loop)/isolinux/vmlinuz iso-scan/filename="/win-tools/Fedora-Workstation-Live-x86_64-29-1.2.iso" root=live:CDLABEL=Fedora-WS-Live-29-1-2 rd.live.image rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
        initrd (loop)/isolinux/initrd.img
    }

    # can use ISO files on EXT4 partitions
    menuentry 'Fedora-Workstation-Live-x86_64-29-1.2 EXT4' {
        set root=(hd0,msdos10)
        loopback loop /Fedora-Workstation-Live-x86_64-29-1.2.iso
    #    linux (loop)/isolinux/vmlinuz iso-scan/filename="/Fedora-Workstation-Live-x86_64-29-1.2.iso" root=live:CDLABEL=Fedora-WS-Live-29-1-2 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
        linux (loop)/isolinux/vmlinuz iso-scan/filename="/Fedora-Workstation-Live-x86_64-29-1.2.iso" root=live:CDLABEL=Fedora-WS-Live-29-1-2 rd.live.image
        initrd (loop)/isolinux/initrd.img
    }

    menuentry 'rhel-8.0-beta-1-x86_64-dvd' {
        set root=(hd0,msdos10)
        loopback loop /rhel-8.0-beta-1-x86_64-dvd.iso
    #    linux (loop)/isolinux/vmlinuz iso-scan/filename="/rhel-8.0-beta-1-x86_64-dvd.iso" root=live:CDLABEL=RHEL-8-0-BaseOS-x86_64 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
        linux (loop)/isolinux/vmlinuz iso-scan/filename="/rhel-8.0-beta-1-x86_64-dvd.iso" root=live:CDLABEL=RHEL-8-0-BaseOS-x86_64 rd.live.image
        initrd (loop)/isolinux/initrd.img
    }

  • 相关阅读:
    .net的委托和事件的直接理解[转载]
    虚函数 多态 函数重载[转载]
    自动化 object <> xml
    用System.Web.HttpRequest模拟一个form的post
    【WP7】动画的使用
    【WP7】关于ListBox控件的数据绑定
    【WP7】坐标变换
    【WP7】页面之间数据交互
    【WP7】调用系统LED灯
    【WP7】MediaPlayer与关闭音乐的方法
  • 原文地址:https://www.cnblogs.com/ztguang/p/12644339.html
Copyright © 2011-2022 走看看