[Solved]Could a whole disk be added into a partition, another PC?  [Solved]

Message
Author
User avatar
keos
Posts: 1394
Joined: Sat Mar 04, 2017 12:00 pm

Re: Could a whole disk be added into a partition, another PC?

#11 Post by keos »

We post together, please read the EDIT, I've already ordered it ...
Acer Aspire A315-58
Intel Core i7-1165G7
Iris Xe Graphics
MX-23.2-Xfce4 - 4.18.2

*Matthew 5:11

User avatar
DukeComposed
Posts: 1413
Joined: Thu Mar 16, 2023 1:57 pm

Re: Could a whole disk be added into a partition, another PC?

#12 Post by DukeComposed »

MadMax wrote: Sat Aug 31, 2024 9:11 am If you are talking about dual or multi booting, 16 GB of RAM is enough to run every OS
He's not talking about RAM.

User avatar
MadMax
Posts: 483
Joined: Wed Aug 04, 2021 3:25 pm

Re: Could a whole disk be added into a partition, another PC?

#13 Post by MadMax »

Well, it appeared that way until he posted his QSI ;) He even referred to it as "memory"....

But to wrap this up - yes, you will be able to copy your old system to the new 120 GB SSD. Just replace it, boot from a live system and dd the usb stick to the new drive. It will leave about 95 GB unpartitioned which then will be available for installing additional OS' or to increase the size of the small 15 GB partition you're currently using.

It should look something like that in gparted:

|---|-----------------|-------------------------------------------------------------------------------------------|
If it ain't broke, don't fix it.
Main: MX 23 | Second: Mint 22 | HTPC: Linux Lite 7 | VM Machine: Debian 12 | Testrig: Arch/FreeBSD 14 | Work: RHEL 8

User avatar
keos
Posts: 1394
Joined: Sat Mar 04, 2017 12:00 pm

Re: Could a whole disk be added into a partition, another PC?

#14 Post by keos »

@madmax,
Just replace it, boot from a live system and dd the usb stick to the new drive.
Ok, I think I understand, anyway, I still haven't received the device ... if I have any difficulties I will continue here with this thread...

-- if everything goes well I will mark it as solved by then.

Thanks!
Acer Aspire A315-58
Intel Core i7-1165G7
Iris Xe Graphics
MX-23.2-Xfce4 - 4.18.2

*Matthew 5:11

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: Could a whole disk be added into a partition, another PC?

#15 Post by Kermit the Frog »

Eadwine Rose wrote: Sat Aug 31, 2024 7:25 am It is an alternative to the QSI, it is on antix.

Code: Select all

inxi -fxxxrza

is the full QSI command that gets executed.
It's -F ( -f has a different function):
man inxi wrote:
-f , --flags
Show all CPU flags used, not just the short list. Not shown with -F in order to avoid spamming. ARM CPUs: show features items.

-F , --full
Show Full output for inxi. Includes all Upper Case line letters (except -J and -W) plus --swap, -s and -n. Does not show extra verbose options such as -d -f -i -J -l -m -o -p -r -t -u -x unless you use those arguments in the command, e.g.: inxi -Frmxx

User avatar
Eadwine Rose
Administrator
Posts: 14673
Joined: Wed Jul 12, 2006 2:10 am

Re: Could a whole disk be added into a partition, another PC?

#16 Post by Eadwine Rose »

Oh yeah. Big f.

Anyway, semantics now, and moot.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: Could a whole disk be added into a partition, another PC?

#17 Post by Kermit the Frog »

In a nutshell:

For the system: MX Snapshot. Create an iso of the running system , boot with, then install on SSD. Can use Custom Install method and create some other (data etc.) partitions if you like.

Or:

On GParted "copy-paste" the partitions one by one. The SSD needs to be "unallocated space". Copy the partition, Change device (to ssd) then paste, Apply. That's it.

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: Could a whole disk be added into a partition, another PC?

#18 Post by Kermit the Frog »

Eadwine Rose wrote: Sat Aug 31, 2024 12:37 pm...semantics now, and moot.
Yes, that was just for future readers.

User avatar
keos
Posts: 1394
Joined: Sat Mar 04, 2017 12:00 pm

Re: Could a whole disk be added into a partition, another PC?

#19 Post by keos »

Ok, I already did the replacement of that part, but the installed system just disappeared, now only the new memory appears in Gparted, I think it's like 112GB.

Then I partition the disk...

It seems to me that I should insert a live-USB + the recovered-USB system in another port and apply:

dd if=/dev/sdX of=/dev/sdY

Where X is the recovered system and Y the partition where it will 'go in'

Is this correct...?

EDIT:

This is what I did, I want MX on partition # 5


Image

EDIT:

More information:

Code: Select all

demo@mx1:~
$ lsblk -f
NAME  FSTYPE FSVER LABEL     UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0 squash 4.0                                                        0   100% /live/linux
sda                                                                              
├─sda1
│     vfat   FAT32           A5C7-2839                                           
├─sda2
│     swap   1               fd8f3e7b-9875-4c6b-8588-eb9ce5695fb2                [SWAP]
├─sda3
│     ext4   1.0             ba27cd4e-19c8-46c4-81e9-43c115f71a25                
├─sda4
│     ext4   1.0             7b76b635-0024-4c33-9691-47d315cff798                
└─sda5
      ext4   1.0             786e985a-1e0e-45c4-b288-79c66f5df592                
sdb   iso966 Jolie MX-Live   2024-01-21-17-47-54-00                     0   100% /live/boot-dev
├─sdb1
│     iso966 Jolie MX-Live   2024-01-21-17-47-54-00                              
└─sdb2
      vfat   FAT16 EFI-LIVE  5F46-8E64                                           
sdc                                                                              
├─sdc1
│     vfat   FAT32 EFI-SYSTEM
│                            1EBC-E74C                                           
└─sdc2
      ext4   1.0   rootMX23  af9f5cb8-f533-407d-8ab7-b303fcc9a93f    3.1G    73% /media/demo/rootMX23
demo@mx1:~
$
Last edited by keos on Thu Sep 05, 2024 7:38 am, edited 1 time in total.
Acer Aspire A315-58
Intel Core i7-1165G7
Iris Xe Graphics
MX-23.2-Xfce4 - 4.18.2

*Matthew 5:11

User avatar
Eadwine Rose
Administrator
Posts: 14673
Joined: Wed Jul 12, 2006 2:10 am

Re: Could a whole disk be added into a partition, another PC?

#20 Post by Eadwine Rose »

You really need to differentiate between the term memory (which is RAM and does NOT show in gparted) and storage space (which is a hard drive that shows up in gparted).
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Post Reply

Return to “antiX”