Making a Live installable DVD backup of your system.

Here is where all questions and discussions about KDE should go.
Message
Author
User avatar
Danum
Forum Guide
Forum Guide
Posts: 2688
Joined: Sun Mar 25, 2007 5:49 pm

Making a Live installable DVD backup of your system.

#1 Postby Danum » Mon Mar 14, 2011 4:01 pm

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: Select all

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: Select all

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: Select all

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
Last edited by Danum on Thu Feb 09, 2012 12:24 pm, edited 1 time in total.
Desktop.
Zalman Z11 Plus ATX PC Tower, AMD FX 8350 Black Edition Vishera, 8 Core 4.4 GHz, Kingston HyperX FURY Red 16GB, Nvidia GT740 Graphics, Pioneer BDR-209EBK Writer, 2 x Seagate 1TB SSHD SATA Hybrid Hard Drives. ASUS VS278Q 27 inch HD Monitor

diensthunds
Forum Novice
Forum  Novice
Posts: 5
Joined: Wed Feb 01, 2012 7:39 pm

Re: Making a Live installable DVD backup of your system.

#2 Postby diensthunds » Thu Feb 02, 2012 3:27 pm

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?

User avatar
Danum
Forum Guide
Forum Guide
Posts: 2688
Joined: Sun Mar 25, 2007 5:49 pm

Re: Making a Live installable DVD backup of your system.

#3 Postby Danum » Thu Feb 02, 2012 4:24 pm

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.
Desktop.
Zalman Z11 Plus ATX PC Tower, AMD FX 8350 Black Edition Vishera, 8 Core 4.4 GHz, Kingston HyperX FURY Red 16GB, Nvidia GT740 Graphics, Pioneer BDR-209EBK Writer, 2 x Seagate 1TB SSHD SATA Hybrid Hard Drives. ASUS VS278Q 27 inch HD Monitor

User avatar
ruel
Posts: 115
Age: 40
Joined: Sun Feb 28, 2010 9:29 am

Re: Making a Live installable DVD backup of your system.

#4 Postby ruel » Thu Feb 09, 2012 8:59 am

Nice tutorial Thanks for this.

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 6245
Age: 41
Joined: Wed Jul 12, 2006 1:42 am

Re: Making a Live installable DVD backup of your system.

#5 Postby Adrian » Thu Feb 09, 2012 11:50 am

Nice tutorial Danum, how about adding the info to the Wiki?


Return to “KDE”

Who is online

Users browsing this forum: No registered users and 1 guest