Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't boot a u2
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
simpsora
n00b
n00b


Joined: 07 Mar 2003
Posts: 1
Location: Denver, CO

PostPosted: Fri Mar 07, 2003 8:48 pm    Post subject: Can't boot a u2 Reply with quote

Hello,

I'm trying to install gentoo on an ultra2, and am almost there, but am having trouble booting with silo.

vmlinuz seems to be being loaded ok, but I get the following error during boot:
Code:

     VFS: Cannot open root device "sda1" or 08:01
     Please append a correct "root=" boot option
     Kernel panic: VFS: Unable to mount root fs on 08:01
      Press L1-A to return to the boot prom


Everything is on /dev/sda1.
Here is my silo.conf:
Code:

     partition = 1
     root = /dev/sda1
     timeout = 10
     image = /boot/vmlinuz
             label = linux
             device = /pci@1f,4000/scsi@3/disk@4,0:a
             root = /dev/sda1

I'm sure that device line is correct (it's what devalias uses for the boot device).


I've had this problem with a redhat box, and it turned out that i needed to create an initrd with the scsi drivers to boot from. However, i have a working intel box with a scsi disk that boots just fine without an initrd.

Any thoughts? I know this is a common problem, but I searched the forums and didn't really come up with an answer.

thx
ross
Back to top
View user's profile Send private message
buckyball
n00b
n00b


Joined: 28 Oct 2002
Posts: 14
Location: Fremont, CA

PostPosted: Fri Mar 07, 2003 10:16 pm    Post subject: Reply with quote

Check that you compiled SCSI support into the kernel (not as a module), including SCSI, SCSI Disk, and the Sun SCSI HBA support. Otherwise an initrd *would* be required.

I just finished building gentoo on an Ultra Creator 1 with 2 drives and did not need to use the "dev" statement. Mine looks like this:

Code:
 # /boot/silo.conf
partition = 1
root = /dev/sdb1
timeout = 10
image = /boot/vmlinuz-2.4.20
       label = linux


My partition setup is a bit different:
/dev/sda1 = /boot
/dev/sda2 = swap
/dev/sda3 = /var/tmp
/dev/sdb1 = /

If you make changes, don't forget to re-run the 'silo' command before rebooting!

Hope this helps.
_________________
Buckyball
If it doesn't fit, force it --
if it breaks, it needed fixing anyway!
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