Linda Walsh said the following on 01/25/2013 12:25 PM:
Anton Aylward wrote:
Linda Walsh said the following on 01/25/2013 12:02 AM:
So how can I run a setup script to mount /usr without using init 's'?
The short answer is implicit in Cristian's observation about the initrd. Yes you should have a initrd that mounts both /boot and /usr.
Why? If the system comes up without them in 'S' mode, and I can mount them manually and the system then comes up, why can't I automate that with a script?
DUH? I don't understand why 'the lady doth protest too much'. Why bother with a script to do it when you can do it simply 'by proper configuration' If the system comes up with them mounted does it matter to you if initrd does it 'behind the scenes (sorry, no Hamlet quote here) or a script does it behind the scenes? The way I look at it the CORRECT way is to have an initrd that does what you want and only what you want. Back in the "The 12.2 installer is smarter than I thought" that I started Per Jessen suggested lsinitrd /boot/initrd shows me a 16M initrd with piles and piles and piles of stuff I don't need. Drivers, file systems, fsck and more. Per also says he has initrds that are only 4M or 5M. Proper configuration or script? Set up the configuration properly (drakut makes this easier) and you get a properly built kernel and initrd every time :-) Of course you could always pre-empt the future and run a system that has a single unified root+/usr. That's how its going to be. That's how I'm setting up my machines from now on. And since I've been using LVM for years its easy for me to convert to that. What's that? yes I need grub2 and despite what Felix says I've not had any problems with grub2 on any of my machines, not just opensuse12 but fedora and mageia. And some of the machines are a bit .. pressed and yes they run samba and Apache and other services. There's a lot of literature out there on mkinitrd and a growing amount on drakut. The thing is that drakut is much more obvious and easy to use than mkinitrd, deceptively so. Heck, it even aborts and complains when you tell it to do something stupid! I wish more s/w were like that. -- Most of what we call management consists of making it difficult for people to get their work done. --Peter F. Drucker -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org