Author Topic: Request to include Clonezilla and mhwd-chroot on the Manjaro live media iso  (Read 2518 times)

0 Members and 1 Guest are viewing this topic.

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
Something I often do is to make a backup of my Manjaro installation before I do an update.
I do this in case any of the updates mess up the system or in case I myself would mess
something up accidentally in the future.

What I do is I boot the Manjaro live media from an usb stick and then
I install Clonezilla and run it using: sudo clonezilla.

I don't mind doing that extra step, however I can imagine that people might want to backup
their Manjaro system in certain cases when they don't have an internet connection to
download Clonezilla.

Clonezilla is not big, it's a few MB's - and it's a hugely useful tool for on the live media.

So perhaps it can be included on Manjaro's live media from now on, starting with
the next version.

What do you guys think of this?

In any case I would like to make this request.
« Last Edit: 10. April 2016, 06:49:03 by Heart Of A Lion »

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
Re: Request to include Clonezilla on the Manjaro live media iso
« Reply #1 on: 09. April 2016, 21:08:29 »
To add to this, I broke my Manjaro installation on a number of occasions. (broke it myself accidentally)

One of the essential tools to save my Manjaro installation was mhwd-chroot.

If you boot from the Manjaro live installation media, then you can mount the disk on which your actual Manjaro installation resides - and then after downloading and installing mhwd-chroot, you then in a terminal can change your root to the mount-point of your actual Manjaro installation.

This now allows you to execute commands from the live media, as if you were executing commands in your actual Manjaro installation.

For example, it allows you to uninstall the software that broke your Manjaro installation.

So another request of mine is to include mhwd-chroot on the Manjaro live media iso as well.

There is also an extended version of mhwd-chroot, called mhwd-chroot-extended, which also allows you to change root to a mounted NVMe storage device.

So perhaps it would even be wiser to include the extended mhwd-chroot-extended.

Why include Clonezilla and mhwd-chroot-extended?

They tend to be life-savers and tools of last resort. However they need to be downloaded, so you need an internet connection, which isn't always available.
They don't take up much space either. So hence the request to include them on the Manjaro live media iso.

The Live media then functions as:

1. Installation media
2. A live Manjaro environment
3. A rescue and backup environment for your actual Manjaro installation

« Last Edit: 09. April 2016, 21:40:54 by Heart Of A Lion »

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
Re: Request to include Clonezilla on the Manjaro live media iso
« Reply #2 on: 09. April 2016, 21:16:09 »
I realize that there is of course already the regular 'chroot' command that you can execute in the Manjaro live environment, however most often the regular chroot command does not suffice to execute the type of commands that are needed to repair a Manjaro installation, hence mhwd-chroot-extended is needed to accomplish this.
« Last Edit: 09. April 2016, 21:17:56 by Heart Of A Lion »

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
Just wondering, if I had to make an official request to Manjaro's developers, then where could I do it? Does anyone know?

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
I don't get why you need a hdd cloning tool on livecd?

If you want that, you could use the official clonezilla livecd.

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
I don't get why you need a hdd cloning tool on livecd?

If you want that, you could use the official clonezilla livecd.

Adding those tools would allow Manjaro's live cd to become a complete solution, adding rescue and backup capabilities, without needing an internet connection to download those (essential) tools.

Offline c00ter

  • Held Mitglied
  • *****
  • Posts: 1534
  • Towelie's cupcake
  • Branch: ☮Olive☮
  • Desktop: Depends©
  • GPU Card: Intel HD4400M CPU: Core i7-4510U
  • GPU driver: Intel/Free
  • Kernel: 4.4-lts & 4.5
  • Skill: Novice
Adding those tools would allow Manjaro's live cd to become a complete solution, adding rescue and backup capabilities, without needing an internet connection to download those (essential) tools.

We like K.I.S.S.

Regards
“What, me worry?” ― Alfred E. Newman

Manjaro Wiki: https://wiki.manjaro.org/
Arch Wiki: https://wiki.archlinux.org/
Pacman Rosetta: https://wiki.archlinux.org/index.php/Pacman/Rosetta

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
We like K.I.S.S.

I agree, me too.

However the live cd already has a number of applications that come with it and these tools are quite essential. Adding both these tools would add up to 7MB I think.

