Install Arch Linux to external hard disk using a Virtual Machine?
I have an external hard disk and I want to install Arch Linux on it. I want to have access to the online the documentation. Is it possible to install it from a VM so I could have access to the documentation?
arch-linux system-installation virtual-machine
add a comment |
I have an external hard disk and I want to install Arch Linux on it. I want to have access to the online the documentation. Is it possible to install it from a VM so I could have access to the documentation?
arch-linux system-installation virtual-machine
You can access the wiki from within the Live install using a text browser likelinks
orw3m
...
– jasonwryan
Mar 10 '13 at 3:41
great! I didn't know about that
– ngwdaniel
Mar 10 '13 at 4:09
add a comment |
I have an external hard disk and I want to install Arch Linux on it. I want to have access to the online the documentation. Is it possible to install it from a VM so I could have access to the documentation?
arch-linux system-installation virtual-machine
I have an external hard disk and I want to install Arch Linux on it. I want to have access to the online the documentation. Is it possible to install it from a VM so I could have access to the documentation?
arch-linux system-installation virtual-machine
arch-linux system-installation virtual-machine
edited Feb 10 at 19:03
Rui F Ribeiro
40.5k1479137
40.5k1479137
asked Mar 10 '13 at 3:38
ngwdanielngwdaniel
2101410
2101410
You can access the wiki from within the Live install using a text browser likelinks
orw3m
...
– jasonwryan
Mar 10 '13 at 3:41
great! I didn't know about that
– ngwdaniel
Mar 10 '13 at 4:09
add a comment |
You can access the wiki from within the Live install using a text browser likelinks
orw3m
...
– jasonwryan
Mar 10 '13 at 3:41
great! I didn't know about that
– ngwdaniel
Mar 10 '13 at 4:09
You can access the wiki from within the Live install using a text browser like
links
or w3m
...– jasonwryan
Mar 10 '13 at 3:41
You can access the wiki from within the Live install using a text browser like
links
or w3m
...– jasonwryan
Mar 10 '13 at 3:41
great! I didn't know about that
– ngwdaniel
Mar 10 '13 at 4:09
great! I didn't know about that
– ngwdaniel
Mar 10 '13 at 4:09
add a comment |
4 Answers
4
active
oldest
votes
This actually can be done directly using VirtualBox using the following steps:
- BACK UP ALL DATA ON YOUR EXTERNAL
- Create a Virtualbox VM without attaching a storage device
- Find and note the device path of your external hard drive. This should be something like /dev/sdb. Make sure you have this right or you could lose a lot of data.
- Run the following command in a terminal:
VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda
replacing /dev/sda with the path you noted in step 3. Replace /path/to/file.vmdk with some location on your main hard drive. This file simply provides the information necessary to tell VirtualBox how to mount your external, do not save this file on the external it self. - Go back into the VirtualBox UI, and attach that file you created in step 4 to your VM and boot it.
- Install Arch Linux like you would on a normal VM.
add a comment |
After you create the Live USB from the latest .iso Arch Linux - Download). Reboot your computer from USB. Once you're booted into the live system in the root directory there is a install.txt file that you can view that contains instructions on installing the system.
Also, the live media ships two very useful applications:
irssi (irc chat client)
/server irc.freenode.net
/msg nickserv help
(register your nick or you wont be able to speak in #archlinux)
/join #archlinux
elinks (terminal web browser)
But, while you're download the .iso and making the boot media you might want to look over this document.
- Arch Linux - Installation Guide
add a comment |
I think you don't need a VM for that at all. You can create your own Archiso, have a look at this: https://wiki.archlinux.org/index.php/Archiso
add a comment |
There are two ways to do that:
- Create a virtual harddrive on the external harddrive and install Arch on it.
- Mount the external harddrive natively to the virtual machine and install Arch on it.
While im pretty sure the first way will work, it leaves you with a virtual harddrive. If you want to install arch natively on your external harddrive, you will need to copy the whole contents of the virtual hd to your native hd after you finished installing.
The documentation of your vm should state how to do that.
The other way would be mounting your hd natively to your vm. Obviously, you need a virtual machine that is able to do that or it wont work. Without any guest additions, i dont know any vm that is able to do that.
All these ways are not very elegant to go, so i recommend you not to try it. Instead, try to find a way to access the documentation without using a vm.
You could print the documentation.
If you have a second pc or a tablet, you could use that to browse the documentation.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f67445%2finstall-arch-linux-to-external-hard-disk-using-a-virtual-machine%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
This actually can be done directly using VirtualBox using the following steps:
- BACK UP ALL DATA ON YOUR EXTERNAL
- Create a Virtualbox VM without attaching a storage device
- Find and note the device path of your external hard drive. This should be something like /dev/sdb. Make sure you have this right or you could lose a lot of data.
- Run the following command in a terminal:
VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda
replacing /dev/sda with the path you noted in step 3. Replace /path/to/file.vmdk with some location on your main hard drive. This file simply provides the information necessary to tell VirtualBox how to mount your external, do not save this file on the external it self. - Go back into the VirtualBox UI, and attach that file you created in step 4 to your VM and boot it.
- Install Arch Linux like you would on a normal VM.
add a comment |
This actually can be done directly using VirtualBox using the following steps:
- BACK UP ALL DATA ON YOUR EXTERNAL
- Create a Virtualbox VM without attaching a storage device
- Find and note the device path of your external hard drive. This should be something like /dev/sdb. Make sure you have this right or you could lose a lot of data.
- Run the following command in a terminal:
VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda
replacing /dev/sda with the path you noted in step 3. Replace /path/to/file.vmdk with some location on your main hard drive. This file simply provides the information necessary to tell VirtualBox how to mount your external, do not save this file on the external it self. - Go back into the VirtualBox UI, and attach that file you created in step 4 to your VM and boot it.
- Install Arch Linux like you would on a normal VM.
add a comment |
This actually can be done directly using VirtualBox using the following steps:
- BACK UP ALL DATA ON YOUR EXTERNAL
- Create a Virtualbox VM without attaching a storage device
- Find and note the device path of your external hard drive. This should be something like /dev/sdb. Make sure you have this right or you could lose a lot of data.
- Run the following command in a terminal:
VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda
replacing /dev/sda with the path you noted in step 3. Replace /path/to/file.vmdk with some location on your main hard drive. This file simply provides the information necessary to tell VirtualBox how to mount your external, do not save this file on the external it self. - Go back into the VirtualBox UI, and attach that file you created in step 4 to your VM and boot it.
- Install Arch Linux like you would on a normal VM.
This actually can be done directly using VirtualBox using the following steps:
- BACK UP ALL DATA ON YOUR EXTERNAL
- Create a Virtualbox VM without attaching a storage device
- Find and note the device path of your external hard drive. This should be something like /dev/sdb. Make sure you have this right or you could lose a lot of data.
- Run the following command in a terminal:
VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk -rawdisk /dev/sda
replacing /dev/sda with the path you noted in step 3. Replace /path/to/file.vmdk with some location on your main hard drive. This file simply provides the information necessary to tell VirtualBox how to mount your external, do not save this file on the external it self. - Go back into the VirtualBox UI, and attach that file you created in step 4 to your VM and boot it.
- Install Arch Linux like you would on a normal VM.
answered Jul 25 '13 at 15:49
Jacob WiltseJacob Wiltse
39614
39614
add a comment |
add a comment |
After you create the Live USB from the latest .iso Arch Linux - Download). Reboot your computer from USB. Once you're booted into the live system in the root directory there is a install.txt file that you can view that contains instructions on installing the system.
Also, the live media ships two very useful applications:
irssi (irc chat client)
/server irc.freenode.net
/msg nickserv help
(register your nick or you wont be able to speak in #archlinux)
/join #archlinux
elinks (terminal web browser)
But, while you're download the .iso and making the boot media you might want to look over this document.
- Arch Linux - Installation Guide
add a comment |
After you create the Live USB from the latest .iso Arch Linux - Download). Reboot your computer from USB. Once you're booted into the live system in the root directory there is a install.txt file that you can view that contains instructions on installing the system.
Also, the live media ships two very useful applications:
irssi (irc chat client)
/server irc.freenode.net
/msg nickserv help
(register your nick or you wont be able to speak in #archlinux)
/join #archlinux
elinks (terminal web browser)
But, while you're download the .iso and making the boot media you might want to look over this document.
- Arch Linux - Installation Guide
add a comment |
After you create the Live USB from the latest .iso Arch Linux - Download). Reboot your computer from USB. Once you're booted into the live system in the root directory there is a install.txt file that you can view that contains instructions on installing the system.
Also, the live media ships two very useful applications:
irssi (irc chat client)
/server irc.freenode.net
/msg nickserv help
(register your nick or you wont be able to speak in #archlinux)
/join #archlinux
elinks (terminal web browser)
But, while you're download the .iso and making the boot media you might want to look over this document.
- Arch Linux - Installation Guide
After you create the Live USB from the latest .iso Arch Linux - Download). Reboot your computer from USB. Once you're booted into the live system in the root directory there is a install.txt file that you can view that contains instructions on installing the system.
Also, the live media ships two very useful applications:
irssi (irc chat client)
/server irc.freenode.net
/msg nickserv help
(register your nick or you wont be able to speak in #archlinux)
/join #archlinux
elinks (terminal web browser)
But, while you're download the .iso and making the boot media you might want to look over this document.
- Arch Linux - Installation Guide
answered Mar 10 '13 at 6:35
cinellicinelli
1,059713
1,059713
add a comment |
add a comment |
I think you don't need a VM for that at all. You can create your own Archiso, have a look at this: https://wiki.archlinux.org/index.php/Archiso
add a comment |
I think you don't need a VM for that at all. You can create your own Archiso, have a look at this: https://wiki.archlinux.org/index.php/Archiso
add a comment |
I think you don't need a VM for that at all. You can create your own Archiso, have a look at this: https://wiki.archlinux.org/index.php/Archiso
I think you don't need a VM for that at all. You can create your own Archiso, have a look at this: https://wiki.archlinux.org/index.php/Archiso
answered May 10 '13 at 11:49
AlkoAlko
7471515
7471515
add a comment |
add a comment |
There are two ways to do that:
- Create a virtual harddrive on the external harddrive and install Arch on it.
- Mount the external harddrive natively to the virtual machine and install Arch on it.
While im pretty sure the first way will work, it leaves you with a virtual harddrive. If you want to install arch natively on your external harddrive, you will need to copy the whole contents of the virtual hd to your native hd after you finished installing.
The documentation of your vm should state how to do that.
The other way would be mounting your hd natively to your vm. Obviously, you need a virtual machine that is able to do that or it wont work. Without any guest additions, i dont know any vm that is able to do that.
All these ways are not very elegant to go, so i recommend you not to try it. Instead, try to find a way to access the documentation without using a vm.
You could print the documentation.
If you have a second pc or a tablet, you could use that to browse the documentation.
add a comment |
There are two ways to do that:
- Create a virtual harddrive on the external harddrive and install Arch on it.
- Mount the external harddrive natively to the virtual machine and install Arch on it.
While im pretty sure the first way will work, it leaves you with a virtual harddrive. If you want to install arch natively on your external harddrive, you will need to copy the whole contents of the virtual hd to your native hd after you finished installing.
The documentation of your vm should state how to do that.
The other way would be mounting your hd natively to your vm. Obviously, you need a virtual machine that is able to do that or it wont work. Without any guest additions, i dont know any vm that is able to do that.
All these ways are not very elegant to go, so i recommend you not to try it. Instead, try to find a way to access the documentation without using a vm.
You could print the documentation.
If you have a second pc or a tablet, you could use that to browse the documentation.
add a comment |
There are two ways to do that:
- Create a virtual harddrive on the external harddrive and install Arch on it.
- Mount the external harddrive natively to the virtual machine and install Arch on it.
While im pretty sure the first way will work, it leaves you with a virtual harddrive. If you want to install arch natively on your external harddrive, you will need to copy the whole contents of the virtual hd to your native hd after you finished installing.
The documentation of your vm should state how to do that.
The other way would be mounting your hd natively to your vm. Obviously, you need a virtual machine that is able to do that or it wont work. Without any guest additions, i dont know any vm that is able to do that.
All these ways are not very elegant to go, so i recommend you not to try it. Instead, try to find a way to access the documentation without using a vm.
You could print the documentation.
If you have a second pc or a tablet, you could use that to browse the documentation.
There are two ways to do that:
- Create a virtual harddrive on the external harddrive and install Arch on it.
- Mount the external harddrive natively to the virtual machine and install Arch on it.
While im pretty sure the first way will work, it leaves you with a virtual harddrive. If you want to install arch natively on your external harddrive, you will need to copy the whole contents of the virtual hd to your native hd after you finished installing.
The documentation of your vm should state how to do that.
The other way would be mounting your hd natively to your vm. Obviously, you need a virtual machine that is able to do that or it wont work. Without any guest additions, i dont know any vm that is able to do that.
All these ways are not very elegant to go, so i recommend you not to try it. Instead, try to find a way to access the documentation without using a vm.
You could print the documentation.
If you have a second pc or a tablet, you could use that to browse the documentation.
answered Jul 25 '13 at 13:44
Oznerol256Oznerol256
1536
1536
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f67445%2finstall-arch-linux-to-external-hard-disk-using-a-virtual-machine%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
You can access the wiki from within the Live install using a text browser like
links
orw3m
...– jasonwryan
Mar 10 '13 at 3:41
great! I didn't know about that
– ngwdaniel
Mar 10 '13 at 4:09