How can I copy a file from one partition to another?












1















I started with Linux a year ago. Few weeks ago it was my idea to install the EFISTUB bootloader.



I used an Live CD to freshly install 12.10, and studied the articles of http://www.rodsbooks.com/ inside out.



The problem I am facing is that few files need to be copied from sda2 (Ext) to sda1 (fat32). I can not find a way to do it?










share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • What do you mean, "my esp having fat32"?

    – Flimm
    Nov 27 '12 at 17:30











  • Sorry, Efi System Partition. In order to make efi work, a first partition is needed in Fat32.

    – user111095
    Nov 27 '12 at 20:35


















1















I started with Linux a year ago. Few weeks ago it was my idea to install the EFISTUB bootloader.



I used an Live CD to freshly install 12.10, and studied the articles of http://www.rodsbooks.com/ inside out.



The problem I am facing is that few files need to be copied from sda2 (Ext) to sda1 (fat32). I can not find a way to do it?










share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • What do you mean, "my esp having fat32"?

    – Flimm
    Nov 27 '12 at 17:30











  • Sorry, Efi System Partition. In order to make efi work, a first partition is needed in Fat32.

    – user111095
    Nov 27 '12 at 20:35
















1












1








1








I started with Linux a year ago. Few weeks ago it was my idea to install the EFISTUB bootloader.



I used an Live CD to freshly install 12.10, and studied the articles of http://www.rodsbooks.com/ inside out.



The problem I am facing is that few files need to be copied from sda2 (Ext) to sda1 (fat32). I can not find a way to do it?










share|improve this question
















I started with Linux a year ago. Few weeks ago it was my idea to install the EFISTUB bootloader.



I used an Live CD to freshly install 12.10, and studied the articles of http://www.rodsbooks.com/ inside out.



The problem I am facing is that few files need to be copied from sda2 (Ext) to sda1 (fat32). I can not find a way to do it?







partitioning bootloader uefi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 13 '14 at 14:25









Pro Backup

2,05631729




2,05631729










asked Nov 27 '12 at 16:27









user111095user111095

613




613





bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • What do you mean, "my esp having fat32"?

    – Flimm
    Nov 27 '12 at 17:30











  • Sorry, Efi System Partition. In order to make efi work, a first partition is needed in Fat32.

    – user111095
    Nov 27 '12 at 20:35





















  • What do you mean, "my esp having fat32"?

    – Flimm
    Nov 27 '12 at 17:30











  • Sorry, Efi System Partition. In order to make efi work, a first partition is needed in Fat32.

    – user111095
    Nov 27 '12 at 20:35



















What do you mean, "my esp having fat32"?

– Flimm
Nov 27 '12 at 17:30





What do you mean, "my esp having fat32"?

– Flimm
Nov 27 '12 at 17:30













Sorry, Efi System Partition. In order to make efi work, a first partition is needed in Fat32.

– user111095
Nov 27 '12 at 20:35







Sorry, Efi System Partition. In order to make efi work, a first partition is needed in Fat32.

– user111095
Nov 27 '12 at 20:35












1 Answer
1






active

oldest

votes


















0














boot to live cd and use the mount command to mount both partitions,
then copy the files like normal.



sudo mkdir /mnt/drv2
sudo mount /dev/sda2 /mnt/drv2

sudo mkdir /mnt/drv1
sudo mount /dev/sda1 /mnt/drv1





