Default vt number at Linux startup
Whenever we boot into linux, then the default vt used by the kernel is 1.
And X starts either on vt2 or on vt7. We can switch back to vt1 with Ctrl+Alt+F1 to see the logs or messages.
Is there any way to start booting in any other vt but not in vt1?
Will it be kernel-space or user-space?
linux console
add a comment |
Whenever we boot into linux, then the default vt used by the kernel is 1.
And X starts either on vt2 or on vt7. We can switch back to vt1 with Ctrl+Alt+F1 to see the logs or messages.
Is there any way to start booting in any other vt but not in vt1?
Will it be kernel-space or user-space?
linux console
What exactly do you mean by start booting in any other VT but not in VT1? Are you asking about what device is bound to the system console?
– peterph
Oct 31 '14 at 12:10
add a comment |
Whenever we boot into linux, then the default vt used by the kernel is 1.
And X starts either on vt2 or on vt7. We can switch back to vt1 with Ctrl+Alt+F1 to see the logs or messages.
Is there any way to start booting in any other vt but not in vt1?
Will it be kernel-space or user-space?
linux console
Whenever we boot into linux, then the default vt used by the kernel is 1.
And X starts either on vt2 or on vt7. We can switch back to vt1 with Ctrl+Alt+F1 to see the logs or messages.
Is there any way to start booting in any other vt but not in vt1?
Will it be kernel-space or user-space?
linux console
linux console
edited Oct 31 '14 at 23:05
Gilles
542k12810991616
542k12810991616
asked Oct 31 '14 at 9:08
SHWSHW
8,26053971
8,26053971
What exactly do you mean by start booting in any other VT but not in VT1? Are you asking about what device is bound to the system console?
– peterph
Oct 31 '14 at 12:10
add a comment |
What exactly do you mean by start booting in any other VT but not in VT1? Are you asking about what device is bound to the system console?
– peterph
Oct 31 '14 at 12:10
What exactly do you mean by start booting in any other VT but not in VT1? Are you asking about what device is bound to the system console?
– peterph
Oct 31 '14 at 12:10
What exactly do you mean by start booting in any other VT but not in VT1? Are you asking about what device is bound to the system console?
– peterph
Oct 31 '14 at 12:10
add a comment |
1 Answer
1
active
oldest
votes
It would be a kernel change. The active kernel virtual terminal number is initialized to zero (i.e. the first virtual terminal, vt1) in the con_init() function in the kernel.
You can of course change the active kernel virtual terminal after bootstrap with the chvt command. But starting the bootstrap with a different active kernel virtual terminal cannot be done from userspace.
Further reading
- Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.
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%2f165196%2fdefault-vt-number-at-linux-startup%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
It would be a kernel change. The active kernel virtual terminal number is initialized to zero (i.e. the first virtual terminal, vt1) in the con_init() function in the kernel.
You can of course change the active kernel virtual terminal after bootstrap with the chvt command. But starting the bootstrap with a different active kernel virtual terminal cannot be done from userspace.
Further reading
- Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.
add a comment |
It would be a kernel change. The active kernel virtual terminal number is initialized to zero (i.e. the first virtual terminal, vt1) in the con_init() function in the kernel.
You can of course change the active kernel virtual terminal after bootstrap with the chvt command. But starting the bootstrap with a different active kernel virtual terminal cannot be done from userspace.
Further reading
- Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.
add a comment |
It would be a kernel change. The active kernel virtual terminal number is initialized to zero (i.e. the first virtual terminal, vt1) in the con_init() function in the kernel.
You can of course change the active kernel virtual terminal after bootstrap with the chvt command. But starting the bootstrap with a different active kernel virtual terminal cannot be done from userspace.
Further reading
- Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.
It would be a kernel change. The active kernel virtual terminal number is initialized to zero (i.e. the first virtual terminal, vt1) in the con_init() function in the kernel.
You can of course change the active kernel virtual terminal after bootstrap with the chvt command. But starting the bootstrap with a different active kernel virtual terminal cannot be done from userspace.
Further reading
- Jonathan de Boyne Pollard (2018). "linux-vt". Devices. nosh toolset.
edited 2 mins ago
answered Jan 4 '15 at 13:19
JdeBPJdeBP
36.8k475176
36.8k475176
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%2f165196%2fdefault-vt-number-at-linux-startup%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
What exactly do you mean by start booting in any other VT but not in VT1? Are you asking about what device is bound to the system console?
– peterph
Oct 31 '14 at 12:10