<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">ale@ale.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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" 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" target="_blank" rel="noreferrer">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" target="_blank" rel="noreferrer">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>
> ><br>
<br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org" target="_blank" rel="noreferrer">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>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank" rel="noreferrer">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>