Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Borked system after updating baselayout and udev?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
AlfaGTV
n00b
n00b


Joined: 26 Jul 2003
Posts: 57
Location: Belgium

PostPosted: Fri Apr 16, 2010 3:24 pm    Post subject: Borked system after updating baselayout and udev? Reply with quote

I did an emerge -uD world and now have the following problem :?
My system still boots but udevd fails to start. From searching on this forum I have found that I need to set CONFIG_SYSFS_DEPRECATED in my kernel. So I compiled a new kernel, but then I wanted to mount /boot and got the error that /dev/sda1 doesn't exit. Is there any way to mount my boot partition so I can copy my new kernel? I can still compile things, but I can't start net.eth0.

BTW this is on a tiny Acer Aspire One netbook, running stable x86. It's the first time in 8 years of Gentoo that I think I have f*cked my system...
_________________
Cuore Sportivo
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Apr 16, 2010 3:36 pm    Post subject: Reply with quote

AlfaGTV,

Heh, /dev/sda1 doesn't exist because udev failed to run, so its not been created.
You can try to manually create the device node. /dev/sda1 should look like
Code:
$ ls -l /dev/sda1
brw-rw---- 1 root disk 8, 1 Apr 16 13:50 /dev/sda1


The format of the command is
Code:
mknod [OPTION]... NAME TYPE [MAJOR MINOR]

so
Code:
mknod /dev/sda1 b 8 1
chown root:disk /dev/sda1
chmod 660 /dev/sda1
will make the node and set the ownership and permissions as expected.
_________________
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
AlfaGTV
n00b
n00b


Joined: 26 Jul 2003
Posts: 57
Location: Belgium

PostPosted: Fri Apr 16, 2010 3:58 pm    Post subject: Reply with quote

Thank you :)

I was able to mount my boot partition and install a new kernel unfortunately udev still doesn't start :x I'm going to search the forum a bit more to find some answers.
_________________
Cuore Sportivo
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Apr 16, 2010 4:18 pm    Post subject: Reply with quote

AlfaGTV,

Are you sure the new kernel booted?

Look at the build date and time in
Code:
uname -a

_________________
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
AlfaGTV
n00b
n00b


Joined: 26 Jul 2003
Posts: 57
Location: Belgium

PostPosted: Fri Apr 16, 2010 4:49 pm    Post subject: Reply with quote

NeddySeagoon wrote:
AlfaGTV,

Are you sure the new kernel booted?

Look at the build date and time in
Code:
uname -a


New kernel 2.6.32-gentoo-r7 works :roll: Only udev doesn't start.
_________________
Cuore Sportivo
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Apr 16, 2010 6:26 pm    Post subject: Reply with quote

AlfaGTV,

As you use baselayout2, is udev in the sysinit runlevel?
Its no longer started by the init script.
_________________
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
AlfaGTV
n00b
n00b


Joined: 26 Jul 2003
Posts: 57
Location: Belgium

PostPosted: Fri Apr 16, 2010 7:38 pm    Post subject: Reply with quote

Yep udev is in sysinit runlevel. Well it was, I just downgraded udev and baselayout and everything works. I'm going to try and upgrade in a couple of weeks, I'm leaving on a short vacation on sunday. No time to play with it :)

NeddySeagoon wrote:
AlfaGTV,

As you use baselayout2, is udev in the sysinit runlevel?
Its no longer started by the init script.

_________________
Cuore Sportivo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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