share|improve this answer
























  • If the drive with the partitions is connected to your system, it shouldn't require a Live Cd. Simply mount both partitions and copy the files as you'd like. Note that you may have to copy the files as Sudo if you don't have permissions with the files.

    – James
    Nov 28 '12 at 0:35













  • Also, if the system is already installed in EFI mode, there's a good chance that the ESP is already mounted at /boot/efi. Your kernel will already be accessible under /boot, of course. The different filesystem types are unimportant; user-level tools like cp just see files, not the details of the filesystems (ext3fs vs. FAT, for instance).

    – Rod Smith
    Nov 28 '12 at 3:18











  • CD not needed: Actually I used the CD to boot the machine to install the stubloader, which requires files to be moved from /boot to boot/efi.

    – user111095
    Nov 29 '12 at 8:43













  • I used gparted for making the gpt (rodsbooks.com) and a 500 mb fat32 sda1. So far so good. I installed Ubuntu on the second partition (sda2 - root), and /home on a third partition. Because I used a GPT partition table, I thought my MBR would be destroyed, consequently I thus had use the Installation cd. As I could not make it work, I eventually reinstalled Ubuntu, yet now using "EFI start-up partition" as an option during install (in stead of leaving it blank). As a result Ubuntu started from the HD, but used grub - very instable.

    – user111095
    Nov 29 '12 at 9:06













  • The issue, what are the commans to copy the files? cp /boot/vmlinuz/ /boot/efi/EFI/ubuntu/vmlinuz.efi..?

    – user111095
    Nov 29 '12 at 9:12













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f222632%2fhow-can-i-copy-a-file-from-one-partition-to-another%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














boot to live cd and use the mount command to mount both partitions,
then copy the files like normal.



sudo mkdir /mnt/drv2
sudo mount /dev/sda2 /mnt/drv2

sudo mkdir /mnt/drv1
sudo mount /dev/sda1 /mnt/drv1





share|improve this answer
























  • If the drive with the partitions is connected to your system, it shouldn't require a Live Cd. Simply mount both partitions and copy the files as you'd like. Note that you may have to copy the files as Sudo if you don't have permissions with the files.

    – James
    Nov 28 '12 at 0:35













  • Also, if the system is already installed in EFI mode, there's a good chance that the ESP is already mounted at /boot/efi. Your kernel will already be accessible under /boot, of course. The different filesystem types are unimportant; user-level tools like cp just see files, not the details of the filesystems (ext3fs vs. FAT, for instance).

    – Rod Smith
    Nov 28 '12 at 3:18











  • CD not needed: Actually I used the CD to boot the machine to install the stubloader, which requires files to be moved from /boot to boot/efi.

    – user111095
    Nov 29 '12 at 8:43













  • I used gparted for making the gpt (rodsbooks.com) and a 500 mb fat32 sda1. So far so good. I installed Ubuntu on the second partition (sda2 - root), and /home on a third partition. Because I used a GPT partition table, I thought my MBR would be destroyed, consequently I thus had use the Installation cd. As I could not make it work, I eventually reinstalled Ubuntu, yet now using "EFI start-up partition" as an option during install (in stead of leaving it blank). As a result Ubuntu started from the HD, but used grub - very instable.

    – user111095
    Nov 29 '12 at 9:06













  • The issue, what are the commans to copy the files? cp /boot/vmlinuz/ /boot/efi/EFI/ubuntu/vmlinuz.efi..?

    – user111095
    Nov 29 '12 at 9:12


















0














boot to live cd and use the mount command to mount both partitions,
then copy the files like normal.



sudo mkdir /mnt/drv2
sudo mount /dev/sda2 /mnt/drv2

sudo mkdir /mnt/drv1
sudo mount /dev/sda1 /mnt/drv1





