davidogg
July 16th, 2010, 07:24 AM
I have several Linux distro's spread out on these 2 drives. sdb is the primary slave, sda is the secondary master. (they got jumpered goofy years ago, and I havent dared touch it, but it seems to work, so...)
I installed Gentoo on sda7, and when I run update-grub from Ubuntu, it sees my gentoo kernel and appears as though it's added it, however when I reboot it doesn't show in the menu. Grub is on sdb1, I believe
This is my rats nest of partitions;
david@david-lucid:~$ sudo fdisk -l
[sudo] password for david:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90c090c0
Device Boot Start End Blocks Id System
/dev/sda1 3826 60801 457659658 f W95 Ext'd (LBA)
/dev/sda2 1 3825 30724281 7 HPFS/NTFS
/dev/sda5 31744 60801 233408385 7 HPFS/NTFS
/dev/sda6 3826 7678 30949159+ 83 Linux
/dev/sda7 7679 11047 27061461 83 Linux
/dev/sda8 11048 14234 25599546 83 Linux
/dev/sda9 14235 14549 2530206 82 Linux swap / Solaris
/dev/sda10 14550 31743 138110773+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 160.0 GB, 160029999616 bytes
255 heads, 63 sectors/track, 19455 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xab42ab42
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sdb2 13 5074 40653481 7 HPFS/NTFS
/dev/sdb3 5075 18822 110430810 83 Linux
/dev/sdb4 18823 19455 5084572+ 82 Linux swap / Solaris
Disk /dev/sdc: 4022 MB, 4022337024 bytes
124 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a9d0a
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 1021 3924693 c W95 FAT32 (LBA)
david@david-lucid:~$
This is the output from update-grub;
david@david-lucid:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-23-generic
Found initrd image: /boot/initrd.img-2.6.32-23-generic
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Gentoo Base System release 1.12.13 on /dev/sda7
Found Windows 7 (loader) on /dev/sdb1
Found Ubuntu maverick (development branch) (10.10) on /dev/sdb3
done
david@david-lucid:~$
Am I doing it wrong?
I installed Gentoo on sda7, and when I run update-grub from Ubuntu, it sees my gentoo kernel and appears as though it's added it, however when I reboot it doesn't show in the menu. Grub is on sdb1, I believe
This is my rats nest of partitions;
david@david-lucid:~$ sudo fdisk -l
[sudo] password for david:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90c090c0
Device Boot Start End Blocks Id System
/dev/sda1 3826 60801 457659658 f W95 Ext'd (LBA)
/dev/sda2 1 3825 30724281 7 HPFS/NTFS
/dev/sda5 31744 60801 233408385 7 HPFS/NTFS
/dev/sda6 3826 7678 30949159+ 83 Linux
/dev/sda7 7679 11047 27061461 83 Linux
/dev/sda8 11048 14234 25599546 83 Linux
/dev/sda9 14235 14549 2530206 82 Linux swap / Solaris
/dev/sda10 14550 31743 138110773+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 160.0 GB, 160029999616 bytes
255 heads, 63 sectors/track, 19455 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xab42ab42
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sdb2 13 5074 40653481 7 HPFS/NTFS
/dev/sdb3 5075 18822 110430810 83 Linux
/dev/sdb4 18823 19455 5084572+ 82 Linux swap / Solaris
Disk /dev/sdc: 4022 MB, 4022337024 bytes
124 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a9d0a
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 1021 3924693 c W95 FAT32 (LBA)
david@david-lucid:~$
This is the output from update-grub;
david@david-lucid:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-23-generic
Found initrd image: /boot/initrd.img-2.6.32-23-generic
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Gentoo Base System release 1.12.13 on /dev/sda7
Found Windows 7 (loader) on /dev/sdb1
Found Ubuntu maverick (development branch) (10.10) on /dev/sdb3
done
david@david-lucid:~$
Am I doing it wrong?