LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2009, 12:26 AM   #1
sunnybmv
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: Disabled
Thumbs up RHEL 5 iso usb bootable.


HI all,
I am trying to create a usb bootable RHEL 5 image. I tried with dd command dd if=diskboot.img of=/dev/sdb its working. Its booting from usb thats fine.While installing from usb its asking for iso image (OS image) install from like
network
cdrom
ftp
and other options. I want it to take from usb only not other media installations. I tried with dd if=Redhat5.iso of=/dev/sdb. Its not working? Kindly suggest me on this.

Thanks in advance.
 
Old 10-18-2009, 01:08 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
EDIT: ignore it's just another netinstall image.

I fear the USB images for RHEL are net-installers so you can't really get around it, I don't think you can install RHEL just off of USB Disc I am afraid, however if you got another machine in the same network, just use an FTP service and refer to an iso of RHEL... it would probably be alot easier.

Potentially it maybe possible to to place the ISO on a USB if the installer is capable of getting the ISO from USB.

Last edited by r3sistance; 10-18-2009 at 01:12 AM.
 
Old 11-14-2009, 03:55 AM   #3
devendrahp
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Hi

make 2 patition of 4gb usb drive, fist 500mb and another more then 3gb
1.In fist partition install bootable image dd=diskboot.img of=/dev/sdb1
2.In second partition (sdb2) copy iso image of RHEL 5
3.first step will take you up to install from
cdrom harddrive nfs ftp http sceen. and select harddisk, sdb2 and follow the steps to comlete you installation

for partition usb drive type "fdisk /dev/sdb"
 
Old 09-02-2010, 05:45 PM   #4
kitgerrits
LQ Newbie
 
Registered: Dec 2008
Posts: 23

Rep: Reputation: 1
MBR?

I have tried to create a stick with the above method (2 partitions, one with diskboot.img and one with the .ISO), but the stick fails to boot.

I tried writing a MBR whith 'dd if=diskboot.img of=/dev/sda bs=512 count=1', but my computer still thinks it is not bootable.

How do I get a working MBR on there?
What partition type should I set in fdisk?
I already set the first partition as bootable (active).

I selected the USB stick in the BIOS boot menu.
 
Old 09-27-2010, 11:11 AM   #5
kitgerrits
LQ Newbie
 
Registered: Dec 2008
Posts: 23

Rep: Reputation: 1
OK, getting a little closer, but not quite there yet.

With DD, the entire boot image needs to be written to a (100MB) partition.
(it also contains an initial root device and such)

According to Red Hat, it should be able to read the filesystem in /dev/sdb2 (USB stick) and mount the .ISO image.

BUT:
- the DL380 refuses to boot from the USB stick (wrong partition type? bootable flag?)
- what filesystem should I put on sdb2, seeing as the image is >2GB ?
 
Old 10-27-2010, 01:44 AM   #6
weekens
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
The following solution worked to me:

- Create a bootable flash with Unetbootin application (specify a RHEL .iso)
- Copy the same RHEL .iso to the root of the flash drive
- Boot from flash, the setup program starts
- In setup, specify the flash drive (/dev/sdb1 for ex.) as a location of the distribution image

After that, the setup goes well.

Good luck to everyone!
 
Old 12-18-2010, 10:03 AM   #7
kitgerrits
LQ Newbie
 
Registered: Dec 2008
Posts: 23

Rep: Reputation: 1
Quote:
Originally Posted by weekens View Post
- Create a bootable flash with Unetbootin application (specify a RHEL .iso)
- Copy the same RHEL .iso to the root of the flash drive
- Boot from flash, the setup program starts
- In setup, specify the flash drive (/dev/sdb1 for ex.) as a location of the distribution image
That worked like a charm!
The "Linux" option is the same one you get on the regular RHEL CD ('linux rescue', anyone?)


At the moment, I can only use CD images because the (3GB) DVD is incompatible with VFAT.
Is there any partition type supported by this method?


In the meantime, I an storing a 'snapshot' of my RPM repo, so I can rebuild the server if needed.
 
Old 05-21-2011, 05:23 PM   #8
musiqdefunk
LQ Newbie
 
Registered: Mar 2011
Posts: 22

Rep: Reputation: 0
I used Fedora Live USB creator and I can boot up to the installation method and just can't figure how to get any further, according to the previous post I need to have the bootable image and than a copy of the image in the usb as well does that mean I need like a 8 gb usb to do this, please let me know cause my computer is not recognizing any cd or dvds...
 
Old 05-22-2011, 04:18 AM   #9
kitgerrits
LQ Newbie
 
Registered: Dec 2008
Posts: 23

Rep: Reputation: 1
Unetbootin will put a (self-made) image on the USB stick, which provives the boot part.
You also need to put the original .ISO on there, so the installer can continue.

If you use A CD image, a 2GB stick will suffice.
 
Old 05-22-2011, 06:28 PM   #10
musiqdefunk
LQ Newbie
 
Registered: Mar 2011
Posts: 22

Rep: Reputation: 0
Thanks for the information but I actually ended up buying some dvd+r disk and I was able to run the installation that way.
 
Old 04-17-2012, 04:18 PM   #11
kitgerrits
LQ Newbie
 
Registered: Dec 2008
Posts: 23

Rep: Reputation: 1
For those that still care, this is how you can do it:
(stolen from http://richmegginson.livejournal.com/19848.html )

1) format an 8GB USB drive
2) From RHN, go to the channel you want to use - in my case RHEL6 Workstation, and choose your arch
3) Download both the minimal/network install ISO, and the full package DVD ISO - you will need both
4) Using the Fedora Live USB Creator, make the USB drive bootable using the minimal/network install ISO - be sure to leave plenty of space for the full package DVD ISO
5) once the USB drive is complete, copy the DVD ISO to the USB thumb drive - then eject the thumb drive
6) Plug the USB drive into your computer and reboot
7) You may have to hit F-12 or some other function key to get to the BIOS boot menu - select the USB device
8) You should then see the RHEL install screen - select your install option
9) Go through the install screens - you will eventually get to a screen that says something like
Install from:
CD
Hard Drive
Network
HTTP/FTP
Choose "Hard Drive" - if it prompts you for the path, just hit Enter or "/" if you must enter something - this is the location of the DVD ISO
 
Old 02-24-2014, 12:07 PM   #12
Steve6375
LQ Newbie
 
Registered: Mar 2013
Posts: 15

Rep: Reputation: Disabled
You can boot from a Redhat ISO and install using Easy2Boot
 
  


Reply

Tags
linux



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
[SOLVED] How to create an ISO image from a bootable USB pendrive jortalli Linux - Software 2 09-02-2009 06:46 AM
Installing a Linux ISO without a bootable CD Rom,USB or Nic gtjr92 Linux - Software 8 08-22-2009 12:24 PM
Trying to create a bootable USB flash drive to install RHEL (4 or 5) on servers scholldr Linux - General 2 05-05-2008 07:39 AM
Create Bootable Simply Mepis USB drive from CD ISO duryodhan MEPIS 0 11-16-2006 11:23 PM
boot pc from a bootable-iso without a cd or usb-device psytroll Linux - General 1 02-23-2006 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:11 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