Re: [gentoo-user] media-video/mkvtoolnix-7.3.0 fails to configure it seems
On Jul 16, 2015, at 1:15 PM, Dale rdalek1...@gmail.com wrote: Anyone else running into this? No. checking if linking against libMatroska works and if it requires -DMATROSKA_DLL... yes, without -MATROSKA_DLL checking for ZLIB... yes checking for wx-config... /usr/lib64/wx/config/gtk2-unicode-3.0 checking for wxWidgets 2.8.0 or newer... 3.0.2 ok checking for wxWidgets class wxBitmapComboBox... yes checking for wxMenuBar member function SetMenuLabel... yes checking for wxMenuItem member function SetItemlabel... yes checking for moc-qt5... no checking for moc... /usr/bin/moc checking for the Qt version /usr/bin/moc uses... too old: 4.8.7 !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0/config.log * ERROR: media-video/mkvtoolnix-7.3.0::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3004: Called econf '--disable-debug' '--enable-qt' '--enable-wxwidgets' '--disable-precompiled-headers' '--with-wx-config=/usr/lib64/wx/config/gtk2-unicode-3.0' '--disable-optimization' '--docdir=/usr/share/doc/mkvtoolnix-7.3.0' '--with-boost=/usr' '--with-boost-libdir=/usr/lib64' '--without-curl' *phase-helpers.sh, line 662: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die $@ * * If you need support, post the output of `emerge --info '=media-video/mkvtoolnix-7.3.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/mkvtoolnix-7.3.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/temp/environment'. * Working directory: '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0' * S: '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0' root@fireball / # It appears that qtchooser is to old but the one I have is the only one in the tree. root@fireball / # equery list -p dev-qt/qtchooser * Searching for qtchooser in dev-qt ... [IP-] [ ] dev-qt/qtchooser-0_p20150102:0 root@fireball / # How can it be to old if it is the only one available? If it is checking for qt in general, this is what I have installed. root@fireball / # equery list qt* * Searching for qt* ... [IP-] [ ] dev-qt/qt3support-4.8.7:4 [IP-] [ ] dev-qt/qtchooser-0_p20150102:0 [IP-] [ ] dev-qt/qtcore-4.8.7:4 [IP-] [ ] dev-qt/qtcore-5.4.2:5 [IP-] [ ] dev-qt/qtdbus-4.8.7:4 [IP-] [ ] dev-qt/qtdbus-5.4.2:5 [IP-] [ ] dev-qt/qtdeclarative-4.8.7:4 [IP-] [ ] dev-qt/qtgui-4.8.7:4 [IP-] [ ] dev-qt/qtgui-5.4.2-r1:5 [IP-] [ ] dev-qt/qtmultimedia-4.8.7:4 [IP-] [ ] dev-qt/qtopengl-4.8.7:4 [IP-] [ ] dev-qt/qtscript-4.8.7:4 [IP-] [ ] dev-qt/qtsql-4.8.7:4 [IP-] [ ] dev-qt/qtsvg-4.8.7:4 [IP-] [ ] dev-qt/qttest-4.8.7:4 [IP-] [ ] dev-qt/qttranslations-4.8.7:4 [IP-] [ ] dev-qt/qtwebkit-4.8.7:4 [IP-] [ ] dev-qt/qtwidgets-5.4.2:5 [IP-] [ ] dev-qt/qtxmlpatterns-4.8.7:4 [IP-] [ ] media-libs/qt-gstreamer-1.2.0:0 [IP-] [ ] x11-libs/qtscriptgenerator-0.2.0:0 root@fireball / # There is some qt5 pulled in by something. So maybe it needs to notice I have a newer version installed?? Any way past this problem or just mask and wait for another update? I've had this error for about a week now. I thought maybe I just caught a bad sync or something. Found nothing with google or on the forums either. It's picking on ME, again. lol Thanks. Dale :-) :-) It’s not picking up that you have Qt 5. I have not done a whole lot of work with Qt, but they install all their binaries into /usr/lib/qt$ver/bin (at least for Qt4), and everything in /usr/bin is just a symlink to qtchooser, which then launches the correct tool and version and stuff. This looks like an upstream bug, since they should test for “moc -qt=5”, not just “moc” and/or use qtchooser to determine the available version(s) of Qt (or whatever Qt’s recommended way is). The easiest way to deal this this right now as far as I can tell would be to disable the Qt gui and go with the wxWidgets gui. You could also build it manually. Alec
Re: [gentoo-user] Don't disable 'introspection'
On Thu, Jul 16, 2015 at 3:53 PM, walt w41...@gmail.com wrote: I don't understand 'introspection' enough to know why we need it, but apparently we do, so don't use the -introspection useflag like I did. The trouble I introduced a few weeks ago when I disabled introspection was subtle enough that I didn't realize until yesterday that I even had a problem. Portage had been doing mildly insane things that other people were not seeing, so as a test I removed the -introspection useflag and spent the entire day rebuilding packages. My portage problem appears to be fixed. I hope. If anyone can splain what introspection does I'd be grateful. Alan did a fine job explaining what introspection is in general. In Gentoo, the introspection flag is only used by GObject based libraries; all the languages that natively supports introspection does it inconditionally, and (as far as I am aware) GObject is the only C object oriented library that provides introspection. Some years ago, you could get away without activating it, but nowadays is for all practical purposes mandatory. At least this is the case for GNOME 3; but I would not be surprised if it's also the case for basically any GObject based software; that covers all GTK+ 2 and 3 applications. The instrospection infrastructure is not only used (as Alan mentioned) to look inside a compiled class; it's also part of the automatic binding generation for other programming languages used by all GObject libraries (or at lest that's what I understand, please correct me if I'm wrong). Therefore, if you use Inkscape, for example, you'll need introspection since Inkscape is wrote in C++ using the gtk-- bindings. In general, I would recommend not to set USE=-* (an opinion shared by basically all Gentoo devs and most rational people), and let the default use flags to do their magic. But everyone is free to break their systems as they please. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: booting from a usb flash drive
On Thursday 16 July 2015 17:39:16 gottl...@nyu.edu wrote: I will be trying system rescue CD. Half-way through this new thread of 50 messages I've been waiting for someone to recommend system rescue CD. Glad you thought of it yourself ;-) Somewhere on the Web are some instructions on writing sysrescd to USB drive and creating a partition to hold things like profile.d and the bash history. I don't know where I saw it but it's invaluable. -- Rgds Peter
Re: [gentoo-user] Re: booting from a usb flash drive
On Friday 17 July 2015 00:50:59 I wrote: Half-way through this new thread of 50 messages I've been waiting for someone to recommend system rescue CD. Actually it was only about 30 messages. Still, the same applies. -- Rgds Peter
[gentoo-user] grub-2 update
Hello:: Background:: I have had many challenges with grub 2, in the past (as have many). Current:: Grub-2.02_beta2-r3 wants to upgrade to grub-2.02_beta2-r7 It appears to be marked stable. So if I do this, what will I have to do to keep the system booting. No interamfs just a big partition with everything but /boot and /usr/local. /dev/sda3 746G 96G 612G 14% / devtmpfs 10M 0 10M 0% /dev tmpfs 3.2G 1020K 3.2G 1% /run shm 16G 12K 16G 1% /dev/shm cgroup_root 10M 0 10M 0% /sys/fs/cgroup /dev/sda1 194M 45M 139M 25% /boot /dev/sda4 962G 121G 792G 14% /usr/local So the upgrade will be trivial or are there caveats. I do not have a good record with grub-2 . James
Re: [gentoo-user] Re: booting from a usb flash drive
On 16 July 2015 at 23:39, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-07-16, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Has that changed recently? I tought the minimal ISO was already hybrid and would boot directly from a USB drive. I would have sworn I did nothing other than dd it to a USB drive the last time I did an install. So do I, it worked perfectly, I was very impressed. Yes, that is what I thought I read here (and know I read it on the wiki). But it failed for me (this is my first time with flash; previously I used a CD-R) and apparently also for McKinnon. Perhaps there is a basic minimal-iso/flash/al+an incompatibility. :-) The only thing I can think of is that bootloader recognize the device via BIOS and Linux (install-cd configuration) does not as it is special device. Try to exit to shell and see if you have /dev/sd*. Read dmesg and see if storage is recognized. Alon
[gentoo-user] media-video/mkvtoolnix-7.3.0 fails to configure it seems
Anyone else running into this? checking if linking against libMatroska works and if it requires -DMATROSKA_DLL... yes, without -MATROSKA_DLL checking for ZLIB... yes checking for wx-config... /usr/lib64/wx/config/gtk2-unicode-3.0 checking for wxWidgets 2.8.0 or newer... 3.0.2 ok checking for wxWidgets class wxBitmapComboBox... yes checking for wxMenuBar member function SetMenuLabel... yes checking for wxMenuItem member function SetItemlabel... yes checking for moc-qt5... no checking for moc... /usr/bin/moc checking for the Qt version /usr/bin/moc uses... too old: 4.8.7 !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0/config.log * ERROR: media-video/mkvtoolnix-7.3.0::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3004: Called econf '--disable-debug' '--enable-qt' '--enable-wxwidgets' '--disable-precompiled-headers' '--with-wx-config=/usr/lib64/wx/config/gtk2-unicode-3.0' '--disable-optimization' '--docdir=/usr/share/doc/mkvtoolnix-7.3.0' '--with-boost=/usr' '--with-boost-libdir=/usr/lib64' '--without-curl' *phase-helpers.sh, line 662: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die $@ * * If you need support, post the output of `emerge --info '=media-video/mkvtoolnix-7.3.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/mkvtoolnix-7.3.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/temp/environment'. * Working directory: '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0' * S: '/var/tmp/portage/media-video/mkvtoolnix-7.3.0/work/mkvtoolnix-7.3.0' root@fireball / # It appears that qtchooser is to old but the one I have is the only one in the tree. root@fireball / # equery list -p dev-qt/qtchooser * Searching for qtchooser in dev-qt ... [IP-] [ ] dev-qt/qtchooser-0_p20150102:0 root@fireball / # How can it be to old if it is the only one available? If it is checking for qt in general, this is what I have installed. root@fireball / # equery list qt* * Searching for qt* ... [IP-] [ ] dev-qt/qt3support-4.8.7:4 [IP-] [ ] dev-qt/qtchooser-0_p20150102:0 [IP-] [ ] dev-qt/qtcore-4.8.7:4 [IP-] [ ] dev-qt/qtcore-5.4.2:5 [IP-] [ ] dev-qt/qtdbus-4.8.7:4 [IP-] [ ] dev-qt/qtdbus-5.4.2:5 [IP-] [ ] dev-qt/qtdeclarative-4.8.7:4 [IP-] [ ] dev-qt/qtgui-4.8.7:4 [IP-] [ ] dev-qt/qtgui-5.4.2-r1:5 [IP-] [ ] dev-qt/qtmultimedia-4.8.7:4 [IP-] [ ] dev-qt/qtopengl-4.8.7:4 [IP-] [ ] dev-qt/qtscript-4.8.7:4 [IP-] [ ] dev-qt/qtsql-4.8.7:4 [IP-] [ ] dev-qt/qtsvg-4.8.7:4 [IP-] [ ] dev-qt/qttest-4.8.7:4 [IP-] [ ] dev-qt/qttranslations-4.8.7:4 [IP-] [ ] dev-qt/qtwebkit-4.8.7:4 [IP-] [ ] dev-qt/qtwidgets-5.4.2:5 [IP-] [ ] dev-qt/qtxmlpatterns-4.8.7:4 [IP-] [ ] media-libs/qt-gstreamer-1.2.0:0 [IP-] [ ] x11-libs/qtscriptgenerator-0.2.0:0 root@fireball / # There is some qt5 pulled in by something. So maybe it needs to notice I have a newer version installed?? Any way past this problem or just mask and wait for another update? I've had this error for about a week now. I thought maybe I just caught a bad sync or something. Found nothing with google or on the forums either. It's picking on ME, again. lol Thanks. Dale :-) :-)
[gentoo-user] booting from a usb flash drive
I believe I correctly dd'ed a minimal cd onto a usb flash (aka thumb) drive. I set the boot order on my new system (dell 7450) to have the usb storage device first. Sure enough I get the isolinux prompt and the kernel is loaded. However after asking for the keymap (I just hit enter) it types looking for the cdrom. There is no cdrom. It then tries to mount media /dev/sda[123] (which are dell and windows partitions). When this fails it announces no bootable medium found I tried adding the doscsi option, no change. What did I do wrong? thanks in advance, allan PS I did buy an external usb cdrom player and can dd the minimal cd to a blank media. However, I thought that I can install linux from a usb stick without a CD at all.
Re: [gentoo-user] grub-2 update
On Jul 16, 2015, at 3:46 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On 16/07/2015 21:34, James wrote: Hello:: Background:: I have had many challenges with grub 2, in the past (as have many). Current:: Grub-2.02_beta2-r3 wants to upgrade to grub-2.02_beta2-r7 It appears to be marked stable. The don't use it, grub:0 still works just fine :-) It looks like he’s going from grub-2.02 to grub-2.02. I don’t think any action is necessary. I gave grub-2 a try earlier this week and once again couldn;t figure out how to install that mini-OS that bootstraps a boot loader which bootstraps a boot loader which loads code that loads a kernel. So back to grub:0 for me -- Alan McKinnon alan.mckin...@gmail.com mailto:alan.mckin...@gmail.com How complicated is your partitioning? I have always used a single partition for all of my personal machines, and it’s always been a simple process. grub-install --recheck /dev/sda grub-mkconfig -o /boot/grub/grub.cfg I know that for servers it’s common to have a bunch of partitions to prevent a rogue process from filling up the entire disk and tanking the entire system, but I can’t imagine it’s that much more complex. Alec
Re: [gentoo-user] booting from a usb flash drive
On 07/16/2015 01:17 PM, gottl...@nyu.edu wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Is the partition table valid after you used dd to copy it over? If it isn't, try mounting the livecd. You might find a boot.img or something. This will vary though depending on the ISO you find. I ran into this with Crucial's boot disk for flashing (isolinux). I did dd bs=4M if=blah.iso of=/dev/sd? mount /dev/sd? /mnt/gentoo cp /mnt/gentoo/boot/boot.img ~/ umount /mnt/gentoo dd bs=4m if=~/boot.img of=/dev/sd? You'll have to update the device file accordingly. After I wrote the boot.img found within the ISO I was using, I was able to boot from the USB. Your mileage may vary. Sometimes dd works, sometimes it needs extra steps. Dan
Re: [gentoo-user] booting from a usb flash drive
On 16/07/2015 22:17, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alec Ten Harmsel wrote: On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. I highly recommend using the ArchLinux ISO, which can be burned to a flash drive with dd. It doesn’t have the gentoo-specific tools, but that’s really the only problem. UNetBootin has always been hit or miss for me. Alec Thank you both. Let's see if Alan is right and Neil offers a magic dd recipe. When this is over I will update the wiki or at least add a comment for the authors to consider. This was my first time using a flash drive. I presume that burning a CD-R from the still works. Right? It still worked last year :-) I need to double check memory of ancient hardware: A CD-R, that's that thin round shiny thing about 5 across? What used to be used for music before Napster came along? Just checking I have it right -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] Don't disable 'introspection'
I don't understand 'introspection' enough to know why we need it, but apparently we do, so don't use the -introspection useflag like I did. The trouble I introduced a few weeks ago when I disabled introspection was subtle enough that I didn't realize until yesterday that I even had a problem. Portage had been doing mildly insane things that other people were not seeing, so as a test I removed the -introspection useflag and spent the entire day rebuilding packages. My portage problem appears to be fixed. I hope. If anyone can splain what introspection does I'd be grateful.
[gentoo-user] Re: grub-2 update
Alan McKinnon alan.mckinnon at gmail.com writes: The don't use it, grub:0 still works just fine It's all working fine (atm). But changes are problematic, or at least they have been in the past I gave grub-2 a try earlier this week and once again couldn;t figure out how to install that mini-OS that bootstraps a boot loader which bootstraps a boot loader which loads code that loads a kernel. So back to grub:0 for me I do not really want to go to back to grub-legacy. I do not what to be bound to (u)efi booting either. You could just lie to me and make us both happy? Most safe (least hassle):: I guess I should just mask it and stay on:: sys-boot/grub- 2.02_beta2-r3 It's been fine even with multiple kernel updates... James
Re: [gentoo-user] booting from a usb flash drive
On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. I highly recommend using the ArchLinux ISO, which can be burned to a flash drive with dd. It doesn’t have the gentoo-specific tools, but that’s really the only problem. UNetBootin has always been hit or miss for me. Alec
Re: [gentoo-user] booting from a usb flash drive
2015-07-16 14:17 GMT-06:00 gottl...@nyu.edu: On Thu, Jul 16 2015, Alec Ten Harmsel wrote: On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. I highly recommend using the ArchLinux ISO, which can be burned to a flash drive with dd. It doesn’t have the gentoo-specific tools, but that’s really the only problem. UNetBootin has always been hit or miss for me. Alec Thank you both. Let's see if Alan is right and Neil offers a magic dd recipe. When this is over I will update the wiki or at least add a comment for the authors to consider. Why do you want to use the gentoo minimal CD? if your laptop has EFI I don't think you will be able to configure it properly. (I'm not aware if the minimal cd has an EFI boot partition, but by the way you describe your boot it seemes it doesn't, is this right? you can check the iso with fdisk -l ) Either way I still don't know why the manual keeps recomending using a minimal installation cd for amd64 platforms, especially desktop types. I recommend you to boot somthing that has X, a browser and Networkmanager, I see no point the unnecessary pain of installing gentoo with a console only CD on such newer hardware. It's just complicating your life because you want to.
Re: [gentoo-user] booting from a usb flash drive
On Thu, 16 Jul 2015 21:44:49 +0200, Alan McKinnon wrote: Or you could wait for the resident expert (Neil) to supply the magic incantation that lets dd do what you want :-) It's simple, use System Rescue Cd ;-) -- Neil Bothwick B?#$^f, said Pooh, as line noise garbled his transmission. pgpVl2TTOpVNS.pgp Description: OpenPGP digital signature
[gentoo-user] Re: booting from a usb flash drive
On 2015-07-16, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Has that changed recently? I tought the minimal ISO was already hybrid and would boot directly from a USB drive. I would have sworn I did nothing other than dd it to a USB drive the last time I did an install. This wiki page seems to agree: https://wiki.gentoo.org/wiki/Sakaki%27s_EFI_Install_Guide/Creating_and_Booting_the_Minimal-Install_Image_on_USB#Copying_the_ISO_Image_to_USB Or you could wait for the resident expert (Neil) to supply the magic incantation that lets dd do what you want :-) -- Grant Edwards grant.b.edwardsYow! I want my nose in at lights! gmail.com
Re: [gentoo-user] booting from a usb flash drive
On Thu, 16 Jul 2015 22:53:01 +0200, Alan McKinnon wrote: I need to double check memory of ancient hardware: A CD-R, that's that thin round shiny thing about 5 across? What used to be used for music before Napster came along? Just checking I have it right That's right, it's like a Blu-Ray disc with lower capacity and no need to sell you soul to the MPAA and their rootkits. -- Neil Bothwick Capt'n! The spellchecker kinna take this abuse! pgp3wlbJnwBp5.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Don't disable 'introspection'
Am Thu, 16 Jul 2015 13:53:12 -0700 schrieb walt w41...@gmail.com: I don't understand 'introspection' enough to know why we need it, but apparently we do, so don't use the -introspection useflag like I did. The trouble I introduced a few weeks ago when I disabled introspection was subtle enough that I didn't realize until yesterday that I even had a problem. Portage had been doing mildly insane things that other people were not seeing, so as a test I removed the -introspection useflag and spent the entire day rebuilding packages. My portage problem appears to be fixed. I hope. If anyone can splain what introspection does I'd be grateful. This should help: https://en.wikipedia.org/wiki/Type_introspection. In this case I believe it's related to the gobject type system that comes from glib. HTH -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup pgpkSyHPEiwDu.pgp Description: Digitale Signatur von OpenPGP
Re: [gentoo-user] booting from a usb flash drive
On 16/07/2015 18:40, gottl...@nyu.edu wrote: I believe I correctly dd'ed a minimal cd onto a usb flash (aka thumb) drive. I set the boot order on my new system (dell 7450) to have the usb storage device first. Sure enough I get the isolinux prompt and the kernel is loaded. However after asking for the keymap (I just hit enter) it types looking for the cdrom. There is no cdrom. It then tries to mount media /dev/sda[123] (which are dell and windows partitions). When this fails it announces no bootable medium found I tried adding the doscsi option, no change. What did I do wrong? thanks in advance, allan PS I did buy an external usb cdrom player and can dd the minimal cd to a blank media. However, I thought that I can install linux from a usb stick without a CD at all. The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Or you could wait for the resident expert (Neil) to supply the magic incantation that lets dd do what you want :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] grub-2 update
On 16/07/2015 21:34, James wrote: Hello:: Background:: I have had many challenges with grub 2, in the past (as have many). Current:: Grub-2.02_beta2-r3 wants to upgrade to grub-2.02_beta2-r7 It appears to be marked stable. So if I do this, what will I have to do to keep the system booting. No interamfs just a big partition with everything but /boot and /usr/local. /dev/sda3 746G 96G 612G 14% / devtmpfs 10M 0 10M 0% /dev tmpfs 3.2G 1020K 3.2G 1% /run shm 16G 12K 16G 1% /dev/shm cgroup_root 10M 0 10M 0% /sys/fs/cgroup /dev/sda1 194M 45M 139M 25% /boot /dev/sda4 962G 121G 792G 14% /usr/local So the upgrade will be trivial or are there caveats. I do not have a good record with grub-2 . The don't use it, grub:0 still works just fine :-) I gave grub-2 a try earlier this week and once again couldn;t figure out how to install that mini-OS that bootstraps a boot loader which bootstraps a boot loader which loads code that loads a kernel. So back to grub:0 for me -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] Re: grub-2 update
Alec Ten Harmsel alec at alectenharmsel.com writes: Grub-2.02_beta2-r3 wants to upgrade to grub-2.02_beta2-r7 It looks like he’s going from grub-2.02 to grub-2.02. I don’t think any action is necessary. Notice r3-- r7 Grub 2 can be a bear in sheep's clothing I know that for servers it’s common to have a bunch of partitions to prevent a rogue process from filling up the entire disk and tanking the entire system, but I can’t imagine it’s that much more complex. I spent days during early kernel upgrades getting grub2 happy. The last (2) kernel updates when smooth. I was also curious if anyone else has upgraded to grub- 2.02_beta2-r7 ? James
Re: [gentoo-user] booting from a usb flash drive
On Thu, Jul 16 2015, Alec Ten Harmsel wrote: On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. I highly recommend using the ArchLinux ISO, which can be burned to a flash drive with dd. It doesn’t have the gentoo-specific tools, but that’s really the only problem. UNetBootin has always been hit or miss for me. Alec Thank you both. Let's see if Alan is right and Neil offers a magic dd recipe. When this is over I will update the wiki or at least add a comment for the authors to consider. This was my first time using a flash drive. I presume that burning a CD-R from the still works. Right? allan
Re: [gentoo-user] Re: booting from a usb flash drive
On 16 July 2015 at 23:28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-07-16, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Has that changed recently? I tought the minimal ISO was already hybrid and would boot directly from a USB drive. I would have sworn I did nothing other than dd it to a USB drive the last time I did an install. So do I, it worked perfectly, I was very impressed.
Re: [gentoo-user] Re: grub-2 update
Solution that works for me: - Compile the kernel with everything built-in leaving modules for the few things that really need to be reloadable. Turn everything in the bloody thing off. This avoids the need for a kernel-specific filestem in the initrd. - This since you don't need any modules in the initrd a simple, static solution with busybox and init something like: #!/bin/busybox sh /bin/busybox --install -s; sync; mount -t proc none /proc; mount -t sysfs none /sys; /sbin/mdadm --verbose --assemble --scan; /sbin/vgscan--verbose; /sbin/vgchange --verbose -a y /dev/vg00/root; mount /dev/vg00/root /mnt/root; mount; exec /sbin/switch_root /mnt/root /sbin/init; Add whatever you need for encryped filesytems, but it won't have to change over time unless you change the boot requirements. Add a copy of busybox, switch_root, init, a static copy of lvm into something like /boot/standard-init.cpio.gz. Mine is in /usr/src/initrd with two sub's standard and rescue differing only in the init script. A second initrd the last line commented out as /boot/rescue-init.cpio.gz for cases where switch_root gets unhappy. #!/bin/bash --login cd $(dirname $0); for i in */init; do dir=$(dirname $i); name=$(basename $dir); ( cd $dir; kleenfilz; find . | cpio -o -Hnewc | gzip -9v /boot/$name.cpio.gz) done wait; ls -lt /boot; exit 0; builds and installs the initrd's easily enough (kleenfilz is a shell sub that removes editor cruft, no reason to leave *~ files :-). - Add /etc/grub.d/09_custom (i.e., into the config *before* the junk that 10 adds in) like the one below. Note that this uses the symlink /boot/vmlinuz with the static init. The current portion comes from a second vmlinuz.stable symlink I curate manually to the last kernel that lived for a while and never, ever caused problems [not that I've ever botched a config siwtch. no, really...]. The standard link and fixed init-script allow a static copy of the grub config file with /boot/vmlinuz and /boot/standard.cpio.gz hardwired. #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry 'current standard' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e18157fe-1330-4cbb-8374-125d9c26e360' { load_video if [ x$grub_platform = xefi ]; then set gfxpayload=keep fi insmod gzio insmod part_msdos insmod xfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e18157fe-1330-4cbb-8374-125d9c26e360 else search --no-floppy --fs-uuid --set=root e18157fe-1330-4cbb-8374-125d9c26e360 fi echo'Loading Linux ...' linux /boot/vmlinuz root=/dev/sdc1 ro echo'Loading initrd ...' initrd /boot/standard.cpio.gz } menuentry 'current rescue' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e18157fe-1330-4cbb-8374-125d9c26e360' { load_video if [ x$grub_platform = xefi ]; then set gfxpayload=keep fi insmod gzio insmod part_msdos insmod xfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e18157fe-1330-4cbb-8374-125d9c26e360 else search --no-floppy --fs-uuid --set=root e18157fe-1330-4cbb-8374-125d9c26e360 fi echo'Loading Linux ...' linux /boot/vmlinuz root=/dev/sdc1 ro echo'Loading initrd ...' initrd /boot/rescue.cpio.gz } - Run grub2-mkconfig once. - Never touch the grub.cfg file ever again (unless you switch the boot filesystem type). If I went from XFS - btrfs for the root filesystem I'd have to hack the insmod xfs entries, nothing more. -- Steven Lembark 3646 Flora Pl Workhorse Computing St Louis, MO 63110 lemb...@wrkhors.com +1 888 359 3508
Re: [gentoo-user] Re: booting from a usb flash drive
On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:39, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-07-16, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Has that changed recently? I tought the minimal ISO was already hybrid and would boot directly from a USB drive. I would have sworn I did nothing other than dd it to a USB drive the last time I did an install. So do I, it worked perfectly, I was very impressed. Yes, that is what I thought I read here (and know I read it on the wiki). But it failed for me (this is my first time with flash; previously I used a CD-R) and apparently also for McKinnon. Perhaps there is a basic minimal-iso/flash/al+an incompatibility. :-) The only thing I can think of is that bootloader recognize the device via BIOS and Linux (install-cd configuration) does not as it is special device. Try to exit to shell and see if you have /dev/sd*. I did that. only sda and sda[123], the hard drive Read dmesg and see if storage is recognized. dmesg | grep storage usbcore: registered new interface driver usb-storage allan
Re: [gentoo-user] Don't disable 'introspection'
On 16/07/2015 22:53, walt wrote: I don't understand 'introspection' enough to know why we need it, but apparently we do, so don't use the -introspection useflag like I did. The trouble I introduced a few weeks ago when I disabled introspection was subtle enough that I didn't realize until yesterday that I even had a problem. Portage had been doing mildly insane things that other people were not seeing, so as a test I removed the -introspection useflag and spent the entire day rebuilding packages. My portage problem appears to be fixed. I hope. If anyone can splain what introspection does I'd be grateful. It's a tricky concept if you haven't worked with Object Oriented Programming, so lt's look at the USE description: introspection - Add support for GObject based introspection Doesn't say much, right? Object Oriented languages tend to compile to byte-code, just like Java does, and so does Python. It's so the run-time interpreter can look up at run-time which function exactly needs to be run (this can't be determined statically). A really neat trick is to look inside objects not just to see what it has, but also how the innards work, what properties an object has, and other neat stuff. That's what introspect means - to look inside. This magic is what makes dynamic IDEs possible, where they prompt you for all manner of stuff while typing code, and even generate boiler-plate code that it hasn't been hard-coded to deal with. All sounds very fancy and theoretical. I know what introspection does, but I can't know if I need this type of it or not. Apparently (because stuff breaks horribly when it's off), packages that use GObject seem to rely on this feature. Therefore, switch it on and let portage get on with it. That's the best answer I can come up with. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] booting from a usb flash drive
On 16/07/2015 23:08, Neil Bothwick wrote: On Thu, 16 Jul 2015 22:53:01 +0200, Alan McKinnon wrote: I need to double check memory of ancient hardware: A CD-R, that's that thin round shiny thing about 5 across? What used to be used for music before Napster came along? Just checking I have it right That's right, it's like a Blu-Ray disc with lower capacity and no need to sell you soul to the MPAA and their rootkits. Silly me. I always thought they made fine coasters. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: grub-2 update
Am 16.07.2015 um 22:05 schrieb James: I spent days during early kernel upgrades getting grub2 happy. You only need to run `grub2-mkconfig -o /boot/grub/grub.cfg` after each kernel update. I'm using grub2 not for such a long time, but I made some kernel upgrades since I switched from grub-legacy to grub2 and had no problems so far. The last (2) kernel updates when smooth. I was also curious if anyone else has upgraded to grub- 2.02_beta2-r7 ? I don't know when or if it was updated after I switched to grub2, but I have grub 2.02_beta2-r7 installed and had no problems with it either. But what can happen at worst when you update a boot loader? That your boot loader fails to boot. So you can still boot from a LiveCD and select the option Boot from harddrive. Then you can easily fix the boot loader.
Re: [gentoo-user] grub-2 update
On 16-Jul-15 21:34, James wrote: Grub-2.02_beta2-r3 wants to upgrade to grub-2.02_beta2-r7 It appears to be marked stable. So if I do this, what will I have to do to keep the system booting. No interamfs just a big partition with everything but /boot and /usr/local. /dev/sda3 746G 96G 612G 14% / devtmpfs 10M 0 10M 0% /dev tmpfs 3.2G 1020K 3.2G 1% /run shm 16G 12K 16G 1% /dev/shm cgroup_root 10M 0 10M 0% /sys/fs/cgroup /dev/sda1 194M 45M 139M 25% /boot /dev/sda4 962G 121G 792G 14% /usr/local So the upgrade will be trivial or are there caveats. I do not have a good record with grub-2 . I have similar setup as you and upgraded grub without any problem. If beta2-r3 worked for you, beta2-r7 will as well. If you did not disable /boot automount, there are no special steps needed. Portage will mount /boot, update grub, and dismound afterwards... Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] Re: booting from a usb flash drive
On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-07-16, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Has that changed recently? I tought the minimal ISO was already hybrid and would boot directly from a USB drive. I would have sworn I did nothing other than dd it to a USB drive the last time I did an install. So do I, it worked perfectly, I was very impressed. Yes, that is what I thought I read here (and know I read it on the wiki). But it failed for me (this is my first time with flash; previously I used a CD-R) and apparently also for McKinnon. Perhaps there is a basic minimal-iso/flash/al+an incompatibility. :-) allan
Re: [gentoo-user] booting from a usb flash drive
On Thu, Jul 16 2015, Jc García wrote: 2015-07-16 14:17 GMT-06:00 gottl...@nyu.edu: On Thu, Jul 16 2015, Alec Ten Harmsel wrote: On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. I highly recommend using the ArchLinux ISO, which can be burned to a flash drive with dd. It doesn’t have the gentoo-specific tools, but that’s really the only problem. UNetBootin has always been hit or miss for me. Alec Thank you both. Let's see if Alan is right and Neil offers a magic dd recipe. When this is over I will update the wiki or at least add a comment for the authors to consider. Why do you want to use the gentoo minimal CD? if your laptop has EFI I don't think you will be able to configure it properly. (I'm not aware if the minimal cd has an EFI boot partition, but by the way you describe your boot it seemes it doesn't, is this right? you can check the iso with fdisk -l ) I am not trying efi. Either way I still don't know why the manual keeps recomending using a minimal installation cd for amd64 platforms, especially desktop types. I recommend you to boot somthing that has X, a browser and Networkmanager, I see no point the unnecessary pain of installing gentoo with a console only CD on such newer hardware. It's just complicating your life because you want to. I have not had trouble with the minimal cd. I do the actual work on another (gentoo) machine. allan
Re: [gentoo-user] Re: booting from a usb flash drive
On 16 July 2015 at 23:48, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:39, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-07-16, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Has that changed recently? I tought the minimal ISO was already hybrid and would boot directly from a USB drive. I would have sworn I did nothing other than dd it to a USB drive the last time I did an install. So do I, it worked perfectly, I was very impressed. Yes, that is what I thought I read here (and know I read it on the wiki). But it failed for me (this is my first time with flash; previously I used a CD-R) and apparently also for McKinnon. Perhaps there is a basic minimal-iso/flash/al+an incompatibility. :-) The only thing I can think of is that bootloader recognize the device via BIOS and Linux (install-cd configuration) does not as it is special device. Try to exit to shell and see if you have /dev/sd*. I did that. only sda and sda[123], the hard drive So I guess this is a special device that the minmal-cd is not recognizing. Read dmesg and see if storage is recognized. dmesg | grep storage usbcore: registered new interface driver usb-storage good, there should be helpful information after that line, can you paste it?
Re: [gentoo-user] booting from a usb flash drive
On 16/07/2015 22:01, Alec Ten Harmsel wrote: On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. I highly recommend using the ArchLinux ISO, which can be burned to a flash drive with dd. It doesn’t have the gentoo-specific tools, but that’s really the only problem. UNetBootin has always been hit or miss for me. Alec I've only ever had two kinds of problem with unetbootin: Not waiting long enough for the write to complete. This is real easy when using corporate-gift-keyring type USB sticks (the thin ones without a USB-A casing around the connectors and no activity light Writing to one particular SanDisk product with a fancy Windows specific magic-sauce-protect-firmware, this stick does not boot no matter what I write it with. So as long as 1 use my eyeballs and keep my thinking cap on, unetbootin works OK for me. A reliable dd that always works would be first prize though -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] booting from a usb flash drive
2015-07-16 14:44 GMT-06:00 gottl...@nyu.edu: I have not had trouble with the minimal cd. I do the actual work on another (gentoo) machine. * Tries to boot an Image, 4+ hours later and after asking help to the mailing list, still no success in booting, has had no trouble with the gentoo minimal cd * Don't take me wrong, what I'm saying is you want Gentoo installed, don't lose your time hassling with images that don't work, that won't even be essential to the installation. If the first one doesn't work, by the domain you use(Meaning your Internet connection speed) I guess you could have been trying another image in ~10min.
Re: [gentoo-user] booting from a usb flash drive
dd worked for me last month :) josh On Jul 16, 2015 3:53 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On 16/07/2015 22:17, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alec Ten Harmsel wrote: On Jul 16, 2015, at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. I highly recommend using the ArchLinux ISO, which can be burned to a flash drive with dd. It doesn’t have the gentoo-specific tools, but that’s really the only problem. UNetBootin has always been hit or miss for me. Alec Thank you both. Let's see if Alan is right and Neil offers a magic dd recipe. When this is over I will update the wiki or at least add a comment for the authors to consider. This was my first time using a flash drive. I presume that burning a CD-R from the still works. Right? It still worked last year :-) I need to double check memory of ancient hardware: A CD-R, that's that thin round shiny thing about 5 across? What used to be used for music before Napster came along? Just checking I have it right -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: booting from a usb flash drive
On 16/07/2015 22:39, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-07-16, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Has that changed recently? I tought the minimal ISO was already hybrid and would boot directly from a USB drive. I would have sworn I did nothing other than dd it to a USB drive the last time I did an install. So do I, it worked perfectly, I was very impressed. Yes, that is what I thought I read here (and know I read it on the wiki). But it failed for me (this is my first time with flash; previously I used a CD-R) and apparently also for McKinnon. Perhaps there is a basic minimal-iso/flash/al+an incompatibility. :-) Well, it won't be the first time I'd have royally screwed up some elementary process -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] Re: grub-2 update
Jarry mr.jarry at gmail.com writes: I have similar setup as you and upgraded grub without any problem. If beta2-r3 worked for you, beta2-r7 will as well. If you did not disable /boot automount, there are no special steps needed. Portage will mount /boot, update grub, and dismound afterwards... AH do tell me more:: /dev/sda1 /bootext2defaults,noatime 0 2 /dev/sda3 /ext4defaults,noatime 0 1 /dev/sda4 /usr/local ext4defaults,noatime 0 1 How do I make sure it's set to automount? changes I should make ?? I've been bitten too many times on kernel updates to not be very cautious James
Re: [gentoo-user] Re: grub-2 update
On 16-Jul-15 22:08, James wrote: I have similar setup as you and upgraded grub without any problem. If beta2-r3 worked for you, beta2-r7 will as well. If you did not disable /boot automount, there are no special steps needed. Portage will mount /boot, update grub, and dismound afterwards... AH do tell me more:: /dev/sda1 /bootext2defaults,noatime 0 2 /dev/sda3 /ext4defaults,noatime 0 1 /dev/sda4 /usr/local ext4defaults,noatime 0 1 How do I make sure it's set to automount? It is per default so. You can only disable it by some variable (forgot its name). If you want to be sure, simply mount /boot (if it is not yet) before updating grub. changes I should make ?? I've been bitten too many times on kernel updates to not be very cautious-- No changes are necessary. Config-files remain as they were. I'have been using grub2 since it went stable and never had any problem with it... Jarry ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] booting from a usb flash drive
On Thu, Jul 16, 2015 at 12:40 PM, gottl...@nyu.edu wrote: I believe I correctly dd'ed a minimal cd onto a usb flash (aka thumb) drive. I set the boot order on my new system (dell 7450) to have the usb storage device first. Sure enough I get the isolinux prompt and the kernel is loaded. However after asking for the keymap (I just hit enter) it types looking for the cdrom. There is no cdrom. It then tries to mount media /dev/sda[123] (which are dell and windows partitions). When this fails it announces no bootable medium found I tried adding the doscsi option, no change. What did I do wrong? Does your system have USB 3 ports? USB 3 is currently broken on the installcd images. https://bugs.gentoo.org/show_bug.cgi?id=554202
Re: [gentoo-user] Re: Don't disable 'introspection'
Am 17.07.2015 um 02:40 schrieb walt: On Fri, 17 Jul 2015 02:30:24 +0200 Volker Armin Hemmann volkerar...@googlemail.com wrote: I have had -introspection set for ages in make.conf. It is turned on for some selected packages in package.use Which packages, and what problems were you solving by turning it on? . =x11-libs/libnotify-0.7.5-r1 =x11-libs/gtk+-3.8.2 =dev-libs/atk-2.8.0 =x11-libs/pango-1.34.1 some packages needed it. Forgot which ones.
Re: [gentoo-user] Re: booting from a usb flash drive
Peter Humphrey wrote: On Friday 17 July 2015 00:50:59 I wrote: Half-way through this new thread of 50 messages I've been waiting for someone to recommend system rescue CD. Actually it was only about 30 messages. Still, the same applies. You mean you counted? ROFL I been using system rescue CD on a USB stick for a while and it just works. The website has the instructions for installing it on a stick too. Just in case google doesn't help, linky. http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick Dale :-) :-)
[gentoo-user] Re: Don't disable 'introspection'
On Fri, 17 Jul 2015 03:49:05 +0200 Volker Armin Hemmann volkerar...@googlemail.com wrote: Am 17.07.2015 um 02:40 schrieb walt: On Fri, 17 Jul 2015 02:30:24 +0200 Volker Armin Hemmann volkerar...@googlemail.com wrote: I have had -introspection set for ages in make.conf. It is turned on for some selected packages in package.use Which packages, and what problems were you solving by turning it on? =x11-libs/libnotify-0.7.5-r1 =x11-libs/gtk+-3.8.2 =dev-libs/atk-2.8.0 =x11-libs/pango-1.34.1 some packages needed it. Forgot which ones. dev-util/meld-3.12.3 has dependencies =x11-libs/gtk+-3.6:3[introspection] =x11-libs/gtksourceview-3.6:3.0[introspection] which lead to me turning it on for these packages: x11-libs/gtk+ introspection dev-libs/atk introspection x11-libs/gtksourceview introspection x11-libs/pango introspection x11-libs/gdk-pixbuf introspection If having it off in all other packages is causing me trouble, I'm unaware of it.
Re: [gentoo-user] Re: booting from a usb flash drive
On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:48, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:39, gottl...@nyu.edu wrote: On Thu, Jul 16 2015, Alon Bar-Lev wrote: On 16 July 2015 at 23:28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-07-16, Alan McKinnon alan.mckin...@gmail.com wrote: The Gentoo minimal CD does not work if you simply dd it to a thumb drive (I rediscovered this anew on Monday). It works just fine if you use unetbootin to do the magic though. Has that changed recently? I tought the minimal ISO was already hybrid and would boot directly from a USB drive. I would have sworn I did nothing other than dd it to a USB drive the last time I did an install. So do I, it worked perfectly, I was very impressed. Yes, that is what I thought I read here (and know I read it on the wiki). But it failed for me (this is my first time with flash; previously I used a CD-R) and apparently also for McKinnon. Perhaps there is a basic minimal-iso/flash/al+an incompatibility. :-) The only thing I can think of is that bootloader recognize the device via BIOS and Linux (install-cd configuration) does not as it is special device. Try to exit to shell and see if you have /dev/sd*. I did that. only sda and sda[123], the hard drive So I guess this is a special device that the minmal-cd is not recognizing. Read dmesg and see if storage is recognized. dmesg | grep storage usbcore: registered new interface driver usb-storage good, there should be helpful information after that line, can you paste it? I don't see how to copy/paste. The machine is an island. But the new few lines are Two about PCI 7 about reserving ram buffer switched to clocksource hped pnp acpi init 6 system lines about reserving (5 successful; 1800-18fe unsuccessful) Is there something specific I should look for. I will be trying system rescue CD. allan
Re: [gentoo-user] Re: grub-2 update
On Thu, 16 Jul 2015 20:01:29 + (UTC), James wrote: I gave grub-2 a try earlier this week and once again couldn;t figure out how to install that mini-OS that bootstraps a boot loader which bootstraps a boot loader which loads code that loads a kernel. So back to grub:0 for me I do not really want to go to back to grub-legacy. I do not what to be bound to (u)efi booting either. You could just lie to me and make us both happy? If you have UEFI, then just use Gummiboot, it's much simpler. -- Neil Bothwick If it ain't broke, break it and charge for repair. pgpebtup_Mj5U.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: Don't disable 'introspection'
2015-07-16 18:40 GMT-06:00 walt w41...@gmail.com: On Fri, 17 Jul 2015 02:30:24 +0200 Volker Armin Hemmann volkerar...@googlemail.com wrote: I have had -introspection set for ages in make.conf. It is turned on for some selected packages in package.use Which packages, and what problems were you solving by turning it on? The packages that need it are those that use the gobject libraries from other languages than C, using the bindings generated with by the introspection part, the idea is a framework for easily building bindings to other languages from the C gobject libraries, e.g. all applications that use gtk3 and are written in python use introspection.
Re: [gentoo-user] grub-2 update
On Thu, 16 Jul 2015 19:34:18 + (UTC), James wrote: Current:: Grub-2.02_beta2-r3 wants to upgrade to grub-2.02_beta2-r7 It appears to be marked stable. So if I do this, what will I have to do to keep the system booting. Nothing, I installed r7 on June 26th and the system just kept booting. You can run grub-install if you really want to, but as this is a patch level update to the same version, the MBR code is likely to be the same anyway. -- Neil Bothwick Angular Momentum Makes The World Go 'Round pgpxxBWYgWTAX.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Don't disable 'introspection'
On 07/16/2015 05:16 PM, Alan McKinnon wrote: On 16/07/2015 22:53, walt wrote: If anyone can splain what introspection does I'd be grateful. It's a tricky concept if you haven't worked with Object Oriented Programming, so lt's look at the USE description: introspection - Add support for GObject based introspection Doesn't say much, right? Object Oriented languages tend to compile to byte-code, just like Java does, and so does Python. It's so the run-time interpreter can look up at run-time which function exactly needs to be run (this can't be determined statically). Yes, but introspection (as a part of the language specification) is not limited to object oriented languages, nor compiled to byte code languages. C++'s 'virtual' keyword can (sometimes) force the compiler to generate introspection code if it absolutely cannot determine which function to call at compile time. C++'s templates could (maybe?) be considered static introspection. A really neat trick is to look inside objects not just to see what it has, but also how the innards work, what properties an object has, and other neat stuff. That's what introspect means - to look inside. This magic is what makes dynamic IDEs possible, where they prompt you for all manner of stuff while typing code, and even generate boiler-plate code that it hasn't been hard-coded to deal with. All sounds very fancy and theoretical. I know what introspection does, but I can't know if I need this type of it or not. Apparently (because stuff breaks horribly when it's off), packages that use GObject seem to rely on this feature. It is very nice and very fancy, but the implementation is not incredibly complicated in most languages (just pointers to tables of functions if memory serves). If anyone is interested in playing around with this stuff, Ruby has a pretty advanced object model, and classes can have different function implementations depending on what module you're in. Alec
Re: [gentoo-user] booting from a usb flash drive
On Thu, Jul 16 2015, Jc García wrote: 2015-07-16 14:44 GMT-06:00 gottl...@nyu.edu: I have not had trouble with the minimal cd. I do the actual work on another (gentoo) machine. * Tries to boot an Image, 4+ hours later and after asking help to the mailing list, still no success in booting, has had no trouble with the gentoo minimal cd * I was commenting on the use of the minimal CD rather than a fancy one that had X etc. I have indeed had tremendous trouble this time and it is getting worse. I just burned a CD with the min install and it failed the same way as the flash drive! allan
Re: [gentoo-user] booting from a usb flash drive
2015-07-16 15:33 GMT-06:00 gottl...@nyu.edu: I was commenting on the use of the minimal CD rather than a fancy one that had X etc. I have indeed had tremendous trouble this time and it is getting worse. Is not about fanciness, Is abut having the tools you need for the job, I understand you would choose a minimal if you were to try to boot an old celeron with less than 1gb of ram that would take forever to boot a modern livecd, but that is not your case, and the minimal and a 'fancy' have the tools my point is about being practical. BTW, I think if you had chosen the bulky live-dvd of gentoo it would have worked as expected.
[gentoo-user] Re: grub-2 update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2015-07-16 17:41, Neil Bothwick wrote: On Thu, 16 Jul 2015 20:01:29 + (UTC), James wrote: I gave grub-2 a try earlier this week and once again couldn;t figure out how to install that mini-OS that bootstraps a boot loader which bootstraps a boot loader which loads code that loads a kernel. So back to grub:0 for me I do not really want to go to back to grub-legacy. I do not what to be bound to (u)efi booting either. You could just lie to me and make us both happy? If you have UEFI, then just use Gummiboot, it's much simpler. The Gummiboot project is no longer maintained, it has been merged into systemd as systemd-boot (note that using any other part of Systemd should *not* be required to use systemd-boot, but I don't know for sure because I do not have any non-systemd systems). - -- Jonathan Callen -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCgAGBQJVqEQ0AAoJEEIQbvYRB3mgtToP/AgKlQrdkgMq5ss8n/uO5hwl iBMu9+iFE7NRyp8tu/KZ7QPmVTwrkNu3WtmquhNakUj12ryI+mGQ/PHdcEB/p3LD 9vlxLWemj7HI4Qk+RZZqNThOCXAYP+mc3i3T2NgKgYuceoIk/z+kwAPVfnmqSjlZ QyYS5sveoVwM43AdqbatAvt8n2BEmYbTz9PjZ5zcrRYTpZphqltdU29NbzCvsYVU BOf10p5kzSi9G+Aph89RBpQhowL9iwVDLalZ/NUKk588ZyQLi78JotghnCGUJ9Ig 1492fMcIsqiAkOkSuVoPtiOu0SITaHyDTOHfE20+QtOm29HM1Hm9MrV94FkQGY92 Bdl/a6BIZssbNgLiNuayo9V3OV/JoSlPjp52a4h2d/Vu+NxKyvjswwK6LFae/ka5 pf9bAqiq2jEl21yboskH35EbYDciZddG48r5VMQl0hplplkCoLrBUVlvdW8M/28a Yu9IH19+VpqAOuahmOJvMQ5/OOHRVj7RRzJC51YGPXR2uSxcV5SDLCIts6Oiww+w qI7aVang9JibuY166T2j4LYWGEXjeO7xE3xk7kWKO6l/608uLA4Vyrt/vaFLsJL1 XrxWzcBQ+lVnY/+g8tv6q0nINhVQ551ugUxCilTJzHmSCT/1aAa7Bx0YS+5LwyRq qqWwjSTxzG6yl88l6ys2 =ys3e -END PGP SIGNATURE-
Re: [gentoo-user] Don't disable 'introspection'
Am 17.07.2015 um 00:31 schrieb Canek Peláez Valdés: On Thu, Jul 16, 2015 at 3:53 PM, walt w41...@gmail.com mailto:w41...@gmail.com wrote: I don't understand 'introspection' enough to know why we need it, but apparently we do, so don't use the -introspection useflag like I did. The trouble I introduced a few weeks ago when I disabled introspection was subtle enough that I didn't realize until yesterday that I even had a problem. Portage had been doing mildly insane things that other people were not seeing, so as a test I removed the -introspection useflag and spent the entire day rebuilding packages. My portage problem appears to be fixed. I hope. If anyone can splain what introspection does I'd be grateful. Alan did a fine job explaining what introspection is in general. In Gentoo, the introspection flag is only used by GObject based libraries; all the languages that natively supports introspection does it inconditionally, and (as far as I am aware) GObject is the only C object oriented library that provides introspection. Some years ago, you could get away without activating it, but nowadays is for all practical purposes mandatory. At least this is the case for GNOME 3; but I would not be surprised if it's also the case for basically any GObject based software; that covers all GTK+ 2 and 3 applications. The instrospection infrastructure is not only used (as Alan mentioned) to look inside a compiled class; it's also part of the automatic binding generation for other programming languages used by all GObject libraries (or at lest that's what I understand, please correct me if I'm wrong). Therefore, if you use Inkscape, for example, you'll need introspection since Inkscape is wrote in C++ using the gtk-- bindings. In general, I would recommend not to set USE=-* (an opinion shared by basically all Gentoo devs and most rational people), and let the default use flags to do their magic. But everyone is free to break their systems as they please. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México I have had -introspection set for ages in make.conf. It is turned on for some selected packages in package.use I use inkscape I don't use gnome I don't use systemd My system is fine.
[gentoo-user] Re: Don't disable 'introspection'
On Fri, 17 Jul 2015 02:30:24 +0200 Volker Armin Hemmann volkerar...@googlemail.com wrote: I have had -introspection set for ages in make.conf. It is turned on for some selected packages in package.use Which packages, and what problems were you solving by turning it on?
[gentoo-user] Re: Virtualbox-5.0.0 [wow!]
On Wed, 15 Jul 2015 19:43:05 -0400 Fernando Rodriguez frodriguez.develo...@outlook.com wrote: On Tuesday, July 14, 2015 6:53:43 PM walt wrote: I fired up my vbox gentoo guest machine and, of course, I tried to install the 5.0.0 guest additions kernel modules. I got an error message about usb support in the guest kernel, so I disabled guest usb support (temporarily) with the vbox gui, tried again and the guest kernel modules installed with amazing speed. I'd like to know if anyone else is seeing spectacular speed performance with vbox-5.0.0. No noticeable performance improvement for me using hardware virtualization. The USB issue is because it no longer pulls the extension pack or additions packages as a dependency so you need to add them to your world file. Thanks, I will. A comment on nerd humor: while using vbox-5.0.0 my eye was drawn to a little black spot in the vbox main window, and I wondered if it was a dirt speck on my monitor screen. I put on my reading glasses to take a closer look. It turned out to be a new icon for the Clone selected virtual machine button in the form of a black-faced sheep. I conclude that this must be a sly reference to Dolly the Sheep, the first 'higher' animal to be cloned successfully, except that Dolly didn't have a black face, according to this: https://en.wikipedia.org/wiki/Dolly_(sheep)
Re: [gentoo-user] booting from a usb flash drive
On Thu, 16 Jul 2015 21:44:49 +0200, Alan McKinnon wrote: Or you could wait for the resident expert (Neil) to supply the magic incantation that lets dd do what you want :-) I tried it on my laptop and it refused to work. Dropping to a shell, I found there was no /dev/sdb, no wonder the init script couldn't find the drive. The *hci modules were all loaded. I then tried it on another system and it just booted with no fuss. so either the laptop has some odd hardware that this CD won't boot with, even though I boot several different live discs on it every month, or there is some oddball module either missing or needing to be loaded. -- Neil Bothwick Got kleptomania? Be sure to take something for it. pgpkPqDhoaghS.pgp Description: OpenPGP digital signature