Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Missing directory "/media" on self build LiveCD...
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
justXi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2007
Posts: 85

PostPosted: Tue Jan 15, 2008 5:15 pm    Post subject: Missing directory "/media" on self build LiveCD... Reply with quote

Hi,

I build my own liveCD based on http://gentoo-wiki.com/HOWTO_build_a_LiveCD_from_scratch .
All works fine except for the missing directory "/media" which is needed by the gnome-volume-manager (e.g. to mount an usb-memory stick).

Where is the best place for a command whichs creates this directory?

GDM is also missing "/var/log/gdm"...

So I think using "local.start" is not the best choice.

Thanks for hints.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Tue Jan 15, 2008 5:21 pm    Post subject: Reply with quote

Why/how was it removed in the first place?

It should be installed by hal, which I'm fairly sure gnome-volume-manager would require...

Anyway, I've made a few changes to the initscripts, including creating some directories at boot (needed to put /var/run on tmpfs), and I think /etc/init.d/bootmisc is the most suitable script for such commands.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
justXi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2007
Posts: 85

PostPosted: Tue Jan 15, 2008 5:31 pm    Post subject: Reply with quote

Hopeless wrote:
Why/how was it removed in the first place?

It should be installed by hal, which I'm fairly sure gnome-volume-manager would require...

Anyway, I've made a few changes to the initscripts, including creating some directories at boot (needed to put /var/run on tmpfs), and I think /etc/init.d/bootmisc is the most suitable script for such commands.


On my hdd, where I prepare the filesystem it is there and in the "livecd.squashfs" too. But I think the "linuxrc" is creating the directories in "/" and does not create "/media".

Ok, I will add it to "bootmisc".

thanks.
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