PDA

View Full Version : [SOLVED] 10.04 LTS USB hd boot issues on some computers



efflandt
May 3rd, 2010, 07:46 PM
I did a regular install of 64-bit Lucid 10.04 LTS w/grub2 and ext3 on that WD Passport. It is able to boot fine on a couple of laptops (Toshiba A105 and Dell Inspiron 6400), but the USB drive refuses to boot on my older HP 530n desktop (early Athlon64 3200+). 64-bit 9.10 on another USB WD Passport boots fine on the desktop, so it is not that the desktop is not capable.

If I try to boot from the USB drive on the desktop, I do not even get the grub menu. Grub just says error: unknown filesystem and goes to grub rescue> prompt. From there ls shows (hd0)(hd0,2)(hd0,1)(hd1)(hd1,6)(hd1,5)(hd1,3)(hd1, 2)(hd1,1)(fd0). ls (hd1,3)/ [or (hd1,6)] show Linux roots on my main hard drive, but ls (hd0,2)/ cannot access anything, which from ls should be where it should find 10.04.

So I thought I would try using grub2 on my main drive to boot the USB drive, so I removed device.map and let that get regenerated by sudo update-grub. That menu selection fails with error: no such device 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed, even if I edit the grub menu entry while booting to (hd0,2) (or anything else I tried so far).

So does anyone have a clue why the 10.04 LTS USB drive fails to boot on this PC, when it boots fine on two other computers, and 9.10 on USB hd boots fine on that PC? I noticed that 10.04 uses grub 1.98 instead of 1.97, and 1.98 on the USB drive does not seem to have a device.map. But I also just noticed that RESULTS.txt shows grub 1.97 on the mbr of sdb2, so I wonder if that is the issue?

RESULTS.txt while running from sda6 while USB drive was connected during boot:


============================= Boot Info Summary: ==============================

=> Windows is installed in the MBR of /dev/sda
=> Grub1.97 is installed in the MBR of /dev/sdb and looks on the same drive
in partition #2 for /boot/grub.

sda1: __________________________________________________ _______________________

File system: vfat
Boot sector type: HP Recovery
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /BOOT.INI /ntldr /NTLDR /NTDETECT.COM
/ntdetect.com

sda2: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM

sda3: __________________________________________________ _______________________

File system: ext3
Boot sector type: Grub1.97
Boot sector info: Grub1.97 is installed in the boot sector of sda3 and
looks at sector 376689103 on boot drive #1 for
core.img and on partition #6 for /boot/grub.
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda4: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ _______________________

File system: swap
Boot sector type: Unknown
Boot sector info:

sda6: __________________________________________________ _______________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

sdb2: __________________________________________________ _______________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 200.0 GB, 200049647616 bytes
240 heads, 63 sectors/track, 25841 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf806f806

Partition Boot Start End Size Id System

/dev/sda1 63 9,359,279 9,359,217 b W95 FAT32
/dev/sda2 9,359,280 259,973,279 250,614,000 7 HPFS/NTFS
/dev/sda3 * 259,973,280 323,053,919 63,080,640 83 Linux
/dev/sda4 323,053,920 390,715,919 67,662,000 5 Extended
/dev/sda5 323,053,983 327,635,279 4,581,297 82 Linux swap / Solaris
/dev/sda6 327,635,343 390,715,919 63,080,577 83 Linux


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x5c74ae42

Partition Boot Start End Size Id System

/dev/sdb1 2,048 911,362,047 911,360,000 7 HPFS/NTFS
/dev/sdb2 * 911,362,048 976,768,064 65,406,017 83 Linux


blkid -c /dev/null: __________________________________________________ __________

/dev/sda1: LABEL="HP_RECOVERY" UUID="2E35-2EF9" TYPE="vfat"
/dev/sda2: UUID="C644A78244A77439" LABEL="HP_PAVILION" TYPE="ntfs"
/dev/sda3: UUID="7db3400b-91f4-45b3-a928-e93fd256e7d5" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: UUID="70789c50-0fab-48c6-9879-4670012084ec" TYPE="swap"
/dev/sda6: UUID="9e6d9d11-1c84-4369-ae09-5390cb84cbf3" TYPE="ext3"
/dev/sdb1: UUID="481C6AFD1C6AE582" LABEL="WD Passport" TYPE="ntfs"
/dev/sdb2: UUID="2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed" TYPE="ext3"

