Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't boot. devpts being mounted too early?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
renkinjutsu
n00b
n00b


Joined: 28 Jul 2010
Posts: 28

PostPosted: Sun Aug 01, 2010 4:55 am    Post subject: Can't boot. devpts being mounted too early? Reply with quote

New user and I attempted to boot a fresh stage3 install, but i get a message telling me
Code:
devpts is already mounted or /dev/pts is busy
and then it prompts me for a root password for administration or press Control-D to continue to boot, but i'm not able to type in anything, because whenever i press a button to type the password, a new prompt pops up.. Pressing C-d also makes another prompt pop up.

I don't have devpts in my fstab or anything. I can't find any instances of it. Maybe the kernel's mounting it, but i've already added devtmpfs.mount=0 to the kernel line. I'm using udev if it matters[/code]


Last edited by renkinjutsu on Sun Aug 01, 2010 10:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Aug 01, 2010 3:16 pm    Post subject: Reply with quote

pls post your fstab and grub.conf.
using any form of raid or lvm?
picture of the error screen posted on a photo site, url posted here, may help
enter the chroot,
Code:
emerge wgetpaste
wgetpaste -s ca /usr/src/linux/.config
emerge --info | wgetpaste

post the url's
Back to top
View user's profile Send private message
renkinjutsu
n00b
n00b


Joined: 28 Jul 2010
Posts: 28

PostPosted: Sun Aug 01, 2010 10:44 pm    Post subject: Reply with quote

Quote:
Your paste can be seen here: http://paste.pocoo.org/show/244222/
Your paste can be seen here: http://paste.pocoo.org/show/244227/

and fstab:
Code:
UUID=07f00067-8b8f-4ef1-9a47-9c02e25abfe4 /                       btrfs   defaults,compress,subvol=gentoo        1 1
UUID=c3ac2cc2-5d50-4761-a338-166c54168bc1 /boot                   ext4    defaults        1 2
UUID=8A16-F07C          /boot/efi               vfat    umask=0077,shortname=winnt 0 0
UUID=58ced4ba-4854-41ce-ac2d-d97022630663 /home                   btrfs   defaults,compress        1 2
UUID=36d8e377-4b8c-4dd1-934b-a205209fc6bc swap                    swap    defaults        0 0

tmpfs                   /dev/shm                tmpfs   defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
[/quote]
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Aug 02, 2010 12:18 am    Post subject: Reply with quote

try booting with this fstab:
Quote:
UUID=07f00067-8b8f-4ef1-9a47-9c02e25abfe4 / btrfs defaults,compress,subvol=gentoo 1 1
UUID=c3ac2cc2-5d50-4761-a338-166c54168bc1 /boot ext4 defaults 1 2
UUID=8A16-F07C /boot/efi vfat umask=0077,shortname=winnt 0 0
UUID=58ced4ba-4854-41ce-ac2d-d97022630663 /home btrfs defaults,compress 1 2
UUID=36d8e377-4b8c-4dd1-934b-a205209fc6bc swap swap defaults 0 0

shm /dev/shm tmpfs defaults 0 0


suspecting interference udev vs fstab

if on baselayout2, you should have emerged udev and have udev-postmount in default runlevel and udev in sysinit runlevel
Back to top
View user's profile Send private message
renkinjutsu
n00b
n00b


Joined: 28 Jul 2010
Posts: 28

PostPosted: Mon Aug 02, 2010 11:24 am    Post subject: Reply with quote

I tried booting with the new fstab with no luck. The only entries i have are the physical drives and no kernel tmpfs filesystems.

I also looked into the runlevels; in /etc/runlevels/default, i found udev-postmount but not udev. Should i make a symlink to udev or is it normal to have only udev-postmount symlinked?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Aug 02, 2010 2:54 pm    Post subject: Reply with quote

Code:
rc-update add udev sysinit

if you don't use baselayout2 the return will tell you there is no sysinit runlevel
if you do have a sysinit runlevel you do use baselayout2 and something went wrong during the setup
use http://www.gentoo.org/doc/en/openrc-migration.xml as a checklist to sort it out
Back to top
View user's profile Send private message
renkinjutsu
n00b
n00b


Joined: 28 Jul 2010
Posts: 28

PostPosted: Mon Aug 02, 2010 3:14 pm    Post subject: Reply with quote

I have no sysinit runlevel, so i'm assuming i'm not on baselayout2. I opted to install baselayout2 but when i did a search of portage using emerge, i was returned with sys-apps/baselayout instead of sys-apps/baselayout-2 like the documentation specified. I have baselayout 1.12.13 installed though.