share|improve this answer
























  • If the drive with the partitions is connected to your system, it shouldn't require a Live Cd. Simply mount both partitions and copy the files as you'd like. Note that you may have to copy the files as Sudo if you don't have permissions with the files.

    – James
    Nov 28 '12 at 0:35













  • Also, if the system is already installed in EFI mode, there's a good chance that the ESP is already mounted at /boot/efi. Your kernel will already be accessible under /boot, of course. The different filesystem types are unimportant; user-level tools like cp just see files, not the details of the filesystems (ext3fs vs. FAT, for instance).

    – Rod Smith
    Nov 28 '12 at 3:18











  • CD not needed: Actually I used the CD to boot the machine to install the stubloader, which requires files to be moved from /boot to boot/efi.

    – user111095
    Nov 29 '12 at 8:43













  • I used gparted for making the gpt (rodsbooks.com) and a 500 mb fat32 sda1. So far so good. I installed Ubuntu on the second partition (sda2 - root), and /home on a third partition. Because I used a GPT partition table, I thought my MBR would be destroyed, consequently I thus had use the Installation cd. As I could not make it work, I eventually reinstalled Ubuntu, yet now using "EFI start-up partition" as an option during install (in stead of leaving it blank). As a result Ubuntu started from the HD, but used grub - very instable.

    – user111095
    Nov 29 '12 at 9:06













  • The issue, what are the commans to copy the files? cp /boot/vmlinuz/ /boot/efi/EFI/ubuntu/vmlinuz.efi..?

    – user111095
    Nov 29 '12 at 9:12
















0












0








0







boot to live cd and use the mount command to mount both partitions,
then copy the files like normal.



sudo mkdir /mnt/drv2
sudo mount /dev/sda2 /mnt/drv2

sudo mkdir /mnt/drv1
sudo mount /dev/sda1 /mnt/drv1





share|improve this answer













boot to live cd and use the mount command to mount both partitions,
then copy the files like normal.



sudo mkdir /mnt/drv2
sudo mount /dev/sda2 /mnt/drv2

sudo mkdir /mnt/drv1
sudo mount /dev/sda1 /mnt/drv1






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 27 '12 at 23:26









endor43endor43

6112




6112













  • If the drive with the partitions is connected to your system, it shouldn't require a Live Cd. Simply mount both partitions and copy the files as you'd like. Note that you may have to copy the files as Sudo if you don't have permissions with the files.

    – James
    Nov 28 '12 at 0:35













  • Also, if the system is already installed in EFI mode, there's a good chance that the ESP is already mounted at /boot/efi. Your kernel will already be accessible under /boot, of course. The different filesystem types are unimportant; user-level tools like cp just see files, not the details of the filesystems (ext3fs vs. FAT, for instance).

    – Rod Smith
    Nov 28 '12 at 3:18











  • CD not needed: Actually I used the CD to boot the machine to install the stubloader, which requires files to be moved from /boot to boot/efi.

    – user111095
    Nov 29 '12 at 8:43













  • I used gparted for making the gpt (rodsbooks.com) and a 500 mb fat32 sda1. So far so good. I installed Ubuntu on the second partition (sda2 - root), and /home on a third partition. Because I used a GPT partition table, I thought my MBR would be destroyed, consequently I thus had use the Installation cd. As I could not make it work, I eventually reinstalled Ubuntu, yet now using "EFI start-up partition" as an option during install (in stead of leaving it blank). As a result Ubuntu started from the HD, but used grub - very instable.

    – user111095
    Nov 29 '12 at 9:06













  • The issue, what are the commans to copy the files? cp /boot/vmlinuz/ /boot/efi/EFI/ubuntu/vmlinuz.efi..?

    – user111095
    Nov 29 '12 at 9:12





















  • If the drive with the partitions is connected to your system, it shouldn't require a Live Cd. Simply mount both partitions and copy the files as you'd like. Note that you may have to copy the files as Sudo if you don't have permissions with the files.

    – James
    Nov 28 '12 at 0:35













  • Also, if the system is already installed in EFI mode, there's a good chance that the ESP is already mounted at /boot/efi. Your kernel will already be accessible under /boot, of course. The different filesystem types are unimportant; user-level tools like cp just see files, not the details of the filesystems (ext3fs vs. FAT, for instance).

    – Rod Smith
    Nov 28 '12 at 3:18











  • CD not needed: Actually I used the CD to boot the machine to install the stubloader, which requires files to be moved from /boot to boot/efi.

    – user111095
    Nov 29 '12 at 8:43













  • I used gparted for making the gpt (rodsbooks.com) and a 500 mb fat32 sda1. So far so good. I installed Ubuntu on the second partition (sda2 - root), and /home on a third partition. Because I used a GPT partition table, I thought my MBR would be destroyed, consequently I thus had use the Installation cd. As I could not make it work, I eventually reinstalled Ubuntu, yet now using "EFI start-up partition" as an option during install (in stead of leaving it blank). As a result Ubuntu started from the HD, but used grub - very instable.

    – user111095
    Nov 29 '12 at 9:06













  • The issue, what are the commans to copy the files? cp /boot/vmlinuz/ /boot/efi/EFI/ubuntu/vmlinuz.efi..?

    – user111095
    Nov 29 '12 at 9:12



















If the drive with the partitions is connected to your system, it shouldn't require a Live Cd. Simply mount both partitions and copy the files as you'd like. Note that you may have to copy the files as Sudo if you don't have permissions with the files.

– James
Nov 28 '12 at 0:35







If the drive with the partitions is connected to your system, it shouldn't require a Live Cd. Simply mount both partitions and copy the files as you'd like. Note that you may have to copy the files as Sudo if you don't have permissions with the files.

– James
Nov 28 '12 at 0:35















Also, if the system is already installed in EFI mode, there's a good chance that the ESP is already mounted at /boot/efi. Your kernel will already be accessible under /boot, of course. The different filesystem types are unimportant; user-level tools like cp just see files, not the details of the filesystems (ext3fs vs. FAT, for instance).

– Rod Smith
Nov 28 '12 at 3:18





Also, if the system is already installed in EFI mode, there's a good chance that the ESP is already mounted at /boot/efi. Your kernel will already be accessible under /boot, of course. The different filesystem types are unimportant; user-level tools like cp just see files, not the details of the filesystems (ext3fs vs. FAT, for instance).

– Rod Smith
Nov 28 '12 at 3:18













CD not needed: Actually I used the CD to boot the machine to install the stubloader, which requires files to be moved from /boot to boot/efi.

– user111095
Nov 29 '12 at 8:43







CD not needed: Actually I used the CD to boot the machine to install the stubloader, which requires files to be moved from /boot to boot/efi.

– user111095
Nov 29 '12 at 8:43















I used gparted for making the gpt (rodsbooks.com) and a 500 mb fat32 sda1. So far so good. I installed Ubuntu on the second partition (sda2 - root), and /home on a third partition. Because I used a GPT partition table, I thought my MBR would be destroyed, consequently I thus had use the Installation cd. As I could not make it work, I eventually reinstalled Ubuntu, yet now using "EFI start-up partition" as an option during install (in stead of leaving it blank). As a result Ubuntu started from the HD, but used grub - very instable.

– user111095
Nov 29 '12 at 9:06







I used gparted for making the gpt (rodsbooks.com) and a 500 mb fat32 sda1. So far so good. I installed Ubuntu on the second partition (sda2 - root), and /home on a third partition. Because I used a GPT partition table, I thought my MBR would be destroyed, consequently I thus had use the Installation cd. As I could not make it work, I eventually reinstalled Ubuntu, yet now using "EFI start-up partition" as an option during install (in stead of leaving it blank). As a result Ubuntu started from the HD, but used grub - very instable.

– user111095
Nov 29 '12 at 9:06















The issue, what are the commans to copy the files? cp /boot/vmlinuz/ /boot/efi/EFI/ubuntu/vmlinuz.efi..?

– user111095
Nov 29 '12 at 9:12







The issue, what are the commans to copy the files? cp /boot/vmlinuz/ /boot/efi/EFI/ubuntu/vmlinuz.efi..?

– user111095
Nov 29 '12 at 9:12




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f222632%2fhow-can-i-copy-a-file-from-one-partition-to-another%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b