Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub2 os-prober hangs on checking extended partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Sun Sep 23, 2012 4:51 pm    Post subject: grub2 os-prober hangs on checking extended partition Reply with quote

Hi,

since very recently the command

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg


hangs after a short moment. htop reveals that

Code:
mount -o ro -t reiserfs /dev/sda3 /var/lib/os-prober/mount cpu


is using 100% CPU and it cannot be killed. Here is the partition table of /dev/sda:

Quote:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf15f6859

Device Boot Start End Blocks Id System
/dev/sda1 * 63 109563299 54781618+ 7 HPFS/NTFS/exFAT
/dev/sda2 109563300 109643624 40162+ 83 Linux
/dev/sda3 1643753472 1953523711 154885120 5 Extended
/dev/sda4 109643776 1643753471 767054848 83 Linux
/dev/sda5 1643755520 1660532735 8388608 82 Linux swap / Solaris
/dev/sda6 1660534784 1953523711 146494464 7 HPFS/NTFS/exFAT


So /dev/sda3 is an extended partition and should not be checked. The only workaround I found is to explicitly forbid os-prober to check this partition (see link). I believe the problem exists since I have reiserfs support in my kernel. Does anyone know about this problem? Is it a bug of grub2 or a gentoo-specific problem?


Many thanks!
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Mar 22, 2013 11:39 am    Post subject: Reply with quote

Yes, I know about this problem cause I've encountered it.
_________________
My blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum