Installing Ubuntu Server on mirrored LVM with uefi boot… installer vs command line
I want to install Ubuntu Server on a pair of drives mirrored under LVM. Unfortunately, advanced installation instructions do not give specific information about a mirrored setup. I was thinking to use other instructions such as these, but they are for command line, and I am having a bit of trouble using the command line from the installer.
I can use alt-F2 to get to the command line, but fdisk and other familiar utilities are not present to help me identify disks. I further cannot go back and forth between the command line like I would with an X session by hitting control-alt-f7 (it just goes to a black screen with a flashing cursor, where I can get back to the command line with alt-f2). So how do I get back to the installer after working in the shell?
Also, I would be glad if someone would point me to some resources about using the command line within the Ubuntu Server installer (ie how to get apt and install things like to the installer USB). Or just point me to some specific instructions about setting up mirrored LVM on Ubuntu during installation?
Edit: It was ctr-alt-f1 to return to the installer. The answer is in the third link, but I missed the part about trying different function keys between 1-6. Now that I can freely go between the command line and the installer I might be able to piece together the different tutorials, I will report back if I get it working.
Edit2: I admitted defeat and just did RAID1, except this time instead of marking the root partition as bootable (as suggested by the Advanced Installation guide), I created an EFI partition at the beginning of each physical volume. I then created the swap and root partitions as per the guide. I guess RAID1 will still protect me against physical drive failure causing downtime, but now I am paranoid about corrupt partition tables getting replicated, as this felled me on a previous installation and I would like both physical redundancy and the ability to rollback anything that gets messed up. More about that here.
I'd still be glad of some suggestions about clear tutorials of how to install Ubuntu server on mirrored LVM, set up snapshotting of the root file system, and preferably do all that with UEFI boot.
command-line system-installation lvm
add a comment |
I want to install Ubuntu Server on a pair of drives mirrored under LVM. Unfortunately, advanced installation instructions do not give specific information about a mirrored setup. I was thinking to use other instructions such as these, but they are for command line, and I am having a bit of trouble using the command line from the installer.
I can use alt-F2 to get to the command line, but fdisk and other familiar utilities are not present to help me identify disks. I further cannot go back and forth between the command line like I would with an X session by hitting control-alt-f7 (it just goes to a black screen with a flashing cursor, where I can get back to the command line with alt-f2). So how do I get back to the installer after working in the shell?
Also, I would be glad if someone would point me to some resources about using the command line within the Ubuntu Server installer (ie how to get apt and install things like to the installer USB). Or just point me to some specific instructions about setting up mirrored LVM on Ubuntu during installation?
Edit: It was ctr-alt-f1 to return to the installer. The answer is in the third link, but I missed the part about trying different function keys between 1-6. Now that I can freely go between the command line and the installer I might be able to piece together the different tutorials, I will report back if I get it working.
Edit2: I admitted defeat and just did RAID1, except this time instead of marking the root partition as bootable (as suggested by the Advanced Installation guide), I created an EFI partition at the beginning of each physical volume. I then created the swap and root partitions as per the guide. I guess RAID1 will still protect me against physical drive failure causing downtime, but now I am paranoid about corrupt partition tables getting replicated, as this felled me on a previous installation and I would like both physical redundancy and the ability to rollback anything that gets messed up. More about that here.
I'd still be glad of some suggestions about clear tutorials of how to install Ubuntu server on mirrored LVM, set up snapshotting of the root file system, and preferably do all that with UEFI boot.
command-line system-installation lvm
I think you misunderstood. I want to use the command line. The Server installer is text based, but not command line.
– Thoughtcraft
Feb 19 at 2:58
add a comment |
I want to install Ubuntu Server on a pair of drives mirrored under LVM. Unfortunately, advanced installation instructions do not give specific information about a mirrored setup. I was thinking to use other instructions such as these, but they are for command line, and I am having a bit of trouble using the command line from the installer.
I can use alt-F2 to get to the command line, but fdisk and other familiar utilities are not present to help me identify disks. I further cannot go back and forth between the command line like I would with an X session by hitting control-alt-f7 (it just goes to a black screen with a flashing cursor, where I can get back to the command line with alt-f2). So how do I get back to the installer after working in the shell?
Also, I would be glad if someone would point me to some resources about using the command line within the Ubuntu Server installer (ie how to get apt and install things like to the installer USB). Or just point me to some specific instructions about setting up mirrored LVM on Ubuntu during installation?
Edit: It was ctr-alt-f1 to return to the installer. The answer is in the third link, but I missed the part about trying different function keys between 1-6. Now that I can freely go between the command line and the installer I might be able to piece together the different tutorials, I will report back if I get it working.
Edit2: I admitted defeat and just did RAID1, except this time instead of marking the root partition as bootable (as suggested by the Advanced Installation guide), I created an EFI partition at the beginning of each physical volume. I then created the swap and root partitions as per the guide. I guess RAID1 will still protect me against physical drive failure causing downtime, but now I am paranoid about corrupt partition tables getting replicated, as this felled me on a previous installation and I would like both physical redundancy and the ability to rollback anything that gets messed up. More about that here.
I'd still be glad of some suggestions about clear tutorials of how to install Ubuntu server on mirrored LVM, set up snapshotting of the root file system, and preferably do all that with UEFI boot.
command-line system-installation lvm
I want to install Ubuntu Server on a pair of drives mirrored under LVM. Unfortunately, advanced installation instructions do not give specific information about a mirrored setup. I was thinking to use other instructions such as these, but they are for command line, and I am having a bit of trouble using the command line from the installer.
I can use alt-F2 to get to the command line, but fdisk and other familiar utilities are not present to help me identify disks. I further cannot go back and forth between the command line like I would with an X session by hitting control-alt-f7 (it just goes to a black screen with a flashing cursor, where I can get back to the command line with alt-f2). So how do I get back to the installer after working in the shell?
Also, I would be glad if someone would point me to some resources about using the command line within the Ubuntu Server installer (ie how to get apt and install things like to the installer USB). Or just point me to some specific instructions about setting up mirrored LVM on Ubuntu during installation?
Edit: It was ctr-alt-f1 to return to the installer. The answer is in the third link, but I missed the part about trying different function keys between 1-6. Now that I can freely go between the command line and the installer I might be able to piece together the different tutorials, I will report back if I get it working.
Edit2: I admitted defeat and just did RAID1, except this time instead of marking the root partition as bootable (as suggested by the Advanced Installation guide), I created an EFI partition at the beginning of each physical volume. I then created the swap and root partitions as per the guide. I guess RAID1 will still protect me against physical drive failure causing downtime, but now I am paranoid about corrupt partition tables getting replicated, as this felled me on a previous installation and I would like both physical redundancy and the ability to rollback anything that gets messed up. More about that here.
I'd still be glad of some suggestions about clear tutorials of how to install Ubuntu server on mirrored LVM, set up snapshotting of the root file system, and preferably do all that with UEFI boot.
command-line system-installation lvm
command-line system-installation lvm
edited Feb 19 at 4:46
Thoughtcraft
asked Feb 18 at 22:34
ThoughtcraftThoughtcraft
1095
1095
I think you misunderstood. I want to use the command line. The Server installer is text based, but not command line.
– Thoughtcraft
Feb 19 at 2:58
add a comment |
I think you misunderstood. I want to use the command line. The Server installer is text based, but not command line.
– Thoughtcraft
Feb 19 at 2:58
I think you misunderstood. I want to use the command line. The Server installer is text based, but not command line.
– Thoughtcraft
Feb 19 at 2:58
I think you misunderstood. I want to use the command line. The Server installer is text based, but not command line.
– Thoughtcraft
Feb 19 at 2:58
add a comment |
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
});
}
});
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%2faskubuntu.com%2fquestions%2f1119356%2finstalling-ubuntu-server-on-mirrored-lvm-with-uefi-boot-installer-vs-command%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
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.
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%2faskubuntu.com%2fquestions%2f1119356%2finstalling-ubuntu-server-on-mirrored-lvm-with-uefi-boot-installer-vs-command%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
I think you misunderstood. I want to use the command line. The Server installer is text based, but not command line.
– Thoughtcraft
Feb 19 at 2:58