{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/bugs/issues/159","labels_url":"https://api.github.com/repos/coreos/bugs/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/coreos/bugs/issues/159/comments","events_url":"https://api.github.com/repos/coreos/bugs/issues/159/events","html_url":"https://github.com/coreos/bugs/issues/159","id":44748250,"number":159,"title":"parted vs. cgpt - boot issues on bare metal","user":{"login":"tomgillett","id":1083890,"avatar_url":"https://avatars.githubusercontent.com/u/1083890?v=3","gravatar_id":"","url":"https://api.github.com/users/tomgillett","html_url":"https://github.com/tomgillett","followers_url":"https://api.github.com/users/tomgillett/followers","following_url":"https://api.github.com/users/tomgillett/following{/other_user}","gists_url":"https://api.github.com/users/tomgillett/gists{/gist_id}","starred_url":"https://api.github.com/users/tomgillett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomgillett/subscriptions","organizations_url":"https://api.github.com/users/tomgillett/orgs","repos_url":"https://api.github.com/users/tomgillett/repos","events_url":"https://api.github.com/users/tomgillett/events{/privacy}","received_events_url":"https://api.github.com/users/tomgillett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/bugs/labels/os","name":"os","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-02T22:44:22Z","updated_at":"2015-07-23T17:03:40Z","closed_at":null,"body":"**Background information**\r\n> I've got a bizarre issue running CoreOS on bare metal - problem is apparent on 4x machines.\r\n\r\n> After a clean install on dedicated hardware I have to run parted over the disk to ensure that the backup GPT is on the end of the disk. Without doing this, the machine hangs on reboot.\r\n\r\n> If I run parted, CoreOS will boot once - and only once. Any reboot after that stage fails to come back up. I have to contact my provider to find out why and apparently the message displayed on screen is \"no boot devices, sda ok, hardware ok\".\r\n\r\n**Debugging**\r\nAfter some debugging with @marineam on IRC:\r\n\r\n- Experiment 1: run `cgpt add -i 1 -B0 /dev/sda`. Reboot exhibits same problem.\r\n\r\n- Experiment 2: run `cgpt -i3 -S0 -P0 -T0 /dev/sda` and `cgpt -i4 -S0 -P0 -T0 /dev/sda`. Reboot exhibits the same problem...\r\n\r\n- Experiment 3: run `parted /dev/sda name 7 OEM-CONFIG-TEST`. Reboot came back up perfectly! Yay!\r\n\r\n**Conclusion**\r\n> marineam: mr-spoon: ok, for the time being you aren't going to be able to do normal upgrades. I will review the differences between what parted and what cgpt spits out and see if I can figure out what may be going on."},"comment":{"url":"https://api.github.com/repos/coreos/bugs/issues/comments/124168309","html_url":"https://github.com/coreos/bugs/issues/159#issuecomment-124168309","issue_url":"https://api.github.com/repos/coreos/bugs/issues/159","id":124168309,"user":{"login":"andypost","id":73713,"avatar_url":"https://avatars.githubusercontent.com/u/73713?v=3","gravatar_id":"","url":"https://api.github.com/users/andypost","html_url":"https://github.com/andypost","followers_url":"https://api.github.com/users/andypost/followers","following_url":"https://api.github.com/users/andypost/following{/other_user}","gists_url":"https://api.github.com/users/andypost/gists{/gist_id}","starred_url":"https://api.github.com/users/andypost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andypost/subscriptions","organizations_url":"https://api.github.com/users/andypost/orgs","repos_url":"https://api.github.com/users/andypost/repos","events_url":"https://api.github.com/users/andypost/events{/privacy}","received_events_url":"https://api.github.com/users/andypost/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T17:03:40Z","updated_at":"2015-07-23T17:03:40Z","body":"Confirm he trouble after update there's no way to reboot.\r\non bare metal server (online.net PowerEdge R320) I always got \"no such partition\" from grub\r\nthe next reboot does not find grub\r\nPS: checked on 2 servers"}}