Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo/FreeBSD init system and fs checks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Chichou
n00b
n00b


Joined: 05 Nov 2005
Posts: 3
Location: Paris, France

PostPosted: Sat Jun 03, 2006 4:22 pm    Post subject: Gentoo/FreeBSD init system and fs checks Reply with quote

I have a question about the init system in Gentoo/BSD : I'd like to have a Gentoo/FreeBSD system on one of my slices, with a partition for / and another for /usr. The problem is that the init program wants to have bash available, which is impossible, since it needs libraries in /usr/lib which is not yet mounted.

Is it possible to have /usr mounted before needing bash ? Actually, the system falls baack to single user, so I mount manually /usr, but then it is the checkfs init script which is whining about not being able to remount read-only, or something like that.

How can I fix this ?
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Mon Jun 05, 2006 2:57 pm    Post subject: Reply with quote

mabe the kernel need to have the ability to mount filesystem
check if there is such ability inside
the problem is that i don't like freBSD's kenrel documentation
Back to top
View user's profile Send private message
Chichou
n00b
n00b


Joined: 05 Nov 2005
Posts: 3
Location: Paris, France

PostPosted: Wed Jun 07, 2006 9:04 am    Post subject: Reply with quote

I do not understand what you mean : my partitions are all UFS and the kernel were copied right from my regular FreeBSD installation. Actually copying the few libraries that were needed into /lib fixes the problems.

I also notice another problem : I cannot set any locale (exporting LC_CTYPE or anything else doesn't have any effect). This is odd, has the freebsd ebuilds seem to be correctly merged, and all the files is /usr/share/locale look good. What other places shoud I look in ?
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Wed Jun 07, 2006 9:40 am    Post subject: Reply with quote

forget that it's linux only things

i don't know well BSD but in linux it's easy
just use a initrd but i don't know if it exist on FreeBSD
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 373
Location: Sigma 957

PostPosted: Mon Jun 19, 2006 4:19 pm    Post subject: Re: Gentoo/FreeBSD init system and fs checks Reply with quote

Chichou wrote:
I have a question about the init system in Gentoo/BSD : I'd like to have a Gentoo/FreeBSD system on one of my slices, with a partition for / and another for /usr. The problem is that the init program wants to have bash available, which is impossible, since it needs libraries in /usr/lib which is not yet mounted.

Is it possible to have /usr mounted before needing bash ? Actually, the system falls baack to single user, so I mount manually /usr, but then it is the checkfs init script which is whining about not being able to remount read-only, or something like that.

How can I fix this ?


I think I recall a bug on this for Linux, but it might've affected FreeBS too (unsure) -- you might give this another run and see if the same issue arises since I think whatever lib was in /usr/lib was moved to /lib. The details escape me, but dig into the Bugs database and you might the specific package that also had this issue, and it might have the solution if the problem still arises.


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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