Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Diskless Gentoo, init weirdness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gustavo Guillermo Pérez
n00b
n00b


Joined: 17 Jul 2004
Posts: 25
Location: Mexico/Argentina

PostPosted: Wed Aug 04, 2004 2:17 am    Post subject: Diskless Gentoo, init weirdness Reply with quote

I'm trying to make a diskless terminal from one good installation of Gentoo.
I'll explain MY boot procedure, this is not standard, but should be the new one, cause, root= on kernel command line is considered the "old" way (Documentation from Kernel), and pivot_root / chroot from an initrd is taked as a "new" way of boot.

Boot Procedure:
1)Takes a kernel to RAM
2)Takes an initrd to RAM
3)Launching Kernel
4)Kernel Excecutes /linuxrc inside initrd file system
5)linuxrc do some probings on some network interface drivers to set up the net on a generic kernel
6)udhcpc set up an ip address from a ISRC DHCPD installed in the network
7)/linuxrc mounts a NFS folder into the system
8 )/linuxrc makes a chroot /nfsfolder /sbin/init [arguments]

Step 8, doesn't work, ever fails, /dev/initctl time out, or invalid arguments

if we change this in the "old" way:
booting with: root=/dev/nfs nfsroot=[ip]:[folder]
1), 2), 3), 4), 5), 6)
7) Exiting the small root file system, to take the kernel the boot control again.
8 ) Kernel mounts the nfsroot
9) Gentoo boots, with some touched initscript to make the file /fastboot
10) Gentoo fails boot cause Read Only root File System.

Even I tryed to make a symlink from /proc/mounts to /etc/mtab

so sorry: I'm test it with a small copy of SuSE9.1 to see if I'm doing something so wrong with boot procces, and Everything is fine, but I wan't gentoo to boot diskless, I have computers to play ut2004 with just a nvidia video card, And of course Gentoo is so cool to do that. A session in gdm just to play ut2k4.

regards everyone.
[/b]
_________________
I learn something new every day. Thanks God.
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1630
Location: indiana

PostPosted: Thu Feb 08, 2007 12:05 am    Post subject: Reply with quote

i read its recommended to take all the stuff that you need into the kernel (not as modul) how can you load the initrd on an deskless pc ? i am having constantly problems to get a nvidia driver(dri) to work on my diskless machine, i even put the agpgart into the kernel, but loading the nvidia modul fails always
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x (powersave governor) ; Radeon 7900XTX ; kernel 6.11.3 ; XFCE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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