CentOS install using a USB key than Optical Media Drive

General support questions including new installations

CentOS install using a USB key than Optical Media Drive

Postby torontob123 » 2010/08/01 18:51:29

Hi Guys,

1- If I have a motherboard that supports USB boot (a Supermicro one), how can I put the CentOS DVD .iso that I just downloaded onto the stick to have the computer boot from it?

2- Certain Supermicro boards support IPMI (Kvm over LAN) and Serial over LAN and most notably Virtual Media Over Lan. I am wondering if there would be any problem installing CentOS using the Virtual Media over Lan.


Any guides or pointers are highly appreciated.

Bruce
torontob123
 
Posts: 95
Joined: 2009/11/30 20:21:14

CentOS install using a USB key than Optical Media Drive

Postby pschaff » 2010/08/02 00:44:05

Best I can suggest is the Wiki article HowTos/InstallFromUSBkey. No experience with #2.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: CentOS install using a USB key than Optical Media Drive

Postby Zirion » 2010/08/16 16:45:14

Did you have any success with getting your USB stick set up as a CentOS installer? I'm currently trying to do the same thing but without success.

I'd already found the webpage that Phil pointed out and was following those instructions to create my USB stick installer. When I booted the box I saw the following error message (after the SYSLINUX intro):

"Could not find kernel image: linux"

Googling on that error pointed me at this page
this page on pendrivelinux.com but those suggestions didn't help - the file's there, has the correct name and the relative references are correct.

The biggest problem is that most hits I get when searching are about creating a LiveCD equivalent on a USB stick, rather than something I can actually use to install Linux on the host computer.

Any hints you've got, even if you've not successfully set it up would be appreciated.

Thanks

Ken
Zirion
 
Posts: 2
Joined: 2010/08/16 16:07:37

Re: CentOS install using a USB key than Optical Media Drive

Postby pschaff » 2010/08/16 16:59:40

Welcome to the CentOS fora. The following reading is recommended for new users:
Readme First
Installing Software
Where to Find Answers
How to provide information about your system

It would be best to start a new Topic rather than hijacking an existing one, as explained above.

I will try to find time to have another look at that procedure. Meanwhile, you may want to look at some of the links at the bottom of the page to CentOS Mailing List posts that describe procedures said to work.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: CentOS install using a USB key than Optical Media Drive

Postby lalamax3d » 2010/08/17 03:20:40

my suggestions:
creating bootable USB: use unetbootin, give is Live ISO image, thats it.

quite interestingly, i was trying to setup centOS. for first time, from last two years, using ubuntu... quite happy with that.

yesterday i created a bootable USB, boot from it and it worked, cent os is running via Live USB.

questions: if any one can answer, i'll be greatful and thanks in advance

1- normally in ubuntu / fedora, when i boot / run from live USB, after computer logs in, i have option (desktop icon) to install it... but it didn't happen in centOS..?? is it normal..?

2- when booting / running from LIVE USB, HOW TO INSTALL FROM IT??

hope to hear soon,
regards, lala
lalamax3d
 
Posts: 2
Joined: 2010/08/17 03:14:05

Re: CentOS install using a USB key than Optical Media Drive

Postby scottro » 2010/08/17 10:14:33

As far as I know, the live CentOS CD doesn't support installation. (DISCLAIMER--this might have changed, but I don't use the live CD).

Unetbootin doesn't seem to work very well with RH based systems--if one puts the first ISO of the CD set on the stick, at some point, it dies, saying it can't find the image. They do seem to have a Fedora and CentOS option, but I think that downloads the whole thing from the web.

What I have been able to do is start the install, and then choose a network installation, either from NFS or using a website. (I've only done the latter with Fedora--with CentOS, I've always just put the ISO in an NFS share.
scottro
Forum Moderator
 
Posts: 1715
Joined: 2007/09/03 21:18:09
Location: NYC

Re: CentOS install using a USB key than Optical Media Drive

Postby Zirion » 2010/08/17 17:06:35

Apologies if I should have posted in another thread. I *had* read those documents, and having searched the forums I found that someone was asking the same question ("How do I install CentOS using a USB key") so rather than post a duplicate thread, I thought it best to post my experiences alongside the existing one and ask if anyone had other suggestions (or the original poster could mention whether it had worked for him). Anyway, enough excuses...

I managed to get past that final problem and now have a bootable USB stick that can be used to install Linux. So in answer to Bruce's original question:

- Follow the instructions on this page: http://wiki.centos.org/HowTos/InstallFromUSBkey
- If you see a problem "Could not find kernel image: linux" then try moving some of the files you've found from the syslinux directory to the parent directory: I moved syslinux.cfg, vmlinuz, initrd.img and the message files, but they may not all be necessary.

I've NOT added a kickstart file to this process, although in principle that should be simple enough and then it would pretty much be an unmanned installation.

Thanks

Ken
Zirion
 
Posts: 2
Joined: 2010/08/16 16:07:37

Re: CentOS install using a USB key than Optical Media Drive

Postby pschaff » 2010/08/18 01:01:07

Thanks for reporting your success, and the variations you had to use.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: CentOS install using a USB key than Optical Media Drive

Postby pschaff » 2010/08/18 01:09:23

scottro wrote:
As far as I know, the live CentOS CD doesn't support installation. (DISCLAIMER--this might have changed, but I don't use the live CD).

No change. Still only netinstall (recommended only for local repos or "perfect" internet connections) is available as a boot option.

Unetbootin doesn't seem to work very well with RH based systems--if one puts the first ISO of the CD set on the stick, at some point, it dies, saying it can't find the image. They do seem to have a Fedora and CentOS option, but I think that downloads the whole thing from the web.

Have had mixed results with Unetbootin. It worked in the past, but last couple of tries have failed. Not quite sure what the differences may be.

What I have been able to do is start the install, and then choose a network installation, either from NFS or using a website. (I've only done the latter with Fedora--with CentOS, I've always just put the ISO in an NFS share.

Agree. Either the ISO image or an installation tree, also suitable for yum use as a local repo, should work for local netinstalls. I usually use NFS.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 5 - General Support

Who is online

Users browsing this forum: No registered users and 4 guests