Package Details: ms-sys 1:2.6.0-1

Git Clone URL: (read-only, click to copy)
Package Base: ms-sys
Description: Write Microsoft-compatible boot records (MBR and PBR)
Upstream URL:
Licenses: GPL
Conflicts: ms-sys-devel
Submitter: Allan
Maintainer: chungy
Last Packager: chungy
Votes: 248
Popularity: 0.45
First Submitted: 2008-12-28 13:05
Last Updated: 2019-06-22 22:15

Latest Comments

1 2 3 Next › Last »

jeffhoe commented on 2018-11-07 23:34

I get the below error when running makepkg -si. I've tried redownloading and using the Makefile from a manually downloaded ms-sys-2.4.1.

==> Entering fakeroot environment... ==> Starting package()... Makefile:97: *** target pattern contains no '%'. Stop. ==> ERROR: A failure occurred in package(). Aborting...

cimarronline commented on 2018-03-29 17:04

Thanks chungy. I was able to make a bootable Win10 USB stick, according to your directions. Running ms-sys -n on the partition also was required, as you recommend. Other instructions don't have this step, and it won't boot ("This is not a bootable disk").

Running ms-sys -n on the partition can be done after the USB stick is created, if that step was missed.

chungy commented on 2018-03-25 05:36

Note to flaggers: ms-sys uses a stable/unstable versioning system like the old (pre-2.6) linux kernel. 2.5.x aren't in the stable series, this package won't get upgraded unless a 2.4.2 or 2.6.0 happen.

chungy commented on 2017-08-05 04:20

I've been able to successfully make bootable Windows 7 USB sticks with this package, but it is a little tricky. My method goes as such:
1. Partition the drive with MBR (not GPT!), making an NTFS partition with type 0x07 and the active flag set
2. Use mkfs.ntfs on the new partition
3. Run "ms-sys -n" on the partition, and "ms-sys -7" on the whole USB device itself
4. Copy all the files from the Windows 7 DVD/ISO to the NTFS partition; "cp -r" is sufficient...

arewaolakunle commented on 2017-08-04 13:43

@okabekudo Same here...ended up using rufus to create it. I actually thought something all of a sudden was wrong with my image(had only one).

okabekudo commented on 2017-06-20 21:09

I don't think this works any longer for creating bootable Windows 7 usb sticks on a fully updated system. I've tried for several hours now with different isos that all work when creating a bootable stick on windows. I know that I did nothing wrong in the process because I've done this many times. Formatting to ntfs setting bootflag creating mbr through ms-sys -7 copying the files of the iso to the stick. I even tried the devel version but no luck. It prompts "this is no bootable disk" every time on many different computers. Could someone try this to confirm it's broken?

chungy commented on 2017-05-27 23:05

> I don't know [...] why you're so eager to not use it.

I haven't been convinced that it's necessary for this package. Examples like chromium, firefox, systemd, tor are far easier to see the need given their attack surfaces.

> ? This has to be run as root.

For certain uses. I've used it as non-root plenty of times (eg: virtual machine images :p)

polyzen commented on 2017-05-27 22:58

I don't know how effective the hardening-wrapper is for this nor why you're so eager to not use it.

> disk devices/partitions are normally off-limits to non-root users

? This has to be run as root.

> PIE may become the default in gcc "soon" (nullifying the need for the wrapper).

It's probably been "soon" for years now. Doesn't nullify the need until it has happened.

> install the package beforehand and knock yourself out.

Would require you remembering all packages which are written in C/++.

chungy commented on 2017-05-27 22:46

From both the wiki and IRC discussion, I glean:
1. Including the makedepends for hardening-wrapper is optional.
2. It is most useful for programs susceptible to security attacks. ms-sys is not SUID and disk devices/partitions are normally off-limits to non-root users.
3. PIE may become the default in gcc "soon" (nullifying the need for the wrapper).
4. If you want to build a hardened executable, install the package beforehand and knock yourself out.

I understand that you are the previous maintainer, I thank your input, but at the moment, I don't believe there's a critical reason to include hardening-wrapper as a makedepends.

polyzen commented on 2017-05-27 22:30

Keeping hardening-wrapper around after the relevant builds can cause issues with other builds (IIRC Emacs was an example).