11-03-2008
How-to boot server with no CDROM via serial connection to laptop
I have an x86 Sun server, with no CDROM drive and no OS currently loaded on it. I need to install CentOS on it... trying to figure out how to do that.
I've heard there are ways to connect to the serial management port, and mount a laptop's CDROM drive as a drive the server will recognize to install the OS from. Any ideas on how to do this? I have a serial management port on the server where I can get to OK prompt, and SC prompt.
I don't have a linux kickstart server to use, so that option is out. And I'm not sure if I can mount NFS volumes from OK and SC prompts. I don't think there is anything I can use on either prompt to configure/plumb the NIC to set that up anyway.
Any feedback would be greatly appreciated. Thanks!
10 More Discussions You Might Find Interesting
1. Solaris
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
2. Solaris
I want to install Solaris 9 on SUN ULTRA 10. The cdrom is attached to an ide controller. The server is currently running Solaris 2.6
I insert Solaris cd 1 of 2 and at the ok prompt I type boot cdrom i get the error below
Boot device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0:f file and args:... (11 Replies)
Discussion started by: Msororaji
11 Replies
3. Solaris
i am having a problem when trying to boot from cdrom. I received the below message
system is not bootable, boot command is disabledfound
how can i fix this.
also what is the key combination on ordinary keyboard for STOP+A. Is it ctrl+break? (2 Replies)
Discussion started by: shabu
2 Replies
4. Solaris
Well...I hope I am in the right forum to post this question. Here is what I am trying to do.
I have a laptop (Dell I believe) running Windows. I am trying to connect this laptop to a V240 serial port (the port with l0l0l). Here lies the problem, I am not sure if I have the correct cable. I do... (6 Replies)
Discussion started by: bluridge
6 Replies
5. Solaris
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
6. Solaris
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
7. Hardware
I have a server with a scsi raid controller (for hard drives) and a scsi controller (for tape drive and cd-rom). I am trying to boot from the cd-rom but can't. During boot up, bootable media is detected in the cd-rom but the system will not boot from it. BIOS for the raid controller installs but... (1 Reply)
Discussion started by: powwm
1 Replies
8. Solaris
hi
i cant recovery root passwd through serial console mode by using CDROM.. i tried following step but no luck
in ok prompt :
ok boot cdrom -s it comes single user mode
i check format cmd it showing disk
c1t0d0
c1t2d0 then
#mount /dev/dsk/c1t0d0s0 /a
#cd /a
# vi /etc/shadow ( it... (13 Replies)
Discussion started by: coolboys
13 Replies
9. UNIX for Beginners Questions & Answers
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
10. Solaris
hi:)
i can't boot my sun server by iso solaris 10 sparc dvd that i did download from oracle site.
my hardware is sun T5220.
i receive these after running boot cdrom -s :
can't read disk lable
can't open disk lable package
ERROR: boot-read fail
whould u help me?
Please use CODE... (1 Reply)
Discussion started by: Arefdel
1 Replies
LEARN ABOUT DEBIAN
sdl_cdopen
SDL_CDOpen(3) SDL API Reference SDL_CDOpen(3)
NAME
SDL_CDOpen - Opens a CD-ROM drive for access.
SYNOPSIS
#include "SDL.h"
SDL_CD *SDL_CDOpen(int drive);
DESCRIPTION
Opens a CD-ROM drive for access. It returns a SDL_CD structure on success, or NULL if the drive was invalid or busy. This newly opened CD-
ROM becomes the default CD used when other CD functions are passed a NULL CD-ROM handle.
Drives are numbered starting with 0. Drive 0 is the system default CD-ROM.
EXAMPLES
SDL_CD *cdrom;
int cur_track;
int min, sec, frame;
SDL_Init(SDL_INIT_CDROM);
atexit(SDL_Quit);
/* Check for CD drives */
if(!SDL_CDNumDrives()){
/* None found */
fprintf(stderr, "No CDROM devices available
");
exit(-1);
}
/* Open the default drive */
cdrom=SDL_CDOpen(0);
/* Did if open? Check if cdrom is NULL */
if(!cdrom){
fprintf(stderr, "Couldn't open drive: %s
", SDL_GetError());
exit(-1);
}
/* Print Volume info */
printf("Name: %s
", SDL_CDName(0));
printf("Tracks: %d
", cdrom->numtracks);
for(cur_track=0;cur_track < cdrom->numtracks; cur_track++){
FRAMES_TO_MSF(cdrom->track[cur_track].length, &min, &sec, &frame);
printf(" Track %d: Length %d:%d
", cur_track, min, sec);
}
SDL_CDClose(cdrom);
SEE ALSO
SDL_CD, SDL_CDtrack, SDL_CDClose
SDL
Tue 11 Sep 2001, 22:58 SDL_CDOpen(3)