Grub not working

NoOp glgxg at sbcglobal.net
Thu May 5 19:37:14 UTC 2011


On 05/05/2011 11:43 AM, chris wrote:
> On Fri, 2011-05-06 at 01:24 +0800, Goh Lip wrote:
>> On 05/06/2011 01:19 AM, dave boland wrote:
>> > This is the output:
>> > $ sudo os-prober
>> > [sudo] password for dave:
>> > ~$
>> Try/Do this then
>> 
>> sudo grub-mkconfig
>> 
>> If the windows is not there, I think your windows is "borked?".
>> 
>> 
>> 
> 
> Not necessarily Goh.  My experience only, but I have never known
> os-prober to detect windows partitions earlier than xp.  I have one
> partition with 98 se 2 on it for running accountancy programs that I
> don't wish to update.  I have always had to add that to grub manually.
> 
>  

If it isn't, then it's most likely a bug as the code is in
/usr/lib/os-probes/mounted/20microsoft:

> # 95/98/Me
> elif item_in_dir -q windows "$2" &&
>      item_in_dir -q win.com "$2"/"$(item_in_dir windows "$2")"; then
> 	long="Windows 95/98/Me"
> 	short=Windows9xMe
> else
> 	exit 1

You might want to check launchpad to see if a bug has already been
filed. You also might want to check your permissions:
$ ls -al /usr/lib/os-probes/mounted/
total 52
drwxr-xr-x 2 root root 4096 2011-01-25 13:05 .
drwxr-xr-x 4 root root 4096 2011-01-25 13:05 ..
-rwxr-xr-x 1 root root  460 2010-06-28 04:17 10freedos
-rwxr-xr-x 1 root root  390 2010-06-28 04:17 10qnx
-rwxr-xr-x 1 root root  719 2010-02-10 15:06 20macosx
-rwxr-xr-x 1 root root 2562 2010-03-23 06:29 20microsoft
-rwxr-xr-x 1 root root  806 2010-02-10 15:06 30utility
-rwxr-xr-x 1 root root  891 2010-02-10 15:06 40lsb
-rwxr-xr-x 1 root root  257 2010-02-10 15:06 70hurd
-rwxr-xr-x 1 root root  277 2010-02-10 15:06 80minix
-rwxr-xr-x 1 root root 4334 2010-03-23 06:22 90linux-distro
-rwxr-xr-x 1 root root  385 2010-02-10 15:06 90solaris

https://bugs.launchpad.net/ubuntu/+source/os-prober








More information about the ubuntu-users mailing list