View previous topic :: View next topic |
Author |
Message |
novasoy n00b
Joined: 30 Apr 2004 Posts: 18 Location: Louisville, KY
|
Posted: Tue May 04, 2004 12:01 pm Post subject: Nothing happened after reboot on Ultra 10 |
|
|
I finally finished my first attempt at an install on my Ultra 10 (3d Creator) but when I rebooted, I was greeted, not with SILO, but with OBP! Freaked out, I didn't know to try typing kernel-2.4.25 root=/dev/hda1. I just started over. I was wondering, though, about the Gentoo Handbook for SPARC.
In the partitioning section (4.b - 4.c), the example given shows this layout:
Code: | /dev/hda1 /
/dev/hda2 swap
/dev/hda3 whole disk slice
/dev/hda4 /usr
/dev/hda5 /var
/dev/hda6 /home
|
However, in the fstab section (8.a), the schema seems to be different. The example there has a boot partition, which somewhere in 4.b it says SPARCs don't use. I tried to wing it at this point making my fstab look like this: Code: |
/dev/hda1 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/hda4 / ext3 noatime 0 0
/dev/hda5 / ext3 noatime 0 0
/dev/hda6 / ext3 noatime 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0 |
I'm thinking that my problem is either here with the fstab or with my configuration of silo. Again, it refers to a /boot directory that I found confusing. Code: |
partition = 1 # Boot partition
root = /dev/hda4 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section
image = /boot/kernel-2.4.24
label = linux | Should the root and partition variables both point to 1 and hda1? _________________ Bookcrossing rocks |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Tue May 04, 2004 9:08 pm Post subject: |
|
|
Does OBP give any error messages? Have you checked the OBP boot settings? I have one but I run Solaris on it. That fstab looks wrong. The /dev/hda4 to /dev/hda6 should be mounting /usr, /var and /home respectively. So is your /boot directory on a seperate partition? It looks like it's part of / which as far as I can see is /dev/hda1 so that's what the SILO root= should be. HTH |
|
Back to top |
|
|
Pigeon Guru
Joined: 21 Jun 2002 Posts: 307
|
Posted: Wed May 05, 2004 3:52 pm Post subject: |
|
|
Indeed, that fstab won't work.
It should probably look like:
Code: | /dev/hda1 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/hda4 /usr ext3 noatime 0 0
/dev/hda5 /var ext3 noatime 0 0
/dev/hda6 /home ext3 noatime 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0 | ...but that depends on how your HD is set up. If you do have your /usr, /var, and /home in hda4, 5, and 6 you should have it set up like that. If it's set up different you should set it up accordingly.
btw- the Gentoo SPARC Handbook is just a modified Gentoo Handbook- it isn't much different than the normal Gentoo handbook. It still has a bit of an x86 slant to it. If something seems like it would be more appropriate in an x86 install guide- it probably is. |
|
Back to top |
|
|
novasoy n00b
Joined: 30 Apr 2004 Posts: 18 Location: Louisville, KY
|
Posted: Wed May 05, 2004 5:17 pm Post subject: |
|
|
Yeah, I noticed that about the Handbook. I really had to do some thinking in some places. :)
Is there any advantage to listing all the hda partitions in fstab? I notice in the Handbook, they only list root, swap, proc, tmpfs, and cdrom. What are the pros and cons?
BTW, I have moved beyond this problem. It was my silo.conf that was causing this problem. Once I ironed it out, SILO came up. _________________ Bookcrossing rocks |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Wed May 05, 2004 5:59 pm Post subject: |
|
|
Usually partitions are listed in fstab to either have them mounted at boot time or to make it easier to mount later if the noauto option is used. Typing is much easier than typing Code: | mount -t iso9660 /dev/cdroms/cdrom0 /mnt/cdrom | There's probably other benefits I haven't thought of |
|
Back to top |
|
|
novasoy n00b
Joined: 30 Apr 2004 Posts: 18 Location: Louisville, KY
|
Posted: Wed May 05, 2004 6:04 pm Post subject: |
|
|
That's all I needed to hear. Thanks. Ease of use is a good thing. _________________ Bookcrossing rocks |
|
Back to top |
|
|
|