From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S6CO8-0002Ms-N2 for garchives@archives.gentoo.org; Sat, 10 Mar 2012 02:50:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0854E0804; Sat, 10 Mar 2012 02:50:06 +0000 (UTC) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id DA8BFE07BA for ; Sat, 10 Mar 2012 02:48:25 +0000 (UTC) Received: by ggni4 with SMTP id i4so1546089ggn.40 for ; Fri, 09 Mar 2012 18:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=EfdrvO0rdR/3PGlaR+gXIskBqzqCRmxcDMjjay7cZ1Q=; b=GxYO+v7Fnpz9w5svxhlRyfQJOeNhYkR7Ig6tg3ku3I8e1OoHQtArRQcT5XHi4d6ofs inE3rNzGjYT7gFmFyyZ/iHfePi03HmUbBmWJzrvI+FWFDUQEHBPx3NrRXYtfukRnnslc UlXFYv/YZZmqiUaQbWKxlB9K0C5kwHePzXap1Xjq8oIsorSI5bQkipccc3uWPYme7imU tt1g6+98KpYCcXKaFN4xvhcDz+1719qjIBcPC93ORSI1sghm4m89+0/Ce2c5lr2ZaNuZ KswhHmyKUMHIkSl7rSFcK02CGeariBAKabP44qSmdwTxNepwLyLrj+B8ttWiS8uoSZOK +91Q== Received: by 10.236.102.230 with SMTP id d66mr5396656yhg.72.1331347705399; Fri, 09 Mar 2012 18:48:25 -0800 (PST) Received: from [192.168.2.5] (adsl-98-95-214-242.jan.bellsouth.net. [98.95.214.242]) by mx.google.com with ESMTPS id i19sm12756241ani.7.2012.03.09.18.48.23 (version=SSLv3 cipher=OTHER); Fri, 09 Mar 2012 18:48:24 -0800 (PST) Message-ID: <4F5AC0F6.6000804@gmail.com> Date: Fri, 09 Mar 2012 20:48:22 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120301 Firefox/10.0.1 SeaMonkey/2.7.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] LVM, /usr and really really bad thoughts. X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d54e399f-7161-4ab4-9319-346c66a5684b X-Archives-Hash: c0b40493a0b18471936b1c1598d06fb2 Howdy, Well, this is what I am thinking about jumping into. Ya'll ready for this? I'm thinking about redoing my partition layout. I'm wanting to keep / (root) on a normal ext4 file system. I want to put /usr, /var, /home, and such on LVM. I been using that dracut thingy to build the init thingy. Sorry, I'm full of thingys tonight. Maybe I need my meds? Anyway, the init thingy seems to be working, I think. I asked a while back how to tell for sure but it didn't get any replies so I am not real sure it is. I do get this tho: root@fireball / # dmesg | grep init [ 0.000000] Command line: root=/dev/sda3 init=/sbin/init [ 0.000000] initial memory mapped : 0 - 20000000 [ 0.000000] init_memory_mapping: 0000000000000000-00000000bfc91000 [ 0.000000] init_memory_mapping: 0000000100000000-0000000440000000 [ 0.000000] Kernel command line: root=/dev/sda3 init=/sbin/init [ 0.000000] Memory: 16387452k/17825792k available (6262k kernel code, 1052572k absent, 385768k reserved, 6647k data, 4852k init) [ 0.003045] Security Framework initialized [ 0.388120] SCSI subsystem initialized [ 0.410739] pnp: PnP ACPI init [ 0.787822] Trying to unpack rootfs image as initramfs... [ 0.867787] Freeing initrd memory: 5084k freed [ 0.880111] audit: initializing netlink socket (disabled) [ 0.880439] type=2000 audit(1331081750.879:1): initialized [ 0.912626] fuse init (API version 7.17) [ 1.258561] ehci_hcd 0000:00:12.2: init command 0010005 (park)=0 ithresh=1 period=512 RUN [ 1.270152] ehci_hcd 0000:00:13.2: init command 0010005 (park)=0 ithresh=1 period=512 RUN [ 1.583458] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 4.258421] init-early.sh used greatest stack depth: 3696 bytes left [ 4.503735] init.sh used greatest stack depth: 3576 bytes left root@fireball / # dmesg | grep dracut [ 3.018189] dracut: Checking reiserfs: /dev/sda3 [ 3.018531] dracut: issuing reiserfsck -a /dev/sda3 [ 3.033879] dracut: Reiserfs super block in block 16 on 0x803 of format 3.6 with standard journal [ 3.034463] dracut: Blocks (total/free): 4883760/2502678 by 4096 bytes [ 3.034781] dracut: Filesystem is clean [ 3.035210] dracut: Remounting /dev/sda3 with -o ro [ 3.082413] dracut: Mounted root filesystem /dev/sda3 [ 3.158322] dracut: Switching root root@fireball / # And grub looks like this: title=Initramfs-new_kernel root (hd0,0) kernel /boot/bzImage-3.2.2-1 root=/dev/sda3 init=/sbin/init initrd /initramfs-3.2.2-1.img Does anyone think dracut is not working? I need to make certain before diving into the next step. I have a second drive that is plenty large enough. Thanks Kashani. I plan to move everything currently to the larger drive then just sort of do a fresh install on my regular OS drive. One question I have right off the bat, how do I tell dracut to mount /usr? I think it used to have a usr USE flag but that seems to have disappeared during a upgrade. Is it magic? Does it need to mount /var as well for logging? Just for the record, dracut is the only way I could get a init thingy to build and let me boot. I tried different ways and they just didn't work. At least I think dracut is working which is a good start. ;-) I hope there is a few dracut users on here that have at least /usr on a separate partition. Thanks. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS="--quiet-build=n"