Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: "Gnome3 + systemd + initramfs+usr"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Edi68
n00b
n00b


Joined: 04 Mar 2014
Posts: 1

PostPosted: Sun Mar 09, 2014 8:42 pm    Post subject: HOWTO: "Gnome3 + systemd + initramfs+usr" Reply with quote

Usr separata in LVM2 con systemd.....

La soluzione che ho trovato è questa
chiaramente ogni critica, aggiunta,o rattoppo è linfa....
Code:
 cat /proc/self/mounts

cercare la propria /usr
usr deve puntare direttamente alla voce che gli dà /dev poichè gli altri sono collegamenti simbolici
Nel mio caso è
Code:
 /dev/mapper/sistemalvm-usr 

oppure
Code:
 /dev/dm-0

Creare /etc/fstab.sys
Code:
#<file system>                       <mount point>        <type>       <options>         <dump>  <pass>
/dev/mapper/sistemalvm-usr           /usr               none             bind             0         0

Poi...
Code:
dracut --regenerate-all --mount " /dev/mapper/sistemalvm-usr /usr none bind 0 0 " -a " fstab-sys usrmount " -f

regenerate-all la uso quando sto in chroot o quando ho più di un kernel altrimenti dracut mi fa l'initramfs del kernel in uso...e non va bene.....
In grub2
nano /etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="init=/usr/lib/systemd/systemd"
GRUB_PRELOAD_MODULES="lvm "

naturalmente alla fine
Code:
grub2-mkconfig -o /boot/grub/grub.cfg

E' utile ricordare che il servizio systemd di lvm deve essere attivato
Code:
systemctl enable lvm2-monitor.service
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 10, 2014 9:33 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Spanish where it might find a better audience.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Mon Mar 10, 2014 10:05 pm    Post subject: Reply with quote

Better move it to Forum italiano (Italian).

Cheers.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Tue Mar 11, 2014 7:35 am    Post subject: Reply with quote

Done.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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