LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2021, 11:23 AM   #1
DynV
Member
 
Registered: Feb 2020
Location: Montreal, Canada
Distribution: Ubuntu 22.04.2
Posts: 51

Rep: Reputation: 1
Live booting from a 512 MB RAM system then take an image from it?


Someone loaned me an--old--laptop for a few months (that hasn't been used for a couple years) which has a deprecated non-*nix on it. I doubt the loaner would want the system restored if I managed to install a secured linux on it, but just in case I'd like to make an image of it. The system has a P3, 512 MB RAM & 40 GB HDD, more precisely it's a Dell PP01L (Latitude C600). I haven't established yet if it can boot from USB, but it has a DVD player, a (tested) USB port and I have blank DVDs, an ext burner and ext HDD.

Which distribution and software would you recommend to live boot on the 512 MB RAM P3 to take an image from its HDD on a 4 TB ext HDD?

Thank you kindly
 
Old 06-09-2021, 11:41 AM   #2
Grobe
Member
 
Registered: Aug 2019
Location: Close to north
Distribution: Fedora
Posts: 117

Rep: Reputation: Disabled
I'd go for Clonezilla. Text based UI and doesn't require much RAM.

The only thing I'd look into when you have something with that low RAM is that you may have to make a choice about compression method in order to stay within RAM limit. Also I'd recommend you run Memtest on it just to check the health of the RAM.
 
1 members found this post helpful.
Old 06-09-2021, 12:09 PM   #3
DynV
Member
 
Registered: Feb 2020
Location: Montreal, Canada
Distribution: Ubuntu 22.04.2
Posts: 51

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Grobe View Post
I'd go for Clonezilla. Text based UI and doesn't require much RAM.
Which commands would I need to run to do that? Please note I'm not much of a *nix user. If I have to also mount the ext HDD and setup some kind of temporary file, I'd be lost without examples.
 
Old 06-09-2021, 12:10 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,344

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
Antix linux would be worth a try. Based on Debian non-systemd
 
Old 06-09-2021, 12:16 PM   #5
DynV
Member
 
Registered: Feb 2020
Location: Montreal, Canada
Distribution: Ubuntu 22.04.2
Posts: 51

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by colorpurple21859 View Post
Antix linux would be worth a try.
I thought that required 1 GB RAM. Which software?
 
Old 06-09-2021, 12:31 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,344

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
Quote:
It should run on most computers, ranging from 256MB old PIII systems with pre-configured swap to the latest powerful boxes. 256MB RAM is recommended minimum for antiX. The installer needs minimum 4.0GB hard disk size.
https://antixlinux.com/about/
 
Old 06-09-2021, 12:39 PM   #7
DynV
Member
 
Registered: Feb 2020
Location: Montreal, Canada
Distribution: Ubuntu 22.04.2
Posts: 51

Original Poster
Rep: Reputation: 1
Which software?!
 
Old 06-09-2021, 01:55 PM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
See this link for clonezilla. -->https://clonezilla.org/

Use this to create a restorable HD.

This link --> https://antixlinux.com/antix-19-b1-f...bit-available/

This link will help with Antix.
 
Old 06-09-2021, 02:36 PM   #9
DynV
Member
 
Registered: Feb 2020
Location: Montreal, Canada
Distribution: Ubuntu 22.04.2
Posts: 51

Original Poster
Rep: Reputation: 1
software...
 
Old 06-09-2021, 02:44 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Consider G4U also. Bootable floppies to send the file to some networked location.

If the device has a usb then you could send the image to that I'd think also.

Most of the cloning software has a learning curve.

The command line dd when booted to almost any minimal linux distro can save the hard drive image off to some resource.

G4U is basically dd with compression running on *BSD.

Tinycore and slitaz would boot to that as well as a number of modern distro's that still support older 32 bit.
 
Old 06-09-2021, 02:54 PM   #11
DynV
Member
 
Registered: Feb 2020
Location: Montreal, Canada
Distribution: Ubuntu 22.04.2
Posts: 51

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by jefro View Post
Most of the cloning software has a learning curve.
I'm not expecting for someone to do it for me, but some examples would be nice.

Quote:
Originally Posted by jefro View Post
The command line dd
Is that the go-to one or others are usually considered when facing a similar task?
 
Old 06-09-2021, 04:42 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Every member at LQ has their preference on backup/clones. No one choice suits all. My choice depends on the system and OS and what resources I have. Every distro usually has some feature baked in and always in package manager.

dd is a bit by bit copy of the entire storage so it kind of helps to have loader and not normally easy to copy using file by file. dd copies all the space even if unused. Some folks zero out unused space to make compression sort of negate the space. No compression means a 40G drive will take somewhere around that in a file.

Clonezilla tries to copy file by file if it knows the filesystem. If not it defaults to bit by bit. It saves a number of files that helps it return to original state. It too has an ability to clone over lan or deploy over lan.

If you want you can use Gparted to save a partition off but it won't be the entire drive.

There are many file by file copy programs. If you don't mind re-creating the loader or other unique areas then a file by file is pretty good.

The clonezilla site had examples at one time. Should still be there but web will show how to clone with it.

NOTE. dd is a very unforgiving command. You have to be very careful when using it.

dd with netcat even could be used. Linux commands can be piped to other programs is the example.

Last edited by jefro; 06-09-2021 at 04:43 PM.
 
1 members found this post helpful.
Old 06-09-2021, 05:26 PM   #13
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,881
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
The dd command form:
Code:
$sudo dd if=/dev/<letter for source drive> of=/dev/<letter for target drive>/<your choice of a filename> bs=4M
When you boot linux off of a USB drive, it should discover your internal HDD and call it something like /dev/sda, or /dev/sdb, etc. That would be your if= "input file", another attached external HDD would get another name /dev/sda or /dev/sdb/ or other. Make sure you understand which is which, an fdisk -l will help with that.

sudo is to allow you to have root privileges when you do this command, because you will need them. If the Linux version console has # as a prompt, mostly likely you are already root, so you may not need sudo. Usually you will though.

bs=4M is to use block size of 4M, you don't have to, but sometimes it helps make the copy faster.

That will do it.

As far as finding a version of Linux to boot, web search, I've not tried to boot any modern Linux versions with that little memory in a while. Also may need to know if that machine is 32-bit, seems like it may be with that tiny of a HDD.
 
Old 06-09-2021, 05:50 PM   #14
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Clonezilla doesn't copy file by file. If it knows the filesystem, it copies just the parts with data on them.
It also copies the partition table and all the other low-level bits.

Restriction:- If you restore it to a disk, it must be at least as big as the source disk - 40GB in this case.
 
Old 06-09-2021, 05:54 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Knoppix cd is a choice to consider. I don't know what all the tools could be on it but it will have a terminal and dd command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have 768Mb of RAM,how do I tell Linux to use only 512? alan_ri Linux - General 6 02-26-2008 06:32 AM
Cannot install Suse 10.1 asking for 512 ram revelations Linux - Desktop 1 11-21-2006 06:59 AM
Intel I815 3D acceleration problems on SuSE 10 with 512 mbytes of ram greenbox Linux - Hardware 2 02-16-2006 04:54 PM
Trouble installing new 512 Mb RAM stick bmccorm2 Linux - Hardware 5 02-01-2006 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration