zoukankan      html  css  js  c++  java
  • RHEL7 USB installation problem and solving

    版权声明:本文为博主原创文章。未经博主同意不得转载。 https://blog.csdn.net/scruffybear/article/details/37063701

    Encountered quite a few problems while install the RHEL7, with the Windows system already installed.

    Problem 1:/dev/root does not exist

    Downloaded the Redhat 7 ISO file and generate the bootable USB drive by using software 'rufus-1.4.9.exe'. 

    in the installation menu, press tab key, and enter to modify the install command, change the “hd:……“ to "hd:/dev/sdb#"(from hd: until the end exact replace, sdb is the usb drive you have, maybe is sdc, or sdb, '#' normally is '1'), and then press enter, problem solved.


    Problem 2: cannot boot both system

    modified the /boot/grub/grub.conf (for RHEL6), changed the (hd1,0) to (hd0,0), it is starting from 0, the value 1 comes from the USB drive bootable drive.


    Problem 3, how to change the sequence on the in Grub of RHEL6

    change the default from 0 to 1 in /boot/grub/grub.conf, 0 will be the linux at defalt, 1 will be windows be default.


    Problem 4: only boot into RHEL7, cannot see the dual boot interface in Grub2.

    Create the file and add the following

        /etc/grub.d/10_windows7
    
         #! /bin/bash
         echo "Adding Windows7 entry to grub"
         cat << EOF
         menuentry "Windows" {
         set root=hd0(0,1)
         chainloader +1
          }
         EOF

    Adjust hd0(0,1) accordingly. You can use hd0(0,1) if windows is installed on /dev/sda1

    2. chmod +x /etc/grub.d/10_windows7

    3. grub2-mkconfig -o /boot/grub2/grub.cfg


    Problem 5, change the boot priority in Grub2 of RHEL7

    change the name of /etc/grub.d/10_windows7 to 09_windows7, 09 has lower number as linux file (in my Linux system it's 10_linux, change to 09 is smaller than 10), has higher priority.

    then execute 'grub2-mkconfig -o /boot/grub2/grub.cfg', reboot, the system will default as Windows to boot.


  • 相关阅读:
    李宏毅机器学习课程笔记-13.4模型压缩之架构设计
    李宏毅机器学习课程笔记-13.3模型压缩之参数量化
    李宏毅机器学习课程笔记-13.2模型压缩之知识蒸馏
    斗破苍穹 纳兰嫣然 同人换装
    初音未来 捏脸 虚拟歌姬 人物卡 人物数据
    王者荣耀 艾琳 同人换装
    王者荣耀嫦娥 拒霜思 同人 P图
    linux直接IO代码演示
    qt通过http请求下载文件(支持断点续传)
    Q_DECLARE_FLAGS用法
  • 原文地址:https://www.cnblogs.com/mqxnongmin/p/10932255.html
Copyright © 2011-2022 走看看