Re: [gentoo-user] No mailer for Gentoo???
On Friday 06 September 2013 11:21:33 Canek Peláez Valdés wrote: From the commit log: Per extensive discussion with zmedico about removing the need for package.provided, several packages have been changed, like sudo, to not explicitly require an mta. Cron will follow, leaving mta support optional. Unrelated question: what happened (or going to happen) to packaged.provided? I'm using it.
Re: [gentoo-user] No mailer for Gentoo???
Am Sat, 07 Sep 2013 11:08:16 +0400 schrieb Pavel Volkov negai...@gmail.com: On Friday 06 September 2013 11:21:33 Canek Peláez Valdés wrote: From the commit log: Per extensive discussion with zmedico about removing the need for package.provided, several packages have been changed, like sudo, to not explicitly require an mta. Cron will follow, leaving mta support optional. Unrelated question: what happened (or going to happen) to packaged.provided? I'm using it. I suspect nothing. I interpreted that statement to mean that they wanted to remove the need for people *who don't want an MTA* to (ab)use package.provided as a way to avoid installing one. -- Marc Joliet -- People who think they know everything really annoy those of us who know we don't - Bjarne Stroustrup signature.asc Description: PGP signature
Re: [gentoo-user] No mailer for Gentoo???
On Sat, Sep 7, 2013 at 2:08 AM, Pavel Volkov negai...@gmail.com wrote: On Friday 06 September 2013 11:21:33 Canek Peláez Valdés wrote: From the commit log: Per extensive discussion with zmedico about removing the need for package.provided, several packages have been changed, like sudo, to not explicitly require an mta. Cron will follow, leaving mta support optional. Unrelated question: what happened (or going to happen) to packaged.provided? I'm using it. I think they mean that you would not need to use packaged.provided to get rid of an MTA. 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] digikam + systemd
130906 Canek Peláez Valdés wrote: On Fri, Sep 6, 2013 at 1:51 PM, Philip Webb purs...@ca.inter.net wrote: (1) Portage wants USE=plasma. (2) kipi-plugins - k3b - USE=udisks. (3) marble - pykde4-4.11.0 - USE=script. (4) udisks - USE=gudev. sys-apps/systemd, right? With that correction, I get : sys-fs/eudev-1.2-r1::gentoo (Change USE: +hwdb +keymap +modutils) Then 54 pkgs, but eudev for systemd . If I'm not mistaken, nothing in the tree depends directly on eudev; it's (supposedly) a drop in replacement for udev if you don't want any systemd cooties. Now mask eudev and see what happens. (1 2 3 4) as above, then 54 pkgs, but no eudev . It wants to update to udev-206-r3 wants to remove openrc-0.12 to admit kmod-15 . It looks as if it's the kitchen-sink approach suggested by someone else, ie KDE has added a lot of extra stuff as requirements for Digikam. It's like Gnome requiring Systemd Firefox requiring sound libraries, even if (like me) there's no sound enabled in the kernel or elsewhere. So the outcome seems to be that I will stick with Fotoxx, which so far has proved a useful photo-editing pkg. Its requirements are much simpler (again, my home-made pkg list): 130606 gnome-base/gnome-common-3.6.0 [for gtkimageview] 130606 media-libs/exiftool-9.120.0 [for fotoxx] 130606 media-libs/lensfun-0.2.7 [ ~ : for ufraw] 130606 media-gfx/dcraw-9.17 [ ~ : for fotoxx] W 130606 media-gfx/fotoxx-13.05 [~] 130606 media-gfx/gtkimageview-1.6.4 [for ufraw] 130606 media-gfx/ufraw-0.19.2 [for fotoxx] 130606 sci-libs/cfitsio-3.340 [ ~ : for ufraw] Further comments welcome ; otherwise, thanx to everyone for the suggestions. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] Re: Install from USB stick; here's how
On 2013-09-06, Walter Dnes waltd...@waltdnes.org wrote: On Wed, Sep 04, 2013 at 09:59:28PM +, Grant Edwards wrote Do the instructions at http://wiki.gentoo.org/wiki/LiveUSB/HOWTO work with UEFI machines where the simple 'dd' method doesn't? I don't have a UEFI boot machine, so I don't know. One datapoint: my motherboard has UEFI bios, and simply dd'ing the minimal install .iso to a flash drive worked fine. When I boot up with the USB drive, the BIOS boot menu shows two entries for the USB drive, the first one always worked, so I never tried the second one... Are you booting in UEFI mode or legacy mode? Legacy mode. Will a minimal install CD work in non-legacy UEFI-only mode? -- Grant
Re: [gentoo-user] Deficient Gnome Window Frames
Am 06.09.2013 21:47, schrieb Paul Hartman: On Fri, Sep 6, 2013 at 2:28 PM, gevisz gev...@gmail.com wrote: But I have not found MATE in portage... I see there is a mate overlay available in layman layman -a mate GNOME 2.X is been dead since a few years. They went to develop that ugly beast they call GNOME 3. MATE is the proven and working fork of GNOME 2.X. If you want GNOME 2.X, then you should take a look at it indeed.
Re: [gentoo-user] Can't ping remote system
On Thursday 05 Sep 2013 14:17:14 Grant wrote: +1 on Alan's hunch. I have not used Squid to comment on the specifics and also Grant stated that another proxy gave him similar symptoms. From my limited knowledge a proxy could be stalling because of cache configuration problems, like running out fs space, or inodes and also running out of memory if it has to process simultaneous requests from too many clients at a time. If the problem also manifests when the clients are within the same subnet, then this is unlikely to be a network issue. Which hunch was that? I snipped a lot above but I couldn't find it in there. It was Alan's statement that this problem is not related to your ATT router. It's just one user (me) and I've fiddled with the cache (including disabling it) and at least fs space and memory are good. OK, this points away from your proxy configuration then. I noticed you mentioning that the problem is manifested with a different proxy application, points to a network problem, unless the cache fs set up is exactly the same. As long as you have enough disk space and enough inodes, plus enough RAM, then all points to a network problem. If all other causes are eliminated then a network related problem could be associated with TCP Window Scaling - but this would primarily show up on the transmission of larger files. This is why I initially asked if the problem shows up on video/audio downloads rather than small web pages. I have to come back to this. I tried the www.google.com/nexus/ you mentioned and noticed that the page eats up 1.3MB to load fully, before it starts downloading a flash video. So seems to be a relatively large amount of data that brings up this problem and this could point to tcp window scaling. I've tried all of these with no noticeable change: echo 0 /proc/sys/net/ipv4/tcp_ecn echo 1 /proc/sys/net/ipv4/ip_no_pmtu_disc This should be *disabled* (double negative). PMTU discovery is necessary if any nodes are using smaller than the default 1500 byte ethernet MTU value. So you better set it as: echo 0 /proc/sys/net/ipv4/ip_no_pmtu_disc echo 0 /proc/sys/net/ipv4/tcp_window_scaling This is typically enabled, but if you notice that a connection stalls and then later on it works fine again, it could be related to a firewall/router not responding as it should to tcp_window_scaling. In this case disabling this would fix the problem when traversing problematic nodes. If you saw no difference, this suggests that window scaling is not an issue. Not that anyone here should bother to read it, but here's a link to my thread on the squid list where I tried all kinds of stuff: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-3-3-5-hangs-the-en tire-system-td4660893.html I read it and if the squid experts say it is a network problem, then it could well be - although the network problems can be more difficult to diagnose and resolve. I think at this point I'm hoping that putting the server's modem/router into bridged mode so it will respond to pings will clear this up. Well, we don't *know* that the router is the cause of the problem - yet. Setting it up in fully bridged mode and exposing your desktop directly to the Internet will definitely eliminate the router, because it will only be dealing with ATM packet encapsulation. I think that's conceivable if the modem/router is also failing to return Fragmentation Needed since its MTU is 1492. Testing the proxy from within the server's LAN as you suggested in my other thread could also be informative. Please let me know if there's anything else I should try. I would start with the simplest tests first, which involve isolating suspect system components one at a time. Trying to use the same laptop-desktop machines within the LAN, takes the router out the equation - full 1500 byte MTU will be used by both laptop and desktop. If that works as intended then setting the router into fully bridged mode will eliminate that node and any problems that it may have with tcp window extensions. Troubleshooting public nodes becomes more difficult, unless you happen to travel around and use networks that bypass the suspect nodes. For all we know it could be the particular hotel firewall/router that is causing the problem. ;-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Thanks.
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. 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] GRE link state detection
On Thursday 05 Sep 2013 15:49:55 thegeezer wrote: Howdy all, i was wondering if anyone has any idea if there is a means by which i can detect GRE link state ? what i have is two sites each with two very unstable internet links in order to vpn between them i have ipsec tunnels linking each side twice (four ipsec tunnels in total) I am not sure why you need 4 tunnels, you could just use 1 tunnel as a gateway to gateway setup, but I assume that your particular network topology satisfies your requirements. i then have 4x GRE tunnels over the top of those in order that i have a secured routable VPN this gives me net.vpn0 net.vpn1 net.vpn2 and net.vpn3 finally i run BIRD over the top which works very well, and synchronises routing tables between the two sites, and allows for me to do such fun as # /etc/init.d/net.vpn0 stop and watch all traffic automagically cut over to another link. so far so awesome. however, as i said the internet links are very unstable, and sometimes just blackhole. so what i was hoping to do is just enable keepalives on the gre tunnel. which sadly seems to be cisco only. I'm no Cisco expert, but I thought that the keepalives are disabled when you use IPSec, because IPSec had Dead Peer Detection for this purpose? can anyone suggest a way of detecting if the GRE is not fully connected ? BIRD only fails over if the net.vpn0 device is down (ifconfig up/down) and for the life of me i cannot find how to detect if a GRE tunnel is 'connected', it seems to just blindly send packets to the remote IP. is my only choice to use L2TP instead ? Set your IKE lifetime to something like 86400 sec and your SA lifetime at something like 3600, with dpd enabled and it should (hopefully) work. L2TP is not needed. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? By the contents of your fstab, it should... box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) ,,,however mount says up there that it's not mounted. box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux For some reason your /boot partition didn't get mounted. See the boot logs, and try to mounting by hand. Perhaps the fsck failed or it needs manual intervention. 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] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On 09/07/2013 09:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? By the contents of your fstab, it should... box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) ,,,however mount says up there that it's not mounted. box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux For some reason your /boot partition didn't get mounted. See the boot logs, and try to mounting by hand. Perhaps the fsck failed or it needs manual intervention. Regards. Based on the 'dmesg' output below, EXT2-fs attempted to mount the '/' partition instead of the '/boot' one. box0 ~ # dmesg|grep 'EXT.*fs' [2.444214] EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (240) [2.444736] EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities [2.481412] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) [9.448819] EXT4-fs (sda3): re-mounted. Opts: (null) [9.731383] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) Would that suggest a corrupted /boot/grub/grub.conf file? How did the system boot then? Thanks.
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On Sat, Sep 7, 2013 at 1:53 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? By the contents of your fstab, it should... box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) ,,,however mount says up there that it's not mounted. box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux For some reason your /boot partition didn't get mounted. See the boot logs, and try to mounting by hand. Perhaps the fsck failed or it needs manual intervention. Regards. Based on the 'dmesg' output below, EXT2-fs attempted to mount the '/' partition instead of the '/boot' one. box0 ~ # dmesg|grep 'EXT.*fs' [2.444214] EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (240) [2.444736] EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities [2.481412] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) [9.448819] EXT4-fs (sda3): re-mounted. Opts: (null) [9.731383] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) Would that suggest a corrupted /boot/grub/grub.conf file? Not necessarily. Can you manually mount /boot and see the contents of /boot/grub/grub.conf. How did the system boot then? If grub can see the boot partition (and is correctly configured and installed on the MBR), it can mount the root system without problems regardless of fstab. Do you use an initramfs? 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] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On 09/07/2013 10:25 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:53 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? By the contents of your fstab, it should... box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) ,,,however mount says up there that it's not mounted. box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux For some reason your /boot partition didn't get mounted. See the boot logs, and try to mounting by hand. Perhaps the fsck failed or it needs manual intervention. Regards. Based on the 'dmesg' output below, EXT2-fs attempted to mount the '/' partition instead of the '/boot' one. box0 ~ # dmesg|grep 'EXT.*fs' [2.444214] EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (240) [2.444736] EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities [2.481412] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) [9.448819] EXT4-fs (sda3): re-mounted. Opts: (null) [9.731383] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) Would that suggest a corrupted /boot/grub/grub.conf file? Not necessarily. Can you manually mount /boot and see the contents of /boot/grub/grub.conf. How did the system boot then? If grub can see the boot partition (and is correctly configured and installed on the MBR), it can mount the root system without problems regardless of fstab. Do you use an initramfs? Regards. 'mount /boot' fails: box0 ~ # mount /boot mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so No, I do not use 'initfamfs'. What do you suggest doing? Thanks.
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On Sat, Sep 7, 2013 at 2:30 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 10:25 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:53 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? By the contents of your fstab, it should... box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) ,,,however mount says up there that it's not mounted. box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux For some reason your /boot partition didn't get mounted. See the boot logs, and try to mounting by hand. Perhaps the fsck failed or it needs manual intervention. Regards. Based on the 'dmesg' output below, EXT2-fs attempted to mount the '/' partition instead of the '/boot' one. box0 ~ # dmesg|grep 'EXT.*fs' [2.444214] EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (240) [2.444736] EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities [2.481412] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) [9.448819] EXT4-fs (sda3): re-mounted. Opts: (null) [9.731383] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) Would that suggest a corrupted /boot/grub/grub.conf file? Not necessarily. Can you manually mount /boot and see the contents of /boot/grub/grub.conf. How did the system boot then? If grub can see the boot partition (and is correctly configured and installed on the MBR), it can mount the root system without problems regardless of fstab. Do you use an initramfs? Regards. 'mount /boot' fails: box0 ~ # mount /boot mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so No, I do not use 'initfamfs'. What do you suggest doing? Mounting it by hand: mount -t ext2 /dev/sda1 /boot 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] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On Sat, Sep 7, 2013 at 2:41 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 10:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 2:30 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 10:25 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:53 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? By the contents of your fstab, it should... box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) ,,,however mount says up there that it's not mounted. box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux For some reason your /boot partition didn't get mounted. See the boot logs, and try to mounting by hand. Perhaps the fsck failed or it needs manual intervention. Regards. Based on the 'dmesg' output below, EXT2-fs attempted to mount the '/' partition instead of the '/boot' one. box0 ~ # dmesg|grep 'EXT.*fs' [2.444214] EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (240) [2.444736] EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities [2.481412] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) [9.448819] EXT4-fs (sda3): re-mounted. Opts: (null) [9.731383] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) Would that suggest a corrupted /boot/grub/grub.conf file? Not necessarily. Can you manually mount /boot and see the contents of /boot/grub/grub.conf. How did the system boot then? If grub can see the boot partition (and is correctly configured and installed on the MBR), it can mount the root system without problems regardless of fstab. Do you use an initramfs? Regards. 'mount /boot' fails: box0 ~ # mount /boot mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so No, I do not use 'initfamfs'. What do you suggest doing? Mounting it by hand: mount -t ext2 /dev/sda1 /boot Regards. That did the trick. Thanks very much. Here's my /boot/grub/grub.conf: box0 linux # cat /boot/grub/grub.conf # This is a sample grub.conf for use with Genkernel, per the Gentoo handbook # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=10#doc_chap2 # If you are not using Genkernel and you need help creating this file, you # should consult the handbook. Alternatively, consult the grub.conf.sample that # is included with the Grub documentation. default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux 3.8.13 root (hd0,0) kernel /boot/kernel-3.8.13-gentoo root=/dev/sda3 #initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5 title Gentoo Linux 3.8.13 (rescue) root (hd0,0) kernel /boot/kernel-3.8.13-gentoo root=/dev/sda3 init=/bin/bb # vim:ft=conf: Is there anything that suggests as to why the /boot partition failed to mount at system start-up? No, I don't see anything that. However, since you cannot mount /boot, but doing it manually works, that means something is wrong with your fstab. Can I see it again? There is no
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On 09/07/2013 11:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 2:41 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 10:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 2:30 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 10:25 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:53 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? By the contents of your fstab, it should... box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) ,,,however mount says up there that it's not mounted. box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux For some reason your /boot partition didn't get mounted. See the boot logs, and try to mounting by hand. Perhaps the fsck failed or it needs manual intervention. Regards. Based on the 'dmesg' output below, EXT2-fs attempted to mount the '/' partition instead of the '/boot' one. box0 ~ # dmesg|grep 'EXT.*fs' [2.444214] EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (240) [2.444736] EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities [2.481412] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) [9.448819] EXT4-fs (sda3): re-mounted. Opts: (null) [9.731383] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) Would that suggest a corrupted /boot/grub/grub.conf file? Not necessarily. Can you manually mount /boot and see the contents of /boot/grub/grub.conf. How did the system boot then? If grub can see the boot partition (and is correctly configured and installed on the MBR), it can mount the root system without problems regardless of fstab. Do you use an initramfs? Regards. 'mount /boot' fails: box0 ~ # mount /boot mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so No, I do not use 'initfamfs'. What do you suggest doing? Mounting it by hand: mount -t ext2 /dev/sda1 /boot Regards. That did the trick. Thanks very much. Here's my /boot/grub/grub.conf: box0 linux # cat /boot/grub/grub.conf # This is a sample grub.conf for use with Genkernel, per the Gentoo handbook # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=10#doc_chap2 # If you are not using Genkernel and you need help creating this file, you # should consult the handbook. Alternatively, consult the grub.conf.sample that # is included with the Grub documentation. default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux 3.8.13 root (hd0,0) kernel /boot/kernel-3.8.13-gentoo root=/dev/sda3 #initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5 title Gentoo Linux 3.8.13 (rescue) root (hd0,0) kernel /boot/kernel-3.8.13-gentoo root=/dev/sda3
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
Alexander Kapshuk alexander.kaps...@gmail.com [13-09-07 23:14]: On 09/07/2013 11:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 2:41 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 10:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 2:30 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 10:25 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:53 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:35 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, Just compiled the new kernel [3.10.7], was about to edit my /boot/grub/grub.conf, and found it missing: box0 boot # pwd /boot box0 boot # ls -a . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo What did I miss? Do you have /boot in a separated partition? Did you mounted it? Nothing should touch /boot, AFAIK. Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not? By the contents of your fstab, it should... box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) ,,,however mount says up there that it's not mounted. box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 *2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 11161604305919920971520 83 Linux /dev/sda443059200 488397167 2226689845 Extended /dev/sda543061248 488397167 222667960 83 Linux For some reason your /boot partition didn't get mounted. See the boot logs, and try to mounting by hand. Perhaps the fsck failed or it needs manual intervention. Regards. Based on the 'dmesg' output below, EXT2-fs attempted to mount the '/' partition instead of the '/boot' one. box0 ~ # dmesg|grep 'EXT.*fs' [2.444214] EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (240) [2.444736] EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities [2.481412] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) [9.448819] EXT4-fs (sda3): re-mounted. Opts: (null) [9.731383] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) Would that suggest a corrupted /boot/grub/grub.conf file? Not necessarily. Can you manually mount /boot and see the contents of /boot/grub/grub.conf. How did the system boot then? If grub can see the boot partition (and is correctly configured and installed on the MBR), it can mount the root system without problems regardless of fstab. Do you use an initramfs? Regards. 'mount /boot' fails: box0 ~ # mount /boot mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so No, I do not use 'initfamfs'. What do you suggest doing? Mounting it by hand: mount -t ext2 /dev/sda1 /boot Regards. That did the trick. Thanks very much. Here's my /boot/grub/grub.conf: box0 linux # cat /boot/grub/grub.conf # This is a sample grub.conf for use with Genkernel, per the Gentoo handbook # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=10#doc_chap2 # If you are not using Genkernel and you need help creating this file, you # should consult the handbook. Alternatively, consult the grub.conf.sample that # is included with the Grub documentation. default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux 3.8.13
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
On Sat, Sep 07 2013, Canek Peláez Valdés wrote: No, I don't see anything that. However, since you cannot mount /boot, but doing it manually works, that means something is wrong with your fstab. Can I see it again? There is no /boot/etc/fstab, right? What does /boot/grub/device.map say? Below is what alexander said previously box0 boot # cat /etc/fstab snip /dev/sda1/bootext2default,noatime0 2 /dev/sda2noneswapsw0 0 /dev/sda3/ext4noatime0 1 /dev/sda5/homeext4noatime0 2 /dev/cdrom/mnt/cdromautonoauto,ro0 0 box0 boot # mount|grep /dev/sda It all looks right ... unless the snip hides the error. Also as canek says, we are assuming there is no /boot/etc/fstab or something else shadowing the fstab above. allan
Re: [gentoo-user] Re: Install from USB stick; here's how
On Sat, Sep 07, 2013 at 12:31:36PM +, Grant Edwards wrote On 2013-09-06, Walter Dnes waltd...@waltdnes.org wrote: On Wed, Sep 04, 2013 at 09:59:28PM +, Grant Edwards wrote Do the instructions at http://wiki.gentoo.org/wiki/LiveUSB/HOWTO work with UEFI machines where the simple 'dd' method doesn't? I don't have a UEFI boot machine, so I don't know. One datapoint: my motherboard has UEFI bios, and simply dd'ing the minimal install .iso to a flash drive worked fine. When I boot up with the USB drive, the BIOS boot menu shows two entries for the USB drive, the first one always worked, so I never tried the second one... Are you booting in UEFI mode or legacy mode? Legacy mode. Will a minimal install CD work in non-legacy UEFI-only mode? I don't know. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications