View previous topic :: View next topic |
Author |
Message |
renkinjutsu n00b
Joined: 28 Jul 2010 Posts: 28
|
Posted: Sun Aug 01, 2010 4:55 am Post subject: Can't boot. devpts being mounted too early? |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Aug 01, 2010 3:16 pm Post subject: |
|
|
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 |
|
|
renkinjutsu n00b
Joined: 28 Jul 2010 Posts: 28
|
Posted: Sun Aug 01, 2010 10:44 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Aug 02, 2010 12:18 am Post subject: |
|
|
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 |
|
|
renkinjutsu n00b
Joined: 28 Jul 2010 Posts: 28
|
Posted: Mon Aug 02, 2010 11:24 am Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Aug 02, 2010 2:54 pm Post subject: |
|
|
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 |
|
|
renkinjutsu n00b
Joined: 28 Jul 2010 Posts: 28
|
Posted: Mon Aug 02, 2010 3:14 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Aug 02, 2010 6:12 pm Post subject: |
|
|
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 |
|
|
renkinjutsu n00b
Joined: 28 Jul 2010 Posts: 28
|
Posted: Tue Aug 03, 2010 5:41 am Post subject: |
|
|
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 |
|
|
kyron Apprentice
Joined: 26 Aug 2002 Posts: 198 Location: Montreal, Qc.
|
Posted: Thu Aug 05, 2010 5:26 pm Post subject: |
|
|
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 |
|
|
renkinjutsu n00b
Joined: 28 Jul 2010 Posts: 28
|
Posted: Thu Aug 05, 2010 6:51 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
aidecoe Retired Dev
Joined: 20 Jun 2008 Posts: 7 Location: Poland
|
|
Back to top |
|
|
|