LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1251|回复: 7

[原創]無需刻盤、無需解壓、使用 iso 安裝 mdk 10.1 O (完全 linux 操作)

[复制链接]
发表于 2004-12-29 21:28:02 | 显示全部楼层 |阅读模式
author: Gary Chang
update: 12/29/2004

0.
origin: http://gary1984.blogspot.com/200 ... ng-use-isos-to.html


1. assume that you have downloaded isos of Mandrake 10.1 Official in
/mnt/win_e/tmp

# ls /mnt/win_e/tmp
Mandrakelinux-10.1-Official-Download-CD1.i586.iso
Mandrakelinux-10.1-Official-Download-CD2.i586.iso
Mandrakelinux-10.1-Official-Download-CD3.i586.iso


2. execute

# rpm -qa | grep cdrecord-isotools
# rpm -qa | grep hexedit

to check if the packages are installed. if no, urpmi it.


3. execute

# mount Mandrakelinux-10.1-Official-Download-CD1.i586.iso /mnt/iso -o loop
# cp -r /mnt/iso/isolinux /mnt/win_e/tmp


4. insert a floppy and create a boot one

# dd if=/mnt/iso/install/images/hd_grub.img of=/dev/fd0
# umount /mnt/iso


5. complete the boot floppy

# vi /mnt/floppy/menu.lst

you will see some information, and surf http://qa.mandrakesoft.com/hd_grub.cgi.
choose proper options, see the information carefully, and follow the steps.
here is my menu.lst

  1. timeout 0
  2. default 0

  3. title Mandrake Install

  4. root (hd0,2)
  5. kernel /tmp/isolinux/alt0/vmlinuz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788 automatic=method:disk,partition=hda3,directory=/tmp
  6. initrd /tmp/isolinux/alt0/all.rdz
复制代码



6. this is the most important step; be sure to follow me carefully!

# hexedit Mandrakelinux-10.1-Official-Download-CD1.i586.iso

notice: press F1 to get help how to use hexedit
search "101OFFD1", you will be in the position 0x8028, and MODIFY "101OFFD1" TO
"101-Disc1".
repeat the same step, modify "101OFFD2" to "101-Disc2" in
Mandrakelinux-10.1-Official-Download-CD2.i586.iso; and so on.


7. reboot from the boot floppy you make, answer the what the installation
process asks.
enjoy installation!
finishing installation, you must update the source media.


8. something about modifying isos
because of wrong labels of isos, the installation process can't judge isos
automaticly.
you can execute

# isodebug Mandrakelinux-10.1-Official-Download-CD1.i586.iso
# isoinfo -d -i Mandrakelinux-10.1-Official-Download-CD1.i586.iso

to see lots information.

after you modify iso, the label you see in the windows is still old one.
then you can hexedit isos again, find 0x3100303100. you will know how to modify
them, if you are senstive enough.
发表于 2004-12-29 22:09:47 | 显示全部楼层
好贴,版主应加精吧。
发表于 2004-12-30 04:32:13 | 显示全部楼层
I installed Mandrake 10.1 without floppy, CD-Rom, iso files or Linux. Just on a WinXP box and from the FTP in USTC
 楼主| 发表于 2004-12-30 18:27:33 | 显示全部楼层
Post by pierrexqw
I installed Mandrake 10.1 without floppy, CD-Rom, iso files or Linux. Just on a WinXP box and from the FTP in USTC


可是當你的網路頻寬不夠大時,用網路安裝會慢到死。
iso 下載回?恚阆霚y試新的版本,再決定要不要刻盤,這是比較好的方法。
发表于 2004-12-30 21:48:34 | 显示全部楼层
这还用加精吗?大家一直都是用这种安装的。而且是标准的软盘启动,ISO安装。
发表于 2004-12-31 11:23:28 | 显示全部楼层
Post by fundawang
这还用加精吗?大家一直都是用这种安装的。而且是标准的软盘启动,ISO安装。

请问,有无软盘,无光盘,无DOS,无Windows,无任何盗版软件,只有一个已经装好的linux。然后安装的方法吗?
原来的方法都需要从DOS起动系统安装的,不够完美啊。难道离不开DOS了吗?
发表于 2004-12-31 17:00:36 | 显示全部楼层
thanks!
 楼主| 发表于 2004-12-31 18:40:05 | 显示全部楼层
Post by iamone

请问,有无软盘,无光盘,无DOS,无Windows,无任何盗版软件,只有一个已经装好的linux。然后安装的方法吗?
原来的方法都需要从DOS起动系统安装的,不够完美啊。难道离不开DOS了吗?


當然可以完全 linux 操作
如果你用 grub 當 boot banager ,把 menu.lst 的內容適當的加到 grub 裡
就可以省略 floppy 了,以 iso 安裝了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表