亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

Start an installation from GRUB

系統(tǒng) 2068 0

Start an installation from GRUB

?

Description

This tip will show you how to start an installation for network or hard disk from an existing GRUB bootloader from CentOS or another distro. This is useful if the system has no CD or DVD bootable device and it is not possible or convenient to boot from other removable media. The example uses CentOS 5 i386 but should work for other versions and architectures.

?

Fetch boot kernel and initrd

The required installer vmlinux and initrd.img files can be gotten from loopback mount of an ISO image, from a close by mirror, or from an installation tree on hard disk. The example shows fetching them from centos.org:

    cd /boot


    
      wget http://mirror.centos.org/centos/5/os/i386/isolinux/vmlinuz


      
        mv vmlinuz vmlinuz-c5 
        
          wget http://mirror.centos.org/centos/5/os/i386/isolinux/initrd.img 
          
            mv initrd.img initrd-c5.img 
            
            
          
        
      
    
  

?

Create GRUB boot stanza

The following assumes that /dev/sda1 (or /dev/hda1 - first partition on first disk) is the boot partition. For /dev/sdb3 substitute (hd1,2) for (hd0,0), etc.

    title CentOS 5 Install


    
          root (hd0,0)


      
         kernel /vmlinuz-c5 ro 
        
           initrd /initrd-c5.img 
          
          
        
      
    
  

If there is no /boot partition and the root filesystem is on the first partition use

    title CentOS 5 Install


    
          root (hd0,0)


      
         kernel /boot/vmlinuz-c5 ro 
        
           initrd /boot/initrd-c5.img 
          
          
        
      
    
  

Optional parameters can be added to the kernel. For example

    title CentOS 5 Install


    
          root (hd0,0)


      
         kernel /vmlinuz-c5 ro keymap=no lang=en_US.UTF-8 method=http://10.0.0.10/repos/CentOS/5.5/os/i386 
        
           initrd /initrd-c5.img 
          
          
        
      
    
  

Or

    title CentOS 5 Install


    
          root (hd0,0)


      
         kernel /vmlinuz-c5 ro vnc vncconnect=192.168.15.2 ip=dhcp upgradeany lang=en_US keymap=us method=http://192.168.15.40/mrepo/centos5-x86_64/disc1/ ksdevice=link 
        
           initrd /initrd-c5.img
        
      
    
  

Start an installation from GRUB


更多文章、技術交流、商務合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 亚洲高清一区二区三区久久 | 久久99热66这里只有精品一 | 亚洲精品国产乱码在线播 | 亚洲自拍成人 | 久久综合狠狠综合久久97色 | 国产一区二区精品久久岳 | 99免费看| 欧美另类高清xxxxx | 又粗又大的机巴好爽欧美 | 乱子伦有声小说mp3 仑乱高清在线一级播放 | 爽爽影院免费观看视频 | 亚洲国产高清视频在线观看 | 久久国产精品二国产精品 | 日日摸夜夜欧美一区二区 | 国产毛片一区二区三区精品 | 国产精品福利视频一区二区三区 | 狠狠久久 | 国产精品久久久久一区二区 | 国产萝控精品福利视频免费 | 亚洲精品一区二区三区五区 | 久久久香蕉视频 | 精品在线观看一区 | 奇米影视亚洲狠狠色777不卡 | 中文字幕在线视频精品 | 日本无翼乌全彩无遮挡动漫 | 日本一区二区中文字幕 | 久久爱噜噜噜噜久久久网 | 成人欧美视频在线观看播放 | 成人短视频视频在线观看网站 | 欧美成人一区二区三区不卡视频 | 欧美xxxxx毛片 | 天天操天天摸天天舔 | 婷婷亚洲视频 | 四虎精品 | 欧美成人免费一级人片 | 岛国毛片一级一级特级毛片 | 日本一区二区三区免费高清在线 | 午夜一级免费视频 | 久久只有精品视频 | 看毛片网 | 成人性a激情免费视频 |