User Tools

Site Tools


wiki:centos7_usb_boot_install_fail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:centos7_usb_boot_install_fail [2017/07/12 12:54] walkeradminwiki:centos7_usb_boot_install_fail [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 25: Line 25:
  
 ---- ----
-====== Solution ======+===== Solution =====
 \\  \\ 
 After a lot of Google-ing, I found this. When you boot from the USB stick, you get a boot menu that looks something like the following: After a lot of Google-ing, I found this. When you boot from the USB stick, you get a boot menu that looks something like the following:
 \\  \\ 
 \\  \\ 
-{{ :wiki:centos7_bootb.jpg?600 |}}+{{ :wiki:centos7_bootb.jpg?800 |}}
 \\  \\ 
 \\  \\ 
Line 41: Line 41:
     vmlinuz initrd=initrd.img ins.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet nomodeset     vmlinuz initrd=initrd.img ins.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet nomodeset
 \\  \\ 
 +----
 +===== Edit your USB Stick =====
 \\  \\ 
 +You can make this even easier by editing the USB Stick you created, so that you don't have to remember to do this. (I have not tested to see what effect this has not a server that does not exhibit this behaviour).
 +\\ 
 +==== Open USB Stick in Windows/Linux ====
 +\\ 
 +Navigate to the USB stick, and go to the following location:
 +\\ 
 +    <drive>:\EFI\BOOT\ 
 +\\ 
 +In here you will see several files, we are interested in the <color #ed1c24>grub.cfg</color> file.
 +\\ 
 +\\ 
 +<sxh [text][; options for SyntaxHighlighter]>
 +05/12/2016  13:20    <DIR>          .
 +05/12/2016  13:20    <DIR>          ..
 +05/12/2016  13:20    <DIR>          fonts
 +05/12/2016  13:20         1,296,176 BOOTX64.EFI
 +05/12/2016  13:20         1,283,952 MokManager.efi
 +05/12/2016  13:20         1,025,920 grubx64.efi
 +12/07/2017  11:18             1,347 grub.cfg
 +               4 File(s)      3,607,395 bytes
 +               3 Dir(s)         227,328 bytes free
 +</sxh>
 +\\ 
 +Open the <color #ed1c24>grub.cfg</color> file in a text editor, and look for the line:
 +\\ 
 +<sxh [text]>
 +menuentry 'Install CentOS Linux 7' --class fedora --class gnu-linux --class gnu --class os {
 +</sxh>
 +\\ 
 +\\ 
 +This is the menu line you see when you boot from the USB stick. Under this title you will the line:
 +<sxh [text]>
 +linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
 +</sxh>
 +\\ 
 +\\ 
 +Edit this line by adding the <color #ed1c24>nomodeset</color> switch to the end of it.
 +<sxh [text]>
 +linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet nomodeset
 +</sxh>
 +\\ 
 +\\ 
 +The whole section for this menu item should look as follows:
 +<sxh [text]>
 +### BEGIN /etc/grub.d/10_linux ###
 +menuentry 'Install CentOS Linux 7' --class fedora --class gnu-linux --class gnu --class os {
 + linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet nomodeset
 + initrdefi /images/pxeboot/initrd.img
 +</sxh>
 +\\ 
 +Save the file, eject the USB stick properly and test.
  
wiki/centos7_usb_boot_install_fail.1499860482.txt.gz · Last modified: 2023/03/09 22:35 (external edit)