Upgrading Mageia1 to cauldron on EeePC 901
I'm upgrading an existing Mageia 1 on my EeePC 901, take care upgrading is longer than installing (seems the sdcard is a bit slow) and it takes a lot of room, besides keeping old version of some rpm... (some dates back to 2010.1... which was a Mandriva Linux at the time :D)
I'm following http://wiki.mageia.org/en/QA_process_for_testing_upgrades
urpmi.removemedia -a
urpmi.addmedia --distrib http://ftp.belnet.be/mirror/mageia/distrib/cauldron/i586/ # take care, will move you to dev
# then, add packages for release for non-free and tainted (only updates were selected by default)
urpmi --debug --bug /root/log --replacefiles --auto-update --auto # take care: will download first all rpm (which exploded my / partition.... saw it in the morning)
begin: 22h20
df -h Sys. de fichiers Taille Uti. Disp. Uti% Monté sur /dev/sda5 3,7G 2,1G 1,5G 60% / /dev/sda3 7,9M 42K 7,8M 1% /media/windows /dev/sdb1 15G 13G 1,1G 93% /usr
Well, 1,5 GB was not that suficient at / for all rpm :/ There should be at least 2 GB to download first all packages then install them
some errors
install-info: warning: no info dir entry in `/usr/share/info/epspdf.info.xz' install-info: warning: no info dir entry in `/usr/share/info/texdraw.info.xz' /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.keybindings.gschema.xml: Erreur à la ligne 55, caractère 1 : 0:expected value. This entire file has been ignored. /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml: Erreur à la ligne 7, caractère 1 : 0:expected value. This entire file has been ignored. Certains paquetages demandés ne peuvent pas être installés : libgtlcore0-0.9.15.2-1.mga2.i586 (car libLLVM-2.9.so est non satisfait) libopenctl0-0.9.15.2-1.mga2.i586 (car libLLVM-2.9.so est non satisfait) libopenshiva0-0.9.15.2-1.mga2.i586 (car libLLVM-2.9.so est non satisfait)
Upgrading Mageia1 to cauldron on Latitude E6400
Install on Latitude E6400157 packages upgraded then:
begin: 11h17
un espace additionnel de 1.5Go sera utilisé. 2.9Go de paquets seront récupérés. Procéder à l'installation des 2607 paquetages ? (O/n)
Let's say I download approximately at 300 kB/s : 166 min hence ~2h45
11h53 : 500 packages/2607 hence ~35 min...
Afin de satisfaire les dépendances de « typelib(WebKit) », un des paquetages suivants est nécessaire : 1- libwebkit-gir3.0-1.8.0-2.mga2.i586 : GObject Introspection interface description for webkit (à installer) 2- libwebkit-gir1.0-1.8.0-2.mga2.i586 : GObject Introspection interface description for webkit (à installer) Que choisissez-vous ? (1-2) Afin de satisfaire les dépendances de « pythonegg(setuptools) », un des paquetages suivants est nécessaire : 1- python-virtualenv-1.7-1.mga2.noarch : Virtual Python Environment builder (à installer) 2- python3-setuptools-0.6.24-2.mga2.noarch : Python Distutils Enhancements (à installer) 3- python-setuptools-0.6.24-2.mga2.noarch : Python Distutils Enhancements (à installer) Que choisissez-vous ? (1-3) Afin de satisfaire les dépendances de « libvdeplug.so.3 », un des paquetages suivants est nécessaire : 1- libvde3-2.3.2-4.mga2.i586 : VDE libraries (à installer) 2- libvdeplug3-2.3.2-3.mga2.i586 : VDE libraries (à installer) Que choisissez-vous ? (1-2) Certains paquetages demandés ne peuvent pas être installés : gnucash-2.4.10-9.mga2.i586 (car guile1.8 est non satisfait) gnucash-hbci-2.4.10-9.mga2.i586 (car gnucash[== 2.4.10-9.mga2] est non satisfait) guile1.8-1.8.8-11.mga2.i586 (en raison de conflit avec guile-2.0.5-4.mga2.i586, en raison de conflit avec guile-2.0.5-4.mga2.i586) libpq9.1_5-9.1.3-1.mga2.i586 (en raison de conflit avec libpq9.0_5-9.0.7-1.mga2.i586) php-pgsql-5.3.10-7.mga2.i586 (car postgresql-libs[>= 9.1.3] est non satisfait) Désirez-vous tout de même continuer ? (O/n) o Afin de poursuivre la mise à jour, les paquetages suivants doivent être désinstallés : bisho-0.16-0.0.2mdv2010.1.i586 (en raison du manque de libnbtk-gtk-1.2.so.0) carrick-ng-1.1.13-1mdv2010.1.i586 (en raison du manque de libmoblin-panel.so.0, en raison du manque de libnbtk-gtk-1.2.so.0) dalston-0.1.12-1mdv2010.1.i586 (en raison du manque de libmoblin-panel.so.0, en raison du manque de libnbtk-gtk-1.2.so.0) halevt-user-0.1.6.2-1.mga1.i586 (en raison du manque de halevt) libanerley0-0.1.7-1mdv2010.0.i586 (en raison du manque de libclutter-glx-1.0.so.0, en raison du manque de libnbtk-1.2.so.0) libchamplain-gtk0.4_0-0.4.5-1mdv2010.1.i586 (en raison du manque de libclutter-gtk-0.10.so.0) libchamplain-gtk0.8_1-0.8.3-1.mga1.i586 (en raison du manque de libclutter-gtk-0.10.so.0) libchamplain0.4_0-0.4.5-1mdv2010.1.i586 (en raison du manque de libclutter-glx-1.0.so.0) libchamplain0.8_1-0.8.3-1.mga1.i586 (en raison du manque de libclutter-glx-1.0.so.0) libclutter-gst0.10_0-0.10.0-1mdv2010.0.i586 (en raison du manque de libclutter-glx-1.0.so.0) libclutter-imcontext0-0.1.4-2mdv2010.0.i586 (en raison du manque de libclutter-glx-1.0.so.0) libclutter-mozembed0-0.10.5-1mdv2010.1.i586 (en raison du manque de libclutter-glx-1.0.so.0) libempathy-gtk28-2.28.1-2mdv2010.0.i586 (en raison du manque de libempathy.so.30) libempathy30-2.28.1-2mdv2010.0.i586 (en raison du manque de libtelepathy-farsight.so.0) libgdata7-0.6.6-1.mga1.i586 (en raison de conflit avec libgdata-gir0.0-0.12.0-1.mga2.i586) libgeda38-1.6.2-2.mga1.i586 (car libgeda-data == 1:1.6.2-2.mga1 est non satisfait) libgoffice0_4-0.4.3-8mdv2009.1.i586 (en raison du manque de libgsf-gnome-1.so.114) libmoblin-mutter-private0-2.27.5-0.0.1mdv2010.0.i586 (en raison du manque de libclutter-glx-1.0.so.0) libmoblin-panel0-0.43.2-4mdv2010.0.i586 (en raison du manque de libclutter-glx-1.0.so.0, en raison du manque de libnbtk-1.2.so.0) libnbtk-gtk0-1.2.0-2mdv2010.1.i586 (car libnbtk0 >= 1.2.0 est non satisfait, car libnbtk0 == 1.2.0-2mdv2010.1 est non satisfait) libnbtk0-1.2.0-2mdv2010.1.i586 (en raison du manque de libclutter-glx-1.0.so.0) libnice0-0.0.11-1mdv2010.1.i586 (en raison de conflit avec gstreamer0.10-nice-0.1.1-5.mga2.i586) libopal3.6.1-3.6.1-3plf2009.1.i586 (en raison du manque de libodbc.so.1, en raison du manque de libpt.so.2.6.1) libopal3.6.6-3.6.6-8plf2010.1.i586 (en raison du manque de libodbc.so.1, en raison du manque de libpt.so.2.6.5) libopal3.6.8-3.6.8-2.mga1.i586 (en raison du manque de libodbc.so.1, en raison du manque de libpt.so.2.6.7) libpenge0-0.0.12-1mdv2010.1.i586 (en raison du manque de libclutter-glx-1.0.so.0, en raison du manque de libmoblin-panel.so.0, en raison du manque de libnbtk-1.2.so.0) libpoppler-glib6-0.16.5-1.mga1.i586 (car poppler-gir0.16 >= 0.16.5 est non satisfait) libpt2.6.1-2.6.1-2mdv2009.1.i586 (en raison du manque de libodbc.so.1, car libpt2.6.1-plugins >= 2.6.1-2mdv2009.1 est non satisfait) libpt2.6.1-plugins-2.6.1-2mdv2009.1.i586 (car libpt2.6.1 == 2.6.1-2mdv2009.1 est non satisfait) libpt2.6.5-2.6.5-5mdv2010.1.i586 (en raison du manque de libodbc.so.1, car libpt2.6.5-plugins >= 2.6.5-5mdv2010.1 est non satisfait) libpt2.6.5-plugins-2.6.5-5mdv2010.1.i586 (car libpt2.6.5 == 2.6.5-5mdv2010.1 est non satisfait) libpt2.6.7-2.6.7-2.mga1.i586 (en raison du manque de libodbc.so.1, car libpt2.6.7-plugins >= 2.6.7-2.mga1 est non satisfait) libpt2.6.7-plugins-2.6.7-2.mga1.i586 (car libpt2.6.7 == 2.6.7-2.mga1 est non satisfait) moblin-mutter-2.27.5-0.0.1mdv2010.0.i586 (en raison de conflit avec mutter) moblin-panel-applications-0.0.5-2mdv2010.0.i586 (en raison du manque de libclutter-glx-1.0.so.0, en raison du manque de libmoblin-panel.so.0, en raison du manque de libnbtk-1.2.so.0) moblin-panel-myzone-0.0.12-1mdv2010.1.i586 (en raison du manque de libclutter-glx-1.0.so.0, en raison du manque de libmoblin-panel.so.0, en raison du manque de libnbtk-1.2.so.0, en raison du manque de libpenge.so.0) moblin-panel-pasteboard-0.0.3-1mdv2010.0.i586 (en raison du manque de libclutter-glx-1.0.so.0, en raison du manque de libmoblin-panel.so.0, en raison du manque de libnbtk-1.2.so.0) moblin-panel-people-0.0.10-1mdv2010.1.i586 (en raison du manque de libclutter-glx-1.0.so.0, en raison du manque de libmoblin-panel.so.0, en raison du manque de libanerley.so.0, en raison du manque de libnbtk-1.2.so.0) moblin-panel-status-0.0.10-1mdv2010.0.i586 (en raison du manque de libclutter-gtk-0.10.so.0) moblin-web-browser-2.1.1-4mdv2010.1.i586 (en raison du manque de libclutter-gtk-0.10.so.0) moblin-web-browser-panel-2.1.1-4mdv2010.1.i586 (en raison du manque de libclutter-glx-1.0.so.0, en raison du manque de libmoblin-panel.so.0, en raison du manque de libnbtk-1.2.so.0, en raison du manque de libclutter-mozembed-0.10.so.0, car moblin-web-browser == 2.1.1-4mdv2010.1 est non satisfait) mutter-moblin-0.43.2-4mdv2010.0.i586 (en raison du manque de moblin-mutter) wikini-0.4.3-7mdv2010.1.noarch (car apache-conf >= 2.0.54 est non satisfait, car apache-conf >= 2.0.54 est non satisfait) (o/N)
restart of urpmi: 13h24
vlc-plugin-theora 2.0.1 1.mga2.taint> i586 un espace additionnel de 1.1Go sera utilisé. 2.4Go de paquets seront récupérés. Procéder à l'installation des 1708 paquetages ? (O/n)
at 13h34: 512/1708
restart at 13h43:
un espace additionnel de 1.3Go sera utilisé. 1.9Go de paquets seront récupérés. Procéder à l'installation des 1156 paquetages ? (O/n)
restart at 13h52:
un espace additionnel de 1.3Go sera utilisé. 1.9Go de paquets seront récupérés. Procéder à l'installation des 1098 paquetages ? (O/n)
problem with initrd not being available :/
so boot from an USB key (Mageia 1) then chroot /media/linuxcauldron (after mounting my disk) to reinstall kernel :
urpmi kernel-desktop-latest virtualbox-kernel-desktop-latest Can't read /proc/mounts: Aucun fichier ou dossier de ce type Pour satisfaire les dépendances, les paquetages suivants vont être installés : Paquetage Version Révision Arch (média « Core Release ») kernel-desktop-3.3.1-2.mga2 1 1.mga2 i586 kernel-desktop-latest 3.3.1 2.mga2 i586 virtualbox-kernel-3.3.1-deskt> 4.1.12 2.mga2 i586 virtualbox-kernel-desktop-lat> 4.1.12 2.mga2 i586 un espace additionnel de 39Mo sera utilisé. 34Mo de paquets seront récupérés. Procéder à l'installation des 4 paquetages ? (O/n) http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/virtualbox-kernel-3.3.1-desktop-2.mga2-4.1.12-2.mga2.i586.rpm http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/kernel-desktop-3.3.1-2.mga2-1-1.mga2.i586.rpm http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/kernel-desktop-latest-3.3.1-2.mga2.i586.rpm http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/virtualbox-kernel-desktop-latest-4.1.12-2.mga2.i586.rpm installation de virtualbox-kernel-3.3.1-desktop-2.mga2-4.1.12-2.mga2.i586.rpm kernel-desktop-3.3.1-2.mga2-1-1.mga2.i586.rpm virtualbox-kernel-desktop-latest-4.1.12-2.mga2.i586.rpm kernel-desktop-latest-3.3.1-2.mga2.i586.rpm depuis /var/cache/urpmi/rpms Préparation... ########################################################################### 1/4: kernel-desktop-3.3.1-2.mga2 ########################################################################### INTERNAL ERROR: hd0 has no mapping in device.map (when translating (hd0,7)/boot/gfxmenu) MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/bootloader.pm:1657 bootloader::grub2dev_and_file() called from /usr/lib/libDrakX/bootloader.pm:1680 bootloader::grub2file() called from /usr/lib/libDrakX/bootloader.pm:345 bootloader::read_grub_menu_lst() called from /usr/lib/libDrakX/bootloader.pm:230 bootloader::read_grub() called from /usr/lib/libDrakX/bootloader.pm:182 bootloader::read() called from /usr/sbin/bootloader-config:64 2/4: virtualbox-kernel-3.3.1-desktop-2.mga2 ########################################################################### vboxdrv.ko.xz: - Installation - Installing to /lib/modules/3.3.1-desktop-2.mga2/dkms-binary/3rdparty/vbox/ vboxnetflt.ko.xz: - Installation - Installing to /lib/modules/3.3.1-desktop-2.mga2/dkms-binary/3rdparty/vbox/ vboxnetadp.ko.xz: - Installation - Installing to /lib/modules/3.3.1-desktop-2.mga2/dkms-binary/3rdparty/vbox/ depmod............ DKMS: install Completed. virtualbox, 4.1.12-1.mga2, 3.3.1-desktop-2.mga2, i586: installed-binary from 3.3.1-desktop-2.mga2 3/4: virtualbox-kernel-desktop-latest ########################################################################### 4/4: kernel-desktop-latest ########################################################################### /usr/sbin/dkms_autoinstaller: ligne56: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne101: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne25: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne25: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne30: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne36: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne38: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne117: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne101: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne25: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne25: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne30: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne36: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne38: /dev/stdout: Aucun fichier ou dossier de ce type /usr/sbin/dkms_autoinstaller: ligne117: /dev/stdout: Aucun fichier ou dossier de ce type Use of uninitialized value $uptime in subtraction (-) at /usr/lib/perl5/vendor_perl/5.14.2/urpm/sys.pm line 188, <$F> line 1.
retry after the following:
[root@localhost /]# mount -t devtmpfs none /dev
[root@localhost /]# mount -t proc none /proc
[root@localhost /]# mount rootfs on / type rootfs (rw) /dev/sdb on /live/media type iso9660 (ro,relatime) /dev/loop0 on /live/distrib type squashfs (ro,relatime) /live/memory on /live/memory type tmpfs (rw,relatime,size=1007000k,nr_inodes=202366,mode=755) unionfs on / type unionfs (rw,relatime,dirs=/live/memory=rw:/live/distrib=ro) /dev on /dev type tmpfs (rw,relatime,size=1007000k,nr_inodes=202366,mode=755) /proc on /proc type proc (rw,relatime) /sys on /sys type sysfs (rw,relatime) /proc/bus/usb on /proc/bus/usb type usbfs (rw,relatime,devgid=43,devmode=664) none on /dev/pts type devpts (rw,relatime,mode=620,ptmxmode=000) none on /dev/shm type tmpfs (rw,relatime) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) gvfs-fuse-daemon on /home/live/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=500,group_id=500) /dev/sda5 on /media/linux3 type ext4 (rw,relatime,barrier=1,data=ordered) /dev/sda8 on / type ext3 (rw,relatime,errors=continue,user_xattr,barrier=0,data=ordered) none on /dev type devtmpfs (rw,relatime,size=1003308k,nr_inodes=200519,mode=755) none on /proc type proc (rw,relatime)
http://superuser.com/questions/165116/mount-dev-proc-sys-in-a-chroot-environment
retry after the following:
[root@localhost /]# mount -t devtmpfs none /dev
[root@localhost /]# mount -t proc none /proc
[root@localhost /]# mount -t sysfs none /sys
well, same result, of course
another try:
of course, dracut -f only produces an initrd for 2.6.37.7 which is the kernel booted from the USB key with Mageia 1 :-)
well next step would be to try to regenerate initrd for 3.3.1... from the chroot
http://www.linuxquestions.org/questions/linux-kernel-70/having-issues-with-creating-initrd-img-for-a-3-3-1-kernel-938918/ (not relevant at all in fact)
http://www.mail-archive.com/mageia-dev@mageia.org/msg13622.html initrd not a symlink (well, afaic, I've got the symlink but not the initrd /o\)
http://www.mail-archive.com/mageia-discuss@mageia.org/msg06489.html
tried dracut -f 3.3.1 # to make it fast (well, not so sure it works that way o_O)
https://bugs.mageia.org/show_bug.cgi?id=5276
https://bugs.mageia.org/show_bug.cgi?id=5076 grub bug mixing hd0 & hd1 ?
well dracut -f /boot/initrd-3.3.1-2-mga2 nearly works:
- the symlink for grub is correct
- I get a dracut debug shell
- completion does not work
- loadkeys fr works! (well qwerty too, initially)
- how come none of the usual commands are available? WTF? what's the use of this shell if I cannot get access to Internet? (or modify /boot/grub/menu.lst... which does not even exist o_O)
- the error comes from:
- Warning "/dev/disk/by-uuid/6aa...9c" does not exist
- dropping to debug shell
some help coming from tmb
01:08 < baud> not this time, I simply upgraded changing the mirrors to cauldron
01:08 < edge226> Umeaboy: looks like it.
01:09 < Umeaboy> I want to build wine since Spotify crashes on launch for me.
01:09 < Umeaboy> I followed the instructions from the website.
01:09 < Umeaboy> The gui loads, but crashes.
01:09 < edge226> Umeaboy: looks like you need the X library development package.
01:09 < tmb> baud: chroot into nonworking system and do: dracut -f /boot/initrd-3.3.1-desktop-2.mga2.img 3.3.1-desktop-2.mga2
01:10 < Umeaboy> edge226: I thought checking the box for Development installs this from the installation-process.
01:10 < baud> tmb: did that, encountered debug shell of dracut
01:10 < baud> no completion
01:10 < baud> another filesystem :/
01:10 < tmb> that's because the shell is in initramfs, not on disc
01:10 < baud> ok
01:11 < edge226> Umeaboy: I am just going by what the error messge was.
01:11 < baud> then ? at least uname -a shows 3.3.1 (which I do not have with USB key then chroot)
01:13 < edge226> Umeaboy: just use the package manager and look up xorg or something then see if any of the -devel or -lib-devel packages are missing.
01:13 < tmb> baud: you need to specify the command _exactly_ as I wrore it so it knows exactly what kernel you want, or it will try to copy modules from
running kernel
01:14 < edge226> Umeaboy: a little searching for a few different things and you will most likely find the missing package. but that error was referring
that you have a package missing.
01:15 < Umeaboy> Yes, but I wish that the script would tell me which,
01:15 < baud> tmb: eh I told you I wrote it just as you just told it
01:15 < Umeaboy> Aaaaaah, well......
01:15 < edge226> Umeaboy: you are 64 bit right?
01:15 < Umeaboy> Yes.
01:15 < edge226> Umeaboy: its telling you that you are missing 32 bit stuff.
01:16 < tmb> baud: sorry, I read other info on your page
01:16 < Umeaboy> I'm install all xorg-related devel-packages that I found.
01:16 -!- danielko [~chatzilla@128.238.182.109] has joined #mageia
01:16 < baud> as before it wrote a 2.6.38-7 kernel (by default, from USB key kernel of Mageia 1 liveCD)
01:16 < Umeaboy> installing
01:16 < edge226> Umeaboy: that should fix it but it wont let you know what exactly it was that you are missing...
01:16 < baud> tmb: hmmm maybe I wasn't suficiently precise, as I tried many things :-)
01:17 < baud> if grub would ignore initrd and just boot 3.3.1, I could upgrade with urpmi.update -a then solve my problem :-)
01:18 < baud> I end up in dracut debug shell now, it lacks diagnosis commands :/
01:18 < Umeaboy> It didn't help.
01:18 < baud> (and network)
01:19 < tmb> baud: it cant as it needs working initrd to be able to boot the hw
01:19 < baud> ah
01:19 < tmb> baud, but I assume you have a working 2.6.38 kernel and initrd still installed on that system
01:20 < baud> well, 2.6.38-7 does not boot (fb, drm driver problem) but 3.3.1 does not boot either :/
01:21 < tmb> baud, well, what was latest kernel that was working before the upgrade ?
01:21 < tmb> it should still be there
01:22 < baud> I'm going to try 2.6.36 : well the same, "cannot open file delete" then systemd-fsck then some strange characters... I can wait till it
boots...
01:22 < baud> it was 2.6.38 but does not boot any more :/
01:23 < tmb> have you fixed the device.map
01:23 -!- pterjan [~pterjan@027d0e0e.bb.sky.com] has quit [Quit: Leaving]
01:23 < tmb> ?
01:23 < baud> tmb: yep, seen this, did not work on it (grub related)
01:23 < baud> I thought having an initrd would solve this
01:23 < tmb> well, without it grub wont be able to boot your hw either :/
01:24 < tmb> so chroot into it, do: cp /boot/grub/device.map.old /boot/grub/device.map
01:25 < baud> that's from a previous change : I added a partition reducing the first windows partition and adding one (it messed up my configuration but I
ended up booting it)
01:25 < baud> I can try this
01:26 < tmb> then alter /boot/initrd.img and /boot/vmlinuz symlinks to point to the latest known working kernel, check that it's still listed in
/boot/grub/menu.lst
01:27 < tmb> then boot with the working kernel, uninstall and reinstall the new kernel and check that initrd got created before you try to rebooot again
01:27 < baud> in fact the initrd only rely on a working kernel, then lets the new kernel booting
01:27 < tmb> that should get you up and running again
01:28 < baud> that should do it
01:28 < tmb> baud: the initrd must match the kernel you try to boot
01:31 < baud> eh my /boot/grub/device.map was empty, replaced it with old one (telling that hd0 is sda)
01:31 < baud> fine, now I've got a drm/fb problem
01:31 < baud> emergency mode
01:32 < baud> that's better
01:34 * tmb got to get some sleep now, have to get up again in ~4 hours
01:35 -!- tmb [~t_m_b@85.134.54.173] has quit [Quit: Lämnar]
01:35 < baud> fine :-) thanks a lot tmb
well, I edited device.map (which was 0 size) : this told that hd0 is sda, which permitted to boot a bit farther
ah a new problem with dracut : uname -a shows 2.6.38.8-desktop-8.mga and gives an error E:libkmod: index_mm_open: major version check fail which I had not before
I can try booting USB key with mageia 1 to generate initrd once again (not having those errors), booting with grub without initrd would be more simple imho though, well...
For comparison, another of my laptop has the following files in /boot
-rw-r--r-- 1 root root 440 juin 21 2011 boot.backup.sda lrwxrwxrwx 1 root root 27 avril 21 10:14 config -> config-3.3.1-desktop-2.mga2 -rw-r--r-- 1 root root 128898 mai 22 2011 config-2.6.38.7-desktop-1.mga -rw-r--r-- 1 root root 128835 mai 22 2011 config-2.6.38.7-desktop586-1.mga -rw-r--r-- 1 root root 129044 janv. 25 11:41 config-2.6.38.8-desktop-10.mga -rw-r--r-- 1 root root 128898 juil. 8 2011 config-2.6.38.8-desktop-4.mga -rw-r--r-- 1 root root 128898 sept. 1 2011 config-2.6.38.8-desktop-5.mga -rw-r--r-- 1 root root 128917 sept. 26 2011 config-2.6.38.8-desktop-6.mga -rw-r--r-- 1 root root 129043 nov. 4 01:31 config-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 129043 déc. 20 11:09 config-2.6.38.8-desktop-9.mga -rw-r--r-- 1 root root 136931 avril 4 12:15 config-3.3.1-desktop-2.mga2 drwxr-xr-x 2 root root 4096 avril 19 13:28 dracut/ -rwxr-xr-x 1 root root 532992 avril 20 01:57 gfxmenu* drwxr-xr-x 2 root root 4096 avril 11 02:45 grub/ -rw-r--r-- 1 root root 5690573 avril 20 01:58 initrd-2.6.38.7-desktop-1.mga.img -rw-r--r-- 1 root root 5691454 avril 20 01:58 initrd-2.6.38.7-desktop586-1.mga.img -rw-r--r-- 1 root root 5689167 avril 20 01:57 initrd-2.6.38.8-desktop-10.mga.img -rw-r--r-- 1 root root 5691207 avril 20 01:57 initrd-2.6.38.8-desktop-4.mga.img -rw-r--r-- 1 root root 5691157 avril 20 01:57 initrd-2.6.38.8-desktop-5.mga.img -rw-r--r-- 1 root root 5691339 avril 20 01:57 initrd-2.6.38.8-desktop-6.mga.img -rw-r--r-- 1 root root 5689209 avril 20 01:58 initrd-2.6.38.8-desktop-8.mga.img -rw-r--r-- 1 root root 5689527 avril 20 01:57 initrd-2.6.38.8-desktop-9.mga.img -rw-r--r-- 1 root root 18335920 avril 20 01:57 initrd-3.3.1-desktop-2.mga2.img lrwxrwxrwx 1 root root 36 mai 31 2011 initrd-desktop586.img -> initrd-2.6.38.7-desktop586-1.mga.img lrwxrwxrwx 1 root root 31 avril 11 02:45 initrd-desktop.img -> initrd-3.3.1-desktop-2.mga2.img lrwxrwxrwx 1 root root 31 avril 11 02:45 initrd.img -> initrd-3.3.1-desktop-2.mga2.img -rw-r--r-- 1 root root 308314 mai 15 2011 mageia.bmp -rw-r--r-- 1 root root 203425 mai 22 2011 symvers-2.6.38.7-desktop-1.mga.gz -rw-r--r-- 1 root root 203735 mai 22 2011 symvers-2.6.38.7-desktop586-1.mga.gz -rw-r--r-- 1 root root 204803 janv. 25 11:41 symvers-2.6.38.8-desktop-10.mga.gz -rw-r--r-- 1 root root 203485 juil. 8 2011 symvers-2.6.38.8-desktop-4.mga.gz -rw-r--r-- 1 root root 203542 sept. 1 2011 symvers-2.6.38.8-desktop-5.mga.gz -rw-r--r-- 1 root root 203589 sept. 26 2011 symvers-2.6.38.8-desktop-6.mga.gz -rw-r--r-- 1 root root 204785 nov. 4 01:31 symvers-2.6.38.8-desktop-8.mga.gz -rw-r--r-- 1 root root 204803 déc. 20 11:09 symvers-2.6.38.8-desktop-9.mga.gz -rw-r--r-- 1 root root 167956 avril 4 12:15 symvers-3.3.1-desktop-2.mga2.xz lrwxrwxrwx 1 root root 31 avril 11 19:07 System.map -> System.map-3.3.1-desktop-2.mga2 -rw-r--r-- 1 root root 1635442 mai 22 2011 System.map-2.6.38.7-desktop-1.mga -rw-r--r-- 1 root root 1638065 mai 22 2011 System.map-2.6.38.7-desktop586-1.mga -rw-r--r-- 1 root root 1636845 janv. 25 11:41 System.map-2.6.38.8-desktop-10.mga -rw-r--r-- 1 root root 1635765 juil. 8 2011 System.map-2.6.38.8-desktop-4.mga -rw-r--r-- 1 root root 1636152 sept. 1 2011 System.map-2.6.38.8-desktop-5.mga -rw-r--r-- 1 root root 1636628 sept. 26 2011 System.map-2.6.38.8-desktop-6.mga -rw-r--r-- 1 root root 1636628 nov. 4 01:31 System.map-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 1636845 déc. 20 11:09 System.map-2.6.38.8-desktop-9.mga -rw-r--r-- 1 root root 1688349 avril 4 12:15 System.map-3.3.1-desktop-2.mga2 lrwxrwxrwx 1 root root 28 avril 11 02:45 vmlinuz -> vmlinuz-3.3.1-desktop-2.mga2 -rw-r--r-- 1 root root 2483568 mai 22 2011 vmlinuz-2.6.38.7-desktop-1.mga -rw-r--r-- 1 root root 2483696 mai 22 2011 vmlinuz-2.6.38.7-desktop586-1.mga -rw-r--r-- 1 root root 2484624 janv. 25 11:41 vmlinuz-2.6.38.8-desktop-10.mga -rw-r--r-- 1 root root 2484544 juil. 8 2011 vmlinuz-2.6.38.8-desktop-4.mga -rw-r--r-- 1 root root 2484032 sept. 1 2011 vmlinuz-2.6.38.8-desktop-5.mga -rw-r--r-- 1 root root 2484256 sept. 26 2011 vmlinuz-2.6.38.8-desktop-6.mga -rw-r--r-- 1 root root 2484160 nov. 4 01:31 vmlinuz-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 2484528 déc. 20 11:09 vmlinuz-2.6.38.8-desktop-9.mga -rw-r--r-- 1 root root 2663648 avril 4 12:15 vmlinuz-3.3.1-desktop-2.mga2 lrwxrwxrwx 1 root root 28 avril 11 02:45 vmlinuz-desktop -> vmlinuz-3.3.1-desktop-2.mga2 lrwxrwxrwx 1 root root 33 mai 31 2011 vmlinuz-desktop586 -> vmlinuz-2.6.38.7-desktop586-1.mga
to be compared to Latitude E6400:
drwxr-xr-x 3 root root 4096 févr. 15 15:28 boot/ -rw-r--r-- 1 root root 440 juin 18 2009 boot.backup.sda lrwxrwxrwx 1 root root 29 avril 10 14:28 config -> config-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 114700 sept. 20 2010 config-2.6.33.7-desktop-2mnb -rw-r--r-- 1 root root 122382 déc. 22 2010 config-2.6.36.2-desktop-2mnb -rw-r--r-- 1 root root 128898 mai 22 2011 config-2.6.38.7-desktop-1.mga -rw-r--r-- 1 root root 129044 janv. 25 11:41 config-2.6.38.8-desktop-10.mga -rw-r--r-- 1 root root 128898 juil. 8 2011 config-2.6.38.8-desktop-4.mga -rw-r--r-- 1 root root 128898 sept. 1 2011 config-2.6.38.8-desktop-5.mga -rw-r--r-- 1 root root 128917 sept. 26 2011 config-2.6.38.8-desktop-6.mga -rw-r--r-- 1 root root 129043 nov. 4 01:31 config-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 136931 avril 4 12:15 config-3.3.1-desktop-2.mga2 drwxr-xr-x 2 root root 4096 avril 14 21:57 dracut/ -rw-r--r-- 1 root root 256 juin 18 2009 fr-latin1.klt -rwxr-xr-x 1 root root 531456 avril 17 11:41 gfxmenu* drwxr-xr-x 2 root root 4096 avril 18 01:33 grub/ -rw------- 1 root root 4992955 mars 19 2010 initrd-2.6.29.1-desktop586-4mnb.img.old -rw------- 1 root root 4992238 mars 19 2010 initrd-2.6.29.3-desktop-1mnb.img.old -rw------- 1 root root 4995473 mars 19 2010 initrd-2.6.29.3-desktop586-1mnb.img.old -rw------- 1 root root 4993798 mars 19 2010 initrd-2.6.29.6-desktop-1mnb.img.old -rw------- 1 root root 4994735 mars 19 2010 initrd-2.6.29.6-desktop-2mnb.img.old -rw------- 1 root root 4995159 mars 19 2010 initrd-2.6.29.6-desktop586-1mnb.img.old -rw------- 1 root root 4993804 mars 19 2010 initrd-2.6.29.6-desktop586-2mnb.img.old -rw------- 1 root root 5282048 mars 19 2010 initrd-2.6.31.5-desktop-0.rc1.1mnb.img.old -rw------- 1 root root 5251744 mars 19 2010 initrd-2.6.31.5-desktop-1mnb.img.old -rw------- 1 root root 5283240 mars 19 2010 initrd-2.6.31.5-desktop586-0.rc1.1mnb.img.old -rw------- 1 root root 5252603 mars 19 2010 initrd-2.6.31.5-desktop586-1mnb.img.old -rw------- 1 root root 5252140 mars 19 2010 initrd-2.6.31.6-desktop-1mnb.img.old -rw------- 1 root root 5250900 mars 19 2010 initrd-2.6.31.6-desktop586-1mnb.img.old -rw------- 1 root root 8124319 juin 1 2010 initrd-2.6.33.1-desktop-1mnb.img.old -rw------- 1 root root 8124053 juin 1 2010 initrd-2.6.33.1-desktop-2mnb.img.old -rw------- 1 root root 8125743 juin 1 2010 initrd-2.6.33.1-desktop586-1mnb.img.old -rw------- 1 root root 8125511 juin 1 2010 initrd-2.6.33.1-desktop586-2mnb.img.old -rw------- 1 root root 8123778 juin 1 2010 initrd-2.6.33.2-desktop-1mnb.img.old -rw------- 1 root root 8123917 juin 1 2010 initrd-2.6.33.2-desktop-2mnb.img.old -rw------- 1 root root 6882554 juin 1 2010 initrd-2.6.33.2-desktop-3mnb.img.old -rw------- 1 root root 8125511 juin 1 2010 initrd-2.6.33.2-desktop586-1mnb.img.old -rw------- 1 root root 10620358 juin 1 2010 initrd-2.6.33.2-desktop586-2mnb.img.old -rw------- 1 root root 6885289 juin 1 2010 initrd-2.6.33.2-desktop586-3mnb.img.old -rw------- 1 root root 6745971 juin 1 2010 initrd-2.6.33.3-desktop-1mnb.img.old -rw------- 1 root root 6747488 juin 1 2010 initrd-2.6.33.3-desktop586-1mnb.img.old -rw------- 1 root root 7046332 juin 1 2010 initrd-2.6.33.4-desktop-1mnb.img.old -rw------- 1 root root 7047077 juin 1 2010 initrd-2.6.33.4-desktop-2mnb.img.old -rw------- 1 root root 7045159 juin 1 2010 initrd-2.6.33.4-desktop-3mnb.img.old -rw------- 1 root root 7049408 juin 1 2010 initrd-2.6.33.4-desktop586-1mnb.img.old -rw------- 1 root root 7048767 juin 1 2010 initrd-2.6.33.4-desktop586-2mnb.img.old -rw------- 1 root root 4187272 oct. 24 17:43 initrd-2.6.33.7-desktop-2mnb.img -rw------- 1 root root 6026855 mai 29 2011 initrd-2.6.33.7-desktop-2mnb.img.old -rw------- 1 root root 8124409 juin 1 2010 initrd-2.6.33-desktop-1mnb.img.old -rw------- 1 root root 8125618 juin 1 2010 initrd-2.6.33-desktop586-1mnb.img.old -rw------- 1 root root 4233985 oct. 24 17:43 initrd-2.6.36.2-desktop-2mnb.img -rw------- 1 root root 10426694 mai 29 2011 initrd-2.6.36.2-desktop-2mnb.img.old -rw------- 1 root root 4272013 oct. 24 17:43 initrd-2.6.38.7-desktop-1.mga.img -rw-r--r-- 1 root root 13592902 avril 17 22:16 initrd-2.6.38.7-desktop586-1.mga.img -rw------- 1 root root 4271277 oct. 24 17:43 initrd-2.6.38.8-desktop-4.mga.img -rw------- 1 root root 4271208 oct. 24 17:43 initrd-2.6.38.8-desktop-5.mga.img -rw------- 1 root root 4272318 oct. 24 17:43 initrd-2.6.38.8-desktop-6.mga.img -rw------- 1 root root 4270450 nov. 21 16:27 initrd-2.6.38.8-desktop-8.mga.img -rw-r--r-- 1 root root 13614757 avril 18 01:46 initrd-3.3.1-desktop-2.mga2.img lrwxrwxrwx 1 root root 31 avril 17 22:12 initrd-desktop.img -> initrd-3.3.1-desktop-2.mga2.img lrwxrwxrwx 1 root root 31 avril 20 11:42 initrd.img -> initrd-3.3.1-desktop-2.mga2.img -rw------- 1 root root 5691562 mai 29 2011 initrd.img.old lrwxrwxrwx 1 root root 33 nov. 21 16:27 initrd_symlinkold.img -> initrd-2.6.38.8-desktop-8.mga.img lrwxrwxrwx 1 root root 37 mars 8 2010 kernel.h -> /boot/kernel.h-2.6.33-desktop586-1mnb -rw-r--r-- 1 root root 1493 juin 23 2009 kernel.h-2.6.29.1-desktop586-4mnb -rw-r--r-- 1 root root 1493 juil. 22 2009 kernel.h-2.6.29.3-desktop-1mnb -rw-r--r-- 1 root root 1493 août 18 2009 kernel.h-2.6.29.6-desktop-1mnb -rw-r--r-- 1 root root 1493 oct. 14 2009 kernel.h-2.6.29.6-desktop-2mnb -rw-r--r-- 1 root root 1493 oct. 24 2009 kernel.h-2.6.31.5-desktop-0.rc1.1mnb -rw-r--r-- 1 root root 1493 déc. 11 2009 kernel.h-2.6.31.5-desktop586-1mnb -rw-r--r-- 1 root root 1493 févr. 22 2010 kernel.h-2.6.31.6-desktop-1mnb -rw-r--r-- 1 root root 1493 mars 8 2010 kernel.h-2.6.33-desktop586-1mnb -rw-r--r-- 1 root root 308314 mai 15 2011 mageia.bmp -rw-r--r-- 1 root root 184932 sept. 20 2010 symvers-2.6.33.7-desktop-2mnb.gz -rw-r--r-- 1 root root 196566 déc. 22 2010 symvers-2.6.36.2-desktop-2mnb.gz -rw-r--r-- 1 root root 203425 mai 22 2011 symvers-2.6.38.7-desktop-1.mga.gz -rw-r--r-- 1 root root 204803 janv. 25 11:41 symvers-2.6.38.8-desktop-10.mga.gz -rw-r--r-- 1 root root 203485 juil. 8 2011 symvers-2.6.38.8-desktop-4.mga.gz -rw-r--r-- 1 root root 203542 sept. 1 2011 symvers-2.6.38.8-desktop-5.mga.gz -rw-r--r-- 1 root root 203589 sept. 26 2011 symvers-2.6.38.8-desktop-6.mga.gz -rw-r--r-- 1 root root 204785 nov. 4 01:31 symvers-2.6.38.8-desktop-8.mga.gz -rw-r--r-- 1 root root 167956 avril 4 12:15 symvers-3.3.1-desktop-2.mga2.xz lrwxrwxrwx 1 root root 33 nov. 25 16:11 System.map -> System.map-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 1407298 sept. 20 2010 System.map-2.6.33.7-desktop-2mnb -rw-r--r-- 1 root root 1453896 déc. 22 2010 System.map-2.6.36.2-desktop-2mnb -rw-r--r-- 1 root root 1635442 mai 22 2011 System.map-2.6.38.7-desktop-1.mga -rw-r--r-- 1 root root 1636845 janv. 25 11:41 System.map-2.6.38.8-desktop-10.mga -rw-r--r-- 1 root root 1635765 juil. 8 2011 System.map-2.6.38.8-desktop-4.mga -rw-r--r-- 1 root root 1636152 sept. 1 2011 System.map-2.6.38.8-desktop-5.mga -rw-r--r-- 1 root root 1636628 sept. 26 2011 System.map-2.6.38.8-desktop-6.mga -rw-r--r-- 1 root root 1636628 nov. 4 01:31 System.map-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 1688349 avril 4 12:15 System.map-3.3.1-desktop-2.mga2 lrwxrwxrwx 1 root root 30 nov. 21 16:27 vmlinuz -> vmlinuz-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 2282368 sept. 20 2010 vmlinuz-2.6.33.7-desktop-2mnb -rw-r--r-- 1 root root 2389376 déc. 22 2010 vmlinuz-2.6.36.2-desktop-2mnb -rw-r--r-- 1 root root 2483568 mai 22 2011 vmlinuz-2.6.38.7-desktop-1.mga -rw-r--r-- 1 root root 2484624 janv. 25 11:41 vmlinuz-2.6.38.8-desktop-10.mga -rw-r--r-- 1 root root 2484544 juil. 8 2011 vmlinuz-2.6.38.8-desktop-4.mga -rw-r--r-- 1 root root 2484032 sept. 1 2011 vmlinuz-2.6.38.8-desktop-5.mga -rw-r--r-- 1 root root 2484256 sept. 26 2011 vmlinuz-2.6.38.8-desktop-6.mga -rw-r--r-- 1 root root 2484160 nov. 4 01:31 vmlinuz-2.6.38.8-desktop-8.mga -rw-r--r-- 1 root root 2663648 avril 4 12:15 vmlinuz-3.3.1-desktop-2.mga2 lrwxrwxrwx 1 root root 28 avril 17 22:12 vmlinuz-desktop -> vmlinuz-3.3.1-desktop-2.mga2
well, seems many files still link to 2.6.38.8 instead of 3.3.1 (vmlinuz, System.map, config...)
dracut -f /boot/initrd-3.3.1-desktop-2.mga2.img 3.3.1-desktop-2.mga2
WARNING: Activating non-hostonly initrd due to distro upgrade. Your initrd will be larger than needed for compatibility. You can disable this by setting DRACUT_SKIP_FORCED_NON_HOSTONLY=1 I: *** Including module: dash *** I: *** Including module: i18n *** I: *** Including module: rpmversion *** I: *** Including module: network *** I: Possible missing firmware "ct2fw.bin" for kernel module "bna.ko" I: Possible missing firmware "ctfw.bin" for kernel module "bna.ko" I: *** Including module: ifcfg *** I: *** Including module: plymouth *** I: *** Including module: crypt *** I: *** Including module: dm *** I: Skipping udev rule: 64-device-mapper.rules I: *** Including module: dmraid *** I: *** Including module: kernel-modules *** I: Possible missing firmware "ct2fw.bin" for kernel module "bfa.ko" I: Possible missing firmware "ctfw.bin" for kernel module "bfa.ko" I: Possible missing firmware "cbfw.bin" for kernel module "bfa.ko" I: Possible missing firmware "aic94xx-seq.fw" for kernel module "aic94xx.ko" I: Omitting driver kernel/fs/nfs I: Omitting driver kernel/fs/nfs/nfs I: Omitting driver kernel/fs/lockd I: Omitting driver kernel/fs/lockd/lockd I: Omitting driver kernel/fs/nfsd I: Omitting driver kernel/fs/nfsd/nfsd I: Omitting driver kernel/fs/nfs_common I: Omitting driver kernel/fs/nfs_common/nfs_acl I: *** Including module: lvm *** I: Skipping udev rule: 64-device-mapper.rules I: *** Including module: mdraid *** I: *** Including module: fcoe *** I: *** Including module: nfs *** I: *** Including module: resume *** I: *** Including module: rootfs-block *** I: *** Including module: terminfo *** I: *** Including module: udev-rules *** I: Skipping udev rule: 50-udev.rules I: Skipping udev rule: 95-late.rules I: Skipping udev rule: 50-firmware.rules I: *** Including module: usrmount *** I: *** Including module: base *** I: *** Including module: fs-lib *** I: Skipping program btrfsck as it cannot be found and is flagged to be optional I: *** Including module: shutdown *** I: Skipping program kexec as it cannot be found and is flagged to be optional I: *** Including modules done *** I: Wrote /boot/initrd-3.3.1-desktop-2.mga2.img: I: -rw-r--r-- 1 root root 29638923 avril 22 15:09 /boot/initrd-3.3.1-desktop-2.mga2.img