doing a dispatch-conf right now, it might fix up some things i've missed
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Aug 02, 2010 6:12 pm    Post subject: Reply with quote

Try booting with these /etc/fstab 's in turn.

Quote:
UUID=07f00067-8b8f-4ef1-9a47-9c02e25abfe4 / btrfs defaults,compress,subvol=gentoo 1 1
#UUID=c3ac2cc2-5d50-4761-a338-166c54168bc1 /boot ext4 defaults 1 2
#UUID=8A16-F07C /boot/efi vfat umask=0077,shortname=winnt 0 0
#UUID=58ced4ba-4854-41ce-ac2d-d97022630663 /home btrfs defaults,compress 1 2
#UUID=36d8e377-4b8c-4dd1-934b-a205209fc6bc swap swap defaults 0 0

shm /dev/shm tmpfs defaults 0 0


Quote:
#UUID=07f00067-8b8f-4ef1-9a47-9c02e25abfe4 / btrfs defaults,compress,subvol=gentoo 1 1
#UUID=c3ac2cc2-5d50-4761-a338-166c54168bc1 /boot ext4 defaults 1 2
#UUID=8A16-F07C /boot/efi vfat umask=0077,shortname=winnt 0 0
#UUID=58ced4ba-4854-41ce-ac2d-d97022630663 /home btrfs defaults,compress 1 2
#UUID=36d8e377-4b8c-4dd1-934b-a205209fc6bc swap swap defaults 0 0

shm /dev/shm tmpfs defaults 0 0

Disclaimers: 1. I have no btrfs knowlege 2. I run a monolithic single partition filesystem
this error is often reported when an attempt is made to mount a filesystem from an active directory that is inside that filesystem
example running mount /home from /home/username
subvol=gentoo in UUID=07f00067-8b8f-4ef1-9a47-9c02e25abfe4 / btrfs defaults,compress,subvol=gentoo 1 1 seems to suggest a possibility that the / filesystem is in another btrfs filesystem
Back to top
View user's profile Send private message
renkinjutsu
n00b
n00b


Joined: 28 Jul 2010
Posts: 28

PostPosted: Tue Aug 03, 2010 5:41 am    Post subject: Reply with quote

Still not working, even with all the entries commented in fstab. I did the stage3 again, and the same thing is happening.

I will try to set up Gentoo on my desktop in the morning to see if i have more luck than on my macbook 1,1

--


How can i get udev to stop mounting devpts? I have editted /etc/conf.d/rc and changed the RC_USE_FSTAB variable to yes and RC_DEVICES to static, but udev still attempts to mount devpts
Back to top
View user's profile Send private message
kyron
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 198
Location: Montreal, Qc.

PostPosted: Thu Aug 05, 2010 5:26 pm    Post subject: Reply with quote

renkinjutsu wrote:
...How can i get udev to stop mounting devpts? I have editted /etc/conf.d/rc and changed the RC_USE_FSTAB variable to yes and RC_DEVICES to static, but udev still attempts to mount devpts..


Same here using dracut for the initrd. Any clues would be appreciated.

[edit]: simple fix, use openrc (in ~amd64).
_________________
M$ Windows: When in doubt, REBOOT
Linux: When in doubt, RTFM ;-)
Back to top
View user's profile Send private message
renkinjutsu
n00b
n00b


Joined: 28 Jul 2010
Posts: 28

PostPosted: Thu Aug 05, 2010 6:51 pm    Post subject: Reply with quote

kyron wrote:
renkinjutsu wrote:
...How can i get udev to stop mounting devpts? I have editted /etc/conf.d/rc and changed the RC_USE_FSTAB variable to yes and RC_DEVICES to static, but udev still attempts to mount devpts..


Same here using dracut for the initrd. Any clues would be appreciated.

[edit]: simple fix, use openrc (in ~amd64).


I've been using dracut also! Perhaps it does something that is Fedora specific.. Anyway, i installed gentoo on my 64bit desktop using my own initramfs to boot into LVM and it works wonderfully. I may have to make a custom initramfs on my macbook as well. Giving it a try now


update:
Okay.. it was the initial ram disk that has been causing problems. I'm using a new one, with a new init script inside of it, and it works fine. Here's some excellent documentation and is also what i used to get my installation to boot
Quote:
http://en.gentoo-wiki.com/wiki/Initramfs
Back to top
View user's profile Send private message
aidecoe
Retired Dev
Retired Dev


Joined: 20 Jun 2008
Posts: 7
Location: Poland

PostPosted: Fri Sep 10, 2010 3:40 pm    Post subject: Reply with quote

baselayout-1_12 (rev. 3163): should check if devpts is already mounted (bug #336726) – reported and fixed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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