Centos7.4安装(SSD+UEFI启动)

由于是最新的DELLEMC服务器,并且CPU是最新的Skylake架构。因此安装最新版的CentOS7.4的操作系统时遇到了一些问题如下:

enter image description here

此时需要重启电脑,进入启动安装系统的界面,将光标移至Install CentOS 7 那行,然后按e键,看到如下行:

setparams 'Install CentOS Linux 7'
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 xdriver=vesa quiet
initrdefi /images/pxeboot/initrd.img
#将inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 xdriver=vesa,改为linux dd,如下:
setparams 'Install CentOS Linux 7'
linuxefi /images/pxeboot/vmlinuz linux dd quiet
initrdefi /images/pxeboot/initrd.img

按Ctrl+x,重启计算机。得到如下的图片:

此时,说明U盘的路径为/dev/sdc4,重启电脑,进入安装界面,在Install CentOS 7 按下e键,按照下面的内容修改:

setparams 'Install CentOS Linux 7'
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:/dev/sdc4 quiet
initrdefi /images/pxeboot/initrd.img

修改完成后,便可以进行U盘引导启动

为了不需要启动后再次需改路径,需要修改syslinux.cfg,并且修改U盘的标签

vim /run/media/train/BOOT/syslinux/syslinux.cfg
    label linux
    menu label ^Install CentOS 7
    kernel vmlinuz
    append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet

sudo blkid -s LABEL
sudo e2label /dev/sdb2 CentOS\ 7\ x86_64
sudo blkid -s LABEL
此条目发表在Linux分类目录。将固定链接加入收藏夹。

发表评论

邮箱地址不会被公开。 必填项已用*标注

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

Protected with IP Blacklist CloudIP Blacklist Cloud