|
|
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
- timeout 0
- default 0
- title Mandrake Install
- root (hd0,2)
- kernel /tmp/isolinux/alt0/vmlinuz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788 automatic=method:disk,partition=hda3,directory=/tmp
- 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. |
|