Public bug reported:

Binary package hint: grub-installer

I just installed Ubuntu 7.10 on a separate partition (/dev/sda8) on a
machine that already runs Ubuntu 7.04 on /dev/sda6 and Windows XP Media
Center Edition on /dev/sda1. However, the grub menu only shows Ubuntu
7.04 under the "Other OS" category, not Windows. Also, during the grub
installation phase, when the installer prompts the user to install GRUB
to the MBR, it only listed Ubuntu 7.04, not Windows, under the "Other
Operating Systems have been found" section. The relevant section of
/boot/grub/menu.lst follows:

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sde6.
title           Ubuntu, kernel 2.6.20-16-generic (on /dev/sde6)
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.20-16-generic 
root=UUID=e664517b-a99f-4c96-a394-d01be4d9a2e6 ro quiet splash 
initrd          /boot/initrd.img-2.6.20-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sde6.
title           Ubuntu, kernel 2.6.20-16-generic (recovery mode) (on /dev/sde6)
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.20-16-generic 
root=UUID=e664517b-a99f-4c96-a394-d01be4d9a2e6 ro single 
initrd          /boot/initrd.img-2.6.20-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sde6.
title           Ubuntu, memtest86+ (on /dev/sde6)
root            (hd0,5)
kernel          /boot/memtest86+.bin  
savedefault
boot

However, when I run os-prober as a standalone command, following
installation, it detects all 3 operating systems correctly, therefore I
assume it was an issue with the grub-installer, not os-prober.

[EMAIL PROTECTED]:~$ sudo os-prober
/dev/sda1:Windows XP Media Center Edition:Windows:chain
/dev/sda6:Ubuntu 7.04 (7.04):Ubuntu:linux
/dev/sda8:Ubuntu gutsy (development branch) (7.10):Ubuntu1:linux

Also, another issue is that, while the mount and os-prober commands
identify my first hard drive (the drive to which I installed Ubuntu, and
the only drive I have), as /dev/sda, as shown below and above:

[EMAIL PROTECTED]:~$ mount
/dev/sda8 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.22-11-generic/volatile type tmpfs (rw)
/dev/sda5 on /home type ext3 (rw)
securityfs on /sys/kernel/security type securityfs (rw)

However, in the /etc/fstab (below) and grub menu.lst (shown at top), the
hard drive is listed as /dev/sde rather than /dev/sda. It was also
listed as /dev/sde during the partitioning portion of the installer,
during the "the following partitions will be formatted: /dev/sde8"
phase:

[EMAIL PROTECTED]:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sde8
UUID=db9189d2-f08d-41b9-89c7-32e59029eb5d /               ext3    
defaults,errors=remount-ro 0       1
# /dev/sde5
UUID=bb944b99-fd78-4d83-9dd9-68b5d0bbd180 /home           ext3    defaults      
  0       2
# /dev/sde7
UUID=2263a204-a3b4-4f36-8e0d-87fc49100fd9 none            swap    sw            
  0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0

Also, if you need my partitioning layout, it is as follows (/dev/sda5 is
/home, /dev/sda6 is Ubuntu 7.04, /dev/sda8 is Ubuntu 7.10):

[EMAIL PROTECTED]:~$ sudo fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcab10bee

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        8958    71955103+   7  HPFS/NTFS
/dev/sda2            8959       30401   172240897+   5  Extended
/dev/sda5           11575       30401   151227877+  83  Linux
/dev/sda6            8959       10101     9181084+  83  Linux
/dev/sda7           11444       11574     1052226   82  Linux swap / Solaris
/dev/sda8           10102       11443    10779583+  83  Linux

Partition table entries are not in disk order

** Affects: grub-installer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Grub installer for Ubuntu 7.10 adds other OS entry only for Ubuntu 7.04, and 
not Windows, in a triple-boot configuration
https://bugs.launchpad.net/bugs/139041
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to