View previous topic :: View next topic |
Author |
Message |
eldzis Tux's lil' helper
Joined: 14 Jan 2005 Posts: 138 Location: Latvia, Valmiera
|
Posted: Fri Sep 30, 2005 3:07 pm Post subject: [SOLVED]Removed sys-fs/devfsd but how to remove it from boot |
|
|
Hi,
i have this problem
i removed sys-fs/devfsd cause it blockem kernel sources, but every time when i start gentoo
it tries to load /devfsd and drops out error,so what can i do to make gentoo not try to load devfsd at startup?? _________________ Proud #368799 Linux User
Gentoo - true Linux distribution
Last edited by eldzis on Sat Oct 01, 2005 2:22 pm; edited 4 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54409 Location: 56N 3W
|
Posted: Fri Sep 30, 2005 3:28 pm Post subject: |
|
|
eldzis,
Look for a dir called /etc/.devf* (I don't know the whole name) and delete it if you find it _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
eldzis Tux's lil' helper
Joined: 14 Jan 2005 Posts: 138 Location: Latvia, Valmiera
|
Posted: Fri Sep 30, 2005 3:32 pm Post subject: |
|
|
i found dir
/etc/devfs.d
and file
/etc/devfsd.conf
should i delete both?? _________________ Proud #368799 Linux User
Gentoo - true Linux distribution |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54409 Location: 56N 3W
|
Posted: Fri Sep 30, 2005 3:59 pm Post subject: |
|
|
eldzis,
Err. No. I got the file wrong in my post. Its /dev/.devf*, not /etc/....
Don't change /etc/ _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
eldzis Tux's lil' helper
Joined: 14 Jan 2005 Posts: 138 Location: Latvia, Valmiera
|
Posted: Fri Sep 30, 2005 4:18 pm Post subject: |
|
|
hmm
i didn`t find anything what starts with devf in /dev directory..... _________________ Proud #368799 Linux User
Gentoo - true Linux distribution |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54409 Location: 56N 3W
|
Posted: Fri Sep 30, 2005 4:35 pm Post subject: |
|
|
eldzis,
/dev/.dev* Thats /dev/(dot)dev* You need to use ls -a to see it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wyv3rn Apprentice
Joined: 18 Aug 2005 Posts: 154 Location: USA
|
Posted: Fri Sep 30, 2005 5:29 pm Post subject: |
|
|
pass "devfs=nomount" to the kernel at boot. Then recompile your kernel and turn off devfs or atleast the option right below it that says mount dev filesystem automatically at boot. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54409 Location: 56N 3W
|
Posted: Fri Sep 30, 2005 5:33 pm Post subject: |
|
|
wyv3rn,
You better have udev installed first, before you rip out devfs or booting will be a bit difficult. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wyv3rn Apprentice
Joined: 18 Aug 2005 Posts: 154 Location: USA
|
Posted: Sat Oct 01, 2005 3:52 am Post subject: |
|
|
NeddySeagoon wrote: | wyv3rn,
You better have udev installed first, before you rip out devfs or booting will be a bit difficult. |
He said he already removed the devfs package AND he asked how he can keep the kernel from trying to load devfs at startup. I just answered his question and it is in no way dangerous to pass devfs=nomount to the kernel at boot (just reboot!). Also, by default gentoo keeps a static /dev which should work fine if you had nothing managing /dev. Lastly, nothing here is irreversible and can be repaired via a boot cd in worst possible scenerio.
If the guy knows enough to recompile the kernel, he can figure out that my 2nd sentence is about how to make the change "permanent". |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54409 Location: 56N 3W
|
Posted: Sat Oct 01, 2005 8:37 am Post subject: |
|
|
wyv3rn,
Point taken aboy repairing the damage - almost anything can be fixed via the liveCD.
Where is this static /dev kept, do you mean the udev /dev tarball? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wyv3rn Apprentice
Joined: 18 Aug 2005 Posts: 154 Location: USA
|
Posted: Sat Oct 01, 2005 8:49 am Post subject: |
|
|
cd /
mkdir foo
mount -o bind / /foo
ls -al /foo/dev/ <---this is what /dev looks like before devfs/udev runs
umount /foo
rmdir foo
He asked a direct question, not for someone to hold his hand. He seems like a big boy to me so I answered his question, nothing more, nothing less. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54409 Location: 56N 3W
|
Posted: Sat Oct 01, 2005 9:00 am Post subject: |
|
|
wyv3rn,
Hmm - I'm sure I only used to get /dev/null and /dev/console when I did that.
Thanks.
From new posts in other threads I answered in yesterday it looks like I was having a really bad day yesterday. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wyv3rn Apprentice
Joined: 18 Aug 2005 Posts: 154 Location: USA
|
Posted: Sat Oct 01, 2005 9:20 am Post subject: |
|
|
I've only used gentoo on x86. Multiple computers (home and production), but all x86. They all have a static /dev by default. Maybe it is different on other arch? Regardless, if he can't boot with devfs=nomount he's going to have a hard time recompiling the kernel to disable devfs start on boot.
I apologize for being nippy too. |
|
Back to top |
|
|
eldzis Tux's lil' helper
Joined: 14 Jan 2005 Posts: 138 Location: Latvia, Valmiera
|
Posted: Sat Oct 01, 2005 10:56 am Post subject: |
|
|
thanks everyone,
thats no problem for me to recompile kernel,but its time consuming process,
so i don`t hurry to do it,i think i`ll do it when newer kernel version comes out!
anyway, i thnik with devfs=nomount is enugh for me now,
i`ll recompile kernel some other day!
thanks! _________________ Proud #368799 Linux User
Gentoo - true Linux distribution |
|
Back to top |
|
|
eldzis Tux's lil' helper
Joined: 14 Jan 2005 Posts: 138 Location: Latvia, Valmiera
|
Posted: Sat Oct 01, 2005 12:45 pm Post subject: |
|
|
dudes
i tried passing that option to kernel through lilo config but still nothing it trys to check for that devfsd _________________ Proud #368799 Linux User
Gentoo - true Linux distribution |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9548 Location: beyond the rim
|
Posted: Sat Oct 01, 2005 12:50 pm Post subject: |
|
|
Checked /etc/conf.d/rc? |
|
Back to top |
|
|
eldzis Tux's lil' helper
Joined: 14 Jan 2005 Posts: 138 Location: Latvia, Valmiera
|
Posted: Sat Oct 01, 2005 2:22 pm Post subject: |
|
|
uups
forgot,
changed in that file to udev
thanx _________________ Proud #368799 Linux User
Gentoo - true Linux distribution |
|
Back to top |
|
|
|