Bug 666504 - LiveCD USB boot broken
Summary: LiveCD USB boot broken
Status: VERIFIED FIXED
: 668141 668184 (view as bug list)
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Other (show other bugs)
Version: Factory
Hardware: All Other
: P3 - Medium : Major with 1 vote (vote)
Target Milestone: ---
Assignee: Petr Uzel
QA Contact: E-mail List
URL:
Whiteboard: util-linux
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 07:29 UTC by Bernhard Wiedemann
Modified: 2011-02-19 20:35 UTC (History)
10 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
kiwi log (37.17 KB, text/plain)
2011-01-24 09:47 UTC, Bernhard Wiedemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2011-01-24 07:29:14 UTC
LiveCD USB boot reports  "Couldn't find Live image configuration file"

last known-good version is from 2011-01-09
http://openqa.opensuse.org/results/openSUSE-KDE-LiveCD-x86_64-Build1002-usbboot

first broken version is from 2011-01-11
http://openqa.opensuse.org/results/openSUSE-KDE-LiveCD-x86_64-Build1005-usbboot

in between was this commit
http://lists.opensuse.org/opensuse-commit/2011-01/msg00169.html
(there were also many other commits, but this one was the most likely culprit)

Steps To Reproduce:
qemu-img create test.img 2G
dd if=$iso of=test.img bs=1M conv=notrunc
qemu-kvm -hda test.img -m 1000
Comment 1 Marcus Schaefer 2011-01-24 09:20:49 UTC
could you boot with 

   kiwidebug=1

and provide the log file /var/log/boot.kiwi (in case of usb you can store it on the stick somewhere)

The code in that area hasn't changed at all. my guess is a isohybrid
problem or something coolo does after kiwi created the iso image
Coolo ?
Comment 2 Bernhard Wiedemann 2011-01-24 09:47:45 UTC
Created attachment 409757 [details]
kiwi log

For some reason, the first partition (vda1) goes missing on boot, but the second partition starts right after the first one ended.
Comment 3 Stephan Kulow 2011-01-24 11:03:21 UTC
if fdisk shows it's usage() function, I think the kiwi code is wrong - I don't touch anything about the initrd
Comment 4 Marcus Schaefer 2011-01-24 11:29:02 UTC
what's wrong with 

   fdisk -ul /dev/vda

the code in kiwi hasn't changed at all at that point and it also works
on 11.3. So what has changed here ? any difference if you don't use the
virtio layer in qemu ?
Comment 5 Bernhard Wiedemann 2011-01-24 11:40:55 UTC
fdisk -ul always gives usage, but
fdisk -lu and fdisk -u -l work - so can we use these instead?
Comment 6 Stephan Kulow 2011-01-24 11:43:30 UTC
why do you assign it to me? 11.4 has a stricter fdisk and -u doesn't take any l argument - and it was the same in 11.3, but it wasn't checked.

Not sure what you want, but I guess you want 
fdisk -u=sectors -l /dev/vda
Comment 7 Marcus Schaefer 2011-01-24 11:45:27 UTC
man and who the hell changed this ? I will use -u -l for now in kiwi


reassigning to fdisk maintainer
Comment 8 Marcus Schaefer 2011-01-24 12:16:16 UTC
I did a short compare of the fdisk tool and found that fdisk's
default behavior has changed from cylinders to sectors. I'm sorry but
this is a really really bad change because it will invalidate any
input the tools gave to fdisk with the expectation it calculates in
cylinders

even more worse is that in sector mode fdisk doesn't suggest any start
and stop values as it still does in cylinder mode

So I'm really unhappy with that change and suggest to do at least
the following:

1) don't change the default geometry mode if it was not set via the -u option
   stay with the cylinder mode here

Thanks a ton
Comment 9 Eberhard Harbrink 2011-01-28 17:11:15 UTC
(In reply to comment #4)
> what's wrong with 
>    fdisk -ul /dev/vda
> the code in kiwi hasn't changed at all at that point and it also works
> on 11.3. So what has changed here ? any difference if you don't use the
> virtio layer in qemu ?

This has nothing to do with qemu. I get the same error trying to boot on bare metal.
Comment 10 Martin Schlander 2011-01-29 12:07:05 UTC
I've just done a successful liveusb install of 32-bit, KDE, build1038. 

So it seems to work now, whatever someone did or didn't do ;-)
Comment 11 Marcus Schaefer 2011-01-30 09:07:23 UTC
yes I have fixed it in kiwi
Comment 12 Atri Bhattacharya 2011-01-30 09:25:39 UTC
Unfortunately, with build 1038 of the GNOME LiveCD (x86-64), I still get the same problem.
Comment 13 Sarim Khan 2011-01-30 12:15:02 UTC
hi all, i have tried at least 10 times but How the hell the first partition is disappearing. :P :P
Now how can i get the build1038? the download page has build1034 :(
Comment 14 Martin Schlander 2011-01-30 12:50:57 UTC
http://download.opensuse.org/factory/iso/
Comment 15 Sarim Khan 2011-01-30 16:07:14 UTC
Thank you very much,
Sorry for an offtopic, but does there very much changes between build1038 and build1034 ?
I have build1034 and feed that to zsync for build1038 give me only 7% match :(
i hoped for over 60% match. 
Now i need to download more than 600MB of data. :(
Comment 16 Bernhard Wiedemann 2011-01-31 10:18:40 UTC
*** Bug 668141 has been marked as a duplicate of this bug. ***
Comment 17 Vadim Plessky 2011-01-31 10:37:50 UTC
Downloading KDE LiveCD-Build1038 from http://download.opensuse.org/factory/iso/

Is it ok to make USB stick with ImageWriter in Windows, or it's better to use Linux version?
Comment 18 Vadim Plessky 2011-01-31 10:59:48 UTC
well, Build1038 bypasses moment where build1034 was stuck.
But than I get several core dumps - before I get login.

So, build1038 is not bootable. :(

P.S. OpenSUSE 11.3 and 11.4 Factory Milestone5 with kernel 2.6.37-RC5 work fine on this noteboook (MSI S271).
Comment 19 Atri Bhattacharya 2011-01-31 23:32:57 UTC
Finally with Build 1044 I have a bootable USB. Thanks for fixing this!
Comment 20 Stephan Kulow 2011-02-01 11:54:55 UTC
*** Bug 668184 has been marked as a duplicate of this bug. ***
Comment 21 Vadim Plessky 2011-02-01 19:40:44 UTC
Build 1044 still doesn't boot for me.
I see series of kernel core-dumps on console, no KDE login.

 PID: 2382 comm: flush-7:0 Tainted  2.6.37-20-default
Than stack dump, Call trace.
Comment 22 Bernhard Wiedemann 2011-02-18 10:51:49 UTC
This has been working on openQA with all LiveCDs since Build1038 / 2011-01-29
Comment 23 Vadim Plessky 2011-02-18 12:14:44 UTC
Build 1056 still doens't work for me.
It was latest build I tested.

I provided additional information to Bug 669556
https://bugzilla.novell.com/show_bug.cgi?id=669556
Comment 24 Arun Persaud 2011-02-19 06:47:48 UTC
Same as in comment 23. I tried openSUSE-GNOME-LiveCD-Build1056-i686.iso and ran into the same "Couldn't find Live image configuration file" problem. Perhaps this needs to be reopened?
Comment 25 Stephan Kulow 2011-02-19 16:18:06 UTC
the bug discussed here is fixed. please open a new one and provide your kiwi logs (see the first comments how)
Comment 26 Arun Persaud 2011-02-19 20:35:33 UTC
Done. Created Bug 673597 with the kiwi log file. HTH