Install RedHat RHEL 4 AS to the USB Hard Drive 1. Install RedHat RHEL 4 AS to the USB Hard Drive Boot RHEL4 Installation CD, enter "expert". Partition your USB Hard drive manually. In my case, I created 1GB /dev/sda1 mounted as /boot and /dev/sda5 mounted as / (root), I also have /dev/sda7 SWAP partition. After installation, boot from the RHEL4 Installation CD again, type "linux rescue", don't let the installer mount the USB hard drive partitions. 2. Mount partitions # mount /dev/sda5 /mnt/source # mount /dev/sda1 /mnt/source/boot # chroot /mnt/source 3. Restore initrd image # cp /boot/initrd-2.6.9-5.EL.img /tmp/initrd.gz # cd /tmp # gunzip initrd.gz # mkdir /tmp/a # cd /tmp/a # cpio -i (Output: 2078 blocks) 4. Edit init script to load USB drivers # vi /tmp/a/init #!/bin/nash mount -t proc /proc /proc setquiet echo Mounted /proc filesystem echo Mounting sysfs mount -t sysfs none /sys echo Creating /dev mount -o mode=0755 -t tmpfs none /dev mknod /dev/console c...
Get tips on any operations or functions done on or by the linux operating systems, debian, ubuntu, fedora etc..