Linux HOWTOs

About | Home | Search


HOWTO: ms-sys
Description: Creates M$-compatible boot records (like fdisk /mbr)
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# ms-sys 2.1.1 (released 2005/11/20)
# ============
# If you experience bugs, you may want to check out the latest development
# version, which is 2.1.2 as I write this.

cd
test -f installed/ms-sys-2.1.1.tgz && mv installed/ms-sys-2.1.1.tgz .
test ! -f ms-sys-2.1.1.tgz &&
 wget http://download.sf.net/ms-sys/ms-sys-2.1.1.tgz

# Verify tarball w/ md5sum:
echo "99f822a9a281466411a082b0d706650e  ms-sys-2.1.1.tgz" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "ms-sys-*" -exec rm -r {} \;
tar xzvf ~/ms-sys-2.1.1.tgz
cd ms-sys-2.1.1
test $UID = 0 && chown -R root:root .
make

# Become root to install it
su

make install
rm /usr/local/share/locale/sv_SE/LC_MESSAGES/ms-sys.mo

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/ms-sys-*.tgz
mv ms-sys-2.1.1.tgz installed/


# If you ever want to uninstall ms-sys, this should do it:
cd
su
test -d src/ms-sys-* && ( cd src/ms-sys-* ; make uninstall )
rm -f /usr/local/bin/ms-sys /usr/local/man/man1/ms-sys.1 \
 /usr/local/share/locale/sv_SE/LC_MESSAGES/ms-sys.mo
exit
find ~/src -maxdepth 1 -type d -name "ms-sys-*" -exec rm -r {} \;
rm -f ~/installed/ms-sys-*.tar.*

Back to the list


Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>