How we made Shift Linux


Recommended Posts

How to make a Neowin Shift Linux Live CD. By crimsonredmk.

This guide will help you create your very own Shift Linux CD. The Shift Linux Live CD is based on Morphix (www.morphix.org) and Debian (www.debian.org).

To start off, you'll need either Debian 4.0, or Ubuntu (K,X,Edu...etc. work fine too). I haven't personally tested others, but any Debian-based distro should theoretically work.

Open up /etc/apt/sources.list in a text editor, and add the following line to the bottom:

deb http://www.morphix.org/debian unstable/

Save it and open up the Terminal. Type "sudo apt-get update", and then "sudo apt-get install morphing-tools". Type "y" when asked if you should install unverified packages. This will install tools that will help you morph your own Live CD.

Now, I suggest you make an easy directory to access, which I'll refer to as "/Shift" in this guide. Make the following subdirectories: xmls, mods, iso, iso1, art, docs, and anything else that makes your life easier.

Next up, download a base ISO, from here: http://www.morphix.org/autobuilds/base/

The newest ISO is recommended. Save it to your /Shift folder.

Next, open up the Terminal, and type the following (change your directories accordingly):

sudo mount -t iso9660 -o loop /Shift/basemod-2.6.17-2007-xxx.iso /Shift/iso1

That command mounts the basemod iso you downloaded into the /Shift/iso1 folder.

Next, in order to be able to write and change the contents of the basemod ISO, type the following:

