LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-09-2009, 01:26 PM   #1
johnnymta
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Rep: Reputation: 0
Kickstarting from an external USB cdrom


Hi guys,
I have been posting around kickstart questions in the past few weeks and I got some really good answers in most cases, so i'll try another one here I couldn't find a good answer for while googling for it...

I made a nice working CentOS5 kickstart cdrom that works on most of our servers perfectly...

Today someone tried to install it on a server whose cdrom drive is problematic, and decided to use an external USB cdrom drive in order to do it.
The system boots from the external drive, but when it tries to find the kickstart configuration file (which is usually located in ks=cdrom:/somepath/ks.cfg), it fails...

Now, I understand I can write something like
ks=hd:<device>:/somepath/ks.cfg,
and it should work.
But how can I know which device is the device of the cdrom?
I tried sda1, scd0, hdc, hda1, sr0, sg0, ...... and lots and lots of others.

Unfortunately, the installation doesn't event reach the part where it gives me a shell in tty2, so i can't search for the device files.

I then tried to install linux normally (without loading configuration from the kickstart) and receive the shell on tty2 and then , but it gets stuck before that - looking for the location of the centos rpms.

I pretty much don't have a clue how to know which device it is or if there's a better solution to my problem...

Any ideas will be gladly accepted!
Thanks!
 
Old 09-09-2009, 01:41 PM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
Try another linux livecd and findout the device name, in most cases it'd be the same
 
Old 09-10-2009, 01:58 AM   #3
johnnymta
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Yeah, I've done something similar and found the device was scd0, though I was sure I already checked for it!

Now I wonder if there isn't a way to make the kickstart search all these devices if it can't find the ks.cfg file in the regular cdrom automatically, so the installation can still be unattended in these cases...
 
Old 09-10-2009, 06:49 AM   #4
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
Did your centos kickstart cd work ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Inquiry:How to install Linux from external USB CDROM drive hadimotamedi Linux - Newbie 2 09-06-2009 01:00 AM
how do I boot from an External SCSI CDROM, the BIOS does not see this CDROM lothario Linux - Software 2 02-17-2008 04:44 PM
Mount external USB cdrom drive rickenbacherus Linux - Hardware 3 05-29-2006 08:12 PM
installation of RHEL4 from an external USB cdrom triley Linux - Software 0 02-06-2006 04:18 PM
how get cdrom-rw usb external drive working on redhat 9? Karvalho Linux - Hardware 14 02-09-2004 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration