Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Lucid 10.04.02 Grub no longer discovers DOS partition

  1. #1
    Join Date
    May 2007
    Location
    S. E. Arizona, USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Lucid 10.04.02 Grub no longer discovers DOS partition

    My desktop gets little use now but I had to do a clean install and found that grub no longer discovers a DOS partition. Even after install,a grub-update also no longer finds the DOS partition. Can anyone explain, or has this been dropped from grub. I do need that partition, rarely, I admit but still, it is needed.
    // Don
    ---------------------------------------------------
    Toshiba P755-S5390 / Core I7 / 8 gigs

  2. #2
    Join Date
    Dec 2009
    Location
    greenville sc
    Beans
    288
    Distro
    Ubuntu Studio 13.10 Saucy Salamander

    Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    I believe that it still should be in grub. Two things that may help solve this is your partition table and grub.cfg file output


    using a live cd first post the output of
    Code:
     
    sudo fdisk -l
    Then the contents of /boot/grub/grub.cfg
    zealibib slaughter is a dwarven paladin of ill temperment played by a fat man of jolly temperment.

  3. #3
    Join Date
    May 2007
    Location
    S. E. Arizona, USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    Hi, Hope these will help:

    GRUB.CFG

    \
    Code:
    #
    # 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='(hd0,5)'
    search --no-floppy --fs-uuid --set 2c954092-2caf-41e0-b0d4-7618e1cbbc9c
    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='(hd0,2)'
    search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    set locale_dir=($root)/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-32-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	linux	/vmlinuz-2.6.32-32-generic-pae root=UUID=2c954092-2caf-41e0-b0d4-7618e1cbbc9c ro   quiet splash
    	initrd	/initrd.img-2.6.32-32-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.32-32-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	echo	'Loading Linux 2.6.32-32-generic-pae ...'
    	linux	/vmlinuz-2.6.32-32-generic-pae root=UUID=2c954092-2caf-41e0-b0d4-7618e1cbbc9c ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/initrd.img-2.6.32-32-generic-pae
    }
    ### END /etc/grub.d/10_linux ###

    FDISK -L


    ubuntu@ubuntu:~$ sudo fdisk -l

    Disk /dev/sda: 300.1 GB, 300090728448 bytes
    255 heads, 63 sectors/track, 36483 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xeed3eed3

    Device Boot Start End Blocks Id System
    /dev/sda1 1 159 1268736 6 FAT16
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 * 159 280 976896 83 Linux
    Partition 2 does not end on cylinder boundary.
    /dev/sda3 280 15258 120311561 5 Extended
    /dev/sda5 280 2712 19529728 83 Linux
    /dev/sda6 2712 14869 97654784 83 Linux
    /dev/sda7 14869 15258 3125000 82 Linux swap / Solaris

    Disk /dev/sdf: 64 MB, 64486912 bytes
    8 heads, 32 sectors/track, 491 cylinders
    Units = cylinders of 256 * 512 = 131072 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/sdf1 * 1 490 62704 6 FAT16
    ubuntu@ubuntu:~$

    Thanks for any help.
    // Don
    ---------------------------------------------------
    Toshiba P755-S5390 / Core I7 / 8 gigs

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    You can add to 40_custom a barebones chainload entry:

    # This method applies to Windows and to FreeDOS
    menuentry “DOS on sda1, by chainloader” {
    set root=(hd0,1)
    chainloader +1
    }

    gksudo gedit /etc/grub.d/40_custom
    After making changes:
    sudo update-grub
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    May 2007
    Location
    S. E. Arizona, USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    Hi Oldfred,
    Thanks for the tip, I will give it a try, but I'd still like to know what has changed, and why. It's nice to have a fix, though, ande I thank you.
    // Don
    ---------------------------------------------------
    Toshiba P755-S5390 / Core I7 / 8 gigs

  6. #6
    Join Date
    May 2007
    Location
    S. E. Arizona, USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    Hi oldfred,
    Well, I did get around to modifying the 40_custom as you suggested, and then did the "sudo updage-grub". However it was not succesful, and update-grub and a reboot still did nof find the DOD partition. I'm posting the modified 40_custom below so you can see what errors I might have made.

    Code:
    #!/bin/sh
    exec tail -n +3 $0
    # 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.
    #
    menuentry "IBM DOS on sda1, by chainloader" {
    set root=(hd0,1)
    chainloader +1
    }
    // Don
    ---------------------------------------------------
    Toshiba P755-S5390 / Core I7 / 8 gigs

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    Entry looks ok. Did you get any error messages. Did grub2 return or system crash?

    Post this to see what is where:

    Boot Info Script courtesy of forum members meierfra & Gert Hulselmans
    Page with instructions and download:
    http://bootinfoscript.sourceforge.net/
    Paste results.txt in a New Reply, then highlight entire file and click on # in edit panel(code tags) to make it easier to read.
    Or You can generate the tags first by pressing the # icon in the New Reply Edit toolbar and then paste the contents between the generated [ code] paste here [ /code] tags.
    V60 has improved formating and requires code tags to make it legible. New Version is a zip file that you have to extract to get .sh to run.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    May 2007
    Location
    S. E. Arizona, USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    Hi oldfred,

    As you suggested, I ran bootscript with mixec results. The results are mixced. A valid IBM DOS 6.1 boot sector is located at sector 0 of sda1 according to the bootsector itself, but according to fdisk, it starts at sector 2048 if I'm reading everything correctly. Result.txt is posted below, but I will add the one other bit of information. This DOS partition was copied from the working drive using Clonezilla, and was restored to that same drive after it was formtted. I then reinstalled 10.04.2. Is it possible that is the cause of this problem?

    RESULT.TXT

    Code:
                      Boot Info Script 0.60    from 17 May 2011
    
    
    ============================= Boot Info Summary: ===============================
    
     => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
        1 of the same hard drive for core.img. core.img is at this location and 
        looks in partition 2 for /grub.
    
    sda1: __________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  Unknown
        Boot sector info:   According to the info in the boot sector, sda1 starts 
                           at sector 0. But according to the info from fdisk, 
                           sda1 starts at sector 2048. According to the info in 
                           the boot sector, sda1 has 0 sectors.
        Operating System:  
        Boot files:        
    
    sda2: __________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  
        Boot files:        /grub/grub.cfg /grub/core.img
    
    sda3: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  Unknown
        Boot sector info:  
    
    sda5: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.2 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
    
    sda6: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  
        Boot files:        
    
    sda7: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    Disk /dev/sda: 300.1 GB, 300090728448 bytes
    255 heads, 63 sectors/track, 36483 cylinders, total 586114704 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda1               2,048     2,539,519     2,537,472   6 FAT16
    /dev/sda2    *      2,539,520     4,493,311     1,953,792  83 Linux
    /dev/sda3           4,495,358   245,118,479   240,623,122   5 Extended
    /dev/sda5           4,495,360    43,554,815    39,059,456  83 Linux
    /dev/sda6          43,556,864   238,866,431   195,309,568  83 Linux
    /dev/sda7         238,868,480   245,118,479     6,250,000  82 Linux swap / Solaris
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/sda1        2359-1BCE                              vfat       
    /dev/sda2        5d7aa14b-75a1-4caa-b85b-aa33ef124b9a   ext3       
    /dev/sda5        2c954092-2caf-41e0-b0d4-7618e1cbbc9c   ext4       
    /dev/sda6        43c12dbe-707f-4c60-893b-93b9b3b01e65   ext4       
    /dev/sda7        135c23e8-7a7f-4f41-ab2e-e7324686602c   swap       
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda2        /boot                    ext3       (rw)
    /dev/sda5        /                        ext4       (rw,errors=remount-ro)
    /dev/sda6        /home                    ext4       (rw)
    
    
    ============================= sda2/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='(hd0,5)'
    search --no-floppy --fs-uuid --set 2c954092-2caf-41e0-b0d4-7618e1cbbc9c
    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='(hd0,2)'
    search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    set locale_dir=($root)/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-32-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	linux	/vmlinuz-2.6.32-32-generic-pae root=UUID=2c954092-2caf-41e0-b0d4-7618e1cbbc9c ro   quiet splash
    	initrd	/initrd.img-2.6.32-32-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.32-32-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	echo	'Loading Linux 2.6.32-32-generic-pae ...'
    	linux	/vmlinuz-2.6.32-32-generic-pae root=UUID=2c954092-2caf-41e0-b0d4-7618e1cbbc9c ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/initrd.img-2.6.32-32-generic-pae
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	linux16	/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	linux16	/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.
    #
    menuentry "IBM DOS on sda1, by chainloader" {
    set root=(hd0,1)
    chainloader +1
    }
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/40_custom.old ###
    # 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.old ###
    --------------------------------------------------------------------------------
    
    =================== sda2: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
       1.984477997 = 2.130817024    grub/core.img                                  1
       1.992298126 = 2.139213824    grub/grub.cfg                                  1
       1.233520508 = 1.324482560    initrd.img-2.6.32-32-generic-pae               3
       1.325820923 = 1.423589376    vmlinuz-2.6.32-32-generic-pae                  2
    
    =========================== sda5/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='(hd0,5)'
    search --no-floppy --fs-uuid --set 2c954092-2caf-41e0-b0d4-7618e1cbbc9c
    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='(hd0,2)'
    search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    set locale_dir=($root)/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-32-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	linux	/vmlinuz-2.6.32-32-generic-pae root=UUID=2c954092-2caf-41e0-b0d4-7618e1cbbc9c ro   quiet splash
    	initrd	/initrd.img-2.6.32-32-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.32-32-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	echo	'Loading Linux 2.6.32-32-generic-pae ...'
    	linux	/vmlinuz-2.6.32-32-generic-pae root=UUID=2c954092-2caf-41e0-b0d4-7618e1cbbc9c ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/initrd.img-2.6.32-32-generic-pae
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	linux16	/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,2)'
    	search --no-floppy --fs-uuid --set 5d7aa14b-75a1-4caa-b85b-aa33ef124b9a
    	linux16	/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.
    #
    menuentry "IBM DOS on sda1, by chainloader" {
    set root=(hd0,1)
    chainloader +1
    }
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/40_custom.old ###
    # 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.old ###
    --------------------------------------------------------------------------------
    
    =============================== sda5/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/sda5 during installation
    UUID=2c954092-2caf-41e0-b0d4-7618e1cbbc9c /               ext4    errors=remount-ro 0       1
    /dev/sda2       /boot           ext3    defaults        0       2
    # /home was on /dev/sda6 during installation
    UUID=43c12dbe-707f-4c60-893b-93b9b3b01e65 /home           ext4    defaults        0       2
    # swap was on /dev/sda7 during installation
    UUID=135c23e8-7a7f-4f41-ab2e-e7324686602c none            swap    sw              0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
    --------------------------------------------------------------------------------
    
    =================== sda5: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
       2.917095184 = 3.132207104    boot/grub/core.img                             1
       2.924915314 = 3.140603904    boot/grub/grub.cfg                             1
       2.166137695 = 2.325872640    boot/initrd.img-2.6.32-32-generic-pae          3
       2.258438110 = 2.424979456    boot/vmlinuz-2.6.32-32-generic-pae             2
       2.166137695 = 2.325872640    initrd.img                                     3
       2.258438110 = 2.424979456    vmlinuz                                        2
    
    ======================== Unknown MBRs/Boot Sectors/etc: ========================
    
    Unknown BootLoader on sda1
    
    00000000  eb 3c 90 49 42 4d 20 20  36 2e 30 00 02 01 01 00  |.<.IBM  6.0.....|
    00000010  02 e0 00 40 0b f0 09 00  12 00 02 00 00 00 00 00  |...@............|
    00000020  00 00 00 00 00 00 29 ce  1b 59 23 4e 4f 20 4e 41  |......)..Y#NO NA|
    00000030  4d 45 20 20 20 20 46 41  54 31 32 20 20 20 fa 33  |ME    FAT12   .3|
    00000040  c0 8e d0 bc 00 7c 16 07  bb 78 00 36 c5 37 1e 56  |.....|...x.6.7.V|
    00000050  16 53 bf 3e 7c b9 0b 00  fc f3 a4 06 1f c6 45 fe  |.S.>|.........E.|
    00000060  0f 8b 0e 18 7c 88 4d f9  89 47 02 c7 07 3e 7c fb  |....|.M..G...>|.|
    00000070  cd 13 72 79 33 c0 39 06  13 7c 74 08 8b 0e 13 7c  |..ry3.9..|t....||
    00000080  89 0e 20 7c a0 10 7c f7  26 16 7c 03 06 1c 7c 13  |.. |..|.&.|...|.|
    00000090  16 1e 7c 03 06 0e 7c 83  d2 00 a3 50 7c 89 16 52  |..|...|....P|..R|
    000000a0  7c a3 49 7c 89 16 4b 7c  b8 20 00 f7 26 11 7c 8b  ||.I|..K|. ..&.|.|
    000000b0  1e 0b 7c 03 c3 48 f7 f3  01 06 49 7c 83 16 4b 7c  |..|..H....I|..K||
    000000c0  00 bb 00 05 8b 16 52 7c  a1 50 7c e8 92 00 72 1d  |......R|.P|...r.|
    000000d0  b0 01 e8 ac 00 72 16 8b  fb b9 0b 00 be e6 7d f3  |.....r........}.|
    000000e0  a6 75 0a 8d 7f 20 b9 0b  00 f3 a6 74 18 be 9e 7d  |.u... .....t...}|
    000000f0  e8 5f 00 33 c0 cd 16 5e  1f 8f 04 8f 44 02 cd 19  |._.3...^....D...|
    00000100  58 58 58 eb e8 8b 47 1a  48 48 8a 1e 0d 7c 32 ff  |XXX...G.HH...|2.|
    00000110  f7 e3 03 06 49 7c 13 16  4b 7c bb 00 07 b9 03 00  |....I|..K|......|
    00000120  50 52 51 e8 3a 00 72 d8  b0 01 e8 54 00 59 5a 58  |PRQ.:.r....T.YZX|
    00000130  72 bb 05 01 00 83 d2 00  03 1e 0b 7c e2 e2 8a 2e  |r..........|....|
    00000140  15 7c 8a 16 24 7c 8b 1e  49 7c a1 4b 7c ea 00 00  |.|..$|..I|.K|...|
    00000150  70 00 ac 0a c0 74 29 b4  0e bb 07 00 cd 10 eb f2  |p....t).........|
    00000160  3b 16 18 7c 73 19 f7 36  18 7c fe c2 88 16 4f 7c  |;..|s..6.|....O||
    00000170  33 d2 f7 36 1a 7c 88 16  25 7c a3 4d 7c f8 c3 f9  |3..6.|..%|.M|...|
    00000180  c3 b4 02 8b 16 4d 7c b1  06 d2 e6 0a 36 4f 7c 8b  |.....M|.....6O|.|
    00000190  ca 86 e9 8a 16 24 7c 8a  36 25 7c cd 13 c3 0d 0a  |.....$|.6%|.....|
    000001a0  4e 6f 6e 2d 53 79 73 74  65 6d 20 64 69 73 6b 20  |Non-System disk |
    000001b0  6f 72 20 64 69 73 6b 20  65 72 72 6f 72 0d 0a 52  |or disk error..R|
    000001c0  65 70 6c 61 63 65 20 61  6e 64 20 70 72 65 73 73  |eplace and press|
    000001d0  20 61 6e 79 20 6b 65 79  20 77 68 65 6e 20 72 65  | any key when re|
    000001e0  61 64 79 0d 0a 00 49 42  4d 42 49 4f 20 20 43 4f  |ady...IBMBIO  CO|
    000001f0  4d 49 42 4d 44 4f 53 20  20 43 4f 4d 00 00 55 aa  |MIBMDOS  COM..U.|
    00000200
    
    Unknown BootLoader on sda3
    
    00000000  cc 3b 48 04 73 26 89 54  88 08 8b 4d d0 ff 15 b0  |.;H.s&.T...M....|
    00000010  9a 62 54 85 c0 75 d3 c7  45 e4 00 00 00 00 c7 45  |.bT..u..E......E|
    00000020  e8 fc 00 00 00 68 4e 3e  c8 54 eb 05 e8 e7 19 ae  |.....hN>.T......|
    00000030  ff 83 7d d0 00 74 09 8b  4d d0 ff 15 b8 9a 62 54  |..}..t..M.....bT|
    00000040  58 ff e0 8b 45 cc 8d 65  f4 5b 5e 5f 5d c3 c7 45  |X...E..e.[^_]..E|
    00000050  e8 00 00 00 00 eb ec cc  ac 5e ad ff e4 e2 2c 00  |.........^....,.|
    00000060  19 af a2 ff 55 8b ec 57  56 53 83 ec 30 8b f1 8d  |....U..WVS..0...|
    00000070  7d cc b9 09 00 00 00 33  c0 f3 ab 8b ce 33 c0 89  |}......3.....3..|
    00000080  45 e8 8b f9 8b cf e8 09  09 00 00 8b d0 b9 92 74  |E..............t|
    00000090  62 54 e8 69 19 ae ff 89  45 cc 33 f6 89 7d c8 c7  |bT.i....E.3..}..|
    000000a0  45 d4 ff ff ff ff 89 75  c4 b9 60 7c 81 54 e8 fd  |E......u..`|.T..|
    000000b0  18 ae ff 8b c8 8d 79 04  3b 0f 8b 45 c8 8d 17 e8  |......y.;..E....|
    000000c0  24 19 ae ff 8b 45 c4 8d  57 04 e8 19 19 ae ff 8b  |$....E..W.......|
    000000d0  45 d4 89 47 08 89 4d d0  8b 4d d0 ff 15 bc 9a 62  |E..G..M..M.....b|
    000000e0  54 85 c0 74 29 8d 55 d8  8b 4d d0 ff 15 c0 9a 62  |T..t).U..M.....b|
    000000f0  54 8b d6 83 c6 01 ff 75  d8 8b 4d cc e8 07 19 ae  |T......u..M.....|
    00000100  ff 8b 4d d0 ff 15 bc 9a  62 54 85 c0 75 d7 c7 45  |..M.....bT..u..E|
    00000110  e4 00 00 00 00 c7 45 e8  fc 00 00 00 68 40 3f c8  |......E.....h@?.|
    00000120  54 eb 00 83 7d d0 00 74  09 8b 4d d0 ff 15 c4 9a  |T...}..t..M.....|
    00000130  62 54 58 ff e0 8b 45 cc  8d 65 f4 5b 5e 5f 5d c3  |bTX...E..e.[^_].|
    00000140  c7 45 e8 00 00 00 00 eb  ec cc cc cc 12 e2 2c 00  |.E............,.|
    00000150  34 ae a2 ff 55 8b ec 57  56 83 ec 08 33 c0 89 45  |4...U..WV...3..E|
    00000160  f4 89 45 f0 8b f1 85 f6  0f 84 c2 a4 35 00 8b 06  |..E.........5...|
    00000170  3b 05 b0 78 62 54 bf 00  00 00 00 0f 44 fe 85 ff  |;..xbT......D...|
    00000180  74 48 33 d2 89 55 f0 8d  45 f4 50 8d 55 f0 8b cf  |tH3..U..E.P.U...|
    00000190  e8 47 0f 00 00 85 c0 0f  84 bf a4 35 00 8b 45 f0  |.G.........5..E.|
    000001a0  3b 47 08 0f 8c b3 a4 35  00 83 7d f4 00 0f 8c 07  |;G.....5..}.....|
    000001b0  a4 35 00 81 7d f4 ff ff  10 00 0f 8f fa a3 00 d1  |.5..}...........|
    000001c0  7b 17 83 fe ff ff 02 00  00 00 00 00 54 02 00 fe  |{...........T...|
    000001d0  ff ff 05 fe ff ff 02 00  54 02 00 38 a4 0b 00 00  |........T..8....|
    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
    
    
    ========= Devices which don't seem to have a corresponding hard drive: =========
    
    sdb sdc sdd sde
    // Don
    ---------------------------------------------------
    Toshiba P755-S5390 / Core I7 / 8 gigs

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    I know windows boot sectors have to have info on what system to boot and match the sectors that it is installed into. Since an old DOS perhaps it did start at sector 1. XP and Linux until recently started at sector 63. Then Vista & 7 moved to 2048 and the last couple of version of Ubuntu now start at 2048.

    I would try testdisk as it can rebuild a Windows boot sector.

    enable the "universe" repository to download testdisk
    System>Administration>Software Sources>Ubuntu Software.
    Maverick the software sources is System, Administration, Update Manager, settings button on lower left.

    Instructions
    http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
    http://www.cgsecurity.org/wiki/Menu_Analyse

    Most of the instructions are for repairs, you need to find the rebuild boot sector or RebuildBS instruction. I think it is at the very end of the windows repair/restore from backup of boot sector instructions, but do not remember exactly where.

    Grub will not care, as it does not use boot flag. But DOS/windows boot the partition with the boot flag (part of why partition boot sector has to be correct). So I would move the boot flag to your DOS partition.
    Last edited by oldfred; June 4th, 2011 at 01:26 AM.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    May 2007
    Location
    S. E. Arizona, USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    SOLVED Re: Lucid 10.04.02 Grub no longer discovers DOS partition

    Hi again, oldfred,

    Well, that is not the problem I have. The correct location for the boot sector is sector 0. That is where clonezilla took it from. It should have put it back there, but apparently did not. It is not a problem I have ever had before with clonezilla, at least with ext3 and ext4 partitions. So something with a fat partition has obviously put it in the wrong place. (I've never used it on a DOS (vfat) partitions prior to this.) Perhaps I should move this to the Clonezilla forums. So I will close this thread, with many thanks for all your efforts.
    // Don
    ---------------------------------------------------
    Toshiba P755-S5390 / Core I7 / 8 gigs

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •