Bug#565486: can't boot from partition of higher number than partition beyond bios limit
Arthur Marsh
arthur.marsh at internode.on.net
Fri Jan 7 18:30:49 UTC 2011
Package: grub-pc
Version: 1.99~20110106-1
Severity: normal
The disk identified as /dev/sdb below is a 40 GB disk in a machine whose
BIOS only sees the first 32 GiB of the disk.
At the GRUB prompt, ls returns the following for this disk:
(hd1) (hd1,msdos3) (hd1,msdos1)
ls (hd1,msdos1)/ works but ls (hd1,msdos3)/ does not, and there
is no sign of (hd1,msdos5) or (hd1,msdos7)
grub-emu reports similar results.
# fdisk -l
Disk /dev/sda: 320 GB, 320070320640 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1044 8385898 83 Linux
/dev/sda2 1045 38913 304174710 f Extended LBA
/dev/sda7 1045 34462 268422052 83 Linux
Warning: Partition 7 does not end on cylinder boundary.
/dev/sda6 34463 38639 33543720 1b Hidd FAT32
Warning: Partition 6 does not end on cylinder boundary.
/dev/sda5 38640 38913 2192872 82 Linux swap
Warning: Partition 5 does not end on cylinder boundary.
Disk /dev/sdb: 40 GB, 40057113600 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1785 14337981 1c Hidd FAT32 LBA
/dev/sdb2 1786 4040 18105255 f Extended LBA
/dev/sdb5 1786 3313 12265627 83 Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sdb6 3314 3428 915705 82 Linux swap
Warning: Partition 6 does not end on cylinder boundary.
/dev/sdb7 3429 4040 4907857 1b Hidd FAT32
Warning: Partition 7 does not end on cylinder boundary.
/dev/sdb3 4041 4870 6658942 83 Linux
Disk /dev/sdc: 4 GB, 4334722560 bytes
255 heads, 63 sectors/track, 527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 261 2096451 6 FAT16
/dev/sdc2 262 527 2128612 f Extended LBA
/dev/sdc5 262 527 2128612 b FAT32
Warning: Partition 5 does not end on cylinder boundary.
Disk /dev/sdd: 8 GB, 8134801920 bytes
255 heads, 63 sectors/track, 989 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 989 7944111 b FAT32
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/96c96a61-8615-4715-86d0-09cb8c62638c / ext3 rw,relatime,errors=remount-ro,barrier=0,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
/dev/sda6 /victoria vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sdc1 /scsic vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sdc5 /scsid vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sdd1 /mnt/usb8gig vfat rw,nosuid,nodev,noexec,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=win95,flush,errors=remount-ro 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-WDC_WD3200AAJB-00WGA0_WD-WCARW6960348
(hd1) /dev/disk/by-id/ata-SAMSUNG_SP4002H_0462J1FT349824
(hd2) /dev/disk/by-id/scsi-SIBM_DCAS-34330W_F3T92021
(hd3) /dev/disk/by-id/usb-Flash_Drive_AU_USB2.0_OGUN4WMN-0:0
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
terminal_input console
terminal_output console
if sleep --verbose --interruptible 5 ; then
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.37' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37 ...'
linux /vmlinuz-2.6.37 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37 ...'
linux /vmlinuz-2.6.37 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc8 ...'
linux /vmlinuz-2.6.37-rc8 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc8
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc8 ...'
linux /vmlinuz-2.6.37-rc8 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc8
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8-git5' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc8-git5 ...'
linux /vmlinuz-2.6.37-rc8-git5 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc8-git5
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8-git5 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc8-git5 ...'
linux /vmlinuz-2.6.37-rc8-git5 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc8-git5
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8-git4' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc8-git4 ...'
linux /vmlinuz-2.6.37-rc8-git4 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc8-git4
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8-git4 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc8-git4 ...'
linux /vmlinuz-2.6.37-rc8-git4 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc8-git4
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8-git1' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc8-git1 ...'
linux /vmlinuz-2.6.37-rc8-git1 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc8-git1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc8-git1 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc8-git1 ...'
linux /vmlinuz-2.6.37-rc8-git1 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc8-git1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc7' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc7 ...'
linux /vmlinuz-2.6.37-rc7 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc7
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc7 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc7 ...'
linux /vmlinuz-2.6.37-rc7 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc7
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc6' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc6 ...'
linux /vmlinuz-2.6.37-rc6 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc6
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc6 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.37-rc6 ...'
linux /vmlinuz-2.6.37-rc6 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.37-rc6
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.36 ...'
linux /vmlinuz-2.6.36 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.36
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.36 ...'
linux /vmlinuz-2.6.36 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.36
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.35 ...'
linux /vmlinuz-2.6.35 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.35
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.35 ...'
linux /vmlinuz-2.6.35 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.35
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.32-5-686 ...'
linux /vmlinuz-2.6.32-5-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
echo 'Loading Linux 2.6.32-5-686 ...'
linux /vmlinuz-2.6.32-5-686 root=UUID=96c96a61-8615-4715-86d0-09cb8c62638c ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
linux16 /memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
linux16 /memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
multiboot /memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
multiboot /memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/22_invaders ###
menuentry "GRUB Invaders" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
multiboot /invaders.exec
}
### END /etc/grub.d/22_invaders ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 95/98/Me (on /dev/sdb1)" --class windows --class os {
insmod part_msdos
insmod fat
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 3571-16de
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Debian GNU/Linux (squeeze/sid) (on /dev/sdb5)" --class gnu-linux --class gnu --class os {
linux /vmlinuz-2.6.28 root=/dev/sdb5
initrd /initrd.img-2.6.28
}
menuentry "Debian GNU/Linux (squeeze/sid) (on /dev/sdb5)" --class gnu-linux --class gnu --class os {
linux /vmlinuz-2.6.28-1-686 root=/dev/sdb5
initrd /initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux (squeeze/sid) (on /dev/sdb5)" --class gnu-linux --class gnu --class os {
linux /vmlinuz-2.6.29 root=/dev/sdb5
initrd /initrd.img-2.6.29
}
menuentry "Debian GNU/Linux (squeeze/sid) (on /dev/sdb5)" --class gnu-linux --class gnu --class os {
linux /vmlinuz-2.6.29-1-686 root=/dev/sdb5
initrd /initrd.img-2.6.29-1-686
}
menuentry "Debian GNU/Linux (squeeze/sid) (on /dev/sdb5)" --class gnu-linux --class gnu --class os {
linux /vmlinuz-2.6.30-rc3-686 root=/dev/sdb5
initrd /initrd.img-2.6.30-rc3-686
}
menuentry "Windows 95/98/Me (on /dev/sdc1)" --class windows --class os {
insmod part_msdos
insmod fat
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set=root 0831-11dd
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.37 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.37 Debian configuration management sy
ii grub-common 1.99~20110106-1 GRand Unified Bootloader, version
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-4 The Linux Kernel Device Mapper use
ii ucf 3.0025+nmu1 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 6.0.5 common files for the Debian Deskto
-- Configuration Files:
/etc/default/grub changed:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
GRUB_FONT=/boot/grub/unicode.pf2
GRUB_TERMINAL=console
-- debconf-show failed
More information about the Pkg-grub-devel
mailing list