{"action":"created","issue":{"url":"https://api.github.com/repos/pbatard/rufus/issues/485","labels_url":"https://api.github.com/repos/pbatard/rufus/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/pbatard/rufus/issues/485/comments","events_url":"https://api.github.com/repos/pbatard/rufus/issues/485/events","html_url":"https://github.com/pbatard/rufus/issues/485","id":66554381,"number":485,"title":"Linux / Mac OS X fork","user":{"login":"ivkol","id":11072428,"avatar_url":"https://avatars.githubusercontent.com/u/11072428?v=3","gravatar_id":"","url":"https://api.github.com/users/ivkol","html_url":"https://github.com/ivkol","followers_url":"https://api.github.com/users/ivkol/followers","following_url":"https://api.github.com/users/ivkol/following{/other_user}","gists_url":"https://api.github.com/users/ivkol/gists{/gist_id}","starred_url":"https://api.github.com/users/ivkol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivkol/subscriptions","organizations_url":"https://api.github.com/users/ivkol/orgs","repos_url":"https://api.github.com/users/ivkol/repos","events_url":"https://api.github.com/users/ivkol/events{/privacy}","received_events_url":"https://api.github.com/users/ivkol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-06T08:12:56Z","updated_at":"2015-04-07T09:59:14Z","closed_at":null,"body":"Hello Dear,\r\n\r\nAppears github have changed their policy and no personal messages exist? WTF\r\n\r\nWhat would you recommend as start point if I were to rewrite the application for Linux and MacOSX. Is it a huge hassle to handle block devices? should be much easier than on windows i guess.\r\n\r\nDoes such tool exist for Linux/Mac OS X already ?\r\nI have tried lots of useless tools like unetbootin and such... noone of those works like your tool (always, from first time with every iso i feed it).\r\n\r\nI have a problem creating Windows bootable USB flash drive and I am trapped in a useless loop of lots of work until I prepare a USB flash on my MacBook Pro.\r\n I dont have bare metal Windows around, neither my Virtual Machines on my Mac can export USB to themselfs properly so I can use Rufus(doesnt find devices).\r\nRunning Rufus on OSX with wine finds no devices as well.\r\nI need to find a retail cd of windows 7, bootcamp it(not every iso works), install on baremetal, install rufus, download Windows 7 SP1 or any newer, and prepare usb with Rufus from baremetal windows machine.\r\nSo I always have to ask a friend to prepare a Usb drive for me or I need to have a bare metal windows machine around to do the hassle by myself.\r\n\r\nOfcourse I do 'dd if=/dev/disk2 of=~/img/win7.sp1.usb8g.img' images that can I restore with dd on 'any' other usb. \r\nBut newer releases of upgraded windows exist also and I will like to prepare a fresh image drive from time to time.\r\n\r\nPlease advise!"},"comment":{"url":"https://api.github.com/repos/pbatard/rufus/issues/comments/90493370","html_url":"https://github.com/pbatard/rufus/issues/485#issuecomment-90493370","issue_url":"https://api.github.com/repos/pbatard/rufus/issues/485","id":90493370,"user":{"login":"pbatard","id":1206968,"avatar_url":"https://avatars.githubusercontent.com/u/1206968?v=3","gravatar_id":"","url":"https://api.github.com/users/pbatard","html_url":"https://github.com/pbatard","followers_url":"https://api.github.com/users/pbatard/followers","following_url":"https://api.github.com/users/pbatard/following{/other_user}","gists_url":"https://api.github.com/users/pbatard/gists{/gist_id}","starred_url":"https://api.github.com/users/pbatard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbatard/subscriptions","organizations_url":"https://api.github.com/users/pbatard/orgs","repos_url":"https://api.github.com/users/pbatard/repos","events_url":"https://api.github.com/users/pbatard/events{/privacy}","received_events_url":"https://api.github.com/users/pbatard/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T09:59:13Z","updated_at":"2015-04-07T09:59:13Z","body":"> What would you recommend as start point if I were to rewrite the application for Linux and MacOSX.\r\n\r\nI'd look at the Copyright notices (in the about box) to get the list of all the Open Source projects Rufus leverages, as most of these should have a Linux/OS X port and it should give you an idea of the pieces you're going to have to fill.\r\n\r\nThen I'd try to produce a GUI tool that can format a drive to NTFS and produce a progress bar when doing so. Once you have that, you should be able to build upon it.\r\n\r\n> Is it a huge hassle to handle block devices? should be much easier than on windows i guess.\r\n\r\nI expect that to be easier. But Rufus does a lot of it's handling (boot records) through [ms-sys](http://ms-sys.sourceforge.net/), that has block device R/W capabilities, so you should be able to reuse that.\r\n\r\n> Does such tool exist for Linux/Mac OS X already ?\r\n\r\nI'm afraid not. Be aware that I estimate porting Rufus to be a __HUGE__ undertaking (something that will demand someone working __full time__ on it at the very least 3 months to complete). The application looks deceptively simple, but it is anything but, especially as it is pretty tied to using Windows APIs, so you would have a lot of work to do porting it.\r\n\r\n> I have a problem creating Windows bootable USB flash drive and I am trapped in a useless loop of lots of work until I prepare a USB flash on my MacBook Pro.\r\n\r\nInstead of porting Rufus, if your goal is to be able to work with Windows images, I think you should look into using [wimlib](https://sourceforge.net/projects/wimlib/) and build a commandline application around it that uses ms-sys to install the boot block and call on some NTFS or FAT32 formatting. Outside of Windows To Go, creating Windows bootable USB drives for anything > Windows Vista is pretty easy. All you need is to be able to format the drive to NTFS or FAT32 and install the standard Windows bootloader. Then you can just copy the files.\r\nAnd if you need to do anything custom with the `install.wim`, you should be able to use wimlib. So really, I don't think you actually need to port Rufus. Just get your hands on ms-sys, wimlib and you should be able to achieve what you want from command line."}}