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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-18-2009, 12:26 AM
|
#1
|
LQ Newbie
Registered: Oct 2007
Posts: 3
Rep: 
|
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.
|
|
|
10-18-2009, 01:08 AM
|
#2
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
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.
|
|
|
11-14-2009, 03:55 AM
|
#3
|
LQ Newbie
Registered: Nov 2009
Posts: 1
Rep:
|
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"
|
|
|
09-02-2010, 05:45 PM
|
#4
|
LQ Newbie
Registered: Dec 2008
Posts: 23
Rep:
|
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.
|
|
|
09-27-2010, 11:11 AM
|
#5
|
LQ Newbie
Registered: Dec 2008
Posts: 23
Rep:
|
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 ?
|
|
|
10-27-2010, 01:44 AM
|
#6
|
LQ Newbie
Registered: Oct 2010
Posts: 1
Rep:
|
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!
|
|
|
12-18-2010, 10:03 AM
|
#7
|
LQ Newbie
Registered: Dec 2008
Posts: 23
Rep:
|
Quote:
Originally Posted by weekens
- 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.
|
|
|
05-21-2011, 05:23 PM
|
#8
|
LQ Newbie
Registered: Mar 2011
Posts: 22
Rep:
|
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...
|
|
|
05-22-2011, 04:18 AM
|
#9
|
LQ Newbie
Registered: Dec 2008
Posts: 23
Rep:
|
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.
|
|
|
05-22-2011, 06:28 PM
|
#10
|
LQ Newbie
Registered: Mar 2011
Posts: 22
Rep:
|
Thanks for the information but I actually ended up buying some dvd+r disk and I was able to run the installation that way.
|
|
|
04-17-2012, 04:18 PM
|
#11
|
LQ Newbie
Registered: Dec 2008
Posts: 23
Rep:
|
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
|
|
|
02-24-2014, 12:07 PM
|
#12
|
LQ Newbie
Registered: Mar 2013
Posts: 15
Rep: 
|
You can boot from a Redhat ISO and install using Easy2Boot
|
|
|
All times are GMT -5. The time now is 04:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|