Git Product home page Git Product logo

distroshare-ubuntu-imager's Introduction

Distroshare Ubuntu Imager

This project is brought to you by distroshare.com. Distroshare.com is a new site for sharing customized open source operating system distributions.
Too often do users need to customize open source operating systems, such as Ubuntu, to work correctly on their machines. By distributing a custom Ubuntu distro with the kinks worked out for your machine, you would be helping others to run Ubuntu if they have the same machine.

Distroshare Ubuntu Imager creates an installable Live ISO from an installed Ubuntu or derivative distribution.

It is a bash script, similar to Remastersys and its forks. The script is based on this tutorial: https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall.

To run the script, run it from the directory where it is located. For example:

cd ~/distroshare-ubuntu-imager-1.0 ./distroshare-ubuntu-imager.sh

To boot the ISO from a USB stick, you can use the dd command like this:

dd if=isoimage.iso of=/dev/sdb bs=1M

where sdb is your USB drive. You should be able something similar on Mac OS X. You can also use UNetbootin: http://unetbootin.sourceforge.net/ to create a bootable USB drive.

Ubuntu Startup Disk creator won't be able to turn the iso into a bootable usb drive since Distroshare Ubuntu Imager uses grub2 as the bootloader.

distroshare-ubuntu-imager's People

Contributors

hugegreenbug avatar hyperdriveguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

distroshare-ubuntu-imager's Issues

script does not run

