MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 5 posts ] 
Making a Live installable DVD backup of your system. 
Author Message
Forum Guide
Forum Guide
User avatar

Joined: Sun Mar 25, 2007 5:49 pm
Posts: 2656
Location: Doncaster UK
Has thanked: 110 times
Have thanks: 733 times
Post # 265546
Post Making a Live installable DVD backup of your system.
Making a Live installable DVD backup of your system.(Mepis 11.0)
This uses live-helper from the debian repo's
What is copyed to the DVD, in one word, EVERYTHING, your passwords, browser setup email apps installed, leave a beer on the Desktop and most likly that
will be on the DVD to, it is a clone of your system, so get rid of all the cruf first, a DVD is only so big.
Things to note, Mepis is not Debian so we have to do a few things so it will work, most of which are reversable if you need to use the DVD to reinstall your
system, the first is grub, while it will work with legacy it is a bit hit and miss, so use Grub2 which is now the default for Debian, so this guide uses Grub2.
omit at your own risk.

Make sure your system is up to date, and install aptitude and live-helper with synaptic.
Download Simple Root Actions Menu, and install, set file manager as Dolphin.

http://opendesktop.org/content/show.php ... =kfmhtqozm

Using Synaptic install live-helper, and the default debian kernel for your system,(686 or amd64)
In Konsole as root
Code:
rm -rf /boot/grub
aptitude purge grub-gfxboot
aptitude install grub2 os-prober desktop-base
dpkg-reconfigure linux-base


Reboot using the debian kernel

using synaptic remove the Mepis Kernel
using Root Actions menu backup (apt), /etc/apt
and backup (xdg) /etc/xdg

in konsole as root
Code:
aptitude purge mepis-config
aptitude purge mepis-init


Delete (apt)./etc/apt and rename apt.bak to apt, then back it up again
Delete (xdg). /etc/xdg, and rename xdg.bak to xdg

Reboot

Right we are good to start to build the DVD.
Kmenu > Utilities > Sweeper.Select All > Clean up
In Konsole as root
Code:
rm -f /root/.synaptic/log/*
rm -f /root/.bash_history
exit
mkdir work
cd work
su
lh config --bootstrap copy -d squeeze --archive-areas "main non-free" --debian-installer live --packages debian-installer-launcher

lh build

---------------------
How long it takes is dependent on the speed of your box and how much is to copy, so be patent
when it has finished the live DVD will be in the work folder in Home, burn it to a DVD.
Booting the DVD, the user name and password are the same as your original system.

Installing from the DVD, boot the DVD in live mode, the link for the installer is in Kmenu > System, it will use the debian installer,
(the only problem I have seen is getting the sources, if this happens install Grub, and go back to it and change the mirror,)

After you have installed, delete apt, and rename apt.bak to apt, now you can reinstall mepis-config, mepis-init and the Mepis-kernel
The result is a clone of your original install. except it uses Grub2 instead of legacy.

The other way to use the DVD is, to do a backup before you install any graphic drivers, also disable your sound device in the BIOS, build the DVD, then you can boot it on any system not just your own.

Here is the link for the manual, and if that doesn’t scare the life out of you nothing will.
http://live.debian.net/manual/en/html/live-manual.html
Have fun

_________________
*Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic(Windoze)*

Kubuntu KDE 4.11.00 / KDE 4.11.60 / Debian Wheezy KDE 4.10.4 / Plasma Active 3 Tablet


Last edited by Danum on Thu Feb 09, 2012 12:24 pm, edited 1 time in total.



Mon Mar 14, 2011 4:01 pm

Danum thanked by: GuiGuy, JBoman, wcc1776
Profile
Forum Novice
Forum  Novice

Joined: Wed Feb 01, 2012 7:39 pm
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
Post # 294890
Post Re: Making a Live installable DVD backup of your system.
I know this is begining to become a dated thread but I would like to know why the changes have to be made to the installed system, removing the mepis kernel and installing the default one, removing grub-gfxboot, installing the desktop-base, etc. If the point is to make a master of the installed system shouldn't we be able to do so with what is installed rather then having to change the system as it is and make the iso then go back upon re-installation and add what was there to begin with?


Thu Feb 02, 2012 3:27 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sun Mar 25, 2007 5:49 pm
Posts: 2656
Location: Doncaster UK
Has thanked: 110 times
Have thanks: 733 times
Post # 294903
Post Re: Making a Live installable DVD backup of your system.
diensthunds wrote:
I know this is begining to become a dated thread but I would like to know why the changes have to be made to the installed system, removing the mepis kernel and installing the default one, removing grub-gfxboot, installing the desktop-base, etc. If the point is to make a master of the installed system shouldn't we be able to do so with what is installed rather then having to change the system as it is and make the iso then go back upon re-installation and add what was there to begin with?

The answer is simple, because the is what Live-Build expects to find, it expects a Debian squeeze system not a Lenny hybrid one, and squeeze uses Grub2 not Grub-legacy.

_________________
*Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic(Windoze)*

Kubuntu KDE 4.11.00 / KDE 4.11.60 / Debian Wheezy KDE 4.10.4 / Plasma Active 3 Tablet


Thu Feb 02, 2012 4:24 pm
Profile
User avatar

Joined: Sun Feb 28, 2010 9:29 am
Posts: 115
Location: japan
Has thanked: 23 times
Have thanks: 5 times
Post # 295436
Post Re: Making a Live installable DVD backup of your system.
Nice tutorial Thanks for this.


Thu Feb 09, 2012 8:59 am
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4446
Has thanked: 435 times
Have thanks: 588 times
Post # 295442
Post Re: Making a Live installable DVD backup of your system.
Nice tutorial Danum, how about adding the info to the Wiki?


Thu Feb 09, 2012 11:50 am

Adrian thanked by: Danum
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.