Dedicated Ubuntu Server wont Boot
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
im new to Ubuntu.
I currently have a unmanaged dedi server from Hetzner running Ubuntu 18.04. Last night the server stopped and wont reboot, it wont respond to ping or ssh. i have 1 SSD drive and 3x1TB drives. Iused the hetzner installimage feature so not sure what raid if any, was used.
I got hetzner to activate KVM and when bios loads the cursor scrolls down the screen and just stops so i reset using ctr+alt+del and on boot screen i selected 'm' then chose linux rescue, it then ran through a list of processes, 3 of which failed.
Failed to start LSB:openipmi driver init script
see 'systemctl status dsm_sa_ipmi.service' for details
Failed to start LSB: Systems Management Data Engine
see 'systemctl status dataeng.service' for details
Failed to start mdassemble assembles all automatically detected mdadm arrays on boot after config generation...
see 'systemctl status mdassemble.service' for details
I closed kvm down and started hetzner rescue system.
In rescue mode i can see my disks by running
lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL, here is the output
loop0 ext2 3G
sda 111.8G
├─sda1 swap 12G (Linux/Swap)
├─sda2 ext3 512M (Linux)
└─sda3 ext4 99.3G (Linux)
sdb 931.5G
└─sdb1 xfs 931.5G
sdc 931.5G
└─sdc1 xfs 931.5G
sdd 931.5G
└─sdd1 xfs 931.5G
i tried the following to update/fix grub2
blkid
assumes boot partition is md1 and root is md2
mount /dev/md2 /mnt;mount /dev/md1 /mnt/boot;mount -t dev -o bind /dev /mnt/dev;mount -t proc -o bind /proc /mnt/proc;mount -t sys -o bind /sys /mnt/sys;chroot /mnt
Or separate commands:
mount /dev/md2 /mnt
mount /dev/md1 /mnt/boot
mount -t dev -o bind /dev /mnt/dev
mount -t proc -o bind /proc /mnt/proc
mount -t sys -o bind /sys /mnt/sys
chroot /mnt
vi /etc/default/grub
Fix settings e.g.
GRUB_RECORDFAIL_TIMEOUT=5
update-grub
exit
reboot
I changed md1 to sda2 and changed md2 to sda3 (not sure if thats correct though)
Any help would be appreciated.
Thanks
boot server grub2 mdadm
add a comment |
im new to Ubuntu.
I currently have a unmanaged dedi server from Hetzner running Ubuntu 18.04. Last night the server stopped and wont reboot, it wont respond to ping or ssh. i have 1 SSD drive and 3x1TB drives. Iused the hetzner installimage feature so not sure what raid if any, was used.
I got hetzner to activate KVM and when bios loads the cursor scrolls down the screen and just stops so i reset using ctr+alt+del and on boot screen i selected 'm' then chose linux rescue, it then ran through a list of processes, 3 of which failed.
Failed to start LSB:openipmi driver init script
see 'systemctl status dsm_sa_ipmi.service' for details
Failed to start LSB: Systems Management Data Engine
see 'systemctl status dataeng.service' for details
Failed to start mdassemble assembles all automatically detected mdadm arrays on boot after config generation...
see 'systemctl status mdassemble.service' for details
I closed kvm down and started hetzner rescue system.
In rescue mode i can see my disks by running
lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL, here is the output
loop0 ext2 3G
sda 111.8G
├─sda1 swap 12G (Linux/Swap)
├─sda2 ext3 512M (Linux)
└─sda3 ext4 99.3G (Linux)
sdb 931.5G
└─sdb1 xfs 931.5G
sdc 931.5G
└─sdc1 xfs 931.5G
sdd 931.5G
└─sdd1 xfs 931.5G
i tried the following to update/fix grub2
blkid
assumes boot partition is md1 and root is md2
mount /dev/md2 /mnt;mount /dev/md1 /mnt/boot;mount -t dev -o bind /dev /mnt/dev;mount -t proc -o bind /proc /mnt/proc;mount -t sys -o bind /sys /mnt/sys;chroot /mnt
Or separate commands:
mount /dev/md2 /mnt
mount /dev/md1 /mnt/boot
mount -t dev -o bind /dev /mnt/dev
mount -t proc -o bind /proc /mnt/proc
mount -t sys -o bind /sys /mnt/sys
chroot /mnt
vi /etc/default/grub
Fix settings e.g.
GRUB_RECORDFAIL_TIMEOUT=5
update-grub
exit
reboot
I changed md1 to sda2 and changed md2 to sda3 (not sure if thats correct though)
Any help would be appreciated.
Thanks
boot server grub2 mdadm
Are you able to get to the GRUB menu? Are you able to boot in Recovery Mode? Does the server have a DVD drive that can be used to boot a Ubuntu Live DVD? Are the 1TB disks in a RAID, or set up as single disks?
– heynnema
Feb 14 at 22:02
1
Welcome to AskUbuntu! Would you be so kind as to edit your post to include requested information and hopefully clarify what you mean by "reinstall/update grub but that didnt work" How did you attempt to do that? How did it fail? What error messages did you receive? thank you for helping us help you!
– Elder Geek
Feb 14 at 22:30
I have edited my post, hope it contains relevant info, im new to this.
– L.Ambo
Feb 15 at 21:22
add a comment |
im new to Ubuntu.
I currently have a unmanaged dedi server from Hetzner running Ubuntu 18.04. Last night the server stopped and wont reboot, it wont respond to ping or ssh. i have 1 SSD drive and 3x1TB drives. Iused the hetzner installimage feature so not sure what raid if any, was used.
I got hetzner to activate KVM and when bios loads the cursor scrolls down the screen and just stops so i reset using ctr+alt+del and on boot screen i selected 'm' then chose linux rescue, it then ran through a list of processes, 3 of which failed.
Failed to start LSB:openipmi driver init script
see 'systemctl status dsm_sa_ipmi.service' for details
Failed to start LSB: Systems Management Data Engine
see 'systemctl status dataeng.service' for details
Failed to start mdassemble assembles all automatically detected mdadm arrays on boot after config generation...
see 'systemctl status mdassemble.service' for details
I closed kvm down and started hetzner rescue system.
In rescue mode i can see my disks by running
lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL, here is the output
loop0 ext2 3G
sda 111.8G
├─sda1 swap 12G (Linux/Swap)
├─sda2 ext3 512M (Linux)
└─sda3 ext4 99.3G (Linux)
sdb 931.5G
└─sdb1 xfs 931.5G
sdc 931.5G
└─sdc1 xfs 931.5G
sdd 931.5G
└─sdd1 xfs 931.5G
i tried the following to update/fix grub2
blkid
assumes boot partition is md1 and root is md2
mount /dev/md2 /mnt;mount /dev/md1 /mnt/boot;mount -t dev -o bind /dev /mnt/dev;mount -t proc -o bind /proc /mnt/proc;mount -t sys -o bind /sys /mnt/sys;chroot /mnt
Or separate commands:
mount /dev/md2 /mnt
mount /dev/md1 /mnt/boot
mount -t dev -o bind /dev /mnt/dev
mount -t proc -o bind /proc /mnt/proc
mount -t sys -o bind /sys /mnt/sys
chroot /mnt
vi /etc/default/grub
Fix settings e.g.
GRUB_RECORDFAIL_TIMEOUT=5
update-grub
exit
reboot
I changed md1 to sda2 and changed md2 to sda3 (not sure if thats correct though)
Any help would be appreciated.
Thanks
boot server grub2 mdadm
im new to Ubuntu.
I currently have a unmanaged dedi server from Hetzner running Ubuntu 18.04. Last night the server stopped and wont reboot, it wont respond to ping or ssh. i have 1 SSD drive and 3x1TB drives. Iused the hetzner installimage feature so not sure what raid if any, was used.
I got hetzner to activate KVM and when bios loads the cursor scrolls down the screen and just stops so i reset using ctr+alt+del and on boot screen i selected 'm' then chose linux rescue, it then ran through a list of processes, 3 of which failed.
Failed to start LSB:openipmi driver init script
see 'systemctl status dsm_sa_ipmi.service' for details
Failed to start LSB: Systems Management Data Engine
see 'systemctl status dataeng.service' for details
Failed to start mdassemble assembles all automatically detected mdadm arrays on boot after config generation...
see 'systemctl status mdassemble.service' for details
I closed kvm down and started hetzner rescue system.
In rescue mode i can see my disks by running
lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL, here is the output
loop0 ext2 3G
sda 111.8G
├─sda1 swap 12G (Linux/Swap)
├─sda2 ext3 512M (Linux)
└─sda3 ext4 99.3G (Linux)
sdb 931.5G
└─sdb1 xfs 931.5G
sdc 931.5G
└─sdc1 xfs 931.5G
sdd 931.5G
└─sdd1 xfs 931.5G
i tried the following to update/fix grub2
blkid
assumes boot partition is md1 and root is md2
mount /dev/md2 /mnt;mount /dev/md1 /mnt/boot;mount -t dev -o bind /dev /mnt/dev;mount -t proc -o bind /proc /mnt/proc;mount -t sys -o bind /sys /mnt/sys;chroot /mnt
Or separate commands:
mount /dev/md2 /mnt
mount /dev/md1 /mnt/boot
mount -t dev -o bind /dev /mnt/dev
mount -t proc -o bind /proc /mnt/proc
mount -t sys -o bind /sys /mnt/sys
chroot /mnt
vi /etc/default/grub
Fix settings e.g.
GRUB_RECORDFAIL_TIMEOUT=5
update-grub
exit
reboot
I changed md1 to sda2 and changed md2 to sda3 (not sure if thats correct though)
Any help would be appreciated.
Thanks
boot server grub2 mdadm
boot server grub2 mdadm
edited Feb 15 at 21:21
L.Ambo
asked Feb 14 at 21:41
L.AmboL.Ambo
12
12
Are you able to get to the GRUB menu? Are you able to boot in Recovery Mode? Does the server have a DVD drive that can be used to boot a Ubuntu Live DVD? Are the 1TB disks in a RAID, or set up as single disks?
– heynnema
Feb 14 at 22:02
1
Welcome to AskUbuntu! Would you be so kind as to edit your post to include requested information and hopefully clarify what you mean by "reinstall/update grub but that didnt work" How did you attempt to do that? How did it fail? What error messages did you receive? thank you for helping us help you!
– Elder Geek
Feb 14 at 22:30
I have edited my post, hope it contains relevant info, im new to this.
– L.Ambo
Feb 15 at 21:22
add a comment |
Are you able to get to the GRUB menu? Are you able to boot in Recovery Mode? Does the server have a DVD drive that can be used to boot a Ubuntu Live DVD? Are the 1TB disks in a RAID, or set up as single disks?
– heynnema
Feb 14 at 22:02
1
Welcome to AskUbuntu! Would you be so kind as to edit your post to include requested information and hopefully clarify what you mean by "reinstall/update grub but that didnt work" How did you attempt to do that? How did it fail? What error messages did you receive? thank you for helping us help you!
– Elder Geek
Feb 14 at 22:30
I have edited my post, hope it contains relevant info, im new to this.
– L.Ambo
Feb 15 at 21:22
Are you able to get to the GRUB menu? Are you able to boot in Recovery Mode? Does the server have a DVD drive that can be used to boot a Ubuntu Live DVD? Are the 1TB disks in a RAID, or set up as single disks?
– heynnema
Feb 14 at 22:02
Are you able to get to the GRUB menu? Are you able to boot in Recovery Mode? Does the server have a DVD drive that can be used to boot a Ubuntu Live DVD? Are the 1TB disks in a RAID, or set up as single disks?
– heynnema
Feb 14 at 22:02
1
1
Welcome to AskUbuntu! Would you be so kind as to edit your post to include requested information and hopefully clarify what you mean by "reinstall/update grub but that didnt work" How did you attempt to do that? How did it fail? What error messages did you receive? thank you for helping us help you!
– Elder Geek
Feb 14 at 22:30
Welcome to AskUbuntu! Would you be so kind as to edit your post to include requested information and hopefully clarify what you mean by "reinstall/update grub but that didnt work" How did you attempt to do that? How did it fail? What error messages did you receive? thank you for helping us help you!
– Elder Geek
Feb 14 at 22:30
I have edited my post, hope it contains relevant info, im new to this.
– L.Ambo
Feb 15 at 21:22
I have edited my post, hope it contains relevant info, im new to this.
– L.Ambo
Feb 15 at 21:22
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%2f1118350%2fdedicated-ubuntu-server-wont-boot%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%2f1118350%2fdedicated-ubuntu-server-wont-boot%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
Are you able to get to the GRUB menu? Are you able to boot in Recovery Mode? Does the server have a DVD drive that can be used to boot a Ubuntu Live DVD? Are the 1TB disks in a RAID, or set up as single disks?
– heynnema
Feb 14 at 22:02
1
Welcome to AskUbuntu! Would you be so kind as to edit your post to include requested information and hopefully clarify what you mean by "reinstall/update grub but that didnt work" How did you attempt to do that? How did it fail? What error messages did you receive? thank you for helping us help you!
– Elder Geek
Feb 14 at 22:30
I have edited my post, hope it contains relevant info, im new to this.
– L.Ambo
Feb 15 at 21:22