LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2017, 02:59 AM   #16
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053

Quote:
Originally Posted by jozmak View Post
How is this possible?
have you actually made sure that os-prober is responsible?
you should troubleshoot that by either temporarily uninstalling it, or disabling it from grub config somehow (your task to find out how).

fwiw, os-prober does exactly that: it probes a partition until it finds some markers that telli which OS is installed.
it makes sense to me that this can take a long time if it doesn't find anyhthing, because it will search through the whole partition byte by byte.
 
Old 05-14-2017, 01:21 PM   #17
jozmak
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by floppy_stuttgart View Post
My thoughts..
a) Can you include the "time" log parameter when you "sudo grub-mkconfig -o /boot/grub/grub.cfg"?. A time marker will show where it stucks.
b) Disconnect your PC from the WLAN/LAN (Internet) when you do it and inform if it is better.
Thanks for replying.

I run journalctl and it seems that there is only one place when the updater posing 11 minutes, after debugging sdb3.

I pasted only the relevant section here.

I ran the update without internet connection, but it made no difference.



Code:
May 14 12:48:38 myhost 50mounted-tests[11191]: debug: running subtest /usr/lib/os-probes/mounted/05efi
May 14 12:48:38 myhost 05efi[11193]: debug: Not on UEFI platform
May 14 12:48:38 myhost 50mounted-tests[11194]: debug: running subtest /usr/lib/os-probes/mounted/10freedos
May 14 12:48:38 myhost 10freedos[11196]: debug: /dev/sdb2 is not a FAT partition: exiting
May 14 12:48:38 myhost 50mounted-tests[11197]: debug: running subtest /usr/lib/os-probes/mounted/10qnx
May 14 12:48:38 myhost 10qnx[11199]: debug: /dev/sdb2 is not a QNX4 partition: exiting
May 14 12:48:38 myhost 50mounted-tests[11200]: debug: running subtest /usr/lib/os-probes/mounted/20macosx
May 14 12:48:38 myhost macosx-prober[11202]: debug: /dev/sdb2 is not an HFS+ partition: exiting
May 14 12:48:38 myhost 50mounted-tests[11203]: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
May 14 12:48:38 myhost 20microsoft[11205]: debug: /dev/sdb2 is not a MS partition: exiting
May 14 12:48:38 myhost 50mounted-tests[11206]: debug: running subtest /usr/lib/os-probes/mounted/30utility
May 14 12:48:38 myhost 30utility[11208]: debug: /dev/sdb2 is not a FAT partition: exiting
May 14 12:48:38 myhost 50mounted-tests[11209]: debug: running subtest /usr/lib/os-probes/mounted/40lsb
May 14 12:48:38 myhost 40lsb[11235]: result: /dev/sdb2:Manjaro Linux (17.0.1):ManjaroLinux:linux
May 14 12:48:38 myhost 50mounted-tests[11236]: debug: os found by subtest /usr/lib/os-probes/mounted/40lsb
May 14 12:48:39 myhost os-prober[11240]: debug: os detected by /usr/lib/os-probes/50mounted-tests
May 14 12:48:39 myhost os-prober[11246]: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sdb3
May 14 12:48:39 myhost 50mounted-tests[11305]: debug: mounted using GRUB ext2 filesystem driver
May 14 12:48:39 myhost 50mounted-tests[11306]: debug: running subtest /usr/lib/os-probes/mounted/05efi
May 14 12:48:39 myhost 05efi[11308]: debug: Not on UEFI platform
May 14 12:48:39 myhost 50mounted-tests[11309]: debug: running subtest /usr/lib/os-probes/mounted/10freedos
May 14 12:48:39 myhost 10freedos[11311]: debug: /dev/sdb3 is not a FAT partition: exiting
May 14 12:48:39 myhost 50mounted-tests[11312]: debug: running subtest /usr/lib/os-probes/mounted/10qnx
May 14 12:48:39 myhost 10qnx[11314]: debug: /dev/sdb3 is not a QNX4 partition: exiting
May 14 12:48:39 myhost 50mounted-tests[11315]: debug: running subtest /usr/lib/os-probes/mounted/20macosx
May 14 12:48:39 myhost macosx-prober[11317]: debug: /dev/sdb3 is not an HFS+ partition: exiting
May 14 12:48:39 myhost 50mounted-tests[11318]: debug: running subtest /usr/lib/os-probes/mounted/20microsoft
May 14 12:48:39 myhost 20microsoft[11320]: debug: /dev/sdb3 is not a MS partition: exiting
May 14 12:48:39 myhost 50mounted-tests[11321]: debug: running subtest /usr/lib/os-probes/mounted/30utility
May 14 12:48:39 myhost 30utility[11323]: debug: /dev/sdb3 is not a FAT partition: exiting
May 14 12:48:39 myhost 50mounted-tests[11324]: debug: running subtest /usr/lib/os-probes/mounted/40lsb
May 14 12:48:39 myhost 50mounted-tests[11326]: debug: running subtest /usr/lib/os-probes/mounted/70hurd
May 14 12:48:39 myhost 50mounted-tests[11328]: debug: running subtest /usr/lib/os-probes/mounted/80minix
May 14 12:48:39 myhost 50mounted-tests[11330]: debug: running subtest /usr/lib/os-probes/mounted/83haiku
May 14 12:48:39 myhost 83haiku[11332]: debug: /dev/sdb3 is not a BeFS partition: exiting
May 14 12:48:39 myhost 50mounted-tests[11333]: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
May 14 12:59:14 myhost 90linux-distro[11520]: result: /dev/sdb3:Arch Linux:Arch1:linux
May 14 12:59:14 myhost 50mounted-tests[11521]: debug: os found by subtest /usr/lib/os-probes/mounted/90linux-distro
May 14 12:59:14 myhost os-prober[11524]: debug: os detected by /usr/lib/os-probes/50mounted-tests

Last edited by jozmak; 05-14-2017 at 02:52 PM.
 
Old 05-14-2017, 05:05 PM   #18
jozmak
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ondoho View Post
have you actually made sure that os-prober is responsible?
you should troubleshoot that by either temporarily uninstalling it, or disabling it from grub config somehow (your task to find out how).

fwiw, os-prober does exactly that: it probes a partition until it finds some markers that telli which OS is installed.
it makes sense to me that this can take a long time if it doesn't find anyhthing, because it will search through the whole partition byte by byte.
Hi ondoho,

I uninstalled the os-prober, and ran the updater but in that case the other systems are not searched.

I looked at the long journalctl document and every operation is very fast, except the updater poses in one place (see the previous post) for 11 minutes. But why, that’s the question.
 
Old 05-15-2017, 01:15 PM   #19
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by jozmak View Post
Code:
May 14 12:48:39 myhost 50mounted-tests[11333]: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
May 14 12:59:14 myhost 90linux-distro[11520]: result: /dev/sdb3:Arch Linux:Arch1:linux
here's 11 minutes; it would seem a partition with an arch linux system is responsible.
do you have archlinux installed somewhere?

so this would be the WHAT - of course that still doesn't tell us about the WHY.

edit:
here's an older answer that might explain the WHY:
https://bbs.archlinux.org/viewtopic.php?id=155298
i guess you have to click & read all secondary links to fully understand .

this reminds me, i think you never told us what distro you're running this from.

Last edited by ondoho; 05-15-2017 at 01:20 PM.
 
Old 05-15-2017, 10:30 PM   #20
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
FWIW I just fired up an Arch system that also has Mint and Win10 on the disks. mkconfig took only seconds.
grub-mount does exist on that sysstem.
 
Old 05-16-2017, 09:37 AM   #21
jozmak
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ondoho View Post
here's 11 minutes; it would seem a partition with an arch linux system is responsible.
do you have archlinux installed somewhere?

so this would be the WHAT - of course that still doesn't tell us about the WHY.

edit:
here's an older answer that might explain the WHY:
https://bbs.archlinux.org/viewtopic.php?id=155298
i guess you have to click & read all secondary links to fully understand .

this reminds me, i think you never told us what distro you're running this from.
Hi ondoho,

I am running os-prober from archlinux. I have only arch systems installed on my computer. So here we have a case when arch has problem updating arch; I have Manjaro also installed but that one also based on arch.

Now, I am in the process of installing debian. Will see how debian handles the update.

I report back soon.

Thanks for the link. I try the idea suggested in the post and I let you know the result.
 
Old 05-16-2017, 01:32 PM   #22
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
if debian fails at this or not, that doesn't prove anything, because the os-prober program is the same across both distros.
i also don't remember which "idea" was "suggested".
 
Old 05-16-2017, 05:58 PM   #23
jozmak
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ondoho View Post
if debian fails at this or not, that doesn't prove anything, because the os-prober program is the same across both distros.
i also don't remember which "idea" was "suggested".
I installed debian stretch. I installed debian because I am more familiar with it and the link you gave me indicated that os-prober developed by debian. I ran the update and the situation is similar to that of arch.
The debian updater hangs two times but it updates a bit faster, about 6 minutes.
Here is the relevant data:
Code:
May 16 15:52:37 debian 83haiku[2560]: debug: /dev/sda2 is not a BeFS partition: exiting
May 16 15:52:37 debian 50mounted-tests[2561]: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
May 16 15:55:03 debian 90linux-distro[2681]: result: /dev/sda2:Arch Linux:Arch:linux
May 16 15:55:03 debian 50mounted-tests[2682]: debug: os found by subtest /usr/lib/os-probes/mounted/90linux-distro
Code:
May 16 15:55:05 debian 83haiku[3082]: debug: /dev/sdb3 is not a BeFS partition: exiting
May 16 15:55:05 debian 50mounted-tests[3083]: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
May 16 15:57:49 debian 90linux-distro[3228]: result: /dev/sdb3:Arch Linux:Arch2:linux
May 16 15:57:49 debian 50mounted-tests[3229]: debug: os found by subtest /usr/lib/os-probes/mounted/90linux-distro
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] X takes 1.5 minutes to start xterm and 3.5 minutes to start GNOME gregorian Linux - Newbie 16 12-25-2009 05:56 AM
ssh login takes several minutes exodist *BSD 10 05-26-2005 03:17 PM
X login is slow, takes 2 minutes jhcatch22 Linux - Newbie 3 07-08-2004 12:33 AM
xfree takes minutes to start snu Linux - Software 0 07-13-2003 09:26 AM
Xfree takes minutes to start snu Linux - Software 2 07-10-2003 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration