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-26-2009, 01:47 PM   #1
diddler
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
RHEL 5.2 USB install questions


Hi All,

I have a challenging situation. I wish to install RHEL 5.2 on a server which does not have a floppy/cd/dvd drive. Thus I am trying to install from a USB drive. Also, I do not have a Linux machine to follow the instructions on previous threads on how to make the USB bootable. I have a Mac and Windows machine and I am trying to get the necessary files onto the USB. I have dd (disk duplicated) the diskboot.img onto the USB. When I run fdisk I have one partition with the diskboot.img stuff on it and it is marked as active. However, my Mac disk utility tool still says the drive is not bootable. So here are my questions:

1) is there some unix like command I can use on my Mac to make the disk bootable? Or does anyone know how I might make it bootable? It seems like there must be some simple way to do this.

2) Now that I have the contents of diskboot.img on the USB drive do I just copy the rest of the RHEL 5.2 DVD contents onto the USB drive? I'm just wondering how this part works. The contents of diskboot.img should boot up linux, but do I have to do something special (make particular directories on the USB) so that the remainder of the files on the RHEL 5.2 DVD will be found?

Thanks in advance
 
Old 10-26-2009, 01:56 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
does the windows machine have a cd writer. could you burn a live cd and create the usb installer with the live-linux machine
 
Old 10-26-2009, 02:08 PM   #3
diddler
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Sorry I don't understand. I downloaded RHEL 5.2 and burned it to a DVD on my Mac. What is meant by "live cd"? Does that mean bootable? If so, than what you are driving at is making a bootable CD and copying it to the USB and the bootable attribute would be retained and transferred to the USB? Sorry for the basic questions.
 
Old 10-26-2009, 02:21 PM   #4
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Why not just dd the entire DVD content to USB?

Or you can dd DVD content to .ISO (for Windows) and go with instruction in www.pendrivelinux.com. Each distro has different instruction to install.
 
Old 10-26-2009, 03:10 PM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by diddler View Post
Sorry I don't understand. I downloaded RHEL 5.2 and burned it to a DVD on my Mac. What is meant by "live cd"? Does that mean bootable? If so, than what you are driving at is making a bootable CD and copying it to the USB and the bootable attribute would be retained and transferred to the USB? Sorry for the basic questions.
i must've misunderstood. i thought the brickwall you hit was that you dont have a linux machine to run the commands needed to create the install usb.
a live cd would allow you to have a temporary linux computer to run your needed commands.
 
Old 10-26-2009, 03:25 PM   #6
diddler
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Oh, I see. I'll look into the live CD route then. You are correct I don't have a linux box to run the appropriate commands on. I thought by just getting the diskboot.img info and the rest of the RHEL 5.2 files on the USB was going to be enough... if I could somehow make it bootable.
 
Old 10-26-2009, 05:48 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
fyi, i'm using fc-11 live-usb:
Code:
[liveuser@localhost ~]$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb878336a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       14593   117218241    7  HPFS/NTFS

Disk /dev/sdb: 8021 MB, 8021606400 bytes
124 heads, 62 sectors/track, 2037 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Disk identifier: 0x0007674a

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1022     3928537   83  Linux
/dev/sdb2            1023        2037     3901660   83  Linux

Disk /dev/dm-0: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table
 
Old 10-26-2009, 06:24 PM   #8
diddler
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for all your replies. It occured to me the easiest thing would be to install a RHEL virtual machine on my Mac and follow one of the threads on how to make the USB a bootable drive.
 
  


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
Install dmidecode and procinfo in RHEL 4 - RHEL 3 rafanto Red Hat 11 06-23-2009 06:23 AM
Installed Fedora 9 over RHEL it overwrote RHEL. How to install both?? obe786 Linux - Newbie 2 01-29-2009 07:52 AM
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
Unable to Install TP-LINK WN321G usb wireless adapter on RHEL 4 ? crazyvish Linux - Wireless Networking 0 02-16-2008 08:04 AM
Install RHEL.V.3 U3 with USB Floppy for Raid Drivers temm Linux - Enterprise 0 10-10-2005 10:37 AM

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

All times are GMT -5. The time now is 08:15 AM.

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