Skip to main content

Thread: Cannot boot with GRUB. Windows error message.


i decided take plunge linux total noob right , still trying figure stuff out. apologize in advance.

anyways, using old desktop 2 hard drives on it. smaller primary drive using install os on. using windows xp. larger drive has media files on it. decided use computer exclusively linux deleted of partitions on smaller drive , formatted before installing ubuntu. installation went without hitch, when restart computer boot, message:

windows not start because following file missing or corrupt: <windows root>\system32\hal.dll

thought maybe there remainder of windows making happen wiped drive using dban.

reinstalled linux again , restarted computer again. got same error message.

found previous threads of people having same problem.

http://ubuntuforums.org/showthread.php?t=1246803
http://ubuntuforums.org/showthread.php?t=1267602

i've read through them, i'm still not knowledgeable enough understand whats going on.

i've attached files should describe going on booting process. if can decipher them , explain me what's going on/how can fix it, appreciative.

results boot_info_script032.sh
code:
============================= boot info summary: ==============================   => grub0.97 installed in mbr of /dev/sda , looks on same drive      in partition #1 /boot/grub/stage2 , /boot/grub/menu.lst.  => windows installed in mbr of /dev/sdb  => no known boot loader installed in mbr of /dev/sdc  sda1: _________________________________________________________________________      file system:       ext3     boot sector type:  -     boot sector info:       operating system:  ubuntu 9.04     boot files/dirs:   /boot/grub/menu.lst /etc/fstab  sda2: _________________________________________________________________________      file system:       extended partition     boot sector type:  -     boot sector info:    sda5: _________________________________________________________________________      file system:       swap     boot sector type:  -     boot sector info:    sdb1: _________________________________________________________________________      file system:       ntfs     boot sector type:  windows xp     boot sector info:  no errors found in boot parameter block.     operating system:       boot files/dirs:   /boot.ini /ntldr /ntdetect.com /ntbootdd.sys  sdb2: _________________________________________________________________________      file system:       ntfs     boot sector type:  windows xp     boot sector info:  no errors found in boot parameter block.     operating system:       boot files/dirs:     sdc1: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  sdc2: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  sdc3: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  sdc4: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  =========================== drive/partition info: =============================  drive: sda ___________________ _____________________________________________________  disk /dev/sda: 41.1 gb, 41174138880 bytes 255 heads, 63 sectors/track, 5005 cylinders, total 80418240 sectors units = sectors of 1 * 512 = 512 bytes disk identifier: 0x0006ffe6  partition  boot         start           end          size  id system  /dev/sda1    *             63    78,959,474    78,959,412  83 linux /dev/sda2          78,959,475    80,405,324     1,445,850   5 extended /dev/sda5          78,959,538    80,405,324     1,445,787  82 linux swap / solaris   drive: sdb ___________________ _____________________________________________________  disk /dev/sdb: 163.9 gb, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders, total 320173056 sectors units = sectors of 1 * 512 = 512 bytes disk identifier: 0x0a0f0a0f  partition  boot         start           end          size  id system  /dev/sdb1    *             63    66,027,149    66,027,087   7 hpfs/ntfs /dev/sdb2          66,027,150   314,922,194   248,895,045   7 hpfs/ntfs   drive: sdc ___________________ _____________________________________________________  disk /dev/sdc: 4043 mb, 4043309056 bytes 125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors units = sectors of 1 * 512 = 512 bytes disk identifier: 0x6f20736b  partition  boot         start           end          size  id system  /dev/sdc1     ?   778,135,908 1,919,645,538 1,141,509,631  72 unknown /dev/sdc2     ?   168,689,522 2,104,717,761 1,936,028,240  65 novell netware 386 /dev/sdc3     ? 1,869,881,465 3,805,909,656 1,936,028,192  79 unknown /dev/sdc4     ? 2,885,681,152 2,885,736,650        55,499   d unknown  /dev/sdc1 ends after last sector of /dev/sdc /dev/sdc1 overlaps /dev/sdc2 /dev/sdc1 overlaps /dev/sdc3 /dev/sdc2 ends after last sector of /dev/sdc /dev/sdc2 overlaps /dev/sdc3 /dev/sdc3 ends after last sector of /dev/sdc /dev/sdc3 overlaps /dev/sdc4 /dev/sdc4 ends after last sector of /dev/sdc  blkid -c /dev/null: ____________________________________________________________  /dev/loop0: type="squashfs"  /dev/sda1: uuid="90f15106-d021-49f2-aa83-174deff93038" sec_type="ext2" type="ext3"  /dev/sda5: uuid="990e939e-7f5c-4651-8077-e148d2876199" type="swap"  /dev/sdb1: uuid="a054458254455be2" type="ntfs"  /dev/sdb2: uuid="285082e05082b3da" label="media" type="ntfs"  /dev/ramzswap0: type="swap"  /dev/sdc: label="xtreme" uuid="8880-a1d3" type="vfat"   =============================== "mount" output: ===============================  proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755) tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) varrun on /var/run type tmpfs (rw,nosuid,mode=0755) varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) rootfs on / type rootfs (rw) /dev/sr0 on /cdrom type iso9660 (ro,noatime) /dev/loop0 on /rofs type squashfs (ro,noatime) fusectl on /sys/fs/fuse/connections type fusectl (rw) 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/sdc on /media/xtreme type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=999,utf8,umask=077,flush)   =========================== sda1/boot/grub/menu.lst: ===========================  # menu.lst - see: grub(8), info grub, update-grub(8) #            grub-install(8), grub-floppy(8), #            grub-md5-crypt, /usr/share/doc/grub #            , /usr/share/doc/grub-doc/.  ## default num # set default entry entry number num. numbering starts 0, , # entry number 0 default if command not used. # # can specify 'saved' instead of number. in case, default entry # entry saved command 'savedefault'. # warning: if using dmraid not use 'savedefault' or # array desync , not let boot system. default        0  ## timeout sec # set timeout, in sec seconds, before automatically booting default entry # (normally first entry defined). timeout        10  ## hiddenmenu # hides menu default (press esc see menu) #hiddenmenu  # pretty colours #color cyan/blue white/blue  ## password ['--md5'] passwd # if used in first section of menu file, disable interactive editing # control (menu entry editor , command-line)  , entries protected # command 'lock' # e.g. password topsecret #      password --md5 $1$glhu0/$aw78khk1qfv3p2b2znuoe/ # password topsecret  # # examples # # title        windows 95/98/nt/2000 # root        (hd0,0) # makeactive # chainloader    +1 # # title        linux # root        (hd0,1) # kernel    /vmlinuz root=/dev/hda2 ro #  # # put static boot stanzas before and/or after automagic kernel list  ### begin automagic kernels list ## lines between automagic kernels list markers modified ## debian update-grub script except default options below  ## not uncomment them, edit them needs  ## ## start default options ## ## default kernel options ## default kernel options automagic boot options ## if want special options specific kernels use kopt_x_y_z ## x.y.z kernel version. minor versions can omitted. ## e.g. kopt=root=/dev/hda1 ro ##      kopt_2_6_8=root=/dev/hdc1 ro ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro  ## default grub root device ## e.g. groot=(hd0,0) # groot=90f15106-d021-49f2-aa83-174deff93038  ## should update-grub create alternative automagic boot options ## e.g. alternative=true ##      alternative=false # alternative=true  ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ##      lockalternative=false # lockalternative=false  ## additional options use default boot option, not ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet splash  ## should update-grub lock old automagic boot options ## e.g. lockold=false ##      lockold=true # lockold=false  ## xen hypervisor options use default xen boot option # xenhopt=  ## xen linux kernel options use default xen boot option # xenkopt=console=tty0  ## altoption boot targets option ## multiple altoptions lines allowed ## e.g. altoptions=(extra menu suffix) boot options ##      altoptions=(recovery) single # altoptions=(recovery mode) single  ## controls how many kernels should put menu.lst ## counts first occurence of kernel, not ## alternative kernel options ## e.g. howmany=all ##      howmany=7 # howmany=all  ## specify if running in xen domu or have grub detect automatically ## update-grub ignore non-xen kernels when running in domu , vice versa ## e.g. indomu=detect ##      indomu=true ##      indomu=false # indomu=detect  ## should update-grub create memtest86 boot option ## e.g. memtest86=true ##      memtest86=false # memtest86=true  ## should update-grub adjust value of default booted system ## can true or false # updatedefaultentry=false  ## should update-grub add savedefault default options ## can true or false # savedefault=false  ## ## end default options ##  title        ubuntu 9.04, kernel 2.6.28-11-generic uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/vmlinuz-2.6.28-11-generic root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro quiet splash  initrd        /boot/initrd.img-2.6.28-11-generic quiet  title        ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/vmlinuz-2.6.28-11-generic root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro  single initrd        /boot/initrd.img-2.6.28-11-generic  title        ubuntu 9.04, memtest86+ uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/memtest86+.bin quiet  ### end debian automagic kernels list  # divider, added separate menu items below debian # ones. title        other operating systems: root   # entry automatically added debian installer non-linux os # on /dev/sdb1 title        windows nt/2000/xp (loader) rootnoverify    (hd1,0) savedefault makeactive map        (hd0) (hd1) map        (hd1) (hd0) chainloader    +1   =============================== sda1/etc/fstab: ===============================  # /etc/fstab: static file system information. # # use 'vol_id --uuid' print universally unique identifier # device; may used uuid= more robust way name devices # works if disks added , removed. see fstab(5). # # <file system> <mount point>   <type>  <options>       <dump>  <pass> proc            /proc           proc    defaults        0       0 # / on /dev/sda1 during installation uuid=90f15106-d021-49f2-aa83-174deff93038 /               ext3    relatime,errors=remount-ro 0       1 # swap on /dev/sda5 during installation uuid=990e939e-7f5c-4651-8077-e148d2876199 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  =================== sda1: location of files loaded grub: ===================     31.3gb: boot/grub/menu.lst   31.3gb: boot/grub/stage2   31.3gb: boot/initrd.img-2.6.28-11-generic   31.3gb: boot/vmlinuz-2.6.28-11-generic   31.3gb: initrd.img   31.3gb: vmlinuz  ================================ sdb1/boot.ini: ================================  [boot loader] timeout=30 default=signature(f55cf55c)disk(0)rdisk(0)partition(1)\windows [operating systems] signature(f55cf55c)disk(0)rdisk(0)partition(1)\windows="microsoft windows xp home edition" /fastdetect =========================== unknown mbrs/boot sectors/etc =======================  unknown mbr on /dev/sdc  00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 26 00  |.x.msdos5.0...&.| 00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 00 00 00  |........?.......| 00000020  00 80 78 00 11 1e 00 00  00 00 00 00 02 00 00 00  |..x.............| 00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................| 00000040  00 00 29 d3 a1 80 88 4e  4f 20 4e 41 4d 45 20 20  |..)....no name  | 00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  fat32   3.....| 00000060  7b 8e c1 8e d9 bd 00 7c  88 4e 02 8a 56 40 b4 08  |{......|.n..v@..| 00000070  cd 13 73 05 b9 ff ff 8a  f1 66 0f b6 c6 40 66 0f  |..s......f...@f.| 00000080  b6 d1 80 e2 3f f7 e2 86  cd c0 ed 06 41 66 0f b7  |....?.......af..| 00000090  c9 66 f7 e1 66 89 46 f8  83 7e 16 00 75 38 83 7e  |.f..f.f..~..u8.~| 000000a0  2a 00 77 32 66 8b 46 1c  66 83 c0 0c bb 00 80 b9  |*.w2f.f.f.......| 000000b0  01 00 e8 2b 00 e9 48 03  a0 fa 7d b4 7d 8b f0 ac  |...+..h...}.}...| 000000c0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........| 000000d0  ee a0 fb 7d eb e5 a0 f9  7d eb e0 98 cd 16 cd 19  |...}....}.......| 000000e0  66 60 66 3b 46 f8 0f 82  4a 00 66 6a 00 66 50 06  |f`f;f...j.fj.fp.| 000000f0  53 66 68 10 00 01 00 80  7e 02 00 0f 85 20 00 b4  |sfh.....~.... ..| 00000100  41 bb aa 55 8a 56 40 cd  13 0f 82 1c 00 81 fb 55  |a..u.v@........u| 00000110  aa 0f 85 14 00 f6 c1 01  0f 84 0d 00 fe 46 02 b4  |.............f..| 00000120  42 8a 56 40 8b f4 cd 13  b0 f9 66 58 66 58 66 58  |b.v@......fxfxfx| 00000130  66 58 eb 2a 66 33 d2 66  0f b7 4e 18 66 f7 f1 fe  |fx.*f3.f..n.f...| 00000140  c2 8a ca 66 8b d0 66 c1  ea 10 f7 76 1a 86 d6 8a  |...f..f....v....| 00000150  56 40 8a e8 c0 e4 06 0a  cc b8 01 02 cd 13 66 61  |v@............fa| 00000160  0f 82 54 ff 81 c3 00 02  66 40 49 0f 85 71 ff c3  |..t.....f@i..q..| 00000170  4e 54 4c 44 52 20 20 20  20 20 20 00 00 00 00 00  |ntldr      .....| 00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................| 00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................| 000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 52 65  |..............re| 000001b0  6d 6f 76 65 20 64 69 73  6b 73 20 6f 72 20 6f 74  |move disks or ot| 000001c0  68 65 72 20 6d 65 64 69  61 2e ff 0d 0a 44 69 73  |her media....dis| 000001d0  6b 20 65 72 72 6f 72 ff  0d 0a 50 72 65 73 73 20  |k error...press | 000001e0  61 6e 79 20 6b 65 79 20  74 6f 20 72 65 73 74 61  |any key resta| 000001f0  72 74 0d 0a 00 00 00 00  00 ac cb d8 00 00 55 aa  |rt............u.| 00000200  unknown bootloader  on sdc1   unknown bootloader  on sdc2   unknown bootloader  on sdc3   unknown bootloader  on sdc4    =============================== stderr messages: ===============================  hexdump: /dev/sdc1: no such file or directory hexdump: /dev/sdc1: no such file or directory hexdump: /dev/sdc2: no such file or directory hexdump: /dev/sdc2: no such file or directory hexdump: /dev/sdc3: no such file or directory hexdump: /dev/sdc3: no such file or directory hexdump: /dev/sdc4: no such file or directory hexdump: /dev/sdc4: no such file or directory
menu.lst
code:
# menu.lst - see: grub(8), info grub, update-grub(8) #            grub-install(8), grub-floppy(8), #            grub-md5-crypt, /usr/share/doc/grub #            , /usr/share/doc/grub-doc/.  ## default num # set default entry entry number num. numbering starts 0, , # entry number 0 default if command not used. # # can specify 'saved' instead of number. in case, default entry # entry saved command 'savedefault'. # warning: if using dmraid not use 'savedefault' or # array desync , not let boot system. default        0  ## timeout sec # set timeout, in sec seconds, before automatically booting default entry # (normally first entry defined). timeout        10  ## hiddenmenu # hides menu default (press esc see menu) #hiddenmenu  # pretty colours #color cyan/blue white/blue  ## password ['--md5'] passwd # if used in first section of menu file, disable interactive editing # control (menu entry editor , command-line)  , entries protected # command 'lock' # e.g. password topsecret #      password --md5 $1$glhu0/$aw78khk1qfv3p2b2znuoe/ # password topsecret  # # examples # # title        windows 95/98/nt/2000 # root        (hd0,0) # makeactive # chainloader    +1 # # title        linux # root        (hd0,1) # kernel    /vmlinuz root=/dev/hda2 ro #  # # put static boot stanzas before and/or after automagic kernel list  ### begin automagic kernels list ## lines between automagic kernels list markers modified ## debian update-grub script except default options below  ## not uncomment them, edit them needs  ## ## start default options ## ## default kernel options ## default kernel options automagic boot options ## if want special options specific kernels use kopt_x_y_z ## x.y.z kernel version. minor versions can omitted. ## e.g. kopt=root=/dev/hda1 ro ##      kopt_2_6_8=root=/dev/hdc1 ro ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro  ## default grub root device ## e.g. groot=(hd0,0) # groot=90f15106-d021-49f2-aa83-174deff93038  ## should update-grub create alternative automagic boot options ## e.g. alternative=true ##      alternative=false # alternative=true  ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ##      lockalternative=false # lockalternative=false  ## additional options use default boot option, not ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet splash  ## should update-grub lock old automagic boot options ## e.g. lockold=false ##      lockold=true # lockold=false  ## xen hypervisor options use default xen boot option # xenhopt=  ## xen linux kernel options use default xen boot option # xenkopt=console=tty0  ## altoption boot targets option ## multiple altoptions lines allowed ## e.g. altoptions=(extra menu suffix) boot options ##      altoptions=(recovery) single # altoptions=(recovery mode) single  ## controls how many kernels should put menu.lst ## counts first occurence of kernel, not ## alternative kernel options ## e.g. howmany=all ##      howmany=7 # howmany=all  ## specify if running in xen domu or have grub detect automatically ## update-grub ignore non-xen kernels when running in domu , vice versa ## e.g. indomu=detect ##      indomu=true ##      indomu=false # indomu=detect  ## should update-grub create memtest86 boot option ## e.g. memtest86=true ##      memtest86=false # memtest86=true  ## should update-grub adjust value of default booted system ## can true or false # updatedefaultentry=false  ## should update-grub add savedefault default options ## can true or false # savedefault=false  ## ## end default options ##  title        ubuntu 9.04, kernel 2.6.28-11-generic uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/vmlinuz-2.6.28-11-generic root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro quiet splash  initrd        /boot/initrd.img-2.6.28-11-generic quiet  title        ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/vmlinuz-2.6.28-11-generic root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro  single initrd        /boot/initrd.img-2.6.28-11-generic  title        ubuntu 9.04, memtest86+ uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/memtest86+.bin quiet  ### end debian automagic kernels list  # divider, added separate menu items below debian # ones. title        other operating systems: root   # entry automatically added debian installer non-linux os # on /dev/sdb1 title        windows nt/2000/xp (loader) rootnoverify    (hd1,0) savedefault makeactive map        (hd0) (hd1) map        (hd1) (hd0) chainloader    +1
fdisk -l
code:
ubuntu@ubuntu:~$ sudo fdisk -l  disk /dev/sda: 41.1 gb, 41174138880 bytes 255 heads, 63 sectors/track, 5005 cylinders units = cylinders of 16065 * 512 = 8225280 bytes disk identifier: 0x0006ffe6     device boot      start         end      blocks   id  system /dev/sda1   *           1        4915    39479706   83  linux /dev/sda2            4916        5005      722925    5  extended /dev/sda5            4916        5005      722893+  82  linux swap / solaris  disk /dev/sdb: 163.9 gb, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders units = cylinders of 16065 * 512 = 8225280 bytes disk identifier: 0x0a0f0a0f     device boot      start         end      blocks   id  system /dev/sdb1   *           1        4110    33013543+   7  hpfs/ntfs /dev/sdb2            4111       19603   124447522+   7  hpfs/ntfs  disk /dev/sdc: 4043 mb, 4043309056 bytes 125 heads, 62 sectors/track, 1018 cylinders units = cylinders of 7750 * 512 = 3968000 bytes disk identifier: 0x6f20736b  doesn't partition table selected wrong device.     device boot      start         end      blocks   id  system /dev/sdc1   ?      100405      247697   570754815+  72  unknown partition 1 has different physical/logical beginnings (non-linux?):      phys=(357, 116, 40) logical=(100404, 79, 11) partition 1 has different physical/logical endings:      phys=(357, 32, 45) logical=(247696, 24, 51) partition 1 not end on cylinder boundary. /dev/sdc2   ?       21767      271577   968014120   65  novell netware 386 partition 2 has different physical/logical beginnings (non-linux?):      phys=(288, 115, 43) logical=(21766, 48, 47) partition 2 has different physical/logical endings:      phys=(367, 114, 50) logical=(271576, 60, 42) partition 2 not end on cylinder boundary. /dev/sdc3   ?      241276      491086   968014096   79  unknown partition 3 has different physical/logical beginnings (non-linux?):      phys=(366, 32, 33) logical=(241275, 3, 30) partition 3 has different physical/logical endings:      phys=(357, 32, 43) logical=(491085, 14, 39) partition 3 not end on cylinder boundary. /dev/sdc4   ?      372346      372354       27749+   d  unknown partition 4 has different physical/logical beginnings (non-linux?):      phys=(372, 97, 50) logical=(372345, 119, 25) partition 4 has different physical/logical endings:      phys=(0, 10, 0) logical=(372353, 14, 33) partition 4 not end on cylinder boundary.  partition table entries not in disk order

quote posted laoki view post
i decided take plunge linux total noob right , still trying figure stuff out. apologize in advance.

anyways, using old desktop 2 hard drives on it. smaller primary drive using install os on. using windows xp. larger drive has media files on it. decided use computer exclusively linux deleted of partitions on smaller drive , formatted before installing ubuntu. installation went without hitch, when restart computer boot, message:

windows not start because following file missing or corrupt: <windows root>\system32\hal.dll

thought maybe there remainder of windows making happen wiped drive using dban.

reinstalled linux again , restarted computer again. got same error message.

found previous threads of people having same problem.

http://ubuntuforums.org/showthread.php?t=1246803
http://ubuntuforums.org/showthread.php?t=1267602

i've read through them, i'm still not knowledgeable enough understand whats going on.

i've attached files should describe going on booting process. if can decipher them , explain me what's going on/how can fix it, appreciative.

results boot_info_script032.sh
code:
============================= boot info summary: ==============================   => grub0.97 installed in mbr of /dev/sda , looks on same drive      in partition #1 /boot/grub/stage2 , /boot/grub/menu.lst.  => windows installed in mbr of /dev/sdb  => no known boot loader installed in mbr of /dev/sdc  sda1: _________________________________________________________________________      file system:       ext3     boot sector type:  -     boot sector info:       operating system:  ubuntu 9.04     boot files/dirs:   /boot/grub/menu.lst /etc/fstab  sda2: _________________________________________________________________________      file system:       extended partition     boot sector type:  -     boot sector info:    sda5: _________________________________________________________________________      file system:       swap     boot sector type:  -     boot sector info:    sdb1: _________________________________________________________________________      file system:       ntfs     boot sector type:  windows xp     boot sector info:  no errors found in boot parameter block.     operating system:       boot files/dirs:   /boot.ini /ntldr /ntdetect.com /ntbootdd.sys  sdb2: _________________________________________________________________________      file system:       ntfs     boot sector type:  windows xp     boot sector info:  no errors found in boot parameter block.     operating system:       boot files/dirs:     sdc1: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  sdc2: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  sdc3: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  sdc4: _________________________________________________________________________      file system:            boot sector type:  unknown     boot sector info:       mounting failed: mount: unknown filesystem type ''  =========================== drive/partition info: =============================  drive: sda ___________________ _____________________________________________________  disk /dev/sda: 41.1 gb, 41174138880 bytes 255 heads, 63 sectors/track, 5005 cylinders, total 80418240 sectors units = sectors of 1 * 512 = 512 bytes disk identifier: 0x0006ffe6  partition  boot         start           end          size  id system  /dev/sda1    *             63    78,959,474    78,959,412  83 linux /dev/sda2          78,959,475    80,405,324     1,445,850   5 extended /dev/sda5          78,959,538    80,405,324     1,445,787  82 linux swap / solaris   drive: sdb ___________________ _____________________________________________________  disk /dev/sdb: 163.9 gb, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders, total 320173056 sectors units = sectors of 1 * 512 = 512 bytes disk identifier: 0x0a0f0a0f  partition  boot         start           end          size  id system  /dev/sdb1    *             63    66,027,149    66,027,087   7 hpfs/ntfs /dev/sdb2          66,027,150   314,922,194   248,895,045   7 hpfs/ntfs   drive: sdc ___________________ _____________________________________________________  disk /dev/sdc: 4043 mb, 4043309056 bytes 125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors units = sectors of 1 * 512 = 512 bytes disk identifier: 0x6f20736b  partition  boot         start           end          size  id system  /dev/sdc1     ?   778,135,908 1,919,645,538 1,141,509,631  72 unknown /dev/sdc2     ?   168,689,522 2,104,717,761 1,936,028,240  65 novell netware 386 /dev/sdc3     ? 1,869,881,465 3,805,909,656 1,936,028,192  79 unknown /dev/sdc4     ? 2,885,681,152 2,885,736,650        55,499   d unknown  /dev/sdc1 ends after last sector of /dev/sdc /dev/sdc1 overlaps /dev/sdc2 /dev/sdc1 overlaps /dev/sdc3 /dev/sdc2 ends after last sector of /dev/sdc /dev/sdc2 overlaps /dev/sdc3 /dev/sdc3 ends after last sector of /dev/sdc /dev/sdc3 overlaps /dev/sdc4 /dev/sdc4 ends after last sector of /dev/sdc  blkid -c /dev/null: ____________________________________________________________  /dev/loop0: type="squashfs"  /dev/sda1: uuid="90f15106-d021-49f2-aa83-174deff93038" sec_type="ext2" type="ext3"  /dev/sda5: uuid="990e939e-7f5c-4651-8077-e148d2876199" type="swap"  /dev/sdb1: uuid="a054458254455be2" type="ntfs"  /dev/sdb2: uuid="285082e05082b3da" label="media" type="ntfs"  /dev/ramzswap0: type="swap"  /dev/sdc: label="xtreme" uuid="8880-a1d3" type="vfat"   =============================== "mount" output: ===============================  proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755) tmpfs on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=0755) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) varrun on /var/run type tmpfs (rw,nosuid,mode=0755) varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) rootfs on / type rootfs (rw) /dev/sr0 on /cdrom type iso9660 (ro,noatime) /dev/loop0 on /rofs type squashfs (ro,noatime) fusectl on /sys/fs/fuse/connections type fusectl (rw) 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/sdc on /media/xtreme type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=999,utf8,umask=077,flush)   =========================== sda1/boot/grub/menu.lst: ===========================  # menu.lst - see: grub(8), info grub, update-grub(8) #            grub-install(8), grub-floppy(8), #            grub-md5-crypt, /usr/share/doc/grub #            , /usr/share/doc/grub-doc/.  ## default num # set default entry entry number num. numbering starts 0, , # entry number 0 default if command not used. # # can specify 'saved' instead of number. in case, default entry # entry saved command 'savedefault'. # warning: if using dmraid not use 'savedefault' or # array desync , not let boot system. default        0  ## timeout sec # set timeout, in sec seconds, before automatically booting default entry # (normally first entry defined). timeout        10  ## hiddenmenu # hides menu default (press esc see menu) #hiddenmenu  # pretty colours #color cyan/blue white/blue  ## password ['--md5'] passwd # if used in first section of menu file, disable interactive editing # control (menu entry editor , command-line)  , entries protected # command 'lock' # e.g. password topsecret #      password --md5 $1$glhu0/$aw78khk1qfv3p2b2znuoe/ # password topsecret  # # examples # # title        windows 95/98/nt/2000 # root        (hd0,0) # makeactive # chainloader    +1 # # title        linux # root        (hd0,1) # kernel    /vmlinuz root=/dev/hda2 ro #  # # put static boot stanzas before and/or after automagic kernel list  ### begin automagic kernels list ## lines between automagic kernels list markers modified ## debian update-grub script except default options below  ## not uncomment them, edit them needs  ## ## start default options ## ## default kernel options ## default kernel options automagic boot options ## if want special options specific kernels use kopt_x_y_z ## x.y.z kernel version. minor versions can omitted. ## e.g. kopt=root=/dev/hda1 ro ##      kopt_2_6_8=root=/dev/hdc1 ro ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro  ## default grub root device ## e.g. groot=(hd0,0) # groot=90f15106-d021-49f2-aa83-174deff93038  ## should update-grub create alternative automagic boot options ## e.g. alternative=true ##      alternative=false # alternative=true  ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ##      lockalternative=false # lockalternative=false  ## additional options use default boot option, not ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet splash  ## should update-grub lock old automagic boot options ## e.g. lockold=false ##      lockold=true # lockold=false  ## xen hypervisor options use default xen boot option # xenhopt=  ## xen linux kernel options use default xen boot option # xenkopt=console=tty0  ## altoption boot targets option ## multiple altoptions lines allowed ## e.g. altoptions=(extra menu suffix) boot options ##      altoptions=(recovery) single # altoptions=(recovery mode) single  ## controls how many kernels should put menu.lst ## counts first occurence of kernel, not ## alternative kernel options ## e.g. howmany=all ##      howmany=7 # howmany=all  ## specify if running in xen domu or have grub detect automatically ## update-grub ignore non-xen kernels when running in domu , vice versa ## e.g. indomu=detect ##      indomu=true ##      indomu=false # indomu=detect  ## should update-grub create memtest86 boot option ## e.g. memtest86=true ##      memtest86=false # memtest86=true  ## should update-grub adjust value of default booted system ## can true or false # updatedefaultentry=false  ## should update-grub add savedefault default options ## can true or false # savedefault=false  ## ## end default options ##  title        ubuntu 9.04, kernel 2.6.28-11-generic uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/vmlinuz-2.6.28-11-generic root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro quiet splash  initrd        /boot/initrd.img-2.6.28-11-generic quiet  title        ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/vmlinuz-2.6.28-11-generic root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro  single initrd        /boot/initrd.img-2.6.28-11-generic  title        ubuntu 9.04, memtest86+ uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/memtest86+.bin quiet  ### end debian automagic kernels list  # divider, added separate menu items below debian # ones. title        other operating systems: root   # entry automatically added debian installer non-linux os # on /dev/sdb1 title        windows nt/2000/xp (loader) rootnoverify    (hd1,0) savedefault makeactive map        (hd0) (hd1) map        (hd1) (hd0) chainloader    +1   =============================== sda1/etc/fstab: ===============================  # /etc/fstab: static file system information. # # use 'vol_id --uuid' print universally unique identifier # device; may used uuid= more robust way name devices # works if disks added , removed. see fstab(5). # # <file system> <mount point>   <type>  <options>       <dump>  <pass> proc            /proc           proc    defaults        0       0 # / on /dev/sda1 during installation uuid=90f15106-d021-49f2-aa83-174deff93038 /               ext3    relatime,errors=remount-ro 0       1 # swap on /dev/sda5 during installation uuid=990e939e-7f5c-4651-8077-e148d2876199 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  =================== sda1: location of files loaded grub: ===================     31.3gb: boot/grub/menu.lst   31.3gb: boot/grub/stage2   31.3gb: boot/initrd.img-2.6.28-11-generic   31.3gb: boot/vmlinuz-2.6.28-11-generic   31.3gb: initrd.img   31.3gb: vmlinuz  ================================ sdb1/boot.ini: ================================  [boot loader] timeout=30 default=signature(f55cf55c)disk(0)rdisk(0)partition(1)\windows [operating systems] signature(f55cf55c)disk(0)rdisk(0)partition(1)\windows="microsoft windows xp home edition" /fastdetect =========================== unknown mbrs/boot sectors/etc =======================  unknown mbr on /dev/sdc  00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 26 00  |.x.msdos5.0...&.| 00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 00 00 00  |........?.......| 00000020  00 80 78 00 11 1e 00 00  00 00 00 00 02 00 00 00  |..x.............| 00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................| 00000040  00 00 29 d3 a1 80 88 4e  4f 20 4e 41 4d 45 20 20  |..)....no name  | 00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  fat32   3.....| 00000060  7b 8e c1 8e d9 bd 00 7c  88 4e 02 8a 56 40 b4 08  |{......|.n..v@..| 00000070  cd 13 73 05 b9 ff ff 8a  f1 66 0f b6 c6 40 66 0f  |..s......f...@f.| 00000080  b6 d1 80 e2 3f f7 e2 86  cd c0 ed 06 41 66 0f b7  |....?.......af..| 00000090  c9 66 f7 e1 66 89 46 f8  83 7e 16 00 75 38 83 7e  |.f..f.f..~..u8.~| 000000a0  2a 00 77 32 66 8b 46 1c  66 83 c0 0c bb 00 80 b9  |*.w2f.f.f.......| 000000b0  01 00 e8 2b 00 e9 48 03  a0 fa 7d b4 7d 8b f0 ac  |...+..h...}.}...| 000000c0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........| 000000d0  ee a0 fb 7d eb e5 a0 f9  7d eb e0 98 cd 16 cd 19  |...}....}.......| 000000e0  66 60 66 3b 46 f8 0f 82  4a 00 66 6a 00 66 50 06  |f`f;f...j.fj.fp.| 000000f0  53 66 68 10 00 01 00 80  7e 02 00 0f 85 20 00 b4  |sfh.....~.... ..| 00000100  41 bb aa 55 8a 56 40 cd  13 0f 82 1c 00 81 fb 55  |a..u.v@........u| 00000110  aa 0f 85 14 00 f6 c1 01  0f 84 0d 00 fe 46 02 b4  |.............f..| 00000120  42 8a 56 40 8b f4 cd 13  b0 f9 66 58 66 58 66 58  |b.v@......fxfxfx| 00000130  66 58 eb 2a 66 33 d2 66  0f b7 4e 18 66 f7 f1 fe  |fx.*f3.f..n.f...| 00000140  c2 8a ca 66 8b d0 66 c1  ea 10 f7 76 1a 86 d6 8a  |...f..f....v....| 00000150  56 40 8a e8 c0 e4 06 0a  cc b8 01 02 cd 13 66 61  |v@............fa| 00000160  0f 82 54 ff 81 c3 00 02  66 40 49 0f 85 71 ff c3  |..t.....f@i..q..| 00000170  4e 54 4c 44 52 20 20 20  20 20 20 00 00 00 00 00  |ntldr      .....| 00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................| 00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................| 000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 52 65  |..............re| 000001b0  6d 6f 76 65 20 64 69 73  6b 73 20 6f 72 20 6f 74  |move disks or ot| 000001c0  68 65 72 20 6d 65 64 69  61 2e ff 0d 0a 44 69 73  |her media....dis| 000001d0  6b 20 65 72 72 6f 72 ff  0d 0a 50 72 65 73 73 20  |k error...press | 000001e0  61 6e 79 20 6b 65 79 20  74 6f 20 72 65 73 74 61  |any key resta| 000001f0  72 74 0d 0a 00 00 00 00  00 ac cb d8 00 00 55 aa  |rt............u.| 00000200  unknown bootloader  on sdc1   unknown bootloader  on sdc2   unknown bootloader  on sdc3   unknown bootloader  on sdc4    =============================== stderr messages: ===============================  hexdump: /dev/sdc1: no such file or directory hexdump: /dev/sdc1: no such file or directory hexdump: /dev/sdc2: no such file or directory hexdump: /dev/sdc2: no such file or directory hexdump: /dev/sdc3: no such file or directory hexdump: /dev/sdc3: no such file or directory hexdump: /dev/sdc4: no such file or directory hexdump: /dev/sdc4: no such file or directory
menu.lst
code:
# menu.lst - see: grub(8), info grub, update-grub(8) #            grub-install(8), grub-floppy(8), #            grub-md5-crypt, /usr/share/doc/grub #            , /usr/share/doc/grub-doc/.  ## default num # set default entry entry number num. numbering starts 0, , # entry number 0 default if command not used. # # can specify 'saved' instead of number. in case, default entry # entry saved command 'savedefault'. # warning: if using dmraid not use 'savedefault' or # array desync , not let boot system. default        0  ## timeout sec # set timeout, in sec seconds, before automatically booting default entry # (normally first entry defined). timeout        10  ## hiddenmenu # hides menu default (press esc see menu) #hiddenmenu  # pretty colours #color cyan/blue white/blue  ## password ['--md5'] passwd # if used in first section of menu file, disable interactive editing # control (menu entry editor , command-line)  , entries protected # command 'lock' # e.g. password topsecret #      password --md5 $1$glhu0/$aw78khk1qfv3p2b2znuoe/ # password topsecret  # # examples # # title        windows 95/98/nt/2000 # root        (hd0,0) # makeactive # chainloader    +1 # # title        linux # root        (hd0,1) # kernel    /vmlinuz root=/dev/hda2 ro #  # # put static boot stanzas before and/or after automagic kernel list  ### begin automagic kernels list ## lines between automagic kernels list markers modified ## debian update-grub script except default options below  ## not uncomment them, edit them needs  ## ## start default options ## ## default kernel options ## default kernel options automagic boot options ## if want special options specific kernels use kopt_x_y_z ## x.y.z kernel version. minor versions can omitted. ## e.g. kopt=root=/dev/hda1 ro ##      kopt_2_6_8=root=/dev/hdc1 ro ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro  ## default grub root device ## e.g. groot=(hd0,0) # groot=90f15106-d021-49f2-aa83-174deff93038  ## should update-grub create alternative automagic boot options ## e.g. alternative=true ##      alternative=false # alternative=true  ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ##      lockalternative=false # lockalternative=false  ## additional options use default boot option, not ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet splash  ## should update-grub lock old automagic boot options ## e.g. lockold=false ##      lockold=true # lockold=false  ## xen hypervisor options use default xen boot option # xenhopt=  ## xen linux kernel options use default xen boot option # xenkopt=console=tty0  ## altoption boot targets option ## multiple altoptions lines allowed ## e.g. altoptions=(extra menu suffix) boot options ##      altoptions=(recovery) single # altoptions=(recovery mode) single  ## controls how many kernels should put menu.lst ## counts first occurence of kernel, not ## alternative kernel options ## e.g. howmany=all ##      howmany=7 # howmany=all  ## specify if running in xen domu or have grub detect automatically ## update-grub ignore non-xen kernels when running in domu , vice versa ## e.g. indomu=detect ##      indomu=true ##      indomu=false # indomu=detect  ## should update-grub create memtest86 boot option ## e.g. memtest86=true ##      memtest86=false # memtest86=true  ## should update-grub adjust value of default booted system ## can true or false # updatedefaultentry=false  ## should update-grub add savedefault default options ## can true or false # savedefault=false  ## ## end default options ##  title        ubuntu 9.04, kernel 2.6.28-11-generic uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/vmlinuz-2.6.28-11-generic root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro quiet splash  initrd        /boot/initrd.img-2.6.28-11-generic quiet  title        ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/vmlinuz-2.6.28-11-generic root=uuid=90f15106-d021-49f2-aa83-174deff93038 ro  single initrd        /boot/initrd.img-2.6.28-11-generic  title        ubuntu 9.04, memtest86+ uuid        90f15106-d021-49f2-aa83-174deff93038 kernel        /boot/memtest86+.bin quiet  ### end debian automagic kernels list  # divider, added separate menu items below debian # ones. title        other operating systems: root   # entry automatically added debian installer non-linux os # on /dev/sdb1 title        windows nt/2000/xp (loader) rootnoverify    (hd1,0) savedefault makeactive map        (hd0) (hd1) map        (hd1) (hd0) chainloader    +1
fdisk -l
code:
ubuntu@ubuntu:~$ sudo fdisk -l  disk /dev/sda: 41.1 gb, 41174138880 bytes 255 heads, 63 sectors/track, 5005 cylinders units = cylinders of 16065 * 512 = 8225280 bytes disk identifier: 0x0006ffe6     device boot      start         end      blocks   id  system /dev/sda1   *           1        4915    39479706   83  linux /dev/sda2            4916        5005      722925    5  extended /dev/sda5            4916        5005      722893+  82  linux swap / solaris  disk /dev/sdb: 163.9 gb, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders units = cylinders of 16065 * 512 = 8225280 bytes disk identifier: 0x0a0f0a0f     device boot      start         end      blocks   id  system /dev/sdb1   *           1        4110    33013543+   7  hpfs/ntfs /dev/sdb2            4111       19603   124447522+   7  hpfs/ntfs  disk /dev/sdc: 4043 mb, 4043309056 bytes 125 heads, 62 sectors/track, 1018 cylinders units = cylinders of 7750 * 512 = 3968000 bytes disk identifier: 0x6f20736b  doesn't partition table selected wrong device.     device boot      start         end      blocks   id  system /dev/sdc1   ?      100405      247697   570754815+  72  unknown partition 1 has different physical/logical beginnings (non-linux?):      phys=(357, 116, 40) logical=(100404, 79, 11) partition 1 has different physical/logical endings:      phys=(357, 32, 45) logical=(247696, 24, 51) partition 1 not end on cylinder boundary. /dev/sdc2   ?       21767      271577   968014120   65  novell netware 386 partition 2 has different physical/logical beginnings (non-linux?):      phys=(288, 115, 43) logical=(21766, 48, 47) partition 2 has different physical/logical endings:      phys=(367, 114, 50) logical=(271576, 60, 42) partition 2 not end on cylinder boundary. /dev/sdc3   ?      241276      491086   968014096   79  unknown partition 3 has different physical/logical beginnings (non-linux?):      phys=(366, 32, 33) logical=(241275, 3, 30) partition 3 has different physical/logical endings:      phys=(357, 32, 43) logical=(491085, 14, 39) partition 3 not end on cylinder boundary. /dev/sdc4   ?      372346      372354       27749+   d  unknown partition 4 has different physical/logical beginnings (non-linux?):      phys=(372, 97, 50) logical=(372345, 119, 25) partition 4 has different physical/logical endings:      phys=(0, 10, 0) logical=(372353, 14, 33) partition 4 not end on cylinder boundary.  partition table entries not in disk order
i not expert,by stretch of imagination,but if reading information provided correctly,it appears me xp installed on larger hard drive.are trying dual-boot?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Cannot boot with GRUB. Windows error message.


Ubuntu

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code