[manjaro-dev] Problem with mhwd-kernel and 3.11

Carl Duff cdrw2400 at gmail.com
Tue Nov 5 13:53:56 CET 2013


Well, as per the original email, I (and another user) get this:

[carl at manjaro ~]$ sudo update-grub
[sudo] password for carl:
/usr/bin/grub-editenv: error: cannot open `//boot/grub/grubenv.new': No
such file or directory.
/usr/bin/grub-mkconfig: line 225: /boot/grub/grub.cfg.new: No such file or
directory

I notice the first error line has two forward slashes '//' at the begining
of the dir address, not one. I am wondering if this might be related?

I'll verify where everything is when I get home. All I know is that after
installing 3.11, it is in /boot/grub  , but the pre-installed 3.10 is not.

I really need to improve my Linux expertise!

On 4 November 2013 23:53, Philip Müller <philm at manjaro.org> wrote:

>  Please verify the folder where you have grub installed. update-grub
> looks for:
>
> [phil at manjaro extra]$ cat /usr/bin/update-grub
> #! /bin/sh
> grub-mkconfig -o /boot/grub/grub.cfg
>
>
> On 11/05/2013 12:32 AM, Philip Müller wrote:
>
> On my installed system it works:
>
> [phil at manjaro extra]$ sudo update-grub
> Generating grub.cfg ...
> Found background: /usr/share/grub/background.png
> Found linux image: /boot/vmlinuz-312-x86_64
> Found initrd image: /boot/initramfs-312-x86_64.img
> Found linux image: /boot/vmlinuz-311-x86_64
> Found initrd image: /boot/initramfs-311-x86_64.img
> Found linux image: /boot/vmlinuz-310-x86_64
> Found initrd image: /boot/initramfs-310-x86_64.img
> Found linux image: /boot/vmlinuz-38-x86_64
> Found initrd image: /boot/initramfs-38-x86_64.img
> Found linux image: /boot/vmlinuz-34-x86_64
> Found initrd image: /boot/initramfs-34-x86_64.img
>   /dev/cdrom: open failed: No medium found
>   /dev/sdb: open failed: No medium found
>   /dev/sdc: open failed: No medium found
>   /dev/sdd: open failed: No medium found
>   /dev/sde: open failed: No medium found
>   No volume groups found
> Found Manjaro Linux (0.8.7) on /dev/sda5
> Found memtest86+ image: /boot/memtest86+/memtest.bin
> done
>
> Here is the log of a fresh installed Openbox-0.8.8rc2 switched to testing
> since that is the branch it was built on.
> I'll move testing to stable now. No errors to find:
>
> [michael at computer ~]$ sudo pacman-mirrors -g -b testing
>
> Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die
> Regeln erklärt hat.  Normalerweise läuft es auf drei Regeln hinaus:
>
>     #1) Resprektieren Sie die Privatsphäre anderer.
>     #2) Denken Sie nach bevor Sie tippen.
>     #3) Mit großer Macht kommt große Verantwortung.
>
> [sudo] password for michael:
> :: Querying servers, this may take some time...
> Africa
> -> 1.388 http://manjaro.mirror.ac.za/testing/$repo/$arch
> Bangladesh
> -> 0.897 http://mirrors.ispros.com.bd/manjaro/testing/$repo/$arch
> Belgium
> -> 0.153 http://ftp.belnet.be/manjaro/testing/$repo/$arch
> -> 0.148 http://manjaro.cu.be/testing/$repo/$arch
> Brasil
> -> 2.098 http://manjaro.fis.unb.br/testing/$repo/$arch
> -> 1.353 http://www.las.ic.unicamp.br/pub/manjarolinux/testing/$repo/$arch
> Chile
> -> 0.942 http://manjaro.dcc.uchile.cl/testing/$repo/$arch
> Colombia
> -> 0.604 http://mirror.edatel.net.co/manjaro/testing/$repo/$arch
> Denmark
> -> 0.256 http://mirrors.dotsrc.org/manjaro/testing/$repo/$arch
> France
> -> 0.172 http://manjarolinux.polymorf.fr/testing/$repo/$arch
> Germany
> -> 0.098 http://ftp.halifax.rwth-aachen.de/manjaro/testing/$repo/$arch
> -> 0.180 http://ftp.tu-chemnitz.de/pub/linux/manjaro/testing/$repo/$arch
> -> 0.141
> http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/testing/$repo/$arch
> -> 0.096 http://mirror3.layerjet.com/manjaro/testing/$repo/$arch
> Greece
> -> 0.772 http://ftp.cc.uoc.gr/mirrors/linux/manjaro/testing/$repo/$arch
> Indonesia
> -> 1.897 http://kambing.ui.ac.id/manjaro/testing/$repo/$arch
> Ireland
> -> 0.175 http://ftp.heanet.ie/mirrors/manjaro/testing/$repo/$arch
> Italy
> -> 0.390 http://manjaro.mirror.garr.it/mirrors/manjaro/testing/$repo/$arch
> Japan
> -> 1.299 http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/testing/$repo/$arch
> -> 0.976 http://www.ftp.ne.jp/Linux/packages/manjaro/testing/$repo/$arch
> -> 0.996 http://ftp.kddilabs.jp/Linux/packages/manjaro/testing/$repo/$arch
> -> 1.438 http://ftp.riken.jp/Linux/manjaro/testing/$repo/$arch
> Netherlands
> -> 0.126
> http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/testing/$repo/$arch
> Philippines
> -> Error!http://mirror.pregi.net/pub/Linux/manjaro/testing/$repo/$arch
> Romania
> -> 0.178 http://mirrors.xservers.ro/manjaro/testing/$repo/$arch
> -> 1.457 http://mirrors.serverhost.ro/manjaro/packages/testing/$repo/$arch
> -> 0.148 http://ftp.lug.ro/manjaro/testing/$repo/$arch
> -> 0.223 http://manjaro.mirrors.linux.ro/repos/testing/$repo/$arch
> Russia
> -> 0.196 http://mirror.yandex.ru/mirrors/manjaro/testing/$repo/$arch
> Sweden
> -> 0.303 http://ftp.lysator.liu.se/pub/manjaro/testing/$repo/$arch
> -> 0.211 http://mirror.zetup.net/manjaro/testing/$repo/$arch
> Taiwan
> -> Error!http://free.twaren.net/manjaro/testing/$repo/$arch
> -> 1.556 http://free.nchc.org.tw/manjaro/testing/$repo/$arch
> United_Kingdom
> -> 0.242 http://repo.manjaro.org.uk/testing/$repo/$arch
> -> .....
> http://www.mirrorservice.org/sites/repo.manjaro.org/repos/testing/$repo->
> 0.230
> -> 0.140 http://mirror.catn.com/pub/manjaro/testing/$repo/$arch
> -> 0.279 http://manjaro.mirrors.uk2.net/testing/$repo/$arch
> United_States
> -> 0.555 http://mirror.dacentec.com/manjaro/testing/$repo/$arch
> -> 0.874 http://www.gtlib.gatech.edu/pub/manjaro/testing/$repo/$arch
> -> 0.569 http://mirror.jmu.edu/manjaro/testing/$repo/$arch
> -> 0.467 http://mirror.solarvps.com/manjaro/testing/$repo/$arch
> -> 0.711 http://mirror.nexcess.net/manjaro/testing/$repo/$arch
> -> 0.515 http://www.tuxlinuxnews.com/manjaro/testing/$repo/$arch
> :: Generated and saved '/etc/pacman.d/mirrorlist' mirrorlist.
> [michael at computer ~]$ sudo pacman -Syy
> :: Synchronisiere Paketdatenbanken...
>  core                     114,7 KiB   314K/s 00:00
> [######################] 100%
>  extra                   1618,6 KiB   327K/s 00:05
> [######################] 100%
>  community               2022,4 KiB   340K/s 00:06
> [######################] 100%
>  multilib                 108,5 KiB   337K/s 00:00
> [######################] 100%
> [michael at computer ~]$ sudo mhwd-kernel linux311
> Error: No arguments given (use -h for help).
> [michael at computer ~]$ sudo mhwd-kernel -i linux311
> :: Synchronisiere Paketdatenbanken...
>  core                     114,7 KiB   344K/s 00:00
> [######################] 100%
>  extra                   1618,6 KiB   362K/s 00:04
> [######################] 100%
>  community               2022,4 KiB   362K/s 00:06
> [######################] 100%
>  multilib                 108,5 KiB   332K/s 00:00
> [######################] 100%
> Löse Abhängigkeiten auf...
> Suche nach Zwischenkonflikten...
>
> Pakete (3): linux311-3.11.6-1  linux311-ndiswrapper-1.58-5
>             linux311-virtualbox-guest-modules-4.3.2-1
>
> Gesamtgröße des Downloads:                 47,07 MiB
> Gesamtgröße der zu installierenden Pakete: 65,92 MiB
>
> :: Installation fortsetzen?  [J/n]
> :: Empfange Pakete...
>  linux311-3.11.6-1-x...    46,8 MiB   222K/s 03:36
> [######################] 100%
>  linux311-ndiswrappe...   121,9 KiB   341K/s 00:00
> [######################] 100%
>  linux311-virtualbox...   121,6 KiB   341K/s 00:00
> [######################] 100%
> (3/3) Prüfe Schlüssel im Schlüsselring
> [######################] 100%
> (3/3) Überprüfe Paket-Integrität
> [######################] 100%
> (3/3) Lade Paket-Dateien
> [######################] 100%
> (3/3) Prüfe auf Dateikonflikte
> [######################] 100%
> (3/3) Überprüfe verfügbaren Festplattenspeicher
> [######################] 100%
> (1/3) Installiere linux311
> [######################] 100%
> >>> Updating module dependencies. Please wait ...
> >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
> ==> Building image from preset: /etc/mkinitcpio.d/linux311.preset:
> 'default'
>   -> -k /boot/vmlinuz-311-x86_64 -c /etc/mkinitcpio.conf -g
> /boot/initramfs-311-x86_64.img
> ==> Starting build: 3.11.6-1-MANJARO
>   -> Running build hook: [base]
>   -> Running build hook: [udev]
>   -> Running build hook: [autodetect]
>   -> Running build hook: [modconf]
>   -> Running build hook: [block]
>   -> Running build hook: [filesystems]
>   -> Running build hook: [keyboard]
>   -> Running build hook: [fsck]
> ==> Generating module dependencies
> ==> Creating gzip initcpio image: /boot/initramfs-311-x86_64.img
> ==> Image generation successful
> ==> Building image from preset: /etc/mkinitcpio.d/linux311.preset:
> 'fallback'
>   -> -k /boot/vmlinuz-311-x86_64 -c /etc/mkinitcpio.conf -g
> /boot/initramfs-311-x86_64-fallback.img -S autodetect
> ==> Starting build: 3.11.6-1-MANJARO
>   -> Running build hook: [base]
>   -> Running build hook: [udev]
>   -> Running build hook: [modconf]
>   -> Running build hook: [block]
> ==> WARNING: Possibly missing firmware for module: bfa
> ==> WARNING: Possibly missing firmware for module: aic94xx
> ==> WARNING: Possibly missing firmware for module: smsmdtv
>   -> Running build hook: [filesystems]
>   -> Running build hook: [keyboard]
>   -> Running build hook: [fsck]
> ==> Generating module dependencies
> ==> Creating gzip initcpio image: /boot/initramfs-311-x86_64-fallback.img
> ==> Image generation successful
> grub.cfg wird erstellt …
> Hintergrund gefunden: /usr/share/grub/background.png
> Linux-Abbild gefunden: /boot/vmlinuz-311-x86_64
> initrd-Abbild gefunden: /boot/initramfs-311-x86_64.img
> Linux-Abbild gefunden: /boot/vmlinuz-310-x86_64
> initrd-Abbild gefunden: /boot/initramfs-310-x86_64.img
>   /dev/cdrom: open failed: Kein Medium gefunden
>   No volume groups found
> Found memtest86+ image: /boot/memtest86+/memtest.bin
> erledigt
> Optionale Abhängigkeiten für linux311
>     crda: to set the correct wireless channels of your country
> (2/3) Installiere linux311-ndiswrapper
> [######################] 100%
> (3/3) Installiere linux311-virtualbox-guest-mo...
> [######################] 100%
> ===> You may want to load vboxguest, vboxsf and vboxvideo
>
> Also grub.cfg is fine:
>
> [michael at computer ~]$ sudo cat /boot/grub/grub.cfg | grep Linux
> menuentry 'Manjaro Linux (Kernel: 3.11.6-1-MANJARO x64)' --class manjaro
> --class gnu-linux --class gnu --class os $menuentry_id_option
> 'gnulinux-3.11.6-1-MANJARO x64-true-76c37a32-0c48-40f3-afc7-e82283970614' {
>     echo    'Linux 3.11.6-1-MANJARO x64 wird geladen …'
> menuentry 'Manjaro Linux (Kernel: 3.11.6-1-MANJARO x64 - fallback
> initramfs)' --class manjaro --class gnu-linux --class gnu --class os
> $menuentry_id_option 'gnulinux-3.11.6-1-MANJARO
> x64-fallback-76c37a32-0c48-40f3-afc7-e82283970614' {
>     echo    'Linux 3.11.6-1-MANJARO x64 wird geladen …'
> menuentry 'Manjaro Linux (Kernel: 3.10.17-1-MANJARO x64)' --class manjaro
> --class gnu-linux --class gnu --class os $menuentry_id_option
> 'gnulinux-3.10.17-1-MANJARO x64-true-76c37a32-0c48-40f3-afc7-e82283970614' {
>     echo    'Linux 3.10.17-1-MANJARO x64 wird geladen …'
> menuentry 'Manjaro Linux (Kernel: 3.10.17-1-MANJARO x64 - fallback
> initramfs)' --class manjaro --class gnu-linux --class gnu --class os
> $menuentry_id_option 'gnulinux-3.10.17-1-MANJARO
> x64-fallback-76c37a32-0c48-40f3-afc7-e82283970614' {
>     echo    'Linux 3.10.17-1-MANJARO x64 wird geladen …'
>
> It seems only the mixup not using the right branch. Thats why I wanted to
> wait till today for the announcement.
> Mixed packages don't work. Please test when mirrors are synced.
>
> On 11/04/2013 10:50 PM, J Fernyhough wrote:
>
> Ah! That's not good. :D
>
> On 4 November 2013 21:32, Carl Duff <cdrw2400 at gmail.com> <cdrw2400 at gmail.com> wrote:
>
> Installed 3.11. It's in /boot/grub. Nothing in grub menu when booting. The
> command update-grub returns an error.
>
>
> On 4 November 2013 21:28, J Fernyhough <j.fernyhough at gmail.com> <j.fernyhough at gmail.com> wrote:
>
> Just to clarify, which kernel are you installing and which appears in
> /boot/grub? You've mentioned 3.11 twice... (i.e. installing 3.11, only
> 3.11 appears).
>
> On 4 November 2013 21:03, Carl Duff <cdrw2400 at gmail.com> <cdrw2400 at gmail.com> wrote:
>
> Did you try on the RC2 release? Apologies, should've been clearer.
>
>
> On 4 November 2013 20:36, Rob <korrode at gmail.com> <korrode at gmail.com> wrote:
>
> Personally I can't replicate this.
>
> I assume you tried re-installing grub?
>
>
> On Tue, Nov 5, 2013 at 7:19 AM, Carl Duff <cdrw2400 at gmail.com> <cdrw2400 at gmail.com> wrote:
>
> Seems to install correctly, but doesn't show up in GRUB. Then tried
> "sudo
> update-grub" and got this:
>
> [carl at manjaro ~]$ sudo update-grub
> [sudo] password for carl:
> /usr/bin/grub-editenv: error: cannot open `//boot/grub/grubenv.new':
> No
> such file or directory.
> /usr/bin/grub-mkconfig: line 225: /boot/grub/grub.cfg.new: No such
> file
> or directory
>
> Checked /boot/grub and only 3.11 is there.
>
> Carl
>
> _______________________________________________
> manjaro-dev mailing listmanjaro-dev at manjaro.orghttp://lists.manjaro.org/cgi-bin/mailman/listinfo/manjaro-dev
>
> _______________________________________________
> manjaro-dev mailing listmanjaro-dev at manjaro.orghttp://lists.manjaro.org/cgi-bin/mailman/listinfo/manjaro-dev
>
>
>
>
> _______________________________________________
> manjaro-dev mailing listmanjaro-dev at manjaro.orghttp://lists.manjaro.org/cgi-bin/mailman/listinfo/manjaro-dev
>
>
>
> _______________________________________________
> manjaro-dev mailing list
> manjaro-dev at manjaro.org
> http://lists.manjaro.org/cgi-bin/mailman/listinfo/manjaro-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.manjaro.org/pipermail/manjaro-dev/attachments/20131105/8c3291d1/attachment.html>


More information about the manjaro-dev mailing list