Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
booting wrong drive?? ugh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Raide
n00b
n00b


Joined: 13 Aug 2003
Posts: 27
Location: State College, PA

PostPosted: Thu Aug 11, 2005 6:48 pm    Post subject: booting wrong drive?? ugh Reply with quote

here's my problem...

my system is an Ultra60, has 2 drives. my partitioning is:

/dev/sda1 /
/dev/sda2 /swap
/dev/sda3 whole disk
/dev/sda4 /usr
/dev/sda5 /var

/dev/sdb1 /home

well.. something is amiss, because when my computer boots, i get this response:

Code:

Rebooting with command:boot
Boot device: /pci@1f,4000/scsi@3/disk@1,0:a  File and args:
The file just loaded does not appear to be executable.
Boot device: /pci@1f,4000/scsi@3/disk@1,0:a  File and args:
The file just loaded does not appear to be executable.
ok


i'm not really that familiar with sun hardware, but i figured that if i put in:
Code:

boot disk0:a


it does boot. so why is it looking for disk1:a instead of disk0:a?? and how can i change this so i don't have to manually enter that command to boot?
Back to top
View user's profile Send private message
riposte
n00b
n00b


Joined: 17 Nov 2003
Posts: 69
Location: New Zealand

PostPosted: Fri Aug 12, 2005 12:46 am    Post subject: Reply with quote

A mighty gentle RTFM is probably the answer here ;-)

http://www.gentoo.org/doc/en/gentoo-sparc-obpreference.xml

This doc will tell you how to set environment variables including the default boot device.

HTH
Back to top
View user's profile Send private message
Raide
n00b
n00b


Joined: 13 Aug 2003
Posts: 27
Location: State College, PA

PostPosted: Fri Aug 12, 2005 1:33 pm    Post subject: Reply with quote

oh fantastic!! thanks for the gentleness... i printed out the manual for setting up this sparc... didn't come across this page.. heh it's probably there within the 90 or so pages :lol:

looks like a little

Code:

setenv disk0:a


at the "ok" prompt did the trick, for those future sparc n00bs who spy out this thread with the same question. 8)
Back to top
View user's profile Send private message
rotorouter
n00b
n00b


Joined: 09 Jul 2005
Posts: 4
Location: Chapel Hill, NC

PostPosted: Thu Sep 01, 2005 6:24 pm    Post subject: Reply with quote

Is it possible to update OBP values from within the operating system? I get a kernel oops when I try to write to /proc/openprom/options/boot-device. :-P
_________________
Mitch F.
_________________
CPU: AMD Athlon(tm) 64 Processor 3000+
Mainboard: Asus A8N-SLI Deluxe
RAM: 1024MB ECC PC400 DDRAM
Video: Nvidia Geforce 6600GT PCIe
Secondary Storage: U320 SCSI RAID Array
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Thu Sep 01, 2005 8:21 pm    Post subject: Reply with quote

Use the eeprom tool to update OBP settings.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum