PDA

View Full Version : [all variants] grub not installing correctly on RC of Myth/Ubuntu



Akriss
October 23rd, 2009, 06:16 AM
Hello all,

i am installing the RC and I am having a bit of a noob moment.

I have 3 HD's one 40gb IDE, one 500gb SATA and one 1tb SATA. there are set in the BIOS to boot in order of 40gb, 500gb, 1tb. And all blank

no mater how I do the install, ether doing the default partitioning or a manual partition the system boots to a grub error, usually complaining about a unknown file system. sometimes another error (that I forget right now) if I do a manual partitioning.

I found a few posts that kind of sort of similar to my trouble. but I am still stuck.

One post I came across has a script to run to collect grub info and such.(Boot Info Script 0.32 courtesy of forum member meierfra) Ill post the results in hopes that someone may see what in going wrong.


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

=> No known boot loader is installed in the MBR of /dev/sda
=> Grub is installed in the MBR of /dev/sdb and looks at sector 153665 on
boot drive #1 for the stage2 file, but no stage2 files can be found at
this location.
=> No known boot loader is installed in the MBR of /dev/sdc

sda1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sdb1: __________________________________________________ _______________________

File system: xfs
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sdc1: __________________________________________________ _______________________

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

sdc2: __________________________________________________ _______________________

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

sdc5: __________________________________________________ _______________________

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

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

Drive: sda ___________________ __________________________________________________ ___

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

Partition Boot Start End Size Id System

/dev/sda1 * 63 976,768,064 976,768,002 83 Linux


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x263aa72e

Partition Boot Start End Size Id System

/dev/sdb1 63 1,953,520,064 1,953,520,002 83 Linux


Drive: sdc ___________________ __________________________________________________ ___

Disk /dev/sdc: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders, total 78242976 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x13f913f9

Partition Boot Start End Size Id System

/dev/sdc1 63 76,164,164 76,164,102 83 Linux
/dev/sdc2 76,164,165 78,236,549 2,072,385 5 Extended
/dev/sdc5 76,164,228 78,236,549 2,072,322 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="86249da2-3d6f-4708-bf72-fa62bd0d0abe" TYPE="ext4"
/dev/sdb1: UUID="dcec2f94-ca0e-461e-9556-4ae8cf1cf732" TYPE="xfs"
/dev/sdc1: UUID="9a84484b-0a97-4241-8aaa-bdd1d4276efa" TYPE="ext4"
/dev/sdc5: UUID="652dbcfd-852f-4e42-b2a5-e0045b3a8b5c" TYPE="swap"

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

aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
/dev/sr0 on /cdrom type iso9660 (rw)
/dev/loop0 on /rofs type squashfs (rw)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
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)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sdc1 on /mnt/karmic type ext4 (rw)
/dev on /mnt/karmic/dev type none (rw,bind)
/proc on /mnt/karmic/proc type none (rw,bind)


=========================== sdc1/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=(hd2,1)
search --no-floppy --fs-uuid --set 9a84484b-0a97-4241-8aaa-bdd1d4276efa
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-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd2,1)
search --no-floppy --fs-uuid --set 9a84484b-0a97-4241-8aaa-bdd1d4276efa
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=9a84484b-0a97-4241-8aaa-bdd1d4276efa ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd2,1)
search --no-floppy --fs-uuid --set 9a84484b-0a97-4241-8aaa-bdd1d4276efa
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=9a84484b-0a97-4241-8aaa-bdd1d4276efa ro single
initrd /boot/initrd.img-2.6.31-14-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 ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###

=============================== sdc1/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/sdc1 during installation
UUID=9a84484b-0a97-4241-8aaa-bdd1d4276efa / ext4 errors=remount-ro 0 1
# /home was on /dev/sda1 during installation
UUID=86249da2-3d6f-4708-bf72-fa62bd0d0abe /home ext4 defaults 0 2
# /var/lib/mythtv/ was on /dev/sdb1 during installation
UUID=dcec2f94-ca0e-461e-9556-4ae8cf1cf732 /var/lib/mythtv/ xfs defaults 0 2
# swap was on /dev/sdc5 during installation
UUID=652dbcfd-852f-4e42-b2a5-e0045b3a8b5c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

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


.0GB: boot/grub/grub.cfg
.0GB: boot/initrd.img-2.6.31-14-generic
.0GB: boot/vmlinuz-2.6.31-14-generic
.0GB: initrd.img
.0GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown MBR on /dev/sda

00000000 eb 63 90 d0 bc 00 7c 8e c0 8e d8 be 00 7c bf 00 |.c....|......|..|
00000010 06 b9 00 02 fc f3 a4 50 68 1c 06 cb fb b9 04 00 |.......Ph.......|
00000020 bd be 07 80 7e 00 00 7c 0b 0f 85 10 01 83 c5 10 |....~..|........|
00000030 e2 f1 cd 18 88 56 00 55 c6 46 11 05 c6 46 10 00 |.....V.U.F...F..|
00000040 b4 41 bb aa 55 cd 13 5d 72 0f 81 fb 55 aa 75 09 |.A..U..]r...U.u.|
00000050 f7 c1 01 00 74 03 fe 46 10 66 00 80 01 00 00 00 |....t..F.f......|
00000060 00 00 00 00 ff fa eb 07 f6 c2 80 75 02 b2 80 ea |...........u....|
00000070 74 7c 00 00 31 c0 8e d8 8e d0 bc 00 20 fb a0 64 |t|..1....... ..d|
00000080 7c 3c ff 74 02 88 c2 52 be 88 7d e8 24 01 be 05 ||<.t...R..}.$...|
00000090 7c f6 c2 80 74 48 b4 41 bb aa 55 cd 13 5a 52 72 ||...tH.A..U..ZRr|
000000a0 3d 81 fb 55 aa 75 37 83 e1 01 74 32 31 c0 89 44 |=..U.u7...t21..D|
000000b0 04 40 88 44 ff 89 44 02 c7 04 10 00 66 8b 1e 5c |.@.D..D.....f..\|
000000c0 7c 66 89 5c 08 66 8b 1e 60 7c 66 89 5c 0c c7 44 ||f.\.f..`|f.\..D|
000000d0 06 00 70 b4 42 cd 13 72 05 bb 00 70 eb 73 b4 08 |..p.B..r...p.s..|
000000e0 cd 13 73 0a f6 c2 80 0f 84 d8 00 e9 82 00 66 0f |..s...........f.|
000000f0 b6 c6 88 64 ff 40 66 89 44 04 0f b6 d1 c1 e2 02 |...d.@f.D.......|
00000100 88 e8 88 f4 40 89 44 08 0f b6 c2 c0 e8 02 66 89 |....@.D.......f.|
00000110 04 66 a1 60 7c 66 09 c0 75 4e 66 a1 5c 7c 66 31 |.f.`|f..uNf.\|f1|
00000120 d2 66 f7 34 88 d1 31 d2 66 f7 74 04 3b 44 08 7d |.f.4..1.f.t.;D.}|
00000130 37 fe c1 88 c5 30 c0 c1 e8 02 08 c1 88 d0 5a 88 |7....0........Z.|
00000140 c6 bb 00 70 8e c3 31 db b8 01 02 cd 13 72 29 8c |...p..1......r).|
00000150 c3 60 1e b9 00 01 8e db 31 f6 bf 00 80 8e c6 fc |.`......1.......|
00000160 f3 a5 1f 61 ff 26 5a 7c be 8e 7d e8 44 00 eb 0e |...a.&Z|..}.D...|
00000170 be 93 7d e8 3c 00 eb 06 be 9d 7d e8 34 00 be a2 |..}.<.....}.4...|
00000180 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 47 65 |}.......GRUB .Ge|
00000190 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 65 61 |om.Hard Disk.Rea|
000001a0 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 b4 0e |d. Error........|
000001b0 cd 10 ac 3c 00 75 f4 c3 4a 7b c3 2f 00 00 80 01 |...<.u..J{./....|
000001c0 01 00 83 fe ff ff 3f 00 00 00 02 4c 38 3a 00 00 |......?....L8:..|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200

Unknown MBR on /dev/sdc

00000000 eb 63 90 d0 bc 00 7c fb 50 07 50 1f fc be 1b 7c |.c....|.P.P....||
00000010 bf 1b 06 50 57 b9 e5 01 f3 a4 cb bd be 07 b1 04 |...PW...........|
00000020 38 6e 00 7c 09 75 13 83 c5 10 e2 f4 cd 18 8b f5 |8n.|.u..........|
00000030 83 c6 10 49 74 19 38 2c 74 f6 a0 b5 07 b4 07 8b |...It.8,t.......|
00000040 f0 ac 3c 00 74 fc bb 07 00 b4 0e cd 10 eb f2 88 |..<.t...........|
00000050 4e 10 e8 46 00 73 2a fe 46 10 00 80 01 00 00 00 |N..F.s*.F.......|
00000060 00 00 00 00 ff fa eb 07 f6 c2 80 75 02 b2 80 ea |...........u....|
00000070 74 7c 00 00 31 c0 8e d8 8e d0 bc 00 20 fb a0 64 |t|..1....... ..d|
00000080 7c 3c ff 74 02 88 c2 52 be 88 7d e8 24 01 be 05 ||<.t...R..}.$...|
00000090 7c f6 c2 80 74 48 b4 41 bb aa 55 cd 13 5a 52 72 ||...tH.A..U..ZRr|
000000a0 3d 81 fb 55 aa 75 37 83 e1 01 74 32 31 c0 89 44 |=..U.u7...t21..D|
000000b0 04 40 88 44 ff 89 44 02 c7 04 10 00 66 8b 1e 5c |.@.D..D.....f..\|
000000c0 7c 66 89 5c 08 66 8b 1e 60 7c 66 89 5c 0c c7 44 ||f.\.f..`|f.\..D|
000000d0 06 00 70 b4 42 cd 13 72 05 bb 00 70 eb 73 b4 08 |..p.B..r...p.s..|
000000e0 cd 13 73 0a f6 c2 80 0f 84 d8 00 e9 82 00 66 0f |..s...........f.|
000000f0 b6 c6 88 64 ff 40 66 89 44 04 0f b6 d1 c1 e2 02 |...d.@f.D.......|
00000100 88 e8 88 f4 40 89 44 08 0f b6 c2 c0 e8 02 66 89 |....@.D.......f.|
00000110 04 66 a1 60 7c 66 09 c0 75 4e 66 a1 5c 7c 66 31 |.f.`|f..uNf.\|f1|
00000120 d2 66 f7 34 88 d1 31 d2 66 f7 74 04 3b 44 08 7d |.f.4..1.f.t.;D.}|
00000130 37 fe c1 88 c5 30 c0 c1 e8 02 08 c1 88 d0 5a 88 |7....0........Z.|
00000140 c6 bb 00 70 8e c3 31 db b8 01 02 cd 13 72 29 8c |...p..1......r).|
00000150 c3 60 1e b9 00 01 8e db 31 f6 bf 00 80 8e c6 fc |.`......1.......|
00000160 f3 a5 1f 61 ff 26 5a 7c be 8e 7d e8 44 00 eb 0e |...a.&Z|..}.D...|
00000170 be 93 7d e8 3c 00 eb 06 be 9d 7d e8 34 00 be a2 |..}.<.....}.4...|
00000180 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 47 65 |}.......GRUB .Ge|
00000190 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 65 61 |om.Hard Disk.Rea|
000001a0 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 b4 0e |d. Error........|
000001b0 cd 10 ac 3c 00 75 f4 c3 f9 13 f9 13 00 00 00 01 |...<.u..........|
000001c0 01 00 83 fe ff ff 3f 00 00 00 06 2c 8a 04 00 fe |......?....,....|
000001d0 ff ff 05 fe ff ff 45 2c 8a 04 41 9f 1f 00 00 00 |......E,..A.....|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200





Thanks for looking, hope someone can help.

Vermind
October 23rd, 2009, 06:55 AM
Hi,
it's possible your BIOS has a different drive order than what Your Ubuntu thought it was. Try to change the 500GB to be the primary boot device and see if you can boot that way. Seems your GRUB is on sdb, which is the second BIOS drive.

Akriss
October 23rd, 2009, 07:18 AM
Hi Vermind,

Yes i did try that at one point. It did not work. however, I don't remember if I tryed befor a fresh install or setting it after the install.

right now I am installing 8.10 on a 4gb partition in hopes of installing the 9.10RC and having it pick up on that.

Akriss
October 23rd, 2009, 08:05 AM
just finished installing 9.10RC (with manual partitioning) after installing 8.10 on a 4gb partition on the 40gb HD.

After the 9.10RC install and reboots 8.10 still loads and no 9.10 on the menu. =/

Akriss
October 23rd, 2009, 08:18 AM
just finished installing 9.10RC (with manual partitioning) after installing 8.10 on a 4gb partition on the 40gb HD.

After the 9.10RC install and reboots 8.10 still loads and no 9.10 on the menu. =/

ok , changed the boot order now in the BIOS ( 500gb, 1tb, 40gb) and I get 9.10 grub loader.

I'll try again to do an install then change how the HD load in the BIOS.

X1R1
October 23rd, 2009, 08:24 AM
Download and Burn SUPER GRUB DISK to a CD and boot from there, try to see if the auto fix solves it. Super grub is an amazing tool and can solve problems like that automagically :D

HERE (http://linux.softpedia.com/get/System/Boot/Super-Grub-Disk-8071.shtml) is the link:guitar:

Akriss
October 23rd, 2009, 08:55 AM
I did a fresh install of 9.10RC (with BIOS boot order set to 40gb, 500gb, 1tb) and after it rebooted 8.10 version of grub loaded but with error 15.

Rebooted and went in to the BIOS and changed boot order (500gb, 1tb, 40 gb) and 9.10rc version of grub loaded.

Well its sort of fixed. still would like grub to install on the proper MBR though.

Thanks Vermind for the point in the right direction.

X1R1, I'll play around with "SUPER GRUB DISK" to see what its all about, Thanks.