./distroshare-ubuntu-imager.sh
./distroshare-ubuntu-imager.sh: line 4: syntax error near unexpected token `newline'

sudo ./distroshare-ubuntu-imager.sh
./distroshare-ubuntu-imager.sh: 5: ./distroshare-ubuntu-imager.sh: Syntax error: newline unexpected

Won't make iso file in EFI mode.

grub-mkrescue: error: mformat invocation failed

Command 'mformat' not found, but can be installed with:
Unpacking mtools (4.0.23-1) ...
Setting up mtools (4.0.23-1) ...

The following fixes this issue.
sudo apt-get install mtools

17.10 Installer Crashes

As soon as you begin inputting you "User information" the installer crashes. unsure if im the only one that has had this issue

Python 3 is default in 16.04 LTS

I just notify if this even affects Distroshare but 16.04 has only python 3 at last and stoneage Python 2 is removed by default. Less bloat too because of this change.

DS developer, you can close this issue if you already know this and your script wont use old python 2.

Do you keep DE configurations when you use this tool?

Hi, I am very interested in this project and want to make my own distribution with drivers and all the essentials. I also ensure a clean desktop and I want to know, Can you keep your desktop environment the same with the changes you made then run the tool?

change default mouse CPI

Hi, before I comment I just want to say it's really great what you've done here. And also I have no idea if this is the right place to post this.

I downloaded elementaryOS for the HP Chromebook 14, from here: https://www.distroshare.com/distros/get/42/. So far everything is fine except for the mouse CPI, which is by default set to 1000, which is too slow for my mice. I can and have changed this value in xinput to something lower, like 400, but logging out/in or unplugging/re-plugging reset this to 1000, since it resets whatever identifier is on the mouse.

So, instead of trying to write udev rules or something for every mouse I might encounter, do you know how to just set the default CPI for all mice to a different number? When I had Unity on here I never encountered this problem, so it must be possible.

I appreciate any help you can give! Thanks

18.04 Installer Crashes

Installer crashes when trying to open it and freeze all system.

Error: Ubiquity : unable to determine the release

Version: Xubuntu 18.04

Some Improvements?

Hey, I finally got to testing the created ISO in a virtual machine and it worked! Thanks for the great work.

I have a few minor suggestions in mind:

  • A way to backup config files and settings. Since we're backing all additional softwares installed and all, it only makes sense that we backup config too. One way might be where we allow the user to just pause the script after copying the file system and the user is then free to add config or other stuff that he wants. After which the user 'presses any key to continue' and the script resumes.
  • Display progress during the "Copy the filesystem" step. I think rsync has a method of displaying progress. Link
  • Make uninstall of additional software optional, as those packages will be needed again when the script is run. I think we could just add some command line params to the script so a user can decide whatever they want.

Configuration issues.

I am confident these are related and have an easy solution I am not aware of.

  • The wine configuration if any is lost.
  • The favorites bar is reset to default
  • Visual studio code does not have any of the installed extensions.

Thanks.

15.04 Bug?

Your script works fine but it does something to GRUB on the user's computer and in the custom distro that they have created with your script.

sudo update-grub displays following message as part of the report: No volume groups found

Is there a way to fix grub to remove 'No volume groups found' or a way I can customize your script to prevent it's creation?

Unable to log into the Live User

It seems the final system has no valid user accounts at all. I get the login screen, but can't login with an any user account. Then I switched to a virtual terminal and tried to login as "user", "casper", "ubuntu" and even "root"... but failed.
Then I set a root password and changed distroshare-ubuntu-imager.sh as following:

Testing for GDM and applying specific changes for it

if [ "${DM}" == "GDM" ]; then
mkdir -p /etc/gdm
echo "[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root

TimedLoginEnable = false

" > /etc/gdm/custom.conf
fi

Now the live system logs in fine.

I'm on Ubuntu Gnome 15.04

User accountt seetings as seen in the live system now:

screenshot from 2015-08-15 22 59 01

What's going on? Thanks!

Fails on iso image size more than 4GB.

Creating the iso
xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:/home/distroshare/live-cd.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 7925m free
Added to ISO image: directory '/'='/tmp/grub.tccoLo'
xorriso : UPDATE : 288 files added in 1 seconds
xorriso : FAILURE : File exceeds size limit of 4294967295 bytes: '/home/distroshare/CD/casper/filesystem.squashfs'

Didn't Create Iso

Hello so i run the script and everything seems to look normal but i don't have a "distroshare" folder or iso in my home directory.

if anyone knows how to solve this would be greatly appreciated

Ubiquity Installer not working

The "Install" launcher within the Live Session does not work. Should it? If my OS ever became UN-bootable I would love to be able to reinstall it from my ISO file using the live session ubiquity GUI.

When I try running the command that the "Install" launcher would run from a terminal (sh -c 'ubiquity gtk_ui') I get this error:

The value for the SHELL variable was not found the /etc/shells file

This incident has been reported. (twice) 😄 because now YOU know.

Thanks in advance.

-ralphie

Update: Pretty sure this repo is unmaintained now. Been 2 months with no response. Script still works (mostly). Going to go experiment with a project called Systemback.

DIDN'T CREATE ISO FILE

So I want to create my own ubuntu distro, it succesfully created without any errors and it says it created the iso file but it doesn't show

"Drive current: -outdev 'stdio:/media/username/bf00bd81-d195-4385-bff9-ffcaa06cf25c/live-cd.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 348g free
Added to ISO image: directory '/'='/tmp/grub.v9zHw8'
xorriso : UPDATE : 574 files added in 1 seconds
xorriso : FAILURE : File exceeds size limit of 4294967295 bytes: '/media/username/bf00bd81-d195-4385-bff9-ffcaa06cf25c/CD/casper/filesystem.squashfs'

Added to ISO image: directory '/'='/media/username/bf00bd81-d195-4385-bff9-ffcaa06cf25c/CD'
xorriso : UPDATE : 586 files added in 1 seconds
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
grub-mkrescue: error: xorriso invocation failed"

I looked and no live-cd.iso, I put to another directory instead of home/distroshare, I even tried putting to home/distroshare, same thing, any ideas?? I can't find live-cd.iso, is it hidden file or it didn't create?? Anyone have this same issue?

I use Ubuntu 20.04 LTS

16.04 first boot autologin doesn't work

Hi Hugh, I don't know if you still maintain this but with Ubuntu Mate 16.04 the autologin at first boot isn't working, tomorrow I will be looking inside the script to search where it fails or where is the change in this new Ubuntu version but maybe you or some one else already looked into this.

Messed up directories

For me, the script failed at this line as the directory didn't exist.

I double checked by opening nautilus and /home/distroshare/CD/ had a folder name {casper,boot due to this?

I fixed things by breaking line 70 into these:

mkdir -p "${CD}"/casper
mkdir -p "${CD}"/boot/grub

Using Ubuntu 12.04.

17.04 no working iso created

Small 5.2 .iso is created in home/distroshare that has no real use.
ds_terminal.txt

Is someone knows some other working simple minimal dependencies based script that makes ubuntu .iso of current install as public distro without personal user settings then please post here.

no ISO file

i try your script shell and its work find without no issues but i got no ISO file , only to file in my home folder , that all i search all my my hard disk with i didn't font nothing

BluSys Remaster + DistroShare Ubuntu Imager

We are creating an application in Gambas to make it work with the DistroShare Ubuntu Imager with it will be possible to make other customizations as splash, plymouth, grub, ubiquity ...

We perform the translation into English as well, but if you find any wrong phrase, send us to correct.

Currently the software is in Portuguese and English. Those interested in participating in the project, send translations, corrections, send your data well so we can put the application translators section.


Estamos criando um aplicativo em Gambas para que o mesmo funcione junto com o DistroShare Ubuntu Imager, com ele será possível realizar outras personalizações como splash, plymouth, grub, ubiquity...

Realizamos a tradução para o inglês também, mas se você encontrarem alguma frase errado, nos envie para corrigirmos.

Quem tiver interesse em participar do projeto, envie traduções, correções, envie seus dados também para que possamos colocar na seção de tradutores do aplicativo.

Atualmente o software está em Português e Inglês.

how to solve this error?

@hugegreenbug @hyperdriveguy
1693655297878

i have used this tool [distroshare-ubuntu-imager] and i have getted an output iso file.
and i have booted usb with iso file.
when i pluged usb in pc and entered the pc for os installation occured error.

how to solve this?
i have attached photo

please solve.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.