Unix/Linux installation in disk, without cdrom.

来源:互联网 发布:弹跳法术升级数据 编辑:程序博客网 时间:2024/05/16 11:41

1. Redhat :(extracting vmlinuz and initrd.gz in iso file's isolinux dir.)

 

grub>root (hd0,x)

grub>kernel /rhel/vmlinuz

grub>initrd  /rhel/initrd.gz

grub>boot

 

Select harddisk partion which contain iso file.

 

 

2. Ubuntu (extracting vmlinuz and initrd.lz in iso file's casper dir.)

grub>root (hd0,x)

grub>kernel /ubuntu/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04-beta1-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8 apci=on

grub>initrd /ubuntu/initrd.lz

grub>boot

 

when entering the livecd GUI, hit <CTRL>+<ALT>+<F2> to umount -l /isodevice and return to GUI.

 

 

3. OpenSUSE (Extract linux and initrd from "boot/xxxx/loader" which xxxx is i386 or x86_64)

grub>kernel linux

grub>initrd initrd

grub>boot

 

when "Can't find the iso resipostiy ...." apears, hit <CTRL>+<ALT>+<F2> . then

#mount -l

#umount xxxx (all mounted disks, which are listed by mount -l, something like /mounts/mp_xxxx)

#mount /sdax /var/adm/mount/

Hits <CTRL>+<ALT>+<F7> to continue installation.

 

grub menu:

title SUSE Linux Enterprise Desktop 11
    root (hd1,6)
    kernel /boot/vmlinuz root=/dev/sda7 vga=791   resume=/dev/sda7  splash=silent showopts
    initrd /boot/initrd

 

4. Solaries 11(Extract MULTIBOOT and X86.MINIROOT from "/boot")

grub>kernel MULTIBOOT kernel/unix -B install_media=dsk

grub>module X86.MINIROOT

grub>boot

 

Then when menu appears, select "1" to enter the shell.

#mount -F pcfs /dev/dsk/c1t0d0p0:1 /mnt

#lofiadm -a /mnt/sol/sol.iso

#mount -F hsfs /dev/lofi/1 /cdrom

#exit

 

If iso path selection appears, then select networking installation, and enter "/cdrom" for the iso path.

 

 

 

 

 

原创粉丝点击