i bought an old but unused Ultrasparc 5 recently. First i installed
Debian on it, but i also wanted to try out Solaris. So i burned the DVD
and put it in. After a very long while, the installer showed up. I set
up me networking info and then it came: "No disks found!" I tried to
run format, but it's giving me segfault every time. Also tried it in
single-user mode, same results. The hard drive is Seagate Barracuda 20
GB, plain IDE. Thanks for any suggestions.
Mahy
What is shown by »probe-ide« at the ok prompt?
Andreas.
This is it:
Device 0 (Primary Master)
ATA Mode: ST320011A
Device 1 (Primary Slave)
Not Present
Device 2 (Secondary Master)
Removable ATAPI Model: ASUS DRW-1608P2S
Device 3 (Secondary Slave)
Not Present
I think it's fairly self-explanatory and it corresponds with the actual
hardware configuration. I dunno how this is gonna help, though.
--
Ian Collins.
The label most likely IS corrupt from Solaris's point of view, coz it
was bare when i bought it and then i installed Linux on it. However, I
need to find a way to fix it...
Can you boot -s from CD/DVD and run format? Partition the disk as you
like it and tell format to write the label. At that point you should
have a disk that Solaris should be able to recognize.
Like i told you, i can't.
SINGLE USER MODE
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <drive type unknown>
/pci@1f,0/pci@1,1/ide@3/dad@0,0
Specify the disk (enter its number): 0
Error occurred with device in use checking: Permission denied
Segmentation fault - core dumped
That's all folks! I dunno how to use prtvtoc, it gives me somethinlike
this:
Usage: prtvtoc [ -fhs ] [ -t fstab] [ -m mnttab ] rawdisk
I count myself pretty skilled in Linux, but i'm a total noob in
Solaris... :( Anyway, the disk works allright in Linux, so i guess it's
a Solaris-specific problem.
Thanks in advance for any help.
"Permission denied" suggests that you were not working as root. You
need to be root!
You're kiddin', eh? Root in single-user mode?!
Anyway, i found a solution. I booted Solaris 9 to single-user mode
(read it on Sun forums), wrote the disk label, changed the partition
table to GNU Parted and now it works. I wonder why Solaris 10 couldn't
do it...
Im glad you found a workaround. But would you mind explaining what
"changed the partition table to GNU Parted" means? Maybe I dont want to
know
but I had to ask : > And does Solaris 10 format work now?
>Richard B. Gilbert wrote:
>> Can you boot -s from CD/DVD and run format?
>Like i told you, i can't.
>SINGLE USER MODE
># format
>Searching for disks...done
>AVAILABLE DISK SELECTIONS:
> 0. c0t0d0 <drive type unknown>
> /pci@1f,0/pci@1,1/ide@3/dad@0,0
>Specify the disk (enter its number): 0
>Error occurred with device in use checking: Permission denied
>Segmentation fault - core dumped
In Solaris 10, there's an environment variable that disables the
device in use checking. Obviously it should be a command-line
option.
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
Well, it's easier than you might think. I typed 'format' in Solaris 9,
then selected the disk and was presented with an array of options,
among which were 'label' and 'partition'. When i typed 'partition', i
was prompted to choose between "GNU Parted" and "other", so i selected
the first option... That's it.
But i've got to cope with two more pressing problems now. First,
Solaris is EXCRUCIATINGLY slow on my Ultra 5. It took two hours to
install. Next, it only boots into console! Please tell me how do i
switch the GUI on.
Well, "Ultra 5" covers a multitude of sins. ISTR CPU clock rates ran
from 260 MHz to 400 MHz. If you are at the lower end of that scale, I'm
not surprised that it's slow. Further, the machine is about ten years
old by now; if you want some of the advantages of technical progress
since 1995, perhaps you should buy a newer machine.
As for "boots into console", it's hard to say what might be the matter.
Mine have always booted into the GUI. Did you elect to install
everything? If you did one of the "cut rate" installs you may not have
installed the GUI!
If you have one of the slower CPUs, I believe I have a 330 or 360 MHz
CPU in my junk box that I could be persuaded to tell fairly cheaply.
You have the choice of several installs. I find that the safest, if
slowest, way is to install everything! If you do one of the shorter
installs, you may be faced with the problem of figuring out how to
install a missing piece. There doesn't seem to be any documentation for
which packages install which piece of software so figuring out which
packages to install can be more time consuming than doing the full
install in the first place!
Hmm not really sure that tells me what "GNU Parted" is .. : >
Never mind.
> But i've got to cope with two more pressing problems now. First,
> Solaris is EXCRUCIATINGLY slow on my Ultra 5. It took two hours to
> install. Next, it only boots into console! Please tell me how do i
> switch the GUI on.
Sounds like you have just enough RAM to get through an install.
So 2 hours aint all that bad. The GUI should come
up as long as you have installed enough packages..
pkgchk -l -p /usr/dt/bin/dtlogin might be informative
Oh, so this is what you don't know. Alrite, GNU Parted is a
partitioning utility by GNU, used by every Linux distro. That's why my
hard drive partition table was of GNU Parted type.
> Sounds like you have just enough RAM to get through an install.
> So 2 hours aint all that bad. The GUI should come
> up as long as you have installed enough packages..
> pkgchk -l -p /usr/dt/bin/dtlogin might be informative
I've got Ultrasparc running @ 400 MHz with 512 MB RAM. I chose the
fullest of all installations, ~5 GB. I dunno where the problem might
be.
Btw, you've all been very helpful, thanks a lot.
Take a look at /etc/nsswitch.conf and make sure that »dns« is included
in the entry for »hosts«:
hosts: files dns
Andreas.
Have a look at /etc/nsswitch.conf. There's a line in there that begins
with "hosts:". It needs to have "dns" listed somewhere unless you have
nis configured.
You could use:
hosts: dns files
or
hosts: files dns
In the first case it would try DNS first and then /etc/hosts. In the
second case it tries /etc/hosts first and then dns.
/etc should have several nsswitch.* files. The .conf is the one the
system uses. The others are examples that can be modified or used as is
after saving the original and renaming the new choice.
Thank y'all, it works, i can browse the web now. I'm gonna start a new
thread, coz my questions are not over yet! ;)