sudo cp -a /Shift/iso1/* /Shift/iso/

That copies over everything from inside the basemod ISO into a folder for your use.

You can now unmount the basemod ISO by running:

sudo umount /Shift/iso1

Feel free to delete the basemod-2.6.17-xxx.iso now.

Next up, either grab a copy of the official Shift XML, or grab one from here: http://www.morphix.org/autobuilds/mainmod/etch/ Save that XML into /Shift/xmls.

Now, you can open up your favorite text editor and take a peek inside the XML. You'll see a basic structure, and here's what you can, and should change:

version, id, name, description, and the repository list if you're using a Morphix XML (not a Shift one). Change http://127.0.0.1/ into ftp://mirrors.kernel.org, or what ever Debian mirror you please.

Finally,you'll see an extensive list of <packagereq>. In between the two <packagereq>, you can put in your programs. They'll be installed on your finished ISO. If you want to remove a package, say when installing KDE, but you want to remove KTeaTimer to save space, substitute <packagedel></packagedel> for <packagereq>.

Save your XML and open up the Terminal. The following command will process your XML, creating a fully-working Linux install in /tmp/libmorphix-XxXxX. It will then install all of the programs mentioned in the XML, as well as remove those that you chose to remove. Type the following:

sudo mmaker /Shift/xmls/yourxml.xml /Shift/mods/yourmod.mod

You'll see a cdebootstrap command, let that run. The entire mmaker command was completed in about 15-60 minutes, depending on your system and the packages you chose.

When that's done, you'll receive an output from the mmaker command such as "module-builder /tmp/libmorphix-XxxXx /Shift/mods/yourmod.mod" Make a note of the "tmp/libmorphix-XxxXx" part.

THE FOLLOWING IS OPTIONAL, BUT RECOMMENDED

Now, in the Terminal, type the following:

sudo cp -r /etc/resolv.conf /tmp/libmorphix-XxXxx/etc/

Of course, change your libmorphix directory. That command copies your network settings to the distro which we are about to use. Type:

sudo chroot /tmp/libmorphix-XxXxx

Then,

sudo mount -t proc /proc proc

And you're in! This is your distro. Change around anything you wish, but keep everything libmorphix specific (/tmp/libmorphix-XxXxX/etc = /etc)

Here are some suggested commands:

sudo apt-get update sudo apt-get install whatever (deborphan) sudo apt-get remove whoever sudo apt-get clean deborphan sudo apt-get remove deborphan-listed-packages (they aren't needed)

And finally, to put everything back into a Live CD state:

sudo rm /etc/resolv.conf sudo touch /etc/resolv.conf sudo umount /proc exit

THIS IS THE END OF THE OPTIONAL PART!

Now, make your distro into a MOD by typing:

sudo module-builder /tmp/libmorphix-XxxxX /Shift/mods/yourmod.mod

Now, copy /Shift/mods/yourmod.mod into /Shift/iso/mainmod

Now, we brand!

Make a new user, name him "shift". Set a password, and log in as shift. Now, you've got the place to yourself. To brand, I suggest making a folder named "art" in /home/shift, and then pointing the modifications to /home/shift/art/

Here's an example. I want a wallpaper. Copy it to /home/shift/art/wallpaper.png. When changing the wallpaper, set it to /home/shift/art/wallpaper.png. Do this with sounds, the screensaver, etc.

All modifications from Gnome and KDE work this way.

When you're all done branding, open up the Terminal (still logged in as shift), and type:

sudo make-mini --homedir-all shift /Shift/mods/home.mod

This zips up everything (including your branding modifications, in the /home/shift directory, and saves it as a MOD in the /Shift/mods folder. You're free to log out and log back in as your regular user now.

Now, move /Shift/mods/home.mod to /Shift/iso/minimod/

And, time to jump in, in Terminal, type:

sudo make-iso /Shift/iso /Shift/yourfirst.iso

Don't boot-up just yet! You need to change some things first. In the Terminal, type:

sudo morphix-rebrand -T ShiftLinux -g ShiftLinux -h shift -u shift /Shift/yourfirst.iso /Shift/yoursecond.iso

Here's what this all means: -T Changes the title of the distro, -g changes the title in the GRUB menu, -h changes the computer's name when booted, -u changes the user name, but MAKE SURE IT'S THE SAME AS THE USER YOU MADE EARLIER!

And there you have it. A working, branded ISO. Feel free to boot it up using QEMU (qemu -cdrom /Shift/yourfirst.iso)

Now, for some post-making notes:

To change the GRUB boot screen:

Open up the Terminal, and type the following (change your directories accordingly):

sudo mount -t iso9660 -o loop /Shift/yoursecond.iso /Shift/isomount

Next, in order to be able to write and change the contents of the ISO, type the following:

sudo cp -a /Shift/isomount/* /Shift/isoextract/

You can now unmount the ISO by running:

sudo umount /Shift/isomount

Then, make the /Shift/message directory. cd to it in the Terminal, and type:

cpio -iv < /Shift/isoextract/boot/grub/message

Open up the GIMP and your image file. Save it as a PCX file, and name it background.pcx. Move it into your message directory (/Shift/message/). You should have overwritten the existing background.pcx file.

Change the directory in Terminal to /Shift/message/, or wherever you put the extracted files and type:

ls | cpio -o > /Shift/isoextract/boot/grub/message

That saves a new message.cpio, with the new boot graphic. Now, type:

sudo make-iso /Shift/isoextract/ /Shift/yourfinal.iso

To brand Flux (change the wallpaper):

Install Fluxbox on your build PC, and log in as shift with it. This will create a .fluxbox folder. Now, download this, and extract to /home/Shift:

[1]

Now, open up /Shift/fluxthemes/Operation in a text editor. Look for the /home/shift/art/wallpaper/Glassy.png part, and edit that location with the location of the wallpaper you wish to use. Of course, you can copy over the entire line to another theme, but I did it this way to make my life easier.

So there you have it! Shift into Neowin Linux!

Edited by CrimsonRedMk
Link to comment
https://www.neowin.net/forum/topic/583937-how-we-made-shift-linux/
Share on other sites

  • 4 months later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Actually, I think even Microsoft doesn't know how to control it
    • OpenAI is making Codex more useful in Chrome and the cloud by Pradeep Viswanathan OpenAI's Codex now has more than 5 million users, up nearly 4x from earlier this year. To further accelerate Codex's growth among developers, OpenAI today announced that it has agreed to acquire Ona, a company that builds secure cloud execution and orchestration technology for developers. Ona will enable developers to run Codex with persistent and controlled cloud infrastructure for long-running agentic workflows. Right now, most Codex execution happens locally on developers' laptops and PCs, and the agents work continuously for hours. Through Ona, OpenAI aims to make Codex agents keep working for days without being tied to a user’s local machine or an active session. This will be an important capability for enterprises that want to deploy AI agents in production while maintaining control over infrastructure, data, security boundaries, credential scope, logging, and review workflows. Like any acquisition, the deal is still subject to customary closing conditions, including regulatory approvals. Until the deal closes, OpenAI and Ona will continue to operate as separate companies. After closing, Ona’s team will join the Codex team to improve developer workflows. Alongside the Ona acquisition announcement, OpenAI today introduced a few Codex updates. Developers can now save Codex rate limit resets and use them later instead of losing them when they are not needed immediately. OpenAI is also adding a referral option where users can invite a friend to Codex and get a saved rate limit reset. OpenAI today also announced a developer mode for browser use in Chrome and the Codex in-app browser. With this mode, Codex can use the Chrome DevTools Protocol to debug web apps, inspect pages, and work more directly with browser-based development workflows. Developers can use this when they want Codex to profile JavaScript, inspect console output and network traffic, examine web page states including the DOM and applied styles, and more.
    • Camtasia 2026.1.3 by Razvan Serea TechSmith Camtasia is the complete professional solution for high-quality screen recording, video editing and sharing. Camtasia 2026 makes editing your videos easier, and faster than ever. The new editor is packed with enhanced video processing, all-new production technology, an innovative library, and stock videos and other creative assets to help you create more polished, professional videos. No video experience needed. Anyone can create informative, engaging videos. Create professional, eye-catching videos: Add special video effects - Apply Behaviors that are perfectly designed to animate your text, images, or icons. Get a crisp, polished look without being a professional video editor. Drag-and-drop your edits - What you see is what you get. Every effect and element in your video can be dropped and edited directly in the preview window. And you can edit at resolutions up to beautiful 4K, for clear video at any size. Get exceptional performance - Camtasia takes full advantage of your computer’s processor with 64-bit performance. You’ll get fast rendering times and enhanced stability—even on your most complex projects. Camtasia 2026.1.3 changelog: Feature Updates Improved keyboard navigability in tool panels. Improved screen reader accessibility of headings in Preferences. Tool panels can now be resized using a keyboard-navigable control. Updated color of folder icon in User Library tab for better visibility. Grouped media now render a composite waveform considering all audio media within that group. Added Long Path Aware to the manifest of Editor and Recorder. Performance Improvements Improved performance for editing groups on the timeline. Improved the project loading performance when timeline has lots of trec media with cursor data. Updates for IT Administrators Updated cpp-httplib from 0.38.0 to 0.43.3. Updated expat from 2.7.4 to 2.8.0. Updated freetype from 2.13.3 to 2.14.3. Updated harfbuzz from 13.0.1 to 14.2.0. Updated libpng16 from 1.6.55 to 1.6.58. Updated pango from 1.57.0 to 1.57.1. Updated girepository from 2.86.3 to 2.88.0. Updated pcre2-posix from 10.47.0 to 12.0.2. Added new harfbuzz-gpu.dll. Updated FFmpeg from 7.1.1 to 7.1.2. Updated aom from 3.11.0 to 3.13.1. Updated dav1d from 1.5.0 to 1.5.1. Updated ogg from 1.3.5 to 1.3.6. Updated SDL2 from 2.32.4 to 2.32.10. Updated zlib from 1.3.1 to 1.3.2. Updated Nalpeiron binaries to version 4.4.69.3. Bug Fixes Fixed an issue which prevented some user submitted crash reports from being sent. Fixed a potential memory leak when decoding HEVC or VP9 video. Fixed a potential crash when trying to delete a range selection on a magnetic track. Fixed a bug with the Properties Panel showing stale properties when only a caption is selected on the timeline. Fixed an issue that could prevent the Opacity and Blur properties from being changed in the Background Removal effect. Fixed an issue where larger Camtasia online projects may fail to open in Camtasia Editor. Table of contents thumbnails are no longer created for Smart Player exports with no table of contents. Fix resetting skew revert to revert just skew and not scale as well. Fixed editing in Snagit with snagX file with Unicode characters. Fixed a bug where grouped visual media could be cropped in some cases. Fixed importing SnagX files with Unicode characters. Localization fixes. Download: Camtasia 2026.1.3 | 309.0 MB (Shareware) View: Camtasia Homepage | Tutorials | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • yeah it seems to be Edge only. The dialog buttons work as expected in Chrome and Firefox. The phone is using Android 16 (OneUI 8.5) and Edge version  149.0.4022.53
  • Recent Achievements

    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
    • One Year In
      slackerzz earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      512
    2. 2
      PsYcHoKiLLa
      188
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!