usb install

5 views
Skip to first unread message

shrawan rawat

unread,
Jul 16, 2011, 4:39:21 AM7/16/11
to redhathcl...@googlegroups.com


pls. give me steps to make usb stick bootable to install redhat linux

Shrawan Singh Rawat

Iit Campus

hittuuuuu

unread,
Jul 17, 2011, 11:20:56 PM7/17/11
to RedHat.hclcdc.janakpuri
hii shrawan,

these are the steps:-

1) Mount the CD Drive
#mount /dev/cdrom /mnt
2) Create a FAT filesystem in pen drive
#mkisofs /dev/sdb1
3) Mount the pen drive
#mount /dev/sdb1 /misc
4) Copy the required files from CD to the pen drive
#cd /misc
#cp /mnt/isolinux/* /misc
#rm isolinux.bin boot.cat trans.tbl
#mv isolinux.cfg syslinux.cfg
5) Make the USB Bootable
#syslinux /dev/sdb1
6) Install grub on the usb pen drive
#grub-install –root-directory=/misc /dev/sdb
7) Create grub.conf file in the pen drive
#cd /misc
#mkdir –p boot/grub
#vi boot/grub/grub.conf
default=0
timeout=5
root (hd0,0)
title Install RHEL
kernel /vmlinuz
initrd /initrd.img
8) Create one directory and copy the OS CD iso files within that
directory in pen drive
#mkdir images
#cd images
9) Create the ISO files of the CD
#mkisofs –J –r –T –o RHEL-disc1.iso /mnt
10) Unmount the pen drive
#umount /misc
11) Now Restart and boot system through USB
12) It boots like linux askmethod installation in this, need select
the “Had drive”
13) Then it is asking for, which partition OS images are present. In
our case it is “sdb1” (pendrive) then give the Directory holding
images as “images”.
14) Remaining is same as the normal installation.

AAnand Kashyap

unread,
Jul 19, 2011, 7:36:41 AM7/19/11
to redhathcl...@googlegroups.com
hi Shrawan Singh Rawat

*Step 1 Goto the Linux DVD*

[root@server1 ~]# cd /media/RHEL_5.1\ i386\ DV/

*Step 2 Issue the following command*
[root@server1 RHEL_5.1 i386 DV]# cat  images/diskboot.img > /dev/sdb
here i am assuming that /dev/sdb is your pen drive. make sure you have
mounted the pen drive and linux DVD drive.

--
You received this message because you are subscribed to the Google Groups "RedHat.hclcdc.janakpuri" group.
To post to this group, send an email to redhathcl...@googlegroups.com.
To unsubscribe from this group, send email to redhathcljanakp...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/redhathcljanakpuri?hl=en-GB.



--
Thanks & Regards

AAnand Kashyap
9650955997
Reply all
Reply to author
Forward
0 new messages