View previous topic :: View next topic |
Author |
Message |
w.hill Tux's lil' helper
Joined: 23 Jan 2005 Posts: 133 Location: Perth, Western Australia
|
Posted: Tue Feb 22, 2005 2:18 am Post subject: 2.6.9-gentoo-r14 /etc/silo.conf |
|
|
Hi,
I've downloaded and compiled 2.6.9-gentoo-r14 on my Sunblade 100 using "genkernel"
At the conclusion of the process it reports.
Required Kernel Parameters:
* root=/dev/ram0 real_root=/dev/$ROOT init=/linuxrc
* [ And "vga=0x317 splash=verbose" if you use a framebuffer ]
*
* Where $ROOT is the device node for your root partition as the
* one specified in /etc/fstab
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided initrd file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initrd..
I would like to try the hardware detection feature - I'm trying to enable sound.
What should my /etc/silo.conf file look like? My current one is below. I looked at the man pages and tried a few variations. The 2.6.9 kernel does boot but I'm unable to login at the console.
How do I specify the extra information mentioned above? The new kernel and initrd file are in /boot
TIA
partition = 1
root = /dev/hda1
timeout = 50
default = kernel-2.6.9-gentoo-r14
image = /boot/kernel-2.4.27
label = kernel-2.4.27
image = /boot/kernel-2.4.28-sparc-r6
label = kernel-2.4.28-sparc-r6
image = /boot/kernel-2.6.9-gentoo-r14
label = kernel-2.6.9-gentoo-r14 |
|
Back to top |
|
|
kiksen Guru
Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Tue Feb 22, 2005 10:38 am Post subject: |
|
|
Don't know of any silo.conf. I'm pretty sure you mean lilo.conf
from the install docs:
image=/kernel-<kernel version>
label=gentoo
append="init=/linuxrc real_root=/dev/hda3 ramdisk=8192"
root=/dev/ram0
initrd=/initrd-<kernel version>
/kiksen |
|
Back to top |
|
|
fimbulvetr n00b
Joined: 03 Feb 2004 Posts: 51 Location: South Dakota
|
Posted: Tue Feb 22, 2005 4:48 pm Post subject: |
|
|
No, he doesn't mean lilo.conf.
Silo is the sparc loader for sparc (sun) hardware.
kiksen, I personally wouldn't recommend using genkernel for sparc. Despite how nice it sounds, it's actually much harder to get working right than just doing it the old fashioned way.
Anyway, to answer your question, you use the "append" keyword, just like lilo. Make it look like this:
Code: | partition = 1
root = /dev/hda1
timeout = 50
default = kernel-2.6.9-gentoo-r14
image = /boot/kernel-2.4.27
label = kernel-2.4.27
image = /boot/kernel-2.4.28-sparc-r6
label = kernel-2.4.28-sparc-r6
image = /boot/kernel-2.6.9-gentoo-r14
label = kernel-2.6.9-gentoo-r14
append="root=/dev/ram0 real_root=/dev/$ROOT init=/linuxrc "
|
* Where $ROOT is the device node for your root partition as the
* one specified in /etc/fstab
There is a silo doc here:
http://www.sparc-boot.org/config.html
That explains that (and more) options.
-fim _________________ :wq |
|
Back to top |
|
|
w.hill Tux's lil' helper
Joined: 23 Jan 2005 Posts: 133 Location: Perth, Western Australia
|
Posted: Wed Feb 23, 2005 5:20 am Post subject: |
|
|
Thanks for the help. I'll also try building a kernel the old fashion way. |
|
Back to top |
|
|
|