{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/kiwi/issues/74","repository_url":"https://api.github.com/repos/SUSE/kiwi","labels_url":"https://api.github.com/repos/SUSE/kiwi/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/kiwi/issues/74/comments","events_url":"https://api.github.com/repos/SUSE/kiwi/issues/74/events","html_url":"https://github.com/SUSE/kiwi/issues/74","id":154182918,"number":74,"title":"Persistent hybrid ISO broken with firmware=\"bios\" and virtio cdrom storage","user":{"login":"lachs0r","id":652892,"avatar_url":"https://avatars.githubusercontent.com/u/652892?v=3","gravatar_id":"","url":"https://api.github.com/users/lachs0r","html_url":"https://github.com/lachs0r","followers_url":"https://api.github.com/users/lachs0r/followers","following_url":"https://api.github.com/users/lachs0r/following{/other_user}","gists_url":"https://api.github.com/users/lachs0r/gists{/gist_id}","starred_url":"https://api.github.com/users/lachs0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachs0r/subscriptions","organizations_url":"https://api.github.com/users/lachs0r/orgs","repos_url":"https://api.github.com/users/lachs0r/repos","events_url":"https://api.github.com/users/lachs0r/events{/privacy}","received_events_url":"https://api.github.com/users/lachs0r/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SUSE/kiwi/labels/Question","name":"Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-11T08:02:50Z","updated_at":"2016-05-13T12:13:00Z","closed_at":null,"body":"(Sorry, accidentally opened this issue on the openSUSE/kiwi tracker at first. Maybe that one should be disabled?)\r\n\r\nWhen trying to boot a hybrid ISO with persistent storage that was created with firmware=\"bios\" in qemu with the read-only ISO in a virtio drive, LinuxRC tries to partition the disk with fdisk (which does nothing) and consequently waits for the non-existent persistent partition to appear.\r\n\r\nIn the firmware=\"bios\" case, the devices /dev/vda and /dev/vda2 exist and LinuxRC tries to create the persistent partition as /dev/vda1. This fails because the device is read-only.\r\n\r\nPossible workaround: Check /sys/class/block/$(basename $device)/ro for whether the device is actually writable, and disable persistence if it is not."},"comment":{"url":"https://api.github.com/repos/SUSE/kiwi/issues/comments/219026552","html_url":"https://github.com/SUSE/kiwi/issues/74#issuecomment-219026552","issue_url":"https://api.github.com/repos/SUSE/kiwi/issues/74","id":219026552,"user":{"login":"schaefi","id":912234,"avatar_url":"https://avatars.githubusercontent.com/u/912234?v=3","gravatar_id":"","url":"https://api.github.com/users/schaefi","html_url":"https://github.com/schaefi","followers_url":"https://api.github.com/users/schaefi/followers","following_url":"https://api.github.com/users/schaefi/following{/other_user}","gists_url":"https://api.github.com/users/schaefi/gists{/gist_id}","starred_url":"https://api.github.com/users/schaefi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schaefi/subscriptions","organizations_url":"https://api.github.com/users/schaefi/orgs","repos_url":"https://api.github.com/users/schaefi/repos","events_url":"https://api.github.com/users/schaefi/events{/privacy}","received_events_url":"https://api.github.com/users/schaefi/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T12:13:00Z","updated_at":"2016-05-13T12:13:00Z","body":"next testing the bios case"}}