大雀软件园

首页 软件下载 安卓市场 苹果市场 电脑游戏 安卓游戏 文章资讯 驱动下载
技术开发 网页设计 图形图象 数据库 网络媒体 网络安全 站长CLUB 操作系统 媒体动画 安卓相关
当前位置: 首页 -> 操作系统 -> Linux -> windows ntldr引导linux+redhat9.0引导修复

windows ntldr引导linux+redhat9.0引导修复

时间: 2021-07-31 作者:daque

作家: techo[原创]windows启发linux+redhat9.0启发建设(请求加精)第一局部引见windows ntldr启发linux 第二局部引见建设linxu9.0启发的grub安置本领第一局部:所需软硬件:矮人dos4.2,grub for dos,linux as4 光盘镜像.ntldr loader共同grub 启发red hat linux enterprise as4.正文手段是运用windows 系列os loader来启发linux,重要实用于硬盘安置red hat linux enterprise as4情况:winxp sp2+red hat linux enterprise as4硬盘分区: /hda1-----------8g. ntfs.........c盘windows: /hda5-----------5g. ntfs.........d盘/hda6...........8g: ntfs.........e盘/hda7...........43g ntfs.........f盘/hda8...........2.6g fat32........g盘linux: /hda9..........101mb ext2 /boot .....linux boot分区/hda10.........512mb swap swap:...... linux调换分区/hda11.........9.6g ext3 / ....... linux根分区实行进程:(1)/hda1即c盘安置xp sp2.(2) linux安置在(/hda11)上,把linux grub安置在/boot分区(/hda9)上即可。(3)复制grub for dos里一切文献到c盘根目次下,并索取矮人dos4.2(索取本领本人去想吧)里的memdisk.gz文献复制到c:\boot\grub\下,索取linux第一章光盘镜像里的iso文献夹至c盘根目次,而且索取光盘images里的diskboot.img文献到c:\boot\grub\下。(4)编纂c:\boot\grub\menu.lst,在结果增添:title 安置 fedora core 4 kernel (hd0,0)/isolinux/vmlinuz --type-linux reiserfsinitrd (hd0,0)/isolinux/initrd.imgtitle 运转 fedora core 4 启用盘root (hd0,0)kernel (hd0,0)/boot/grub/memdisk.gzinitrd (hd0,0)/boot/grub/diskboot.img证明:第一个用来硬盘安置linux as4第二个用来启用linux rescue救济形式(硬盘安置linux后启用救济形式本领)(5)重启后,加入grub for dos菜单,采用"fedora core 4 启用盘",加入启用画面,输出:linux rescue(加入linux救济形式),采用谈话品种,键盘典型,不启用搜集接口,结果加入#sh,下输出# chroot /mnt/sysimage (切换到根目次)# mkdir /mnt/win(创造一个过载windows分区的目次,基础是该分区方法须为fat32)# mount -t vfat /dev/hda8 /mnt/win(过载/hda8到/mnt/win目次下)# dd if=/dev/hda6 of=/mnt/winc/bootfc4.lnx bs=512 count=1 (索取as4启发文献至hda8分区即g盘)结果咱们键入exit退出.(6)重启到xp,把生存到g盘的bootfc4.lnx挪动到c盘,用文本编纂器翻开boot.ini在结果增添一条龙c:\bootfc4.lnx="加入red hat linux enterprise as4"结果文献实质为:[boot loader]timeout=10default=c:\grldr[operating systems]multi(0)disk(0)rdisk(0)partition(1)\windows="microsoft windows xp professional" /noexecute=optin /fastdetectc:\bootfc4.lnx="加入red hat linux as4"c:\grldr="grub for dos"咱们生存重启,就有了as4的启用菜单.\遥远体例启发文献备份与回复本领:一、备份c:\boot.inic:\grldr c:\boot目次 c:\iso目次 as4第一张光盘c:\boot\grub\menu.lst 这个很要害c:\boot\grub\diskboot.img as4第一张光盘二、回复重装xp后,回复之上文献至c盘即可linux as4重装,即使/boot分区没有窜改,就依照之上本领从新启用救济形式,索取linux启发文献bootfc4.lnx至c盘,而且在boot.ini里结果增添 c:\bootfc4.lnx="加入red hat linux as4" 即可。对于其余本子的linux,原理当该都一律。弥补:也不妨实足用grub for dos 来处置硬盘上各别操纵体例启发,窜改c:\boot\grub\menu.list文献如次:(蓝色局部)menu.list文献实质如次:# this is a sample menu.lst file. you should make some changes to it.# added items for installing grub [ which is on your dos drive c: ] to mbrcolor black/cyan yellow/cyantimeout 60default 0title windows xp on (hd0,0) (启发c盘的windows xp,启发记载坐落c盘根目次)chainloader (hd0,0)+1rootnoverify (hd0)title red hat linux enterprise as 4 on (hd0,8) (启发red hat linux as4,其启发文献在/boot分区即/hda9)root (hd0,8)kernel /vmlinuz-2.6.9-5.el ro root=label=/1 rhgb quietinitrd /initrd-2.6.9-5.el.img................title 安置 fedora core 4 kernel (hd0,0)/isolinux/vmlinuz --type-linux reiserfs (硬盘安置red hat linux as4)initrd (hd0,0)/isolinux/initrd.imgtitle 运转 fedora core 4 启用盘root (hd0,0)kernel (hd0,0)/boot/grub/memdisk.gz (硬盘安置法,建设启用linux as4的救济形式)initrd (hd0,0)/boot/grub/diskboot.img menu.list中断,中央没用的简略。 第二局部:底下引见red hat linux9.0,grub安置在mbr上,重装xp后,建设linxu9.0启发的grub安置本领:放入linux9.0第一张光盘,加入后,看到提醒boot:,输出linux rescue,进linux救济形式举行少许谈话,键盘的采用后,决定救济保守入救济形式,而后输出一下吩咐:#chroot /mnt/sysimage(切换到如实的linux根目次下)#grub-install /dev/hda(即可安置grub到mbr主启发记载上)重启后,展示linux grub启发界面windowslinux之上操纵,仍旧尝试经过,即使有题目请发乒坛短信或跟帖证明。证明:正文仅供交谈与参考。局部操纵有确定的危害,请留心操纵!!

热门阅览

最新排行

Copyright © 2019-2021 大雀软件园(www.daque.cn) All Rights Reserved.