RHEL7 USB installation problem and solving

來源:互聯網
上載者:User

標籤:rhel7   install   dual boot   windows   

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#", 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.


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.