Sponsored Content
Operating Systems Solaris How to eject boot cdrom after booting from it? Post 302528692 by idlechatter on Tuesday 7th of June 2011 05:36:50 PM
Old 06-07-2011
How to eject boot cdrom after booting from it?

Hey everyone, I currently have a sparcstation 5, and am trying to run some scripts on it without booting off the hard drive.

Currently I am using a Solaris 8 install cd to boot into single user mode. However, the scripts I have are on a different CD.

What I would like to do is to use the Solaris 8 install CD to get to single user mode, eject it, and then mount the script CD and run the scripts off that.

I remember being able to eject the CD about a week ago using some command...but now I cannot for the life of me remember what I did.

I have tried:
Code:
umount /cdrom -> says cdrom is busy (I was in the root dir at the time) 
eject -> no default device 
umount /dev/dsk/c0t6d0s2 -> not in mnttab and no such file or directory 
iostat -En -> Segmentation fault - core dumped 
pressing the button the cdrom drive -> nothing happens 
eject cdrom -> no such file or directory 
mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /mnt -> no such device, cannot mount /dev/dsk/c0td0s2

and a bunch of other commands.

Would anyone happen to know how to eject the disc?

I've spent hours googling how to do this, but none of the sites seemed to help. I'm pretty new at solaris, so I may be missing something obvious.
 

10 More Discussions You Might Find Interesting

1. Solaris

cdrom will not eject

Hi I have placed a CD into the rom and now I can not eject it. when i type in eject cdrom i get the follwing error root@ssdb0009 # eject cdrom /vol/dev/rdsk/c0t6d0/dp_a0500_solaris_7_and_8_cd: Device busy Therefore i try and eject it with the -f option (eject -f cdrom) I still get the... (4 Replies)
Discussion started by: dennisca
4 Replies

2. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

3. Solaris

Disksuite Raid 0 Concatenated Volume - booting from cdrom

Hello, If I boot up from install media in single user mode (Solaris 9 - if it matters), will I be able to mount a concatenated volume? I have combined several disks into one non-os filesystem and I want to be able to mount it while booted in single user mode from cdrom. i.e., mount... (0 Replies)
Discussion started by: calmgreen
0 Replies

4. AIX

Eject CDROM?

Now i have a prolem! I double click on my zip file from cdrom. System can not read my zip file and i can not eject my cdrom. How can i manage process and can i end a process or how can i eject my cdrom? please have me! thanks (4 Replies)
Discussion started by: leenguyen0101
4 Replies

5. Solaris

SF V210 CDROM drive auto eject!

Hi, When I insert a cd to CDROM drive in SF V210 Solaris 10 it took seconds then eject it auto! How can I solve this issue? Thanks Regards :) (8 Replies)
Discussion started by: HishamN
8 Replies

6. Solaris

not able to boot from cdrom

Hi all am trying to boot the system from cdrom in single user mode , however when i am giving command boot cdrom -s i am getting below error Boot Device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0: f file and args: Can't read disk label Can't open disk label package can,t open boot device ... (17 Replies)
Discussion started by: kumarmani
17 Replies

7. Solaris

can't boot cdrom

iam traying to install o/s in spark machine it showing error ok >boot cdrom is showing error short disk read failed to read superblock the file just loaded does not appear to excutable how to solve this can u help me (6 Replies)
Discussion started by: tirupathi
6 Replies

8. Solaris

CDROM will not eject - says device busy

Hi, I've seen similar posts on this board about ejecting CDROMs but I've tried the solutions people suggested but still cannot eject the CD. It's stuck in a production box so I can't reboot it... bash-3.00# eject -f cdrom /vol/dev/dsk/c0t0d0/sol_10_106_sparc/s0: Device busy bash-3.00#... (14 Replies)
Discussion started by: jimmy54321
14 Replies

9. Solaris

Trying to eject cdrom

The green cdrom light is blinking on our Sun Solaris server. I tried the eject command to eject cdrom: eject cdrom cdrom: No such file or directory bash-2.05# eject No default media available bash-2.05# eject cdrom0 cdrom0: No such file or directory The message log file shows: Oct 19... (6 Replies)
Discussion started by: agarcia19
6 Replies

10. UNIX for Beginners Questions & Answers

Cannot boot cdrom -s

Good Afternoon, I'm trying to boot from cdrom so I: bash-2.05# init 0 {1} ok boot cdrom -s and I get: Rebooting with command: boot cdrom -s Boot Device: /pci@1e,600000/ide@d/cdrom@2,0:f File and args: -s Can't read disk label. Can't open disk label package Evaluating: Can't open boot... (13 Replies)
Discussion started by: Stellaman1977
13 Replies
EJECT(1)						    BSD General Commands Manual 						  EJECT(1)

NAME
eject -- eject a floppy disk, cdrom or tape SYNOPSIS
eject [-fv] [-l | -L | -U] [-t device-type] [-d] device eject -n DESCRIPTION
The eject program ejects a medium from the specified device. It can also load a cdrom in the drive if this operation is supported by the hardware. The device argument specifies a device either by its full path name (identified by a /dev/ prefix), or by one of the built-in nicknames. If the medium contains a file system that is currently mounted, eject will attempt to unmount the file system before ejecting. The following options are available: -d Deprecated. -f Force the eject operation without attempting to unmount any file systems first. -l Load media in the drive (only supported for the cdrom device type). -L Lock the media into the drive (but see BUGS below). -n List the built-in nicknames on standard output. -t device-type Specify the device type. The argument must be one of diskette, floppy, cdrom, disk, or tape. This option is necessary when ejecting a device for which no built-in knowledge is available. -U Unlock the media from the drive. -v Display some of the actions taken on standard output. BUGS
Most disk drivers automatically lock the media on the first open and unlock it on the last close, making 'eject -L' almost useless, since when it closes the device, it gets unlocked again. BSD
October 6, 2001 BSD
All times are GMT -4. The time now is 12:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy