日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

直接用ISO文件在linux上安装新系统

發布時間:2023/12/15 综合教程 23 生活家
生活随笔 收集整理的這篇文章主要介紹了 直接用ISO文件在linux上安装新系统 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Use Case
-When you don’t have CD / DVD drive on your system.
-You have Fedora DVD but your system has only a CD Drive.
-You don’t want to waste time and resources in burning iso on optical media.
Pre-requisites
-You have a Fedora DVD iso or rescue cd iso.
-You have a Linux installation on your system.
-You have a partition (FAT32, ext2, ext3) which you will not format while installing the new OS.
How to proceed
Let us assume you want to install Fedora 9 on your system and you have a Linux distro already installed on your system. You have downloaded the Fedora DVD iso (Fedora-9-DVD-i686.iso). And you have a FAT32/ext2/ext3 partition /stuff/ which you will not format during installation.

Step 1 : Move the Fedora DVD iso to /stuff/ directory.

[root@sainisaini]#mvFedora-9-DVD-i686.iso/stuff/[Enter]


Step 2 : Mount Fedora DVD iso on /mnt/

[root@sainisaini]#mount/stuff/Fedora-9-DVD-i686.iso/mnt/-roloop[Enter](doasroot)

Step 3 : Copy the initrd.img and vmlinuz to /boot/ partition

[root@sainisaini]#cd/mnt/isolinux/[Enter]
[root@sainiisolinux]#cpinitrd.imgvmlinuz/boot/[Enter](doasroot)

Step 4 : Create grub entry for booting into Fedora 9
Add these lines at the end of your /boot/grub/grub.conf file.

titleFedora9(Newinstallation)

kernel/vmlinuz

initrd/initrd.img

Step 5 : Note the device having Fedora DVD iso

[root@sainisaini]#df-h[Enter]
FilesystemSizeUsedAvailUse%Mountedon
/dev/sda315G9.5G4.1G70%/
/dev/sda8135G116G13G91%/stuff
/dev/sda54.8G1.2G3.4G26%/home
/dev/sda199M12M82M13%/boot

In this case /dev/sda8 contains Fedora DVD iso. Note this down as you need it later.

Step 6 : Reboot

Reboot your system and boot into the Fedora 9 (New installation) grub entry.

Step 7 : Install from hard disk

While in installation wizard, select “Hard drive” as installation method and choose /dev/sda8 as it contains the Fedora DVD iso. And rest is damn easy.

——————
無論在哪里做什么,只要堅持服務、創新、創造價值,其他的東西自然都會來的。

總結

以上是生活随笔為你收集整理的直接用ISO文件在linux上安装新系统的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。