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 09-12-2007, 12:34 PM   #1
Joust
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
Kickstart %post install from a USB Key


Hi.
I have a problem I'm hoping the experts here can help me with. I'm sure the solution is simple but it eludes me.

He is what I have working:
I can install the server from a USB Key. I have it booting and on it I have the 5 RHEL4 distro ISO's
I also have on there my kickstart file.
this install works great and everything is cool.

NOW what doesn't work:
I have some custom RPMs on the key. I want to copy them from teh key to a directory on the server and install them. at the %post part of the install I do not know how to access the USB key.
during boot it appears as sdc1 because i have two internal SCSI disks.

any ideas?
I've put this in as %post
df -h >> /tmp/kickstart.log
all my disk volume groups appear but no USB key.
please help.
thanks
Joust

PS
after the server has loaded and rebooted, then the Key is visible as a mountpoint so I can proceed from that point but I'd like to process everything in the %post.

Last edited by Joust; 09-12-2007 at 01:09 PM. Reason: add PS
 
Old 09-12-2007, 04:35 PM   #2
Joust
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Ok i figured it out.
it seem that anaconda would unmount the USB stick after it was done installing the distro packages.
the first thing i did after the %post was to make a mount point and mount my USB stick and then continue from there as if it were a dir at the mountpoint.

Thanks for all the help.
Joust.
 
Old 07-28-2009, 08:00 PM   #3
parwar
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Rep: Reputation: 0
Dear Joust :

He is what I have working:
I can install the server from a USB Key. I have it booting and on it
I have the 5 RHEL4 distro ISO's
I also have on there my kickstart file.
this install works great and everything is cool.
...............................................................
(Scenario)
I want to install the Linux CentOS on to a barebone/blank pc.
but to do all the tasks automatically: I am using kickstart file.
now i want to boot a system from a 1.[bootable cd and then read my kickstart preconfig file from that cd] and use the CentOS image from the same cd or 2.[another cd], so for this 1.[] i am using usb to save the testing time, and for 2.[] i am using a cd:

Now Req.Questions:
1. how i can make my usb as a bootable media ?
2. how can i read my kickstart file from the usb?
and for this which files need to b change and is
there any changes required in the kickstart file .
to boot a pc from the usb and run a kickstart file
from the usb..?

3. How to define in a kickstart file that use the image
from a cd ?


please help me Joust.

thanks indeed
Parwar
 
  


Reply

Tags
key, kickstart, usb



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
kickstart post-installation abhi2778 Linux - Software 8 07-10-2012 09:30 AM
problem with kickstart post section Hairman Red Hat 2 05-14-2007 01:35 PM
FC6 kickstart doesn't post install pete@cosc. Fedora - Installation 2 01-15-2007 08:54 PM
rh9 kickstart post install help stockcowboy Linux - Newbie 1 12-05-2003 11:45 AM
Kickstart Post-install tasks TheRealDeal Linux - General 0 09-03-2003 01:13 AM

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

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