LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-18-2007, 03:07 AM   #1
prince amir
Member
 
Registered: Nov 2004
Posts: 30

Rep: Reputation: 15
how to create disk on key boot from boot.iso


hello all

im trying to install my rhel 5.1 from nfs, this is ok, but u want to \create a disk on key with the boot iso to boot it up to nfs
what is the process to create usb disk on key boot one?

thanks
 
Old 12-19-2007, 12:47 AM   #2
zeevk
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
Your first step should be downloading the latest version of syslinux rpm and installing it on you linux machine.

After downloading it you should

Configuring the USB Flash
Partitioning the USB
First of all you need to erase all existing partitions on the USB by using FDISK command.
For example :
#fdisk /dev/sdb

sdb is you USB device for each device its different.

Get into fdisk and erase the partition table, then write the changes

Example:
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.

Now the flash is clean and ready.



Making the USB Bootable
In order to allow the USB to be bootable we and for the boot image to work with partition we will use syslinux command.
# /usr/lib/syslinux/mkdiskimage -4 /dev/sdb 13 64 32
This command tells the USB to act as standard zip disk, 13 tells the image at which cylinder to stop (basically you decide here you boot partition size).
Now it’s to DD the boot image from Red Hat installation CD 1 to USB.
#dd if=”path to mounted CD”/images/diskboot.img of=/dev/sdb4
Now the USB is bootable and ready for installation

now you'll see a small partition on you flash disk which holds the boot abilitys.

All left to do is create another partition and plant on it kickstart file
pointing to your nfs location or just putting ISO files of your OS and using them (much faster option).
 
Old 12-19-2007, 01:57 AM   #3
prince amir
Member
 
Registered: Nov 2004
Posts: 30

Original Poster
Rep: Reputation: 15
thanks

thank u for the answer
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a RAID-1 of the boot disk and a new disk Oskare100 Linux - Server 3 09-21-2007 07:45 PM
how to create a boot ISO CD? DotHQ Red Hat 4 08-21-2006 01:41 PM
Create A Boot Disk maxf15 Amigo 5 04-16-2005 11:39 PM
Insert Boot-Disk and press any key computerlady911 Linux - Laptop and Netbook 7 10-04-2004 12:56 PM
how to create a boot disk vichet Linux - Newbie 3 04-20-2002 06:12 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration