How to add a C:/ drive in Linux?












1















I'm new to Linux os. I install wine to run a windows program then an error occurred. Then I found that it's error occurred because c drive is not exist. The program need to write something into the c drive.



In other words, I'm needed to run the program but the program need to write things in c drive then my Linux os don't have c drive.



Any solutions?
(I can accept if needed to install a program)










share|improve this question


















  • 2





    Have defined WINEPREFIX=/home/yourusername/.wine before running your program? The directory drive_c is under .wine and becomes your C drive when running wine.

    – ubfan1
    Jan 11 at 2:11











  • You might want to post the exact error message.

    – wjandrea
    Jan 11 at 3:36











  • Hi ubfan1, can I view the c drive in .wine?

    – Hai Qin
    Jan 11 at 12:44











  • Open a terminal and type cd $HOME/.wine/drive_c followed by the Enter key. You'll be at the "root" of the C drive that wine uses. You will need to learn a few Linux commands to do anything there. Start with ls which lists the files.

    – Joe
    Jan 16 at 19:56
















1















I'm new to Linux os. I install wine to run a windows program then an error occurred. Then I found that it's error occurred because c drive is not exist. The program need to write something into the c drive.



In other words, I'm needed to run the program but the program need to write things in c drive then my Linux os don't have c drive.



Any solutions?
(I can accept if needed to install a program)










share|improve this question


















  • 2





    Have defined WINEPREFIX=/home/yourusername/.wine before running your program? The directory drive_c is under .wine and becomes your C drive when running wine.

    – ubfan1
    Jan 11 at 2:11











  • You might want to post the exact error message.

    – wjandrea
    Jan 11 at 3:36











  • Hi ubfan1, can I view the c drive in .wine?

    – Hai Qin
    Jan 11 at 12:44











  • Open a terminal and type cd $HOME/.wine/drive_c followed by the Enter key. You'll be at the "root" of the C drive that wine uses. You will need to learn a few Linux commands to do anything there. Start with ls which lists the files.

    – Joe
    Jan 16 at 19:56














1












1








1








I'm new to Linux os. I install wine to run a windows program then an error occurred. Then I found that it's error occurred because c drive is not exist. The program need to write something into the c drive.



In other words, I'm needed to run the program but the program need to write things in c drive then my Linux os don't have c drive.



Any solutions?
(I can accept if needed to install a program)










share|improve this question














I'm new to Linux os. I install wine to run a windows program then an error occurred. Then I found that it's error occurred because c drive is not exist. The program need to write something into the c drive.



In other words, I'm needed to run the program but the program need to write things in c drive then my Linux os don't have c drive.



Any solutions?
(I can accept if needed to install a program)







windows wine






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 11 at 2:03









Hai QinHai Qin

62




62








  • 2





    Have defined WINEPREFIX=/home/yourusername/.wine before running your program? The directory drive_c is under .wine and becomes your C drive when running wine.

    – ubfan1
    Jan 11 at 2:11











  • You might want to post the exact error message.

    – wjandrea
    Jan 11 at 3:36











  • Hi ubfan1, can I view the c drive in .wine?

    – Hai Qin
    Jan 11 at 12:44











  • Open a terminal and type cd $HOME/.wine/drive_c followed by the Enter key. You'll be at the "root" of the C drive that wine uses. You will need to learn a few Linux commands to do anything there. Start with ls which lists the files.

    – Joe
    Jan 16 at 19:56














  • 2





    Have defined WINEPREFIX=/home/yourusername/.wine before running your program? The directory drive_c is under .wine and becomes your C drive when running wine.

    – ubfan1
    Jan 11 at 2:11











  • You might want to post the exact error message.

    – wjandrea
    Jan 11 at 3:36











  • Hi ubfan1, can I view the c drive in .wine?

    – Hai Qin
    Jan 11 at 12:44











  • Open a terminal and type cd $HOME/.wine/drive_c followed by the Enter key. You'll be at the "root" of the C drive that wine uses. You will need to learn a few Linux commands to do anything there. Start with ls which lists the files.

    – Joe
    Jan 16 at 19:56








2




2





Have defined WINEPREFIX=/home/yourusername/.wine before running your program? The directory drive_c is under .wine and becomes your C drive when running wine.

– ubfan1
Jan 11 at 2:11





Have defined WINEPREFIX=/home/yourusername/.wine before running your program? The directory drive_c is under .wine and becomes your C drive when running wine.

– ubfan1
Jan 11 at 2:11













You might want to post the exact error message.

– wjandrea
Jan 11 at 3:36





You might want to post the exact error message.

– wjandrea
Jan 11 at 3:36













Hi ubfan1, can I view the c drive in .wine?

– Hai Qin
Jan 11 at 12:44





Hi ubfan1, can I view the c drive in .wine?

– Hai Qin
Jan 11 at 12:44













Open a terminal and type cd $HOME/.wine/drive_c followed by the Enter key. You'll be at the "root" of the C drive that wine uses. You will need to learn a few Linux commands to do anything there. Start with ls which lists the files.

– Joe
Jan 16 at 19:56





Open a terminal and type cd $HOME/.wine/drive_c followed by the Enter key. You'll be at the "root" of the C drive that wine uses. You will need to learn a few Linux commands to do anything there. Start with ls which lists the files.

– Joe
Jan 16 at 19:56










0






active

oldest

votes











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%2f1108734%2fhow-to-add-a-c-drive-in-linux%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f1108734%2fhow-to-add-a-c-drive-in-linux%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

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