Thanks very much for your email - that's *very* interesting.
Are you also using SuSE 9.0? And are you using a version where you
downloaded all the installation files? Is the CD/DVD version different
(beyond the addition of some extra applications)?
My initrd does not contain libc.so.6. Why would that be? The GUI
installer doesn't give you any opportunity to customise initrd for the
first reboot so I don't think there's anything I can change? Or have I
missed something?
Thanks
Chris
|---------+---------------------------->
| | Gary Gapinski |
| |
-------------------------------------------------------------------------------------------------------------------------------| | | | To: suse-linux-e@suse.com | | cc: | | Subject: Re: [SLE] Root filesystem on LVM on SuSE 9.0 | -------------------------------------------------------------------------------------------------------------------------------|
On Monday 19 January 2004 13:26, Chris_Eason@JohnLewis.co.uk wrote:
I am trying to install SuSE 9.0 on an Intel machine but I want everything to be managed by the LVM. This should be possible but I'm having problems. I wonder if anyone can help?
The main problem I'm having is that when the system first reboots towards the end of the installation process, I get lots of errors:
[snip] Freeing initrd memory: 1223k freed VFS: Mounted root (ext2 filesystem) Loading kernel/drivers/scsi/scsi_mod.o insmod: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
I am unsure why you are having this problem. I have had no problem creating systems in which all but /boot resides on logical volumes, including / and swap. For example, on a Dell PE2650: # df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/system/root 262132 143664 118468 55% / /dev/sda2 54444 5482 46151 11% /boot /dev/system/opt 1155032 475800 679232 42% /opt /dev/system/srv 876512 34424 842088 4% /srv /dev/system/tmp 655336 38308 617028 6% /tmp /dev/system/usr 1994684 1051852 942832 53% /usr /dev/system/var 1470412 144668 1325744 10% /var tmpfs 1940932 0 1940932 0% /dev/shm /dev/data/home 262132 33088 229044 13% /home /dev/data/vm 16776700 32840 16743860 1% /vm That system's /var/log/boot.msg contains [snip] <6>Freeing initrd memory: 1186k freed <4>VFS: Mounted root (ext2 filesystem). <6>SCSI subsystem driver Revision: 1.00 <3>kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 <6>Red Hat/Adaptec aacraid driver (1.1.3 Nov 14 2003 00:40:58) <6>AAC0: kernel 2.7.4 build 3170 <6>AAC0: monitor 2.7.4 build 3170 <6>AAC0: bios 2.7.0 build 3170 <6>AAC0: serial eed021d3fafaf001 <6>scsi0 : percraid <4> Vendor: DELL Model: PERCRAID RAID5 Rev: V1.0 <4> Type: Direct-Access ANSI SCSI revision: 02 <4>Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 <4>SCSI device sda: 106633728 512-byte hdwr sectors (54596 MB) <4>sda: Write Protect is off <6>Partition check: <6> sda: sda1 sda2 sda3 sda4 <6>lvm-mp: allocating 42 lowmem entries at cdfb0000 <6>LVM version 1.0.5+(mp-v6c)(22/07/2002) module loaded <4>lvm -- lvm_blk_ioctl: unknown cmd 0x5310 <4>reiserfs: found format "3.6" with standard journal <4>reiserfs: enabling write barrier flush mode <4>reiserfs: using ordered data mode <4>reiserfs: checking transaction log (device lvm(58,0)) ... <4>for (lvm(58,0)) <4>Using r5 hash to sort names <4>VFS: Mounted root (reiserfs filesystem) readonly. <5>Trying to move old root to /initrd ... failed <5>Unmounting old root <5>Trying to free ramdisk memory ... okay <6>Freeing unused kernel memory: 188k freed <6>md: Autodetecting RAID arrays. <6>md: autorun ... <6>md: ... autorun DONE. <4>reiserfs: enabling write barrier flush mode <6>Adding Swap: 262136k swap-space (priority 42) <4>reiserfs: found format "3.6" with standard journal <4>reiserfs: enabling write barrier flush mode <4>reiserfs: using ordered data mode <4>reiserfs: checking transaction log (device lvm(58,4)) ... [snip] That system's initrd content follows. Note the presence of libc.so.6. # ls -lR /tmp/initrd /tmp/initrd: total 11 drwxr-xr-x 9 root root 1024 2003-12-31 14:00 . drwxrwxrwt 16 root root 512 2004-01-21 11:03 .. drwxr-xr-x 2 root root 1024 2003-12-31 14:00 bin drwxr-xr-x 3 root root 1024 2003-12-31 14:00 dev drwxr-xr-x 3 root root 1024 2003-12-31 14:00 etc drwxr-xr-x 4 root root 1024 2003-12-31 12:50 lib -rwxr-xr-x 1 root root 1278 2003-12-31 14:00 linuxrc drwxr-xr-x 2 root root 1024 2003-12-31 14:00 mnt drwxr-xr-x 2 root root 1024 2003-12-31 14:00 proc drwxr-xr-x 2 root root 1024 2003-12-31 14:00 sbin /tmp/initrd/bin: total 192 drwxr-xr-x 2 root root 1024 2003-12-31 14:00 . drwxr-xr-x 9 root root 1024 2003-12-31 14:00 .. -rwxr-xr-x 1 root root 56132 2003-09-23 13:29 ash -rwxr-xr-x 1 root root 15224 2003-09-23 13:51 cat -rwsr-xr-x 1 root root 77488 2003-09-23 13:12 mount -rwsr-xr-x 1 root root 40788 2003-09-23 13:12 umount /tmp/initrd/dev: total 3 drwxr-xr-x 3 root root 1024 2003-12-31 14:00 . drwxr-xr-x 9 root root 1024 2003-12-31 14:00 .. crw------- 1 root root 5, 1 2003-12-31 14:00 console crw-rw---- 1 root root 29, 0 2003-12-31 14:00 fb0 crw-r----- 1 root root 109, 0 2003-12-31 12:38 lvm brw-rw---- 1 root root 9, 0 2003-12-31 14:00 md0 crw-rw-rw- 1 root root 1, 3 2003-12-31 14:00 null lrwxrwxrwx 1 root root 4 2003-12-31 14:00 ram -> ram0 brw-rw---- 1 root root 1, 0 2003-12-31 14:00 ram0 brw-rw---- 1 root root 1, 1 2003-12-31 14:00 ram1 brw-rw---- 1 root root 1, 2 2003-12-31 14:00 ram2 lrwxrwxrwx 1 root root 4 2003-12-31 14:00 ramdisk -> ram0 drwxr-xr-x 2 root root 1024 2003-12-31 14:00 system crw-rw---- 1 root root 4, 1 2003-12-31 14:00 tty1 crw-rw---- 1 root root 4, 2 2003-12-31 14:00 tty2 crw-r--r-- 1 root root 1, 5 2003-12-31 14:00 zero /tmp/initrd/dev/system: total 2 drwxr-xr-x 2 root root 1024 2003-12-31 14:00 . drwxr-xr-x 3 root root 1024 2003-12-31 14:00 .. brw-rw---- 1 root disk 58, 0 2003-12-31 12:41 root /tmp/initrd/etc: total 4 drwxr-xr-x 3 root root 1024 2003-12-31 14:00 . drwxr-xr-x 9 root root 1024 2003-12-31 14:00 .. -rw-r--r-- 1 root root 29 2003-12-31 14:00 fstab drwxr-xr-x 2 root root 1024 2003-12-31 14:00 lvmtab.d /tmp/initrd/etc/lvmtab.d: total 2 drwxr-xr-x 2 root root 1024 2003-12-31 14:00 . drwxr-xr-x 3 root root 1024 2003-12-31 14:00 .. /tmp/initrd/lib: total 315 drwxr-xr-x 4 root root 1024 2003-12-31 12:50 . drwxr-xr-x 9 root root 1024 2003-12-31 14:00 .. drwxr-xr-x 2 root root 1024 2003-12-31 12:26 i686 -rwxr-xr-x 1 root root 112347 2003-09-23 19:05 ld-2.3.2.so lrwxrwxrwx 1 root root 11 2003-12-31 14:00 ld-linux.so.2 -> ld-2.3.2.so lrwxrwxrwx 1 root root 16 2003-12-31 14:00 liblvm-10.so.1 -> liblvm-10.so.1.0 -r-xr-xr-x 1 root root 202974 2003-09-24 09:22 liblvm-10.so.1.0 drwxr-xr-x 3 root root 1024 2003-12-31 13:59 modules /tmp/initrd/lib/i686: total 1436 drwxr-xr-x 2 root root 1024 2003-12-31 12:26 . drwxr-xr-x 4 root root 1024 2003-12-31 12:50 .. -rwxr-xr-x 1 root root 1461208 2003-09-23 19:05 libc.so.6 /tmp/initrd/lib/modules: total 3 drwxr-xr-x 3 root root 1024 2003-12-31 13:59 . drwxr-xr-x 4 root root 1024 2003-12-31 12:50 .. drwxr-xr-x 3 root root 1024 2003-12-31 13:59 2.4.21-144-smp4G /tmp/initrd/lib/modules/2.4.21-144-smp4G: total 3 drwxr-xr-x 3 root root 1024 2003-12-31 13:59 . drwxr-xr-x 3 root root 1024 2003-12-31 13:59 .. drwxr-xr-x 4 root root 1024 2003-12-31 13:59 kernel /tmp/initrd/lib/modules/2.4.21-144-smp4G/kernel: total 4 drwxr-xr-x 4 root root 1024 2003-12-31 13:59 . drwxr-xr-x 3 root root 1024 2003-12-31 13:59 .. drwxr-xr-x 4 root root 1024 2003-12-31 13:59 drivers drwxr-xr-x 3 root root 1024 2003-12-31 13:59 fs /tmp/initrd/lib/modules/2.4.21-144-smp4G/kernel/drivers: total 4 drwxr-xr-x 4 root root 1024 2003-12-31 13:59 . drwxr-xr-x 4 root root 1024 2003-12-31 13:59 .. drwxr-xr-x 2 root root 1024 2003-12-31 13:59 md drwxr-xr-x 3 root root 1024 2003-12-31 13:59 scsi /tmp/initrd/lib/modules/2.4.21-144-smp4G/kernel/drivers/md: total 62 drwxr-xr-x 2 root root 1024 2003-12-31 13:59 . drwxr-xr-x 4 root root 1024 2003-12-31 13:59 .. -rw-r--r-- 1 root root 59786 2003-11-13 20:10 lvm-mod.o /tmp/initrd/lib/modules/2.4.21-144-smp4G/kernel/drivers/scsi: total 170 drwxr-xr-x 3 root root 1024 2003-12-31 13:59 . drwxr-xr-x 4 root root 1024 2003-12-31 13:59 .. drwxr-xr-x 2 root root 1024 2003-12-31 13:59 aacraid -rw-r--r-- 1 root root 149933 2003-11-13 20:10 scsi_mod.o -rw-r--r-- 1 root root 18418 2003-11-13 20:10 sd_mod.o /tmp/initrd/lib/modules/2.4.21-144-smp4G/kernel/drivers/scsi/aacraid: total 48 drwxr-xr-x 2 root root 1024 2003-12-31 13:59 . drwxr-xr-x 3 root root 1024 2003-12-31 13:59 .. -rw-r--r-- 1 root root 45220 2003-11-13 20:10 aacraid.o /tmp/initrd/lib/modules/2.4.21-144-smp4G/kernel/fs: total 3 drwxr-xr-x 3 root root 1024 2003-12-31 13:59 . drwxr-xr-x 4 root root 1024 2003-12-31 13:59 .. drwxr-xr-x 2 root root 1024 2003-12-31 13:59 reiserfs /tmp/initrd/lib/modules/2.4.21-144-smp4G/kernel/fs/reiserfs: total 281 drwxr-xr-x 2 root root 1024 2003-12-31 13:59 . drwxr-xr-x 3 root root 1024 2003-12-31 13:59 .. -rw-r--r-- 1 root root 281786 2003-11-13 20:10 reiserfs.o /tmp/initrd/mnt: total 2 drwxr-xr-x 2 root root 1024 2003-12-31 14:00 . drwxr-xr-x 9 root root 1024 2003-12-31 14:00 .. /tmp/initrd/proc: total 2 drwxr-xr-x 2 root root 1024 2003-12-31 14:00 . drwxr-xr-x 9 root root 1024 2003-12-31 14:00 .. /tmp/initrd/sbin: total 223 drwxr-xr-x 2 root root 1024 2003-12-31 14:00 . drwxr-xr-x 9 root root 1024 2003-12-31 14:00 .. -rwxr-xr-x 1 root root 9311 2003-09-23 13:31 insmod -rwxr-xr-x 1 root root 177466 2003-09-23 13:31 insmod.old -r-xr-xr-x 1 root root 20140 2003-09-24 09:22 vgchange -r-xr-xr-x 1 root root 13572 2003-09-24 09:22 vgscan -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com ********************************************************************* Notice: This email is confidential and may contain copyright material of the John Lewis Partnership. If you are not the intended recipient, please notify us immediately and delete all copies of this message. (Please note that it is your responsibility to scan this message for viruses). Email to and from the John Lewis Partnership is automatically monitored for operational and lawful business reasons. ********************************************************************* John Lewis plc Registered in England 233462 Registered office 171 Victoria Street London SW1E 5NN Websites: http://www.johnlewis.com and http://www.waitrose.com