Linux - NewbieThis 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.
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 02:09 PM..
Reason: add PS
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.
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 ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.