The point is that it would allow users to backup their Manjaro installation and repair a broken Manjaro installation, even in cases where they don't have an internet connection.
« Last Edit: 10. April 2016, 19:50:15 by Heart Of A Lion »

Offline c00ter

  • Held Mitglied
  • *****
  • Posts: 1534
  • Towelie's cupcake
  • Branch: ☮Olive☮
  • Desktop: Depends©
  • GPU Card: Intel HD4400M CPU: Core i7-4510U
  • GPU driver: Intel/Free
  • Kernel: 4.4-lts & 4.5
  • Skill: Novice
I agree, me too.

However the live cd already has a number of applications that come with it and these tools are quite essential. Adding both these tools would add up to 7MB I think.

The point is that it would allow users to backup their Manjaro installation and repair a broken Manjaro installation, even in cases where they don't have an internet connection.

We like K.I.S.S.

Regards
“What, me worry?” ― Alfred E. Newman

Manjaro Wiki: https://wiki.manjaro.org/
Arch Wiki: https://wiki.archlinux.org/
Pacman Rosetta: https://wiki.archlinux.org/index.php/Pacman/Rosetta

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Adding those tools would allow Manjaro's live cd to become a complete solution, adding rescue and backup capabilities, without needing an internet connection to download those (essential) tools.

Can be installed in live-session if required.

I just don't get why you want a hdd clonne, which is usually used in corporate environment, to quickly deploy a OS on multiple identical hardware.

For personal backup, its totally overblown to clone entire hdd, hence there are existing backup solutions that target the home users.

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
Can be installed in live-session if required.

I just don't get why you want a hdd clonne, which is usually used in corporate environment, to quickly deploy a OS on multiple identical hardware.

For personal backup, its totally overblown to clone entire hdd, hence there are existing backup solutions that target the home users.

Quite a few users customize their Manjaro installation to such a degree that just copying the home directory to an external hard disk does not suffice as a method to backup their system.
One also would lose all the downloaded and installed applications if one would just copy the home directory to an external hard disk.

In the case Manjaro breaks, a Clonezilla backup is faster to restore than manually installing Manjaro again and looking for all the software that you had previously installed. It saves a lot of time.

Hence cloning the disk/SSD is a better solution in my opinion.

In regards to mhwd-chroot, it's only 26kB, so quite small, yet very useful to repair a broken Manjaro installation.
« Last Edit: 10. April 2016, 20:21:30 by Heart Of A Lion »

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced

In the case Manjaro breaks, a


chroot in live session is totally sufficient to fix any linux.

I would again refer to existing backup solutions, that can be configured to backup anything you like.
Anyway, I am kind of old school here, and use for backup just tar.

Offline c00ter

  • Held Mitglied
  • *****
  • Posts: 1534
  • Towelie's cupcake
  • Branch: ☮Olive☮
  • Desktop: Depends©
  • GPU Card: Intel HD4400M CPU: Core i7-4510U
  • GPU driver: Intel/Free
  • Kernel: 4.4-lts & 4.5
  • Skill: Novice
Why don't you use Manjaro's tools and produce your own Community build; see if folks use it and/or like it. Who knows? But my original, short statement stands: We like K.I.S.S.
“What, me worry?” ― Alfred E. Newman

Manjaro Wiki: https://wiki.manjaro.org/
Arch Wiki: https://wiki.archlinux.org/
Pacman Rosetta: https://wiki.archlinux.org/index.php/Pacman/Rosetta

Offline Heart Of A Lion

  • Sr. Mitglied
  • ****
  • Posts: 313
  • I'm new. Be nice!
  • Branch: Stable
  • Desktop: Xfce, Enlightenment
  • GPU Card: ATi 7770 . . . . . . . CPU: AMD octacore 4GHz
  • GPU driver: Free (video-ATI)
  • Kernel: 4.6 (x64)
  • Skill: Intermediate
chroot in live session is totally sufficient to fix any linux.

It wasn't in my case. If I wanted to uninstall video drivers that prevented Manjaro from booting and only showed a black screen, then I had to use mhwd-chroot. Using the regular chroot - the command to uninstall the video drivers did not work.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
It wasn't in my case. If I wanted to uninstall video drivers that prevented Manjaro from booting and only showed a black screen, then I had to use mhwd-chroot. Using the regular chroot - the command to uninstall the video drivers did not work.
Maybe mounting /run was needed. It is necessary for installing a kernel, maybe for graphics drivers, too.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/