[Bug 827520] New: No kernel in /boot or /boot is empty after installation
https://bugzilla.novell.com/show_bug.cgi?id=827520 https://bugzilla.novell.com/show_bug.cgi?id=827520#c0 Summary: No kernel in /boot or /boot is empty after installation Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 2 Platform: 64bit OS/Version: SUSE Other Status: NEW Severity: Critical Priority: P5 - None Component: Live Medium AssignedTo: coolo@suse.com ReportedBy: mergan14846@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 After the live kde I find that the /boot directory is empty I can recover by booting the live iso and mount /dev/sda2 mount --bind /dev /mnt/dev mount --bind /sys /mnt/sys mount --bind /proc /mnt/proc chroot /mnt run yast in a terminal and reinstalling the kernel I also notice during the installation that the /mnt/sys and /mnt/proc is empty I have tested file:///var/run/media/dale/Home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0505-Media.iso file:///var/run/media/dale/Home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0506-Media.iso file:///var/run/media/dale/Home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0510-Media.iso file:///var/run/media/dale/Home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0513-Media.iso file:///var/run/media/dale/Home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0514-Media.iso file:///var/run/media/dale/Home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0515-Media.iso file:///home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0527-Media.iso file:///home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0530-Media.iso file:///home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0535-Media.iso file:///home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0536-Media(1).iso file:///home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0536-Media.iso file:///home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0538-Media.iso file:///home/dale/Downloads/openSUSE-Factory-KDE-Live-x86_64-Build0544-Media.iso all with the same results Reproducible: Always Steps to Reproduce: 1.download the iso 2.copy to usb with imagewriter 3.install and reboot no kernel Actual Results: nasty note from grub Expected Results: working system -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c1
Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c2
--- Comment #2 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c3
dale ritchey
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c4
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c5
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c6
--- Comment #6 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c7
--- Comment #7 from dale ritchey
sorry, what ? I'm confused
I built a test image using factory kiwi and build for 12.3 because I don't have 13.1 at hand but it should not matter to reproduce this:
kiwi --build suse-12.3-JeOS -d /tmp/mytest
I got:
LimeJeOS-openSUSE-12.3.x86_64-1.12.3.iso
and booted it with:
qemu-kvm -cdrom LimeJeOS-openSUSE-12.3.x86_64-1.12.3.iso
the system boots up and the contents of /boot are:
ls -l /boot/ total 39815 -rw-r--r-- 1 root root 1484 Feb 26 14:34 boot.readme -rw-r--r-- 1 root root 136028 Mar 1 11:39 config-3.7.10-1.1-default -rw-r--r-- 1 root root 0 Aug 7 12:56 do_purge_kernels drwxr-xr-x 3 root root 29 Aug 7 12:57 grub2 lrwxrwxrwx 1 root root 5 Aug 7 12:57 grub2-efi -> grub2 lrwxrwxrwx 1 root root 25 Aug 7 12:57 initrd -> initrd-3.7.10-1.1-default -rw-r--r-- 1 root root 26987354 Aug 7 12:57 initrd-3.7.10-1.1-default -rw-r--r-- 1 root root 621056 Aug 7 12:57 message -rw-r--r-- 1 root root 241420 Mar 1 13:01 symvers-3.7.10-1.1-default.gz -rw-r--r-- 1 root root 409 Mar 1 13:01 sysctl.conf-3.7.10-1.1-default -rw-r--r-- 1 root root 2446078 Mar 1 12:48 System.map-3.7.10-1.1-default -rw-r--r-- 1 root root 5561332 Mar 1 13:00 vmlinux-3.7.10-1.1-default.gz lrwxrwxrwx 1 root root 26 Aug 7 12:56 vmlinuz -> vmlinuz-3.7.10-1.1-default -rw-r--r-- 1 root root 4773814 Mar 1 15:21 vmlinuz-3.7.10-1.1-default
which looks pretty ok to me
the system is mounted via overlayfs
cat /proc/mounts | grep read /dev/loop7 /read-only squashfs ro,relatime 0 0 /dev/ram1 /read-write ext3 rw,relatime,data=ordered 0 0 overlayfs / overlayfs rw,relatime,lowerdir=/read-only,upperdir=/read-write 0 0
which is also ok, so could you compare the 13.1 booted live iso and check if all I mentioned above is still true ?
I also have no idea why this bug talks about a live ISO and installation is this because one used the yast live installer ? and maybe the bug is not referencing the live system but the result of the installation ?
please clarify
thanks
It is the result of the installation. the installed /boot directory does not get populated resulting in an unbootable system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c8
Christoph Feck
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c9
--- Comment #9 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c10
--- Comment #10 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c11
--- Comment #11 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c12
--- Comment #12 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c13
--- Comment #13 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c14
--- Comment #14 from dale ritchey
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c15
Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c16
--- Comment #16 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c
Alberto Planas Dominguez
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c17
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c18
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c19
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c20
--- Comment #20 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c21
--- Comment #21 from Neil Rickert
I have submitted kiwi v5.05.35 to Factory (sr: 201109) to fix the reported defect but I still feel there is something different wrong in your image because of the empty /boot
The empty "/boot" seems to related to how the USB hybrid partition is overlayed on what is in "/read-only". From what I can find out about overlayfs, what is seen in "/boot" should be the same as is in "/read-only/boot" unless overlayed by something in "/read-write/boot". Yet that does not happen. However, if the directory "/read-write/boot" is removed, the live USB rebooted, then a new "/read-write/boot" is created and the overlay begins to work as documented. Maybe those kiwi errors are related, but I won't be convinced until tests show that it is working on a freshly created live USB. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827520
https://bugzilla.novell.com/show_bug.cgi?id=827520#c22
--- Comment #22 from Neil Rickert
/boot is not empty, but it contains tons of truncated files ( c#20 )
On the first boot of a newly created live USB, "/boot" contains truncated files. On a second boot of that same live USB, "/boot" is empty. However, if the "/boot" subdirectory of the hybrid partition is removed, then all future boots of that live USB look good (and that removed directory has been recreated). Deleting the hybrid partition ( "/dev/sdX3" ) from the USB restores it to newly created state, with the same problems repeated. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com