LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   slarm64 (https://www.linuxquestions.org/questions/slarm64-132/)
-   -   Transfer to disk script (https://www.linuxquestions.org/questions/slarm64-132/transfer-to-disk-script-4175729416/)

business_kid 09-30-2023 04:28 AM

Transfer to disk script
 
I have the following setup and I'm looking at your transfer to disk script
Code:

Device    Boot    Start      End  Sectors  Size Id Type
/dev/sda1          2048    616447    614400  300M  c W95 FAT32 (LBA)
/dev/sda2        616448  53045247  52428800    25G 83 Linux
/dev/sda3      53045248 468862123 415816876 198.3G 83 Linux
dec@SparrowFart:~$

Will I be able to hold onto the contents of sda3 if I run 'transfer to disk,' which is mounted on /home, or would sda3 be overwritten? I can back up other sections I want.

sndwvs 09-30-2023 01:54 PM

Quote:

Originally Posted by business_kid (Post 6456301)
I have the following setup and I'm looking at your transfer to disk script
Code:

Device    Boot    Start      End  Sectors  Size Id Type
/dev/sda1          2048    616447    614400  300M  c W95 FAT32 (LBA)
/dev/sda2        616448  53045247  52428800    25G 83 Linux
/dev/sda3      53045248 468862123 415816876 198.3G 83 Linux
dec@SparrowFart:~$

Will I be able to hold onto the contents of sda3 if I run 'transfer to disk,' which is mounted on /home, or would sda3 be overwritten? I can back up other sections I want.

The transfer script deletes everything from the disk and transfers the data.

For raspberry pi this script is not particularly important, since the bootloader itself is not written, it is important that the first partition is the fat where the kernel and boot files will be located.

business_kid 09-30-2023 02:37 PM

So, I won't be able top hold on to /home. OK, other means, then.


All times are GMT -5. The time now is 09:56 AM.