免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1351 | 回复: 0
打印 上一主题 下一主题

从硬盘安装Linux发行版 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-02-01 13:13 |只看该作者 |倒序浏览
从硬盘安装Linux发行版
  软件环境:
  Mandriva Linux Free 2010
   http://www.mandriva.com/
   http://torrent.mandriva.com/public/2010.0/mandriva-linux-free-2010.0-i586.torrent
  
  Slackware 13.0
   www.slackware.com/
   http://www.slackware.com/torrents/slackware-13.0-install-dvd.torrent
  
  Ubuntu 9.10
  http://www.ubuntu.com/ http://www.ubuntu.org.cn/
  http://releases.ubuntu.com/9.10/ubuntu-9.10-alternate-i386.iso.torrent
  
  Debian 5.03
   http://www.debian.org/
   http://cdimage.debian.org/debian-cd/5.0.3/i386/bt-cd/debian-503-i386-xfce+lxde-CD-1.iso.torrent
   http://cdimage.debian.org/debian-cd/5.0.3/i386/bt-cd/debian-503-i386-netinst.iso.torrent
  
  openSUSE 11.2
  http://www.opensuse.org/
  http://software.opensuse.org/
  
  FreeBSD 8.0-RELEASE:
   http://www.freebsd.org/
  http://www.freebsdchina.org/
   ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/
  
  Grub4dos:
   http://grub4dos.sourceforge.net/
  https://gna.org/projects/grub4dos/
  http://download.gna.org/grub4dos/
  
  Windows XP sp3:
   Windows XP sp3 版,非雨林,非飞度,非深度,非电脑公司,非蕃茄。
  Acronis Disk Director Suite:
   http://www.acronis.com/enterprise/
   最好的分区软件。
  
  硬件环境:
  IBM think X31
  CPU Intel Pentium M 1.4G
  显卡 ATI Mobility Radeon M6,16M独显
  内存 1G
  硬盘 三星160G
  
  安装步骤:
  一、 安装XP
  二、 安装Acronis Disk Director Suite 10.0
  三、 使用Acronis Disk Director Suite分区
  had:145G
  hda1-主分区1,16G,NTFS,Windows XP,引导分区。
  hda2-主分区2,15G,UFS,FreeBSD。
  hda4-主分区3,12G,ReiserFS,Ubuntu-9.10-alternate。
  hda3-逻辑分区:
   hda5-逻辑分区1,11G,ReiserFS,Slackware 13
   hda6-逻辑分区1,10G,ReiserFS,Debian 5.03(debian-503-i386-xfce+lxde-CD-1.iso)
   hda7-逻辑分区1,9.5G,ReiserFS,Open suse 11。
   hda8-逻辑分区1,9G,ReiserFS,Mandriva 2010 (Mandriva Linux Free 2010)
   hda9-逻辑分区1,2G,Linux Swap,
   hda10-逻辑分区1,NTFS,
   hda11-逻辑分区1,NTFS,
  四、 下载Grub4dos,解压至C:\,按说明配置:
  修改c:\boot.ini,增加一行C:\GRLDR="Start GRUB"
  五、 下载各发行版镜像文件,效验下载的光盘镜像,确认效验出来的MD5与下载文件中的数字相符
  六、 将各操作系统光盘镜像拷贝至c:\
  七、 从硬盘安装
  7.1从硬盘安装Slackware13
   1,用winrar/winiso/ DAEMON Tools Lite之类的工具打开slackware-13.0-install-dvd.iso,将kernels/huge.s/bzImage和isolinux/initrd.gz解压至C:\
   2,Reboot, 出现XP引导菜单,选择GRUB。这时出现grub的引导菜单,按c进入command模式,输入代码:
  kernel (hd0,0)/bzImage
   initrd (hd0,0)/initrd.img
   boot
   3,接下来就是显示引导信息了,完毕后就是标准的slackware安装了,选择键盘类型,然后setup。
   4,选择安装源 Source Media Selection,我选第2项 Install from a hard drive partion始终未成成功,只好试试第4项 Install from a pre-mounted directory。
  5,按下Alt + F2转入控制台,Hit Enter激活控制台,输入代码:
   mkdir /mnt/dd /mnt/slackware
   mount /dev/hda1 /mnt/dd
   mount -o loop /mnt/dd/slackware-11.0-install-dvd.iso /mnt/slackware
   6,这样slackware 13的安装光盘iso就挂载到/mnt/slackware目录下了
  7,现在按Alt + F1返回安装界面,在安装源路径里输入/mnt/slackware/slackware就可以安装了。
  
  7.2从硬盘安装Mandriva Linux Free 2010
   1,用winrar/winiso/ DAEMON Tools Lite之类的工具打开mandriva-linux-free-2010.0-i586,将/isolinux/all.rgz和vmlinuz两个文件解压至C:\
   2,Reboot, 出现XP引导菜单,选择GRUB。这时出现grub的引导菜单,按c进入command模式,输入代码:
  kernel (hd0,0)/boot/vmlinuz root=/dev/ram3 vga=791
  initrd (hd0,0)/boot/all.rdz
   3,接下来就是显示引导信息了,完毕后就是标准的Mandriva安装了。
  
  7.3从硬盘安装FreeBSD 8.0
  1,下载 Grub4Dos,解压缩在c:\,修改或添加以下代码在 menu.lst 文件:
  title find and boot 8.0-RELEASE-i386-bootonly.iso
  fallback 5
  find --set-root /8.0-RELEASE-i386-bootonly.iso
  map --mem /8.0-RELEASE-i386-bootonly.iso (0xff)
  map --hook
  chainloader (0xff)
  2,下载 FreeBSD 8.0-RELEASE-i386-bootonly.iso放在c:\,
  3,Reboot, 出现XP引导菜单,选择GRUB。这时出现grub的引导菜单,在选项里选择 boot 8.0-RELEASE-i386-bootonly.iso 启动
  4,进入 FreeBSD 8.0 的安装。
  
  7.4从硬盘安装Debian 5.03
    1,准备Debian的安装光盘镜像
    2,把Debian的安装盘放在一个fat或者ext分区中,如果你只有ntfs分区,目前不能硬盘安装debian。
    注意:放在ntfs分区,虽然可以进入安装程序,但是不能识别光盘镜像。只能放在一个fat32分区中,无论主分区还是逻辑分区,安装程序都可以自动查找到。
    注意:下载硬盘安装所需文件,您需要找一个Debian网络镜像,在/dists/stable/main/installer-i386/current/images/hd-media/中找到initrd.gz和vmlinuz文件,下载它并保存到C:\。
    常用的debian镜像:
    http://ftp.sjtu.edu.cn/ubuntu/dists/jaunty/main/installer-i386/current/images/hd-media/
    http://ftp.tw.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/
    http://ftp.tw.debian.org/
    http://ftp.sjtu.edu.cn/
    ftp://openware.byr.edu.cn/pub/mirror/debian
    ftp://debian.ustc.edu.cn/debian
    ftp://debian.csie.dutc.edu.tw/debian/
    http://ftp.tw.debian.org/debian
    http://www.anheng.com.cn/debian
    3,Reboot, 出现XP引导菜单,选择GRUB。这时出现grub的引导菜单,按c进入command模式,输入代码:
   kernel (hd0,0)/bzImage
   initrd (hd0,0)/initrd.img
    注意:如果你使用IE下载vmlinuz文件,它可能会被IE自动更名为vmlinuz.txt。如果发生了这种情况,得手动把它的名字改为vmlinuz。
    注意:不要在硬盘中放置多个Debian的安装盘镜像文件,否则,安装程序可能因为挂载了错误的iso文件而报告无法加载内核模块的错误。
    安装常见问题:要使用expert模式安装,只需要在进入安装程序后,设置网络时就点“返回”,一直返回到“Debian安装程序主菜单”,在下面找到改变debconf的优先级设置,选“低”,确定后回到配置网络,下面就可以算作是expert模式了。
    7.5 从硬盘安装Ubuntu 9.10
    此次是从光盘安装,暂无。
    参考“7.4从硬盘安装Debian 5.03”
    常用的ubuntu镜像:
    http://ftp.sjtu.edu.cn/
    http://ftp.ubuntu.com/ubuntu/
    7.6 从硬盘安装openSUSE 11.2
    此次是从光盘安装,暂无。
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15173/showart_2166405.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP