Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Removed sys-fs/devfsd but how to remove it from boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
eldzis
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 138
Location: Latvia, Valmiera

PostPosted: Fri Sep 30, 2005 3:07 pm    Post subject: [SOLVED]Removed sys-fs/devfsd but how to remove it from boot Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Fri Sep 30, 2005 3:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
eldzis
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 138
Location: Latvia, Valmiera

PostPosted: Fri Sep 30, 2005 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Fri Sep 30, 2005 3:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
eldzis
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 138
Location: Latvia, Valmiera

PostPosted: Fri Sep 30, 2005 4:18 pm    Post subject: Reply with quote

hmm
i didn`t find anything what starts with devf in /dev directory.....
_________________
Proud #368799 Linux User
Gentoo - true Linux distribution
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Fri Sep 30, 2005 4:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
wyv3rn
Apprentice
Apprentice


Joined: 18 Aug 2005
Posts: 154
Location: USA

PostPosted: Fri Sep 30, 2005 5:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Fri Sep 30, 2005 5:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
wyv3rn
Apprentice
Apprentice


Joined: 18 Aug 2005
Posts: 154
Location: USA

PostPosted: Sat Oct 01, 2005 3:52 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Sat Oct 01, 2005 8:37 am    Post subject: Reply with quote

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
View user's profile Send private message
wyv3rn
Apprentice
Apprentice


Joined: 18 Aug 2005
Posts: 154
Location: USA

PostPosted: Sat Oct 01, 2005 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Sat Oct 01, 2005 9:00 am    Post subject: Reply with quote

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
View user's profile Send private message
wyv3rn
Apprentice
Apprentice


Joined: 18 Aug 2005
Posts: 154
Location: USA

PostPosted: Sat Oct 01, 2005 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message
eldzis
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 138
Location: Latvia, Valmiera

PostPosted: Sat Oct 01, 2005 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
eldzis
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 138
Location: Latvia, Valmiera

PostPosted: Sat Oct 01, 2005 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9539
Location: beyond the rim

PostPosted: Sat Oct 01, 2005 12:50 pm    Post subject: Reply with quote

Checked /etc/conf.d/rc?
Back to top
View user's profile Send private message
eldzis
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 138
Location: Latvia, Valmiera

PostPosted: Sat Oct 01, 2005 2:22 pm    Post subject: Reply with quote

uups
forgot,
changed in that file to udev
thanx :wink:
_________________
Proud #368799 Linux User
Gentoo - true Linux distribution
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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