<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">wow, a real old post just surfaced! :)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 30, 2022 at 7:06 PM Jim Kinney via Ale <<a href="mailto:ale@ale.org">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">If the disk has a windows install on it, isn't that already a fail?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 30, 2022 at 4:00 PM Boris Borisov via Ale <<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">If you clone disk that is almost to fail to new one and you don't want to waste 3-4 hours for installing necessary software. <div dir="auto"><br></div><div dir="auto">Talking Windows on production PC.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 30, 2022, 13:59 Pete Hardie via Ale <<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">+1 for this. I've never had a case where a bitwise clone of a disk was needed</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 30, 2022, 13:57 Jim Kinney via Ale <<a href="mailto:ale@ale.org" rel="noreferrer" target="_blank">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Or do the best method and do a fresh install of your fav distro and use the old disk as your data backup and copy over your home for.<div dir="auto"><br></div><div dir="auto">Assuming your distro has a package manager, just export a list of installed packages to make sure you get them all in the new install.</div><div dir="auto"><br></div><div dir="auto">Sometimes a "drive migration" makes sense in a business setting. Other than just for practice, it's basically a time waster for personal stuff and especially if the new drive is much larger that the old drive.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 30, 2022, 1:06 PM Narahari Lakshminarayana via Ale <<a href="mailto:ale@ale.org" rel="noreferrer noreferrer" target="_blank">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Why not run clozilla live CD and do this ?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 30, 2022, 13:02 Bob Toxen via Ale <<a href="mailto:ale@ale.org" rel="noreferrer noreferrer noreferrer" target="_blank">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The critical thing is that the mounted partitions, especially the root<br>
partition (/) normally are changing. You will end up with corrupted<br>
partitions unless you allow for this.<br>
<br>
First boot single user mode:<br>
<br>
1. Reboot the system.<br>
<br>
2. When it gets to the LILO stage hit the shift button to stop the<br>
countdown to auto-boot.<br>
<br>
3. Hit tab to see what kernels to boot and determine the right one,<br>
say "Linux"<br>
<br>
4. Key "Linux single" RETURN.<br>
<br>
5. Login (to single user mode).<br>
<br>
6. Do "mount" and umount all the disk file systems except the root fs.<br>
<br>
7. Remount the root fs thusly:<br>
<br>
mount -o remount,ro /dev/something /<br>
<br>
8. Test that it really is mounted read only:<br>
Do:<br>
touch /root/foo<br>
Expect:<br>
Error: read only file system (or similar)<br>
<br>
<br>
If using other boot loaders do similar. Alternatively, on some distros<br>
you can do:<br>
tcsh:<br>
setenv RUNLEVEL S<br>
sh/bash:<br>
tcsh<br>
env RUNLEVEL S<br>
<br>
Do that dd very carefully as botching it trashes your existing disk:<br>
<br>
dd bs=10240k if=/dev/your-source-disk of=/dev/new-disk-to-write-on<br>
fsck -f of=/dev/new-disk-to-write-on<br>
<br>
You might want to expand the lask partition to enjoy your additional<br>
space by using GNU parted or similar:<br>
<br>
<a href="https://www.gnu.org/software/parted/features.shtml" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://www.gnu.org/software/parted/features.shtml</a><br>
<br>
Or you can add new partitions after the end of the last one with fdisk<br>
or similar.<br>
<br>
Check for typos before using above notes.<br>
<br>
Bob<br>
<br>
<br>
On Mon, Dec 26, 2022 at 05:35:34PM -0700, Jim Kinney via Ale wrote:<br>
> Format the new one and rsync.<br>
> Unless this is a boot drive then dd the boot sector and /boot partition.<br>
> <br>
> On Mon, Dec 26, 2022, 5:29 PM Narahari Lakshminarayana via Ale <<a href="mailto:ale@ale.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">ale@ale.org</a>><br>
> wrote:<br>
> <br>
> > Friends:<br>
> ><br>
> > I bought a new SSD drive of the size 512GB the inland brand from<br>
> > Microcenter.<br>
> > I want to use that to replace my current laptop's 160 GB NON-SSD drive.<br>
> ><br>
> > Is it a good idea to use Clonezilla to make an img file of the current<br>
> > disk and restore to the new SSD ?<br>
> ><br>
> > OR<br>
> ><br>
> > Is it faster and best to run the dd command and replicate bit-by-bit of<br>
> > the current drive to the new SSD drive ?<br>
> ><br>
> > Please advise.<br>
> ><br>
> > -N<br>
> > _______________________________________________<br>
> > Ale mailing list<br>
> > <a href="mailto:Ale@ale.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">Ale@ale.org</a><br>
> > <a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
> > See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> > <a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
> ><br>
<br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">Ale@ale.org</a><br>
> <a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" rel="noreferrer noreferrer noreferrer" target="_blank">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" rel="noreferrer noreferrer" target="_blank">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer noreferrer noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer noreferrer noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" rel="noreferrer" target="_blank">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr">-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i></div></div>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="https://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">https://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Pete Hardie<br>--------<br>Better Living Through Bitmaps</div>