- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- KickStart & ejecting CD-Rom
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:03 AM
тАО12-09-2003 03:03 AM
I'm having a hell of a time trying to get the cdrom to eject in the %post section of a kickstart script. I've tried /mnt/sysimage/eject ; /mnt/sysimage/eject /dev/cdrom and some others.. If I try it from another terminal while anaconda is running , I get 'no device found'.. So the million dollar question is , what is the device name for the cdrom on a compaq dl380 g3 during the install process?
thanks..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:12 AM
тАО12-09-2003 03:12 AM
Re: KickStart & ejecting CD-Rom
/usr/bin/eject
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:36 AM
тАО12-09-2003 03:36 AM
Re: KickStart & ejecting CD-Rom
but now the question is
eject cdrom
or
eject /dev/cdrom
perhaps start install process ... then CTRL F2
(or CTRL F3 do not remember which) to the # prompt and there a
#df
#cat /etc/fstab
Should do the trick ?
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:44 AM
тАО12-09-2003 03:44 AM
Re: KickStart & ejecting CD-Rom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 03:50 AM
тАО12-09-2003 03:50 AM
Re: KickStart & ejecting CD-Rom
thanks to all that have replied but I'm still looking for a solution..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 04:14 AM
тАО12-09-2003 04:14 AM
Re: KickStart & ejecting CD-Rom
but just in case have you tryed
eject /dev/hdc
cause normaly /dev/cdrom is a soft link to /dev/hdX (that is most of the times hdc)
J-P (still hoping to be of use !)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 04:29 AM
тАО12-09-2003 04:29 AM
SolutionIf you start the install by doing a cd /cdrom (or whatever its called) this could be the caus of the problem.
If however you kick the install by booting the box with the cd in the drive and let the bios auto boot off the cd, this should not be happening.
If you are auto booting, you probably need to open up the box and make sure the cd is set up to be compatible with the other IDE devices on the connecting ribbon.
If its sharing with a hard disk, the default configuration is cs for cable select. Sometimes that does not work in which case the disk must be master and the cd must be set to slave.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 04:57 AM
тАО12-09-2003 04:57 AM
Re: KickStart & ejecting CD-Rom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 11:16 AM
тАО12-09-2003 11:16 AM
Re: KickStart & ejecting CD-Rom
I'm booting off a CD which has all the netboot images for Red Hat from Compaq.. AS 2.1, AS 2.1#2 and ES 2.1. That CD loads the initrd and kernel for the install and pulls the kickstart script off a NFS share.. The media for installation is also located on NFS.
I verified that the CDROM isn't being mounted to a directory.. Thats not the problem. The 'eject' command does work since I went to a different TTY and tried it.. Its located at /mnt/sysimage/usr/bin/
I tried all of the following mulitple times.. Still can't that sucker to pop out.. .
eject
eject /dev/cdrom
eject cdrom
eject /dev/hda
eject /dev/hdb
eject /dev/hdc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 11:48 AM
тАО12-09-2003 11:48 AM
Re: KickStart & ejecting CD-Rom
The RH installer usually ejects it it's self.
But as you are doing a KS, ... yea, I have the same issue (but have just been ignoring it) ;) (KS, booting from CD, installing from NFS).
Unfortunately, I don't think it can be done.
Which leaves you the option of making a boot diskette (shrinking driver modules to fit on a single floppy is a pain-in-the-arse!) and ejecting that, creating a fully networked installer (private segment with a DHCP server etc.), or ... dunno, haven't done the 'or' yet..
Sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 11:57 AM
тАО12-09-2003 11:57 AM
Re: KickStart & ejecting CD-Rom
'pivot_root'. Linux does this upon bootup, which is what allows it to use an 'initrd' at boot, but mount a root filesystem.
You may be able to pivot_root to your new filesystem, and then eject the CD..
wild idea, and untried.. Worth a thought though..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 05:01 PM
тАО12-10-2003 05:01 PM
Re: KickStart & ejecting CD-Rom
You may be able to customize a boot CD, throw an eject binary (statically linked) on there, and eject it at the end of a %pre.
The instructions to do such a thing are message (from RH), but the original instructions actually come from http://syslinux.zytor.com/iso.php, and are nice and clear!
mm.. Kick-start fun.. ;)