Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenRC mtab boot message
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
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sun Jun 14, 2015 1:30 am    Post subject: OpenRC mtab boot message Reply with quote

I did notice a OpenRC boot message about mtab soon going obsolete. The only thing that I can find about this message relates to systemd (see here), a boot-up system that I do not plan on using. There is a section on OpenRC and mtab here, they do not mention linking as the boot-up message says that I need to do (but I won't do that just yet).

Thanks for the help.
Back to top
View user's profile Send private message
Freeky
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2011
Posts: 129
Location: Novosibirsk, Russia

PostPosted: Sun Jun 14, 2015 8:05 am    Post subject: Reply with quote

Hi, jonfr!
You can read discussion on b.g.o. for clarification these situation.
Message about /etc/mtab file was introduced by this commit in OpenRC and present starting openrc-0.14.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Wed Jul 29, 2015 9:08 pm    Post subject: Reply with quote

did it seamless on my VMs.
Though still doesn't work on main system via chroot.
Have to figure out why.

Thks 4 ur attention


Last edited by CaptainBlood on Wed Jul 29, 2015 9:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Jul 29, 2015 9:19 pm    Post subject: Reply with quote

CaptainBlood,

/etc/mtab should not be available inside a chroot.
It tells what is mounted where outside of the chroot.
_________________
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
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Wed Jul 29, 2015 9:30 pm    Post subject: Reply with quote

Ok NS,
Still did it on my VMs via chroot as well, though. Seems to be working fine there anyhow.

EDIT
Install CD, then
Code:
mount /dev/sda1 /mnt/gentoo
cd /mnt/gentoo/etc
rm mtab
ln -snf /proc/self/mounts mtab
umount /mnt/gentoo
reboot

EDIIT II : Actually fails :twisted:
Thks 4 ur attention, interest & support.
Back to top
View user's profile Send private message
Maf
Guru
Guru


Joined: 15 May 2005
Posts: 309

PostPosted: Wed Nov 04, 2015 9:46 pm    Post subject: Reply with quote

*BUMP*

Did someone manage to solve the problem?
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Wed Nov 04, 2015 10:17 pm    Post subject: Reply with quote

Maf wrote:
Did someone manage to solve the problem?

Maf ... ummm, I didn't read the provided links, but I imagine the following should resolve the problem:

Code:
# ln -sfn /proc/self/mounts /etc/mtab

HTH & best ... khay
Back to top
View user's profile Send private message
Maf
Guru
Guru


Joined: 15 May 2005
Posts: 309

PostPosted: Wed Nov 04, 2015 10:45 pm    Post subject: Reply with quote

khayyam wrote:
Maf wrote:
Did someone manage to solve the problem?

Maf ... ummm, I didn't read the provided links, but I imagine the following should resolve the problem:

Code:
# ln -sfn /proc/self/mounts /etc/mtab

HTH & best ... khay


Yep, it actually helped ;) Just removing the /etc/mtab was not enough.
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