Changing hostname (with hostnamectl) in chroot environment does not work (Iso customization) Ask
up vote
0
down vote
favorite
I can not change the hostname in the chroot environment (Ubuntu) I tried hostnamectl set-hostname but it says:
Failed to create bus connection: Couldnt find file or folder
Then I tried changing it with hostname and edited the /etc/hostname file and put my name in it. Thought it worked but when I burned the finished remastered .iso on a stick and bootet from it, it didnt work.
Somebody know a solution?
chroot hostname
New contributor
add a comment |
up vote
0
down vote
favorite
I can not change the hostname in the chroot environment (Ubuntu) I tried hostnamectl set-hostname but it says:
Failed to create bus connection: Couldnt find file or folder
Then I tried changing it with hostname and edited the /etc/hostname file and put my name in it. Thought it worked but when I burned the finished remastered .iso on a stick and bootet from it, it didnt work.
Somebody know a solution?
chroot hostname
New contributor
What method are you using to remaster the iso?
– Katu
Nov 15 at 9:48
Hey, I used this method gtkdb.de/index_34_1259.html and it all worked. I just cant change the hostname permanently it seems or I am doing something wrong
– kcdk
Nov 15 at 9:53
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I can not change the hostname in the chroot environment (Ubuntu) I tried hostnamectl set-hostname but it says:
Failed to create bus connection: Couldnt find file or folder
Then I tried changing it with hostname and edited the /etc/hostname file and put my name in it. Thought it worked but when I burned the finished remastered .iso on a stick and bootet from it, it didnt work.
Somebody know a solution?
chroot hostname
New contributor
I can not change the hostname in the chroot environment (Ubuntu) I tried hostnamectl set-hostname but it says:
Failed to create bus connection: Couldnt find file or folder
Then I tried changing it with hostname and edited the /etc/hostname file and put my name in it. Thought it worked but when I burned the finished remastered .iso on a stick and bootet from it, it didnt work.
Somebody know a solution?
chroot hostname
chroot hostname
New contributor
New contributor
New contributor
asked Nov 15 at 9:45
kcdk
11
11
New contributor
New contributor
What method are you using to remaster the iso?
– Katu
Nov 15 at 9:48
Hey, I used this method gtkdb.de/index_34_1259.html and it all worked. I just cant change the hostname permanently it seems or I am doing something wrong
– kcdk
Nov 15 at 9:53
add a comment |
What method are you using to remaster the iso?
– Katu
Nov 15 at 9:48
Hey, I used this method gtkdb.de/index_34_1259.html and it all worked. I just cant change the hostname permanently it seems or I am doing something wrong
– kcdk
Nov 15 at 9:53
What method are you using to remaster the iso?
– Katu
Nov 15 at 9:48
What method are you using to remaster the iso?
– Katu
Nov 15 at 9:48
Hey, I used this method gtkdb.de/index_34_1259.html and it all worked. I just cant change the hostname permanently it seems or I am doing something wrong
– kcdk
Nov 15 at 9:53
Hey, I used this method gtkdb.de/index_34_1259.html and it all worked. I just cant change the hostname permanently it seems or I am doing something wrong
– kcdk
Nov 15 at 9:53
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
kcdk is a new contributor. Be nice, and check out our Code of Conduct.
kcdk is a new contributor. Be nice, and check out our Code of Conduct.
kcdk is a new contributor. Be nice, and check out our Code of Conduct.
kcdk is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1093130%2fchanging-hostname-with-hostnamectl-in-chroot-environment-does-not-work-iso-cu%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 method are you using to remaster the iso?
– Katu
Nov 15 at 9:48
Hey, I used this method gtkdb.de/index_34_1259.html and it all worked. I just cant change the hostname permanently it seems or I am doing something wrong
– kcdk
Nov 15 at 9:53