=============================== "mount" output: ===============================

/dev/sda6 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/efflandt/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=efflandt)
/dev/sdb2 on /media/2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed type ext3 (rw,nosuid,nodev,uhelper=devkit)
/dev/sdb1 on /media/WD Passport type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,b lksize=4096)


================================ sda1/boot.ini: ================================

[boot loader]
timeout=0
default=C:\CMDCONS\BOOTSECT.DAT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons

================================ sda1/BOOT.INI: ================================

[boot loader]
timeout=0
default=C:\CMDCONS\BOOTSECT.DAT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons

================================ sda2/boot.ini: ================================

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect /NoExecute=OptIn

=========================== sda3/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7db3400b-91f4-45b3-a928-e93fd256e7d5
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7db3400b-91f4-45b3-a928-e93fd256e7d5
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=7db3400b-91f4-45b3-a928-e93fd256e7d5 ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7db3400b-91f4-45b3-a928-e93fd256e7d5
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=7db3400b-91f4-45b3-a928-e93fd256e7d5 ro single
initrd /boot/initrd.img-2.6.31-16-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows NT/2000/XP (on /dev/sda1)" {
insmod fat
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2e35-2ef9
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (loader) (on /dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set c644a78244a77439
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode) (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 ro single
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-15-generic (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
linux /boot/vmlinuz-2.6.31-15-generic root=UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 ro quiet splash
initrd /boot/initrd.img-2.6.31-15-generic
}
menuentry "Ubuntu, Linux 2.6.31-15-generic (recovery mode) (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
linux /boot/vmlinuz-2.6.31-15-generic root=UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 ro single
initrd /boot/initrd.img-2.6.31-15-generic
}
### 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 ###

=============================== sda3/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda3 during installation
UUID=7db3400b-91f4-45b3-a928-e93fd256e7d5 / ext3 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=70789c50-0fab-48c6-9879-4670012084ec none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

=================== sda3: Location of files loaded by Grub: ===================


133.1GB: boot/grub/grub.cfg
133.1GB: boot/initrd.img-2.6.31-16-generic
133.1GB: boot/vmlinuz-2.6.31-16-generic
133.1GB: initrd.img
133.1GB: vmlinuz

=========================== sda6/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="${saved_entry}"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-21-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
saved_entry=${chosen}
save_env saved_entry
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 ro quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry "Ubuntu, Linux 2.6.31-21-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
saved_entry=${chosen}
save_env saved_entry
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 ro single
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
saved_entry=${chosen}
save_env saved_entry
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
saved_entry=${chosen}
save_env saved_entry
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9e6d9d11-1c84-4369-ae09-5390cb84cbf3
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows NT/2000/XP (on /dev/sda1)" {
saved_entry=${chosen}
save_env saved_entry
insmod fat
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2e35-2ef9
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (loader) (on /dev/sda2)" {
saved_entry=${chosen}
save_env saved_entry
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set c644a78244a77439
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (on /dev/sda3)" {
saved_entry=${chosen}
save_env saved_entry
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7db3400b-91f4-45b3-a928-e93fd256e7d5
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=7db3400b-91f4-45b3-a928-e93fd256e7d5 ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode) (on /dev/sda3)" {
saved_entry=${chosen}
save_env saved_entry
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7db3400b-91f4-45b3-a928-e93fd256e7d5
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=7db3400b-91f4-45b3-a928-e93fd256e7d5 ro single
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sdb2)" {
saved_entry=${chosen}
save_env saved_entry
insmod ext2
set root=(hd1,2)
search --no-floppy --fs-uuid --set 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed ro quiet
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sdb2)" {
saved_entry=${chosen}
save_env saved_entry
insmod ext2
set root=(hd1,2)
search --no-floppy --fs-uuid --set 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed ro single
initrd /boot/initrd.img-2.6.32-21-generic
}
### 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 ###

=============================== sda6/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda6 during installation
UUID=9e6d9d11-1c84-4369-ae09-5390cb84cbf3 / ext3 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=70789c50-0fab-48c6-9879-4670012084ec none swap sw 0 0
# tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

=================== sda6: Location of files loaded by Grub: ===================


167.7GB: boot/grub/grub.cfg
167.7GB: boot/initrd.img-2.6.31-20-generic
167.7GB: boot/initrd.img-2.6.31-21-generic
167.7GB: boot/vmlinuz-2.6.31-20-generic
167.7GB: boot/vmlinuz-2.6.31-21-generic
167.7GB: initrd.img
167.7GB: initrd.img.old
167.7GB: vmlinuz
167.7GB: vmlinuz.old

=========================== sdb2/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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 recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed ro quiet
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd1,2)'
search --no-floppy --fs-uuid --set 2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

=============================== sdb2/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb2 during installation
UUID=2bc50ecc-0d02-4dea-8e7e-a9e3e2e3e0ed / ext3 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=b82de8c8-fb6d-47a1-bdff-997b0e00f28a none swap sw 0 0

=================== sdb2: Location of files loaded by Grub: ===================


466.6GB: boot/grub/grub.cfg
466.6GB: boot/initrd.img-2.6.32-21-generic
466.6GB: boot/vmlinuz-2.6.32-21-generic
466.6GB: initrd.img
466.6GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda5

00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000200


=======Devices which don't seem to have a corresponding hard drive==============

sdc sdd sde sdfNote: XP64 Pro beta is no longer on the drive, but I have not cleaned up boot.ini yet. sdc, sdd, sde, sdf are internal USB memory card reader

efflandt
May 6th, 2010, 12:45 AM
Apparently dropped off of the radar and no replies yet.

I have additional RESULTS.txt files from booting USB drives on various computers, 64-bit 9.10 on a 160 GB WD Passport successfully booting on the problem PC, and 10.04 LTS from this 500 GB WD Passport successfully booting on the Toshiba and Dell laptops. And 64-bit 10.04 LTS iso boots fine from the problem PC from CD or from a USB memory stick, so it does not appear to be any OS issue with the PC that cannot boot the big USB hd.

None of that gives a clue. Sometimes the USB drive ends up as (hd1) and sometimes it ends up as (hd0). But that is not the real issue because from grub rescue or normal grub prompt, it can read every partition with ext3 or ntfs file system, except the ext3 partition with 10.04 LTS on the big drive (error: unknown filesystem). The unknown (or inaccessible) filesystem probably explains why grub2 cannot even find it by UUID.

Could there be any issue with Ami BIOS v2.54 copyright 1985-2004, or grub 1.97 (or 1.98) that would work fine at 200 GB or lower, but fails to find something near the far end of a 500 GB drive?

I am reluctant to install 10.04 LTS until I figure this out what is causing this boot issue. My next step is to try Lucid from the 160 GB USB drive.

ronparent
May 6th, 2010, 01:38 AM
I can't say for sure, but, I think that booting by uuid has overcome prior limitation. In my own case, I have two older amd64 machines that will not boot without using the noapic nolapic boot parameters. Other boot parameters may also apply. I'm, of course, having simular problems trying to load a usb key install on differnt machines in my household - I have to remember the applicable boot limitations and apply edit them to the boot lines at boot time.

efflandt
May 7th, 2010, 10:11 AM
Even stranger was when I installed 64-bit 10.04 LTS on the 160 GB drive. I did not think that would be a BIOS issue because my computer came with a 200 GB drive.

The 160 GB USB drive that had booted fine on the problem PC with 9.10, would still not boot 10.04 (both booted fine on my laptop). But on the 160 GB drive, the error was "file not found" instead of "unknown filesystem".

From grub rescue prompt on the USB drive (grub 1.98?):
ls (hd0,2)/ returned files and directories in root
ls (hd0,2)/boot returned only a "happy face" symbol
ls (hd0,2)/boot/grub returned error: file not found

From grub 1.97 prompt on my main hard drive [USB drive was then (hd1)]
ls (hd1,2)/ returned files and directories in root
ls (hd1,2)/boot returned stx in a small font, then endlessly scrolled blank lines

Apparently 10.04 LTS aligns partitions differently before, which can break grub on some Asus motherboards. So not sure if what fixed it for me was first partitioning with gparted in 9.10, or including partman/alignment=cylinder as a boot parameter for the install CD, but it is now working and I am posting from it.

For more details see http://www.ubuntu.com/getubuntu/releasenotes/1004#Partition%20alignment%20changes%20may%20break %20some%20systems

PS: I have no issues with acpi or apic on this early Athlon64 computer, although, I did have to use "acpi=force lapic" parameters for an old Pentium 550 (pre-1999 BIOS) that I installed "Qimo for kids" on (Ubuntu 8.10 based) for my niece's kids.