Boot hangs for 30 seconds at “Begin: Running /scripts/local-premount”Ubuntu 18.04 Boots Slow after upgradeInstalling Ubuntu alongside windows on Lenovo Yoga 720Slow boot times since 18.04 installation on Dell D630how to disable 'scanning btrfs filesystem' at system startupHow can I get rid of “scanning for btrfs filesystems” at start-up?Slow boot in fresh install of Ubuntu 18.04Long black screen during boot on Ubuntu 18Slow boot since dist-upgrade to 18-04Cannot boot after hard reset. begin running scripts init-bottomboot issues - long delay, then “gave up waiting for root device”Ubuntu server (VM) hangs after “Begin: Running /scripts/init-bottom … done”update-initramfs runs scripts in init-premount?Ubuntu hangs before bootWireless stick driver takes ages to start at boot timeServer re-install not workingBegin: Running /scripts/local-block … done, stuck in initramfs on Ubuntu 17.10 startupBoot process hangs on “A start job is running for Hold until boot process finished”Ubuntu 18.04 slow unlock/boot (black screen for couple of seconds)
What is a Samsaran Word™?
How badly should I try to prevent a user from XSSing themselves?
In the UK, is it possible to get a referendum by a court decision?
What do you call someone who asks many questions?
What is the most common color to indicate the input-field is disabled?
How to Prove P(a) → ∀x(P(x) ∨ ¬(x = a)) using Natural Deduction
Why was the shrink from 8″ made only to 5.25″ and not smaller (4″ or less)
my venezuela girlfriend wants to travel the USA where i live.what does she need to do and how expensive will it become or how difficult?
Does the Idaho Potato Commission associate potato skins with healthy eating?
Processor speed limited at 0.4 Ghz
Getting extremely large arrows with tikzcd
How dangerous is XSS
Was the old ablative pronoun "med" or "mēd"?
Can I hook these wires up to find the connection to a dead outlet?
How to compactly explain secondary and tertiary characters without resorting to stereotypes?
What is the fastest integer factorization to break RSA?
How seriously should I take size and weight limits of hand luggage?
My ex-girlfriend uses my Apple ID to log in to her iPad. Do I have to give her my Apple ID password to reset it?
Where would I need my direct neural interface to be implanted?
How obscure is the use of 令 in 令和?
How does a dynamic QR code work?
Is it a bad idea to plug the other end of ESD strap to wall ground?
Is this draw by repetition?
Mathematica command that allows it to read my intentions
Boot hangs for 30 seconds at “Begin: Running /scripts/local-premount”
Ubuntu 18.04 Boots Slow after upgradeInstalling Ubuntu alongside windows on Lenovo Yoga 720Slow boot times since 18.04 installation on Dell D630how to disable 'scanning btrfs filesystem' at system startupHow can I get rid of “scanning for btrfs filesystems” at start-up?Slow boot in fresh install of Ubuntu 18.04Long black screen during boot on Ubuntu 18Slow boot since dist-upgrade to 18-04Cannot boot after hard reset. begin running scripts init-bottomboot issues - long delay, then “gave up waiting for root device”Ubuntu server (VM) hangs after “Begin: Running /scripts/init-bottom … done”update-initramfs runs scripts in init-premount?Ubuntu hangs before bootWireless stick driver takes ages to start at boot timeServer re-install not workingBegin: Running /scripts/local-block … done, stuck in initramfs on Ubuntu 17.10 startupBoot process hangs on “A start job is running for Hold until boot process finished”Ubuntu 18.04 slow unlock/boot (black screen for couple of seconds)
After upgrade from Ubuntu 17.10 to 18.04 the bootprocess takes 30s longer than before.
it stops for 30 seconds at the step
Begin: Running /scripts/local-premount
Then it continues.
At first it continued one step further to
scanning for btrfs file systems
so I uninstalled btrfs support, but that didn't help with the problem.
I see no notice of that step neither in dmesg
nor in var/log/boot.log
How can I debug this problem? Can I enable additional logging?
boot 18.04
add a comment |
After upgrade from Ubuntu 17.10 to 18.04 the bootprocess takes 30s longer than before.
it stops for 30 seconds at the step
Begin: Running /scripts/local-premount
Then it continues.
At first it continued one step further to
scanning for btrfs file systems
so I uninstalled btrfs support, but that didn't help with the problem.
I see no notice of that step neither in dmesg
nor in var/log/boot.log
How can I debug this problem? Can I enable additional logging?
boot 18.04
add a comment |
After upgrade from Ubuntu 17.10 to 18.04 the bootprocess takes 30s longer than before.
it stops for 30 seconds at the step
Begin: Running /scripts/local-premount
Then it continues.
At first it continued one step further to
scanning for btrfs file systems
so I uninstalled btrfs support, but that didn't help with the problem.
I see no notice of that step neither in dmesg
nor in var/log/boot.log
How can I debug this problem? Can I enable additional logging?
boot 18.04
After upgrade from Ubuntu 17.10 to 18.04 the bootprocess takes 30s longer than before.
it stops for 30 seconds at the step
Begin: Running /scripts/local-premount
Then it continues.
At first it continued one step further to
scanning for btrfs file systems
so I uninstalled btrfs support, but that didn't help with the problem.
I see no notice of that step neither in dmesg
nor in var/log/boot.log
How can I debug this problem? Can I enable additional logging?
boot 18.04
boot 18.04
edited May 10 '18 at 16:37
rubo77
asked May 10 '18 at 6:47
rubo77rubo77
15.3k3197204
15.3k3197204
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Try the following:
- open
/etc/initramfs-tools/conf.d/resume
- replace
RESUME=UUID=xxx
withRESUME=none
- issue
sudo update-initramfs -u
- reboot your system
The file should contain the UUID of your swap partition, you can check this with sudo blkid | grep swap
.
I found the following bug on launchpad which is supposed to be Lubuntu specific but the commands above also resolved the same issue on my Xubuntu installation.
See comments #27 and #28.
This file seems to be related to hibernate/suspend, I can confirm suspend
still works on my system after the changes.
3
thanks, that worked! I also posted your solution here: unix.stackexchange.com/a/443272/20661
– rubo77
May 16 '18 at 21:39
I removed my swap parition manually before upgrading, but I guess it was still remembered somewhere as the RESUME field was set to the old UUID. Setting it to none shaved at least 30s from my bootup time! Top!
– Michel
Jun 9 '18 at 10:03
For me the issue was that I didn't have a swap partition at all (no idea how that happened). I fixed my problem by creating a swap partition and adding it to the file as described in this answer.
– tjespe
Nov 26 '18 at 15:45
I'm not sure what do you mean with "The file should contain the UUID...". I have two TYPE="swap" UUID, the real (/dev/sda6) and the mapped (/dev/mapper/cryptswap1). Maybe this happen if you don't have swap partition OR its encrypted. Anyway, I left the=none
and everything works fine now.
– Pablo Bianchi
Dec 24 '18 at 3:36
add: in Ubuntu 18.10 /etc/initramfs-tools/conf.d/resume not exists, so I created it and RESUME=none did it for me.
– NoAngel
Dec 27 '18 at 6:13
add a comment |
I had the same problem with all the install of Ubuntu.
I'm using LVM with swap on a LV.
On a desktop /etc/initramfs-tools/conf.d/resume
is referring to an UUID which avoid the possibility to hibernate.
On a Server /etc/initramfs-tools/conf.d/resume
does not exists after install and introduce delay at boot and/or lvmetad error.
sudo su -c 'echo RESUME=/dev/mapper/the_swap_LV_name > /etc/initramfs-tools/conf.d/resume'
sudo update-initramfs -u
https://launchpad.net/bugs/1768230
No more delay at boot or lvmetad error.
Kind Regards
add a comment |
Mine was was hanginging for 10 -15 seconds, hunting for a non-existant "A" drive. I had forgotten to change BIOS to, "not installed." Odd things, computers. Check all these things.
New contributor
add a comment |
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%2f1034359%2fboot-hangs-for-30-seconds-at-begin-running-scripts-local-premount%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try the following:
- open
/etc/initramfs-tools/conf.d/resume
- replace
RESUME=UUID=xxx
withRESUME=none
- issue
sudo update-initramfs -u
- reboot your system
The file should contain the UUID of your swap partition, you can check this with sudo blkid | grep swap
.
I found the following bug on launchpad which is supposed to be Lubuntu specific but the commands above also resolved the same issue on my Xubuntu installation.
See comments #27 and #28.
This file seems to be related to hibernate/suspend, I can confirm suspend
still works on my system after the changes.
3
thanks, that worked! I also posted your solution here: unix.stackexchange.com/a/443272/20661
– rubo77
May 16 '18 at 21:39
I removed my swap parition manually before upgrading, but I guess it was still remembered somewhere as the RESUME field was set to the old UUID. Setting it to none shaved at least 30s from my bootup time! Top!
– Michel
Jun 9 '18 at 10:03
For me the issue was that I didn't have a swap partition at all (no idea how that happened). I fixed my problem by creating a swap partition and adding it to the file as described in this answer.
– tjespe
Nov 26 '18 at 15:45
I'm not sure what do you mean with "The file should contain the UUID...". I have two TYPE="swap" UUID, the real (/dev/sda6) and the mapped (/dev/mapper/cryptswap1). Maybe this happen if you don't have swap partition OR its encrypted. Anyway, I left the=none
and everything works fine now.
– Pablo Bianchi
Dec 24 '18 at 3:36
add: in Ubuntu 18.10 /etc/initramfs-tools/conf.d/resume not exists, so I created it and RESUME=none did it for me.
– NoAngel
Dec 27 '18 at 6:13
add a comment |
Try the following:
- open
/etc/initramfs-tools/conf.d/resume
- replace
RESUME=UUID=xxx
withRESUME=none
- issue
sudo update-initramfs -u
- reboot your system
The file should contain the UUID of your swap partition, you can check this with sudo blkid | grep swap
.
I found the following bug on launchpad which is supposed to be Lubuntu specific but the commands above also resolved the same issue on my Xubuntu installation.
See comments #27 and #28.
This file seems to be related to hibernate/suspend, I can confirm suspend
still works on my system after the changes.
3
thanks, that worked! I also posted your solution here: unix.stackexchange.com/a/443272/20661
– rubo77
May 16 '18 at 21:39
I removed my swap parition manually before upgrading, but I guess it was still remembered somewhere as the RESUME field was set to the old UUID. Setting it to none shaved at least 30s from my bootup time! Top!
– Michel
Jun 9 '18 at 10:03
For me the issue was that I didn't have a swap partition at all (no idea how that happened). I fixed my problem by creating a swap partition and adding it to the file as described in this answer.
– tjespe
Nov 26 '18 at 15:45
I'm not sure what do you mean with "The file should contain the UUID...". I have two TYPE="swap" UUID, the real (/dev/sda6) and the mapped (/dev/mapper/cryptswap1). Maybe this happen if you don't have swap partition OR its encrypted. Anyway, I left the=none
and everything works fine now.
– Pablo Bianchi
Dec 24 '18 at 3:36
add: in Ubuntu 18.10 /etc/initramfs-tools/conf.d/resume not exists, so I created it and RESUME=none did it for me.
– NoAngel
Dec 27 '18 at 6:13
add a comment |
Try the following:
- open
/etc/initramfs-tools/conf.d/resume
- replace
RESUME=UUID=xxx
withRESUME=none
- issue
sudo update-initramfs -u
- reboot your system
The file should contain the UUID of your swap partition, you can check this with sudo blkid | grep swap
.
I found the following bug on launchpad which is supposed to be Lubuntu specific but the commands above also resolved the same issue on my Xubuntu installation.
See comments #27 and #28.
This file seems to be related to hibernate/suspend, I can confirm suspend
still works on my system after the changes.
Try the following:
- open
/etc/initramfs-tools/conf.d/resume
- replace
RESUME=UUID=xxx
withRESUME=none
- issue
sudo update-initramfs -u
- reboot your system
The file should contain the UUID of your swap partition, you can check this with sudo blkid | grep swap
.
I found the following bug on launchpad which is supposed to be Lubuntu specific but the commands above also resolved the same issue on my Xubuntu installation.
See comments #27 and #28.
This file seems to be related to hibernate/suspend, I can confirm suspend
still works on my system after the changes.
edited May 11 '18 at 17:24
rubo77
15.3k3197204
15.3k3197204
answered May 11 '18 at 14:50
mt7mt7
48623
48623
3
thanks, that worked! I also posted your solution here: unix.stackexchange.com/a/443272/20661
– rubo77
May 16 '18 at 21:39
I removed my swap parition manually before upgrading, but I guess it was still remembered somewhere as the RESUME field was set to the old UUID. Setting it to none shaved at least 30s from my bootup time! Top!
– Michel
Jun 9 '18 at 10:03
For me the issue was that I didn't have a swap partition at all (no idea how that happened). I fixed my problem by creating a swap partition and adding it to the file as described in this answer.
– tjespe
Nov 26 '18 at 15:45
I'm not sure what do you mean with "The file should contain the UUID...". I have two TYPE="swap" UUID, the real (/dev/sda6) and the mapped (/dev/mapper/cryptswap1). Maybe this happen if you don't have swap partition OR its encrypted. Anyway, I left the=none
and everything works fine now.
– Pablo Bianchi
Dec 24 '18 at 3:36
add: in Ubuntu 18.10 /etc/initramfs-tools/conf.d/resume not exists, so I created it and RESUME=none did it for me.
– NoAngel
Dec 27 '18 at 6:13
add a comment |
3
thanks, that worked! I also posted your solution here: unix.stackexchange.com/a/443272/20661
– rubo77
May 16 '18 at 21:39
I removed my swap parition manually before upgrading, but I guess it was still remembered somewhere as the RESUME field was set to the old UUID. Setting it to none shaved at least 30s from my bootup time! Top!
– Michel
Jun 9 '18 at 10:03
For me the issue was that I didn't have a swap partition at all (no idea how that happened). I fixed my problem by creating a swap partition and adding it to the file as described in this answer.
– tjespe
Nov 26 '18 at 15:45
I'm not sure what do you mean with "The file should contain the UUID...". I have two TYPE="swap" UUID, the real (/dev/sda6) and the mapped (/dev/mapper/cryptswap1). Maybe this happen if you don't have swap partition OR its encrypted. Anyway, I left the=none
and everything works fine now.
– Pablo Bianchi
Dec 24 '18 at 3:36
add: in Ubuntu 18.10 /etc/initramfs-tools/conf.d/resume not exists, so I created it and RESUME=none did it for me.
– NoAngel
Dec 27 '18 at 6:13
3
3
thanks, that worked! I also posted your solution here: unix.stackexchange.com/a/443272/20661
– rubo77
May 16 '18 at 21:39
thanks, that worked! I also posted your solution here: unix.stackexchange.com/a/443272/20661
– rubo77
May 16 '18 at 21:39
I removed my swap parition manually before upgrading, but I guess it was still remembered somewhere as the RESUME field was set to the old UUID. Setting it to none shaved at least 30s from my bootup time! Top!
– Michel
Jun 9 '18 at 10:03
I removed my swap parition manually before upgrading, but I guess it was still remembered somewhere as the RESUME field was set to the old UUID. Setting it to none shaved at least 30s from my bootup time! Top!
– Michel
Jun 9 '18 at 10:03
For me the issue was that I didn't have a swap partition at all (no idea how that happened). I fixed my problem by creating a swap partition and adding it to the file as described in this answer.
– tjespe
Nov 26 '18 at 15:45
For me the issue was that I didn't have a swap partition at all (no idea how that happened). I fixed my problem by creating a swap partition and adding it to the file as described in this answer.
– tjespe
Nov 26 '18 at 15:45
I'm not sure what do you mean with "The file should contain the UUID...". I have two TYPE="swap" UUID, the real (/dev/sda6) and the mapped (/dev/mapper/cryptswap1). Maybe this happen if you don't have swap partition OR its encrypted. Anyway, I left the
=none
and everything works fine now.– Pablo Bianchi
Dec 24 '18 at 3:36
I'm not sure what do you mean with "The file should contain the UUID...". I have two TYPE="swap" UUID, the real (/dev/sda6) and the mapped (/dev/mapper/cryptswap1). Maybe this happen if you don't have swap partition OR its encrypted. Anyway, I left the
=none
and everything works fine now.– Pablo Bianchi
Dec 24 '18 at 3:36
add: in Ubuntu 18.10 /etc/initramfs-tools/conf.d/resume not exists, so I created it and RESUME=none did it for me.
– NoAngel
Dec 27 '18 at 6:13
add: in Ubuntu 18.10 /etc/initramfs-tools/conf.d/resume not exists, so I created it and RESUME=none did it for me.
– NoAngel
Dec 27 '18 at 6:13
add a comment |
I had the same problem with all the install of Ubuntu.
I'm using LVM with swap on a LV.
On a desktop /etc/initramfs-tools/conf.d/resume
is referring to an UUID which avoid the possibility to hibernate.
On a Server /etc/initramfs-tools/conf.d/resume
does not exists after install and introduce delay at boot and/or lvmetad error.
sudo su -c 'echo RESUME=/dev/mapper/the_swap_LV_name > /etc/initramfs-tools/conf.d/resume'
sudo update-initramfs -u
https://launchpad.net/bugs/1768230
No more delay at boot or lvmetad error.
Kind Regards
add a comment |
I had the same problem with all the install of Ubuntu.
I'm using LVM with swap on a LV.
On a desktop /etc/initramfs-tools/conf.d/resume
is referring to an UUID which avoid the possibility to hibernate.
On a Server /etc/initramfs-tools/conf.d/resume
does not exists after install and introduce delay at boot and/or lvmetad error.
sudo su -c 'echo RESUME=/dev/mapper/the_swap_LV_name > /etc/initramfs-tools/conf.d/resume'
sudo update-initramfs -u
https://launchpad.net/bugs/1768230
No more delay at boot or lvmetad error.
Kind Regards
add a comment |
I had the same problem with all the install of Ubuntu.
I'm using LVM with swap on a LV.
On a desktop /etc/initramfs-tools/conf.d/resume
is referring to an UUID which avoid the possibility to hibernate.
On a Server /etc/initramfs-tools/conf.d/resume
does not exists after install and introduce delay at boot and/or lvmetad error.
sudo su -c 'echo RESUME=/dev/mapper/the_swap_LV_name > /etc/initramfs-tools/conf.d/resume'
sudo update-initramfs -u
https://launchpad.net/bugs/1768230
No more delay at boot or lvmetad error.
Kind Regards
I had the same problem with all the install of Ubuntu.
I'm using LVM with swap on a LV.
On a desktop /etc/initramfs-tools/conf.d/resume
is referring to an UUID which avoid the possibility to hibernate.
On a Server /etc/initramfs-tools/conf.d/resume
does not exists after install and introduce delay at boot and/or lvmetad error.
sudo su -c 'echo RESUME=/dev/mapper/the_swap_LV_name > /etc/initramfs-tools/conf.d/resume'
sudo update-initramfs -u
https://launchpad.net/bugs/1768230
No more delay at boot or lvmetad error.
Kind Regards
answered Feb 7 at 19:41
moocanmoocan
12
12
add a comment |
add a comment |
Mine was was hanginging for 10 -15 seconds, hunting for a non-existant "A" drive. I had forgotten to change BIOS to, "not installed." Odd things, computers. Check all these things.
New contributor
add a comment |
Mine was was hanginging for 10 -15 seconds, hunting for a non-existant "A" drive. I had forgotten to change BIOS to, "not installed." Odd things, computers. Check all these things.
New contributor
add a comment |
Mine was was hanginging for 10 -15 seconds, hunting for a non-existant "A" drive. I had forgotten to change BIOS to, "not installed." Odd things, computers. Check all these things.
New contributor
Mine was was hanginging for 10 -15 seconds, hunting for a non-existant "A" drive. I had forgotten to change BIOS to, "not installed." Odd things, computers. Check all these things.
New contributor
New contributor
answered 16 mins ago
MartyMarty
1
1
New contributor
New contributor
add a comment |
add a comment |
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%2f1034359%2fboot-hangs-for-30-seconds-at-begin-running-scripts-local-premount%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