Re[2]: [gentoo-user] About ready to move /usr, /var and /home to LVM.
Dale, Saturday, April 14, 2012, 5:46:44 AM, you wrote: D Stefan Schmiedl wrote: I'd expect to see root (hd1,0) in there somewhere. D I tried changing the root line and it still booted sda. Also, note that D I also tried a grub entry that doesn't even have a root line. It just D points directly to sdb. DFrom what I have always been told, the root line points to grub not the D root partition of the OS. Those are two different things. Correct me D if I am wrong here. That's the way I have always been told. That is correct, root (hdx,y) points to partition y on drive x, where the kernel is to be found, i.e. the root path for the kernel line. The kernel uses its root=/dev/whatever to set up the root for the linux environment. D I'm using grub legacy here. me too. And the last time I tried, changing the root line made grub boot from the other disk. Have you tried editing this line in grub's editor during boot? s.
Re: [gentoo-user] Another plan for /usr and udev-181
On Fri, 13 Apr 2012 18:44:37 -0700, fe...@crowfix.com wrote: What annoys me the most about this forced change is that I like the old unix style of a single minimal base partition for booting, and being able to manage all the other partitions while unmounted in single user mode. In my case, /usr is an LVM partition precisely because I want to sit in single user mode while resizing it (it seems to keep on growing ...). It's been safe to increase the size of mounted filesystems for years. But if you can enlarge /usr while using it, you can do the same for/. So if that's your only reason for a separate /usr... -- Neil Bothwick In a classified ad: Tired of cleaning yourself? Let me do it. signature.asc Description: PGP signature
Re: [gentoo-user] Another plan for /usr and udev-181
On Fri, 13 Apr 2012 18:44:37 -0700, fe...@crowfix.com wrote: 6. Merge udev-181 and whatever else is needed. 7. Cross my fingers, sacrifice a virtual goat, and try a reboot. Somewhere between 6 and 7 is the worst part; no simple way to revert and retry. Everything up til then should require no more than a simple /etc/fstab edit. Is there any way to add more steps between 6 and 7 to allow more reversability? Create a binary package for the old udev, then you can boot from a live CD, chroot in and emerge the old version. If the breakage is too bad for even that, you can even untar the package into the root directory. -- Neil Bothwick Of course it's not your day, signature.asc Description: PGP signature
Re: [gentoo-user] Another plan for /usr and udev-181
On Friday 13 April 2012 18.44:37 fe...@crowfix.com wrote: 1. Configure the next kernel with the necessary initramfs flags, then have two grub entries for the same kernel: one with the initramfs and one without. Initially I will make the initramfs do something innocuous, and leave /usr as a separate /etc/fstab entry mounted in the old fashioned way. 2. Make sure boot works the old fashioned way, without initramfs. 3. Make sure boot works the new fangled way, with initramfs. 4. Create some temporary lvm partition and make sure the new fangled initramfs mounts it during boot without an /etc/fstab entry. 5. Remove /usr from /etc/fstab and put it in the initramfs, and make sure that boot works. 6. Merge udev-181 and whatever else is needed. 7. Cross my fingers, sacrifice a virtual goat, and try a reboot. Somewhere between 6 and 7 is the worst part; no simple way to revert and retry. Everything up til then should require no more than a simple /etc/fstab edit. Is there any way to add more steps between 6 and 7 to allow more reversability? Have I left out any steps, between 6 and 7 or anywhere else? I have done also something like this. I still have /usr in fstab (with the noauto option) just for reference. The only thing (that I have noticed yet) is that the /etc/init.d/lvm fails due to the fact that LVM is already started (in initramfs). -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! ***
[gentoo-user] KDE Upgrade (4.7.4 - 4.8.1) changes behavior of new tab button in Konsole
Yesterday I did the upgrade of KDE (4.7.4 - 4.8.1) on my stable workstation. Now the new tab button in Konsole opens a new tab with the _default_ profile instead of opeing a new tab with the _current_ profile like it did before. This is most annoying as I have one profile for each machine/user I manage and until now I could just click the new tab button and get a new window on the host that I am currently logged into. Is there any parameter to restore the old behavior or is this hard-coded (I really hope not or I will have to start looking for a new terminal emulator with tabs that work like I want it). -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! ***
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
Gregory Shearman wrote: In linux.gentoo.user, Dale wrote: I have ran into a issue here. I copied everything over to sdb, my temp drive. When I try to boot it, it still boots from sda which is the primary drive. I can not get it to boot from the copy. I did update the fstab file to point to the new sdb partitions, I use labels for that and they have different names. I also edited grub and told it root was sdb2. When I boot, everything mounted is sda. Did you actually install grub onto your MBR by either: # grub-install --no-floppy /dev/sdb or # grub grub root (hd1,0) grub setup (hd1) grub quit - You didn't actually write down these steps. Are you assuming that we know you've done that? In the past, I never had to install grub to sdb. As long as grub is installed to one drive, I can boot a OS from any drive. I did this when I used to have Mandrake and Gentoo installed. I had Mandrake installed on sda and Gentoo on sdb. I only had one /boot partition which was on sda1. It had the kernel for both Mandrake and Gentoo in it and sda1 was used for both. So, has something changed that if I want to boot from a second drive I have to install grub to its MBR first? When the BIOS finishes and loads grub, doesn't it always load from the first drive? If that is true, doesn't it ignore the MBR on the second drive? It can't load both MBRs right? This isn't making sense. I have done this many times in the past with no problems but now something is different. I need help figuring out what. 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
Re: [gentoo-user] Another plan for /usr and udev-181
On Sat, 14 Apr 2012 07:35:52 +0100 Neil Bothwick n...@digimed.co.uk wrote: On Fri, 13 Apr 2012 18:44:37 -0700, fe...@crowfix.com wrote: What annoys me the most about this forced change is that I like the old unix style of a single minimal base partition for booting, and being able to manage all the other partitions while unmounted in single user mode. In my case, /usr is an LVM partition precisely because I want to sit in single user mode while resizing it (it seems to keep on growing ...). It's been safe to increase the size of mounted filesystems for years. But if you can enlarge /usr while using it, you can do the same for/. So if that's your only reason for a separate /usr... / on LVM is officially not supported (in the sense there are no official documentation about it) in Gentoo, and is discouraged in the Gentoo LVM installation guide. Has been the case since the beginning, although there are unofficial wiki and mailinglist/forum posts about it. Of course, / on LVM would require an initrd. That's one reason why many of us using LVM keeps /usr on LVM while / as a physical partition. This allows for maximum flexibility, and is a supported legacy config without an initrd. I may add many of us had bad experience with initrd from binary distros rendering system unbootable (I've been there with Debian and Arch --- back in 2003 or so you cannot uninstall currently running kernel initrd after installing a new kernel, or else the next time your newly installed kernel won't boot. Also sometimes the newly installed kernel+initrd won't boot, and neither would the old kernel+initrd...). Of course, now that separate /usr requires an initrd, one might as well put / on LVM and let busybox in initrd handles the case when LVM goes wrong (urgh!). Still, Gentoo doesn't officially support this configuration. -- Kerwin signature.asc Description: PGP signature
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
Stefan Schmiedl wrote: Dale, Saturday, April 14, 2012, 5:46:44 AM, you wrote: D Stefan Schmiedl wrote: I'd expect to see root (hd1,0) in there somewhere. D I tried changing the root line and it still booted sda. Also, note that D I also tried a grub entry that doesn't even have a root line. It just D points directly to sdb. DFrom what I have always been told, the root line points to grub not the D root partition of the OS. Those are two different things. Correct me D if I am wrong here. That's the way I have always been told. That is correct, root (hdx,y) points to partition y on drive x, where the kernel is to be found, i.e. the root path for the kernel line. The kernel uses its root=/dev/whatever to set up the root for the linux environment. D I'm using grub legacy here. me too. And the last time I tried, changing the root line made grub boot from the other disk. Have you tried editing this line in grub's editor during boot? s. Yep, it failed many times with a file not found error. I have a copy of /boot there but it is just a copy of sda. In the past, I have had one /boot and booted two different Gentoo OSs with no problem. This is what I don't get, when I point the root=/dev/sda2, it should point to that and load the fstab file there to mount the rest. For some reason, it goes back to sda even when told not to. This is confusing me. When grub is pointed to something, it should go there and error out if it is not the correct one such as pointing to the wrong partition. This is weird. 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
Re: [gentoo-user] My printing's not working. Help, please!
On Saturday 14 Apr 2012 01:57:13 Nilesh Govindrajan wrote: On Apr 14, 2012 4:59 AM, ny6...@gmail.com wrote: On Fri, Apr 13, 2012 at 03:39:12PM +, Alan Mackenzie wrote: Hi, all. My printing's not working. I've got cups-1.4.8-r1 installed. If I attempt to print from (say) Mozilla, everything appears to go fine up to the actual printing. I do # lpq , then I get this: ML-1450 is ready and printing RankOwner Job File(s) Total Size active acm 44 Lernen im Internet - Anmeldung 94208 bytes . However the printer isn't actually printing. I know there's nothing wrong with the printer or USB cable as such, since I can do $ echo printing^L /dev/lp0 , and a page with printing on it comes out of my printer. Any suggestions? -- Alan Mackenzie (Nuremberg, Germany). Have you checked the cups setup - http://localhost:631 - and looked at all the setup settings and the Jobs queue? Sounds like a driver issue to me, but I always use HP printers, and hplip takes care of the drivers. I'm not familiar with the drivers for Samsung products. Perhaps someone will come along who has that printer that can assist you. Also you might ask on freenode IRC, channel #gentoo. That is a very helpful resource. Good luck! Terry The backend driver might be failing. See cups error log. Also, reconfigure the driver in http://localhost:631 because sometimes drivers change and your cups set up may still be pointing to the old driver. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
On Sat, 14 Apr 2012 05:32:01 -0500 Dale rdalek1...@gmail.com wrote: Gregory Shearman wrote: In linux.gentoo.user, Dale wrote: I have ran into a issue here. I copied everything over to sdb, my temp drive. When I try to boot it, it still boots from sda which is the primary drive. I can not get it to boot from the copy. I did update the fstab file to point to the new sdb partitions, I use labels for that and they have different names. I also edited grub and told it root was sdb2. When I boot, everything mounted is sda. Did you actually install grub onto your MBR by either: # grub-install --no-floppy /dev/sdb or # grub grub root (hd1,0) grub setup (hd1) grub quit - You didn't actually write down these steps. Are you assuming that we know you've done that? In the past, I never had to install grub to sdb. As long as grub is installed to one drive, I can boot a OS from any drive. I did this when I used to have Mandrake and Gentoo installed. I had Mandrake installed on sda and Gentoo on sdb. I only had one /boot partition which was on sda1. It had the kernel for both Mandrake and Gentoo in it and sda1 was used for both. So, has something changed that if I want to boot from a second drive I have to install grub to its MBR first? When the BIOS finishes and loads grub, doesn't it always load from the first drive? If that is true, doesn't it ignore the MBR on the second drive? It can't load both MBRs right? Yes, if you want to boot from another drive, that drive needs to have a usable MBR (or GPT equivalent). The BIOS (or UEFI) dictates which MBR to load first, and GRUB doesn't come into it until BIOS found it and loaded it. This is usually done in the boot sequence config option in BIOS, although it can be temporarily overridden at boot time by pressing a suitable key. This isn't making sense. I have done this many times in the past with no problems but now something is different. I need help figuring out what. There are many ways this can go wrong. Most probably BIOS boot loading sequence has changed (e.g. if you plug in a USB stick and save boot sequence where the USB stick is tried first, then what happened when you remove the stick and reboot is anybody's guess, because the BIOS will try to outsmart you in guessing what that invalid first boot device should have been). Or maybe you had /dev/sdb disk as the first boot disk all along, the previous absence of a bootloader means BIOS tried the next one silently... My own safety net is to have /dev/sda1 and /dev/sdb1 pretty much the same, except the grub.conf has a difference of a useless title line to indicate which disk it was. Dale :-) :-) Kerwin. signature.asc Description: PGP signature
[gentoo-user] gtk-engines-2.91.1 couldn't be compiled!
Hi, all! Recently, I'm interesting in trying Gnome 3.4. However, I have some problems which I couldn't attack. One of them is that gtk-engines-2.91.1 couldn't be compiled. Here is the build.log: # cat build.log * Package:x11-themes/gtk-engines-2.91.1 * Repository: gnome * USE:elibc_glibc kernel_linux userland_GNU x86 * FEATURES: ccache preserve-libs sandbox Unpacking source... Unpacking gtk-engines-2.91.1.tar.bz2 to /var/tmp/portage/x11-themes/gtk-engines-2.91.1/work Source unpacked in /var/tmp/portage/x11-themes/gtk-engines-2.91.1/work Preparing source in /var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1 ... * Fixing OMF Makefiles ... [ ok ] * Running elibtoolize in: gtk-engines-2.91.1/ * Applying portage/2.2 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.2.6 patch ... Source prepared. Configuring source in /var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1 ... * econf: updating gtk-engines-2.91.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gtk-engines-2.91.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-animation --disable-hc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
kwk...@hkbn.net wrote: On Sat, 14 Apr 2012 05:32:01 -0500 Dale rdalek1...@gmail.com wrote: Gregory Shearman wrote: In linux.gentoo.user, Dale wrote: I have ran into a issue here. I copied everything over to sdb, my temp drive. When I try to boot it, it still boots from sda which is the primary drive. I can not get it to boot from the copy. I did update the fstab file to point to the new sdb partitions, I use labels for that and they have different names. I also edited grub and told it root was sdb2. When I boot, everything mounted is sda. Did you actually install grub onto your MBR by either: # grub-install --no-floppy /dev/sdb or # grub grub root (hd1,0) grub setup (hd1) grub quit - You didn't actually write down these steps. Are you assuming that we know you've done that? In the past, I never had to install grub to sdb. As long as grub is installed to one drive, I can boot a OS from any drive. I did this when I used to have Mandrake and Gentoo installed. I had Mandrake installed on sda and Gentoo on sdb. I only had one /boot partition which was on sda1. It had the kernel for both Mandrake and Gentoo in it and sda1 was used for both. So, has something changed that if I want to boot from a second drive I have to install grub to its MBR first? When the BIOS finishes and loads grub, doesn't it always load from the first drive? If that is true, doesn't it ignore the MBR on the second drive? It can't load both MBRs right? Yes, if you want to boot from another drive, that drive needs to have a usable MBR (or GPT equivalent). The BIOS (or UEFI) dictates which MBR to load first, and GRUB doesn't come into it until BIOS found it and loaded it. This is usually done in the boot sequence config option in BIOS, although it can be temporarily overridden at boot time by pressing a suitable key. This isn't making sense. I have done this many times in the past with no problems but now something is different. I need help figuring out what. There are many ways this can go wrong. Most probably BIOS boot loading sequence has changed (e.g. if you plug in a USB stick and save boot sequence where the USB stick is tried first, then what happened when you remove the stick and reboot is anybody's guess, because the BIOS will try to outsmart you in guessing what that invalid first boot device should have been). Or maybe you had /dev/sdb disk as the first boot disk all along, the previous absence of a bootloader means BIOS tried the next one silently... My own safety net is to have /dev/sda1 and /dev/sdb1 pretty much the same, except the grub.conf has a difference of a useless title line to indicate which disk it was. Dale :-) :-) Kerwin. Well, I installed grub to the second drives MBR. I even changed the BIOS to see that drive as the main or first drive. It still boots the old drive. I looked in dmesg and saw where it is supposed to point to the tmp drive and it still boots the old drive even tho it is told not to. Let's see, boot a CD, just do a reinstall from scratch and call it a day. This is ridiculous when you can't tell a boot loader to boot the second drive and it actually do it. Heaven forbid if I had two Linux OSs on here. :-) :-) -- 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
[gentoo-user] LVM dependencies?
I just want to know, what dependencies LVM rely on? I tried searching, but my Google-fu only managed to return threads about people having some problems with LVM (*not* that LVM is problematic, just some people having some problems and being guided to troubleshoot). Rgds,
Re: [gentoo-user] KDE Upgrade (4.7.4 - 4.8.1) changes behavior of new tab button in Konsole
On Saturday 14 April 2012 12.01:13 Dan Johansson wrote: Yesterday I did the upgrade of KDE (4.7.4 - 4.8.1) on my stable workstation. Now the new tab button in Konsole opens a new tab with the _default_ profile instead of opeing a new tab with the _current_ profile like it did before. This is most annoying as I have one profile for each machine/user I manage and until now I could just click the new tab button and get a new window on the host that I am currently logged into. Is there any parameter to restore the old behavior or is this hard-coded (I really hope not or I will have to start looking for a new terminal emulator with tabs that work like I want it). F.Y.I. I posted the same question on the KDE-User mailing list and got the following answer: quote For the 4.8.x series, there is no way. See https://bugs.kde.org/show_bug.cgi?id=184788 for why the old behavior is sometimes problematic. A new action Clone Tab has been added in the development version, which is dedicated for that handy/confusing behavior. See https://bugs.kde.org/show_bug.cgi?id=292518 . If this change is unbearable for you and you can't wait for KDE SC 4.9, you can build from source code either the older version or the development version. You can get the source code of Konsole from https://projects.kde.org/projects/kde/kde-baseapps/konsole/repository. Checkout the master branch or the v4.7.4 tag. If you are unfamiliar with building KDE applications, take a look at http://techbase.kde.org/Getting_Started/Build/Example. /quote -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! ***
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
On Sat, 14 Apr 2012 06:52:20 -0500 Dale rdalek1...@gmail.com wrote: Well, I installed grub to the second drives MBR. I even changed the BIOS to see that drive as the main or first drive. It still boots the old drive. I looked in dmesg and saw where it is supposed to point to the tmp drive and it still boots the old drive even tho it is told not to. Let's see, boot a CD, just do a reinstall from scratch and call it a day. This is ridiculous when you can't tell a boot loader to boot the second drive and it actually do it. Heaven forbid if I had two Linux OSs on here. :-) :-) It sounds like GRUB made the MBR on /dev/sdb to use /dev/sda1 as its root, so maybe something like # grub --no-floppy grub find /boot/grub/stage1 (hd0,0) (hd1,0) Then making GRUB install on /dev/sda pointing to /dev/sda1 grub device (hd0) /dev/sda grub root (hd0,0) grub setup (hd0) and now install on /dev/sdb pointing to /dev/sdb1 grub device (hd0) /dev/sdb grub root (hd0,0) grub setup (hd0) Then you can quit GRUB by issuing grub quit The point being that once you put in the line device (hd0) /dev/sdb, GRUB will *think* that (hd0) refers to the disk /dev/sdb, so the next command root (hd0,0) just means the first partition on this disk will serve as /boot, rather than (hd1,0) which points to 1st partition on the *other* disk, which is possibly where GRUB got confused. Kerwin. signature.asc Description: PGP signature
Re: [gentoo-user] Re: My printing's not working. Help, please!
Hello, Walt. On Fri, Apr 13, 2012 at 05:11:43PM -0700, walt wrote: On 04/13/2012 08:39 AM, Alan Mackenzie wrote: Hi, all. My printing's not working. I've got cups-1.4.8-r1 installed. Have you tried deleting the cups printers using the localhost:631 cups server? I've had so many obscure printing problems after updating the cups package, I just routinely delete and recreate the printers before I even try to print something. Usually fixes my printing problems. OK, I tried that (though it turns out it wasn't the problem, see below). I'm glad I wrote down my about-to-be-deleted config first. localhost:631 has got to be the cruddiest GUI configurer around. I think I had to describe my (USB connected) printer as scsi, and then a little later had to enter a NAME, without any indication being given of whose name. Luckily, I have enough experience to guess correctly, 'cause there's no help on these things. How I hate cups! My actual problem was that my printer is on /dev/lp0, generated by mdev. When I switched back to a udev system, the printer's on /dev/usblp0 (which is a symlink to /dev/usb/lp0). There doesn't seem to be anything in any cups config file to specify the device to print to. The nearest thing to a config item is DeviceURI usb://Samsung/ML-1450 in /etc/printers.conf. I don't know where usb:// is defined - Firefox rejects it straight off. I don't know how this URI is converted to /dev/usblp0, but it seems to be hard coded in effect. So, can I configure usb://Samsung/ML-1450 as /dev/lp0? -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Another plan for /usr and udev-181
On Sat, Apr 14, 2012 at 06:35:45PM +0800, kwk...@hkbn.net wrote: On Sat, 14 Apr 2012 07:35:52 +0100 Neil Bothwick n...@digimed.co.uk wrote: On Fri, 13 Apr 2012 18:44:37 -0700, fe...@crowfix.com wrote: What annoys me the most about this forced change is that I like the old unix style of a single minimal base partition for booting, and being able to manage all the other partitions while unmounted in single user mode. In my case, /usr is an LVM partition precisely because I want to sit in single user mode while resizing it (it seems to keep on growing ...). It's been safe to increase the size of mounted filesystems for years. But if you can enlarge /usr while using it, you can do the same for/. So if that's your only reason for a separate /usr... / on LVM is officially not supported (in the sense there are no official documentation about it) in Gentoo, and is discouraged in the Gentoo LVM installation guide. Has been the case since the beginning, although there are unofficial wiki and mailinglist/forum posts about it. Of course, / on LVM would require an initrd. That's one reason why many of us using LVM keeps /usr on LVM while / as a physical partition. This allows for maximum flexibility, and is a supported legacy config without an initrd. That's my position :-) and half-hoping all this udev-181 needing /usr stuff will disappear and I can go back ... -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / fe...@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] Another plan for /usr and udev-181
On Sat, Apr 14, 2012 at 09:13:09AM +0200, Dan Johansson wrote: I have done also something like this. I still have /usr in fstab (with the noauto option) just for reference. Good idea, better than commenting it out. The only thing (that I have noticed yet) is that the /etc/init.d/lvm fails due to the fact that LVM is already started (in initramfs). I suppose this is just a harmless error message, instead of getting so confused it makes a mess of things. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / fe...@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] LVM dependencies?
Am 14.04.2012 14:48, schrieb Pandu Poluan: I just want to know, what dependencies LVM rely on? I tried searching, but my Google-fu only managed to return threads about people having some problems with LVM (*not* that LVM is problematic, just some people having some problems and being guided to troubleshoot). Rgds, You mean package dependencies? DEPEND_COMMON=!!sys-fs/device-mapper readline? ( sys-libs/readline ) clvm? ( =sys-cluster/dlm-2* cman? ( =sys-cluster/cman-2* ) ) =sys-fs/udev-151-r4 RDEPEND=${DEPEND_COMMON} !sys-apps/openrc-0.4 !!sys-fs/lvm-user !!sys-fs/clvm =sys-apps/util-linux-2.16 # Upgrading to this LVM will break older cryptsetup RDEPEND=${RDEPEND} !sys-fs/cryptsetup-1.1.2 DEPEND=${DEPEND_COMMON} dev-util/pkgconfig =sys-devel/binutils-2.20.1-r1 Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
Am 14.04.2012 13:52, schrieb Dale: kwk...@hkbn.net wrote: On Sat, 14 Apr 2012 05:32:01 -0500 Dale rdalek1...@gmail.com wrote: Gregory Shearman wrote: In linux.gentoo.user, Dale wrote: I have ran into a issue here. I copied everything over to sdb, my temp drive. When I try to boot it, it still boots from sda which is the primary drive. I can not get it to boot from the copy. I did update the fstab file to point to the new sdb partitions, I use labels for that and they have different names. I also edited grub and told it root was sdb2. When I boot, everything mounted is sda. Did you actually install grub onto your MBR by either: [...] In the past, I never had to install grub to sdb. As long as grub is installed to one drive, I can boot a OS from any drive. [...] So, has something changed that if I want to boot from a second drive I have to install grub to its MBR first? [...] Yes, if you want to boot from another drive, that drive needs to have a usable MBR (or GPT equivalent). [...] Well, I installed grub to the second drives MBR. I even changed the BIOS to see that drive as the main or first drive. It still boots the old drive. I looked in dmesg and saw where it is supposed to point to the tmp drive and it still boots the old drive even tho it is told not to. Let's see, boot a CD, just do a reinstall from scratch and call it a day. This is ridiculous when you can't tell a boot loader to boot the second drive and it actually do it. Heaven forbid if I had two Linux OSs on here. :-) :-) As we are out of rational ideas, have you tried unplugging the old disk? You don't need it for booting at the moment, right? AS SATA is hot-plugin capable, you can re-insert it later. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] LVM dependencies?
On Apr 14, 2012 8:59 PM, Florian Philipp li...@binarywings.net wrote: Am 14.04.2012 14:48, schrieb Pandu Poluan: I just want to know, what dependencies LVM rely on? I tried searching, but my Google-fu only managed to return threads about people having some problems with LVM (*not* that LVM is problematic, just some people having some problems and being guided to troubleshoot). Rgds, You mean package dependencies? DEPEND_COMMON=!!sys-fs/device-mapper readline? ( sys-libs/readline ) clvm? ( =sys-cluster/dlm-2* cman? ( =sys-cluster/cman-2* ) ) =sys-fs/udev-151-r4 RDEPEND=${DEPEND_COMMON} !sys-apps/openrc-0.4 !!sys-fs/lvm-user !!sys-fs/clvm =sys-apps/util-linux-2.16 # Upgrading to this LVM will break older cryptsetup RDEPEND=${RDEPEND} !sys-fs/cryptsetup-1.1.2 DEPEND=${DEPEND_COMMON} dev-util/pkgconfig =sys-devel/binutils-2.20.1-r1 Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Rgds,
Re: [gentoo-user] Re: My printing's not working. Help, please!
On Saturday 14 Apr 2012 14:26:14 Alan Mackenzie wrote: Hello, Walt. On Fri, Apr 13, 2012 at 05:11:43PM -0700, walt wrote: On 04/13/2012 08:39 AM, Alan Mackenzie wrote: Hi, all. My printing's not working. I've got cups-1.4.8-r1 installed. Have you tried deleting the cups printers using the localhost:631 cups server? I've had so many obscure printing problems after updating the cups package, I just routinely delete and recreate the printers before I even try to print something. Usually fixes my printing problems. OK, I tried that (though it turns out it wasn't the problem, see below). I'm glad I wrote down my about-to-be-deleted config first. localhost:631 has got to be the cruddiest GUI configurer around. I think I had to describe my (USB connected) printer as scsi, and then a little later had to enter a NAME, without any indication being given of whose name. Luckily, I have enough experience to guess correctly, 'cause there's no help on these things. How I hate cups! My actual problem was that my printer is on /dev/lp0, generated by mdev. When I switched back to a udev system, the printer's on /dev/usblp0 (which is a symlink to /dev/usb/lp0). There doesn't seem to be anything in any cups config file to specify the device to print to. The nearest thing to a config item is DeviceURI usb://Samsung/ML-1450 in /etc/printers.conf. I think you mean /etc/cups/printers.conf ? I don't know where usb:// is defined - Firefox rejects it straight off. I don't know how this URI is converted to /dev/usblp0, but it seems to be hard coded in effect. So, can I configure usb://Samsung/ML-1450 as /dev/lp0? In your printers.conf try something like: DeviceURI usb:/dev/usb/lp0 or DeviceURI usb:/dev/usblp0 For parallel connection it would be something like: DeviceURI parallel:/dev/lp0 Don't forget to restart cups. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] LVM dependencies?
On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/dmeventd linux-vdso.so.1 = (0x7fffcd3ff000) libdl.so.2 = /lib64/libdl.so.2 (0x7eff17116000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7eff16f1) libpthread.so.0 = /lib64/libpthread.so.0 (0x7eff16cf2000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7eff16ab9000) libc.so.6 = /lib64/libc.so.6 (0x7eff1670d000) /lib64/ld-linux-x86-64.so.2 (0x7eff1731a000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7eff164ff000) librt.so.1 = /lib64/librt.so.1 (0x7eff162f6000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/dmsetup linux-vdso.so.1 = (0x7fff4b9ff000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7fd40c20b000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7fd40bffd000) libc.so.6 = /lib64/libc.so.6 (0x7fd40bc51000) librt.so.1 = /lib64/librt.so.1 (0x7fd40ba48000) /lib64/ld-linux-x86-64.so.2 (0x7fd40c444000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7fd40b82a000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/fsadm not a dynamic executable alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/lvmconf not a dynamic executable alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/lvmdump not a dynamic executable alanm@khamul ~ $ ldd /sbin/lvmetad linux-vdso.so.1 = (0x7fffd2d2d000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7f16f491f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7f16f4701000) libc.so.6 = /lib64/libc.so.6 (0x7f16f4355000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7f16f4147000) /lib64/ld-linux-x86-64.so.2 (0x7f16f4b58000) librt.so.1 = /lib64/librt.so.1 (0x7f16f3f3e000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/vgimportclone not a dynamic executable alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /usr/sbin/lvm2create_initrd not a dynamic executable alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /lib64/device-mapper/libdevmapper-event-lvm2mirror.so linux-vdso.so.1 = (0x7fff2818d000) libdevmapper-event-lvm2.so.2.02 = /lib64/libdevmapper-event-lvm2.so.2.02 (0x7f16b0669000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7f16b042f000) libc.so.6 = /lib64/libc.so.6 (0x7f16b0083000) liblvm2cmd.so.2.02 = /lib64/liblvm2cmd.so.2.02 (0x7f16afd8c000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7f16afb6e000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7f16af95f000) /lib64/ld-linux-x86-64.so.2 (0x7f16b0aac000) libdl.so.2 = /lib64/libdl.so.2 (0x7f16af75b000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7f16af555000) librt.so.1 = /lib64/librt.so.1 (0x7f16af34b000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /lib64/device-mapper/libdevmapper-event-lvm2raid.so linux-vdso.so.1 = (0x7fff559ff000) libdevmapper-event-lvm2.so.2.02 = /lib64/libdevmapper-event-lvm2.so.2.02 (0x7fc7c4c78000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7fc7c4a3e000) libc.so.6 = /lib64/libc.so.6 (0x7fc7c4692000) liblvm2cmd.so.2.02 = /lib64/liblvm2cmd.so.2.02 (0x7fc7c439b000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7fc7c417d000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7fc7c3f6e000) /lib64/ld-linux-x86-64.so.2
[gentoo-user] Re: gtk-engines-2.91.1 couldn't be compiled!
On 04/14/2012 04:29 AM, easior wrote: In file included from ./src/animation.c:31:0: /usr/include/glib-2.0/glib/gtimer.h:28:2: error: #error Only glib.h #can be included #directly. Could version 2.91 need a more recent version of glib? What version of glib is installed, and does the gnome overlay ebuild specify a minimum version of glib?
Re: [gentoo-user] LVM dependencies?
Am 14.04.2012 18:34, schrieb Alan McKinnon: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) [...] As I was slightly bored and thought it might help, I took the liberty to clean that up a bit: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d ' ' -f 2 | sort -u /lib64/libc.so.6 /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2 /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5 /lib64/libpthread.so.0 /lib64/libreadline.so.6 /lib64/librt.so.1 /lib64/libudev.so.0 Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: seamonkey bookmarks file location
On Fri, Apr 13, 2012 at 08:03:53PM -0500, »Q« wrote: On Fri, 13 Apr 2012 20:06:01 + (UTC) James wirel...@tampabay.rr.com wrote: […] What I'm after is manually coping the bookmarks for seamonkey to another (kde)workstation. As pk says, the bookmarks are now stored in an sqlite database, along with browser history. The best way to port them to another machine is to use the bookmarks manager (ctrl+b) to make a backup (within the manager, that's Tools » Backup), then use the restore option in the new SeaMonkey. It's also possible to use export/import instead of backup/restore, but backup/restore creates and uses a json file, whereas export/import creates and uses an html file. Less info is lost with the json file. But note that using restore will overwrite existing bookmarks. There’s nothting wrong in copying places.sqlite itself. That way, you can also backup your entire history. Of course, the file is also a bit bigger because of that. -- Gruß | Greetings | Qapla' Please do not use my email addresses within any Facebook service. GNU jokes are not Unix jokes. pgpUI7Mptyfdg.pgp Description: PGP signature
[gentoo-user] Re: seamonkey bookmarks file location
On Sat, 14 Apr 2012 23:47:51 +0200 Frank Steinmetzger war...@gmx.de wrote: On Fri, Apr 13, 2012 at 08:03:53PM -0500, »Q« wrote: On Fri, 13 Apr 2012 20:06:01 + (UTC) James wirel...@tampabay.rr.com wrote: […] What I'm after is manually coping the bookmarks for seamonkey to another (kde)workstation. As pk says, the bookmarks are now stored in an sqlite database, along with browser history. The best way to port them to another machine is to use the bookmarks manager (ctrl+b) to make a backup (within the manager, that's Tools » Backup), then use the restore option in the new SeaMonkey. It's also possible to use export/import instead of backup/restore, but backup/restore creates and uses a json file, whereas export/import creates and uses an html file. Less info is lost with the json file. But note that using restore will overwrite existing bookmarks. There’s nothting wrong in copying places.sqlite itself. That way, you can also backup your entire history. Of course, the file is also a bit bigger because of that. That's true. There used to be a places.sqlite-journal file as well, which should be deleted from the profile a places.sqlite file is being copied to, but I don't see it any more in either Firefox or SeaMonkey.
[gentoo-user] genkernel, mounting /usr and dmraid
Dear Gentoo Users, I've got the situation where I need to pre-mount /usr. I was already using dmraid and genkernel to make in initramfs so that's not a real big deal. However, I now get the following in the console when booting: - /lib/udev/write_root_link_rule: line 17: udevadm: command not found /etc/init.d/udev: line 74: udevadm: command not found /etc/init.d/udev: line 74: udevadm: command not found * Starting udev ... /lib/udev/udevd: error while loading shared libraries: libkmod.so.2: cannot open shared object file: No such file or directory * start-stop-daemon: failed to start `/lib/udev/udevd' * Failed to start udev [ !! ] * ERROR: udev failed to start -- Yet after it boots up completely the udevd seems to be running fine. I suspect this comes from some init scripts from the initrd. The udev elog also has this: --- │If you build an initramfs including udev, then please │ │make sure that the /usr/bin/udevadm binary gets included, --- Which I guess is the problem. But my question is how to get the udevadm binary included in the initramfs? I can't find any docs anywhere that explain how to do that. -- Keith -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ =
Re: [gentoo-user] genkernel, mounting /usr and dmraid
On Sat, Apr 14, 2012 at 6:20 PM, Keith Dart ke...@dartworks.biz wrote: Dear Gentoo Users, I've got the situation where I need to pre-mount /usr. I was already using dmraid and genkernel to make in initramfs so that's not a real big deal. However, I now get the following in the console when booting: - /lib/udev/write_root_link_rule: line 17: udevadm: command not found /etc/init.d/udev: line 74: udevadm: command not found /etc/init.d/udev: line 74: udevadm: command not found * Starting udev ... /lib/udev/udevd: error while loading shared libraries: libkmod.so.2: cannot open shared object file: No such file or directory * start-stop-daemon: failed to start `/lib/udev/udevd' * Failed to start udev [ !! ] * ERROR: udev failed to start -- Yet after it boots up completely the udevd seems to be running fine. I suspect this comes from some init scripts from the initrd. The udev elog also has this: --- │If you build an initramfs including udev, then please │ │make sure that the /usr/bin/udevadm binary gets included, --- Which I guess is the problem. But my question is how to get the udevadm binary included in the initramfs? I can't find any docs anywhere that explain how to do that. I don't use genkernel, but have you tried dracut? Just add dmraid to MODULES_DRACUT, and try to generate an initramfs with dracut -H. dracut takes care of everything udev related. If it doesn't work, at least is not much effort. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] LVM dependencies?
On Apr 14, 2012 11:40 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): 8 snip Thanks! That's mighty detailed :-) Rgds,
Re: [gentoo-user] LVM dependencies?
On Apr 15, 2012 2:10 AM, Florian Philipp li...@binarywings.net wrote: Am 14.04.2012 18:34, schrieb Alan McKinnon: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) [...] As I was slightly bored and thought it might help, I took the liberty to clean that up a bit: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d ' ' -f 2 | sort -u /lib64/libc.so.6 /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2 /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5 /lib64/libpthread.so.0 /lib64/libreadline.so.6 /lib64/librt.so.1 /lib64/libudev.so.0 Hope this helps, Florian Philipp Kewl! Based on the names, I assume they're the actual files (i.e. symlinks already dereferenced)? Rgds,
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
Florian Philipp wrote: Am 14.04.2012 13:52, schrieb Dale: kwk...@hkbn.net wrote: On Sat, 14 Apr 2012 05:32:01 -0500 Dale rdalek1...@gmail.com wrote: Gregory Shearman wrote: In linux.gentoo.user, Dale wrote: I have ran into a issue here. I copied everything over to sdb, my temp drive. When I try to boot it, it still boots from sda which is the primary drive. I can not get it to boot from the copy. I did update the fstab file to point to the new sdb partitions, I use labels for that and they have different names. I also edited grub and told it root was sdb2. When I boot, everything mounted is sda. Did you actually install grub onto your MBR by either: [...] In the past, I never had to install grub to sdb. As long as grub is installed to one drive, I can boot a OS from any drive. [...] So, has something changed that if I want to boot from a second drive I have to install grub to its MBR first? [...] Yes, if you want to boot from another drive, that drive needs to have a usable MBR (or GPT equivalent). [...] Well, I installed grub to the second drives MBR. I even changed the BIOS to see that drive as the main or first drive. It still boots the old drive. I looked in dmesg and saw where it is supposed to point to the tmp drive and it still boots the old drive even tho it is told not to. Let's see, boot a CD, just do a reinstall from scratch and call it a day. This is ridiculous when you can't tell a boot loader to boot the second drive and it actually do it. Heaven forbid if I had two Linux OSs on here. :-) :-) As we are out of rational ideas, have you tried unplugging the old disk? You don't need it for booting at the moment, right? AS SATA is hot-plugin capable, you can re-insert it later. Regards, Florian Philipp Well, if I unplug it, how am I going to change the partitions and copy the OS back over to it? I have not tested the hot plug thingy yet. Yea, it is supposed to work but . . . I have done this many times before and never took the sides off the computer. Has someone broken grub? 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
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
On Friday 13 April 2012 15:51:07 Dale wrote: Here is grub: title=Initramfs-new_drive root (hd0,0) kernel /bzImage-3.3.1-1 root=/dev/sdb2 init=/sbin/init nox initrd /initramfs-3.3.1-1-tmp.img Your init= parameter points to (hd0,0)/sbin/init because of your root (hd0,0) line. I think that's what you need to fix. It should say init=(hd1,0)/sbin/init if I've read this thread aright. Is this the init thingy mounting sda stuff and then Gentoo carries on from there? If so, how do I tell the init thingy to point to sdb stuff? By specifying initrd (hd1,0)/initramfs-3.3.1-1-tmp.img I hope I've got this right - it's late at night here. -- Rgds Peter
[gentoo-user] /usr/local/bin/python???
Hi, I installed app-portage/gentoolkit-0.3.0.5. After installing it says: * Another alternative to equery is app-portage/portage-utils * * glsa-check since gentoolkit 0.3 has modified some output, * options and default behavior. The list of injected GLSAs * has moved to /var/lib/portage/glsa_injected, please * run 'glsa-check -p affected' before copying the existing checkfile. Running glsa-check -p affected produces: solfire:/rootglsa-check -p affected zsh: /usr/bin/glsa-check: bad interpreter: /usr/local/bin/python: no such file or directory [1]28461 exit 127 glsa-check -p affected to figure out the package, glsa-check is part of: solfire:/rootemerge -vp /usr/bin/glsa-check These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] app-portage/gentoolkit-0.3.0.5 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Why do I need an installation of Python for this under /usr/locl/ ? Best regards, mcc PS: Other tools of gentoolkit are also effected...
Re: [gentoo-user] /usr/local/bin/python???
On Apr 15, 2012 9:50 AM, meino.cra...@gmx.de wrote: Hi, I installed app-portage/gentoolkit-0.3.0.5. After installing it says: * Another alternative to equery is app-portage/portage-utils * * glsa-check since gentoolkit 0.3 has modified some output, * options and default behavior. The list of injected GLSAs * has moved to /var/lib/portage/glsa_injected, please * run 'glsa-check -p affected' before copying the existing checkfile. Running glsa-check -p affected produces: solfire:/rootglsa-check -p affected zsh: /usr/bin/glsa-check: bad interpreter: /usr/local/bin/python: no such file or directory [1]28461 exit 127 glsa-check -p affected to figure out the package, glsa-check is part of: solfire:/rootemerge -vp /usr/bin/glsa-check These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] app-portage/gentoolkit-0.3.0.5 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Why do I need an installation of Python for this under /usr/locl/ ? Best regards, mcc PS: Other tools of gentoolkit are also effected... eselect python list ? Rgds,
Re: [gentoo-user] /usr/local/bin/python???
Pandu Poluan pa...@poluan.info [12-04-15 05:28]: On Apr 15, 2012 9:50 AM, meino.cra...@gmx.de wrote: Hi, I installed app-portage/gentoolkit-0.3.0.5. After installing it says: * Another alternative to equery is app-portage/portage-utils * * glsa-check since gentoolkit 0.3 has modified some output, * options and default behavior. The list of injected GLSAs * has moved to /var/lib/portage/glsa_injected, please * run 'glsa-check -p affected' before copying the existing checkfile. Running glsa-check -p affected produces: solfire:/rootglsa-check -p affected zsh: /usr/bin/glsa-check: bad interpreter: /usr/local/bin/python: no such file or directory [1]28461 exit 127 glsa-check -p affected to figure out the package, glsa-check is part of: solfire:/rootemerge -vp /usr/bin/glsa-check These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] app-portage/gentoolkit-0.3.0.5 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Why do I need an installation of Python for this under /usr/locl/ ? Best regards, mcc PS: Other tools of gentoolkit are also effected... eselect python list ? Rgds, Available Python interpreters: [1] python2.7 * [2] python3.2 Rgds,
Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
Peter Humphrey wrote: On Friday 13 April 2012 15:51:07 Dale wrote: Here is grub: title=Initramfs-new_drive root (hd0,0) kernel /bzImage-3.3.1-1 root=/dev/sdb2 init=/sbin/init nox initrd /initramfs-3.3.1-1-tmp.img Your init= parameter points to (hd0,0)/sbin/init because of your root (hd0,0) line. I think that's what you need to fix. It should say init=(hd1,0)/sbin/init if I've read this thread aright. I have changed the root line to hd1,0 and it still boots sda. Other settings result in a failure. It doesn't even try to boot. Is this the init thingy mounting sda stuff and then Gentoo carries on from there? If so, how do I tell the init thingy to point to sdb stuff? By specifying initrd (hd1,0)/initramfs-3.3.1-1-tmp.img I hope I've got this right - it's late at night here. But the kernel I want to use is on sda1. The OS is on sdb tho. I'm going to do this another way. I'm going to boot a stick thingy and just copy it that way. It takes longer but at least it works. Someone has borked grub tho. This worked just a few years ago. All I changed back then was the root=/dev/sd** to whatever you want to boot. Now it acts like it is hard coded to never change once booted. I just hope the thing boots after I change things around. May backup my packages first. ;-) 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