Page 31 of 94 FirstFirst ... 2129303132334181 ... LastLast
Results 301 to 310 of 931

Thread: Grub 2 Basics

  1. #301
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub 2 Basics

    i just got an error saying: no operating system....
    Did this happen when booting from the Window CD? Or were you able to run "Start Up Repair"? Were you able to change the boot order in the bios? Did your trying booting from Windows CD with only the Windows drive attached to the computer?

    How early did you got the "no operating system" message? Did you get to the screen with "Use recovery tools ..." ?

    Please describe exactly all the step you took and what happened.



    or is there one last thing i could try?
    Yes, there are more things one can try. But I'll wait for the answers to my question before I decide on the next move. Since your reinstalled, could you also run the boot info script again and post the new RESULTS.txt
    Last edited by meierfra.; February 7th, 2010 at 01:07 AM.

  2. #302
    Join Date
    Jul 2007
    Beans
    68

    Re: Grub 2 Basics

    Quote Originally Posted by meierfra. View Post
    Did this happen when booting from the Window CD? Or were you able to run "Start Up Repair"? Were you able to change the boot order in the bios? Did your trying booting from Windows CD with only the Windows drive attached to the computer?

    How early did you got the "no operating system" message? Did you get to the screen with "Use recovery tools ..." ?

    Please describe exactly all the step you took and what happened.




    Yes, there are more things one can try. But I'll wait for the answers to my question before I decide on the next move. Since your reinstalled, could you also run the boot info script again and post the new RESULTS.txt (it might be called RESULTS1.txt)
    Boot into script results:
    Code:
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #1 for /boot/grub.
     => Paragon is installed in the MBR of /dev/sdb
     => Windows is installed in the MBR of /dev/sdc
     => Windows is installed in the MBR of /dev/sdd
    sda1: _________________________________________________________________________
    
        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
    
    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 Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    sdb2: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sdb5: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  According to the info in the boot sector, sdb5 starts 
                           at sector 1. But according to the info from fdisk, 
                           sdb5 starts at sector 398540583.
        Operating System:  Windows 7
        Boot files/dirs:   /etc/lilo.conf /Windows/System32/winload.exe
    
    sdc1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    sdd1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 82.3 GB, 82348277760 bytes
    255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xa79fa79f
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63   154,191,869   154,191,807  83 Linux
    /dev/sda2         154,191,870   160,826,714     6,634,845   5 Extended
    /dev/sda5         154,191,933   160,826,714     6,634,782  82 Linux swap / Solaris
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disk /dev/sdb: 400.1 GB, 400088457216 bytes
    255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x01030bc9
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1    *             63   398,540,519   398,540,457   7 HPFS/NTFS
    /dev/sdb2         398,540,520   781,417,664   382,877,145   f W95 Ext d (LBA)
    /dev/sdb5         398,540,583   781,417,664   382,877,082   7 HPFS/NTFS
    
    
    Drive: sdc ___________________ _____________________________________________________
    
    Disk /dev/sdc: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x8e7c4595
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdc1                  63   488,392,064   488,392,002  42 SFS
    
    
    Drive: sdd ___________________ _____________________________________________________
    
    Disk /dev/sdd: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x44fdfe06
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdd1                  63   976,768,064   976,768,002   7 HPFS/NTFS
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/sda1        553f1a69-8331-4577-b2fc-1eac7bc6a8fe   ext4                                     
    /dev/sda5        6ee43b4c-8808-405e-83e2-45510b7fd281   swap                                     
    /dev/sdb1        D42AF0782AF058C6                       ntfs       File Drive 1                  
    /dev/sdb5        A64CD9AB4CD97711                       ntfs                                     
    /dev/sdc1        4EC067F4C067E0A7                       ntfs       Backup Disk                   
    /dev/sdd1        B426069F2606632A                       ntfs       My Book                       
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda1        /                        ext4       (rw,errors=remount-ro)
    /dev/sdd1        /media/My Book           fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=512)
    
    
    =========================== sda1/boot/grub/grub.cfg: ===========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s /boot/grub/grubenv ]; then
      have_grubenv=true
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      saved_entry=${prev_saved_entry}
      save_env saved_entry
      prev_saved_entry=
      save_env prev_saved_entry
    fi
    insmod ext2
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    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-19-generic" {
            recordfail=1
            if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    	set quiet=1
    	insmod ext2
    	set root=(hd0,1)
    	search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    	linux	/boot/vmlinuz-2.6.31-19-generic root=UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe ro   quiet splash
    	initrd	/boot/initrd.img-2.6.31-19-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
            recordfail=1
            if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    	insmod ext2
    	set root=(hd0,1)
    	search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    	linux	/boot/vmlinuz-2.6.31-19-generic root=UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe ro single 
    	initrd	/boot/initrd.img-2.6.31-19-generic
    }
    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=(hd0,1)
    	search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe 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=(hd0,1)
    	search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe 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 ###
    
    =============================== sda1/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/sda1 during installation
    UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=6ee43b4c-8808-405e-83e2-45510b7fd281 none            swap    sw              0       0
    /dev/scd1       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
    
    ============================= sdb5/etc/lilo.conf: =============================
    
    paragon_jboot
    image=/etc/psrdisk
    label="###NdenHden"
    initrd=/etc/psr.img
    append="paragon_lang=en"
    
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################
    followed the steps to the t, I entered the command you gave me in terminal.. rebooted, changed boot order, did the startup repair with windows disk, which failed and asked me to "send to microsoft" prompt (i tried it this morning, got same error)

    I then rebooted, changed back the boot order... and error: no operating system found...

    anyway I re-installed linux (ubuntu karmic kuala)

    I still see my drive with all my files, but cant seem to boot into windows.

    I did update the mbr while in startup repair using command prompt. but it kept saying something along the the extent that it can't find any drive (i think a windows drive)

    anywhoo, what's next sir?
    Last edited by benplanet; February 7th, 2010 at 01:16 AM.

  3. #303
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub 2 Basics

    While I'm writing up the instructions for manually repairing the Windows boot loader, could you run the boot infos script again and post the RESULTS.txt?

  4. #304
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub 2 Basics

    Boot from the Windows CD (with the windows drive first in the boot order).
    At the screen with the "Startup Repair" choose "Command Prompt"
    Type


    Code:
     diskpart
    and then at the 'diskpart' prompt:

    Code:
     list volume
    This will list the drive letters for all the 'NTFS' and 'Fat' partitions on your computer. Determine the drive letter for your Windows 7 partition. In the following I'll assume it is "C:". If the drive letter of your Window 7 partition is different, you need to replace all "C:" accordingly. Also determine the drive letter for the CDrom drive, I'll assume that is "E:". Type

    Code:
     exit
    to exit the ``diskpart'' prompt.

    Type

    Code:
    copy E:\bootmgr C:\
    
    mkdir C:\BOOT
    
    copy E:\BOOT C:\BOOT 
    
    bcdedit /store C:\boot\bcd /set {default} osdevice boot
    
    bcdedit /store C:\boot\bcd /set {default} device boot
    
    bcdedit /store C:\boot\bcd /set {default} path \Windows\system32\winload.exe
    
    bcdedit /store C:\boot\bcd /set {bootmgr} device boot
    
    bcdedit /store C:\boot\bcd /set {memdiag} device boot
    Depending on the DVD you are using you might also have to type the following three lines

    Code:
    bcdedit /store C:\boot\bcd /deletevalue  {default} detecthal 
    
    bcdedit /store C:\boot\bcd /deletevalue  {default} winpe
    
    bcdedit /store C:\boot\bcd /deletevalue  {default} ems
    Just go ahead and type those three lines. But you might get an "element not found" warning, which you can ignore.


    Reboot with the Bios set to boot from Ubuntu drive.
    Boot into Ubuntu. (make sure that The Universe Repository is enabled in Systmem->Administration->Software Sources. Then install and run "testdisk via

    Code:
    sudo apt-get install testdisk
    sudo testdisk /dev/sdb
    Press "enter" to "proceed"
    Press "enter" to select "intel"
    Use the "down arrow" and "enter" to select "advanced"
    Use the down error to select the "Windows 7" partition and then "enter" to select "boot"
    Use the "right arrow" key and "enter" to select "Rebuild BS"
    Once done just follow the instruction on the screen to save the new boot sector and quit testdisk.

    Code:
    sudo update-grub
    Reboot and hope for the best.
    Last edited by meierfra.; February 7th, 2010 at 01:32 AM.

  5. #305
    Join Date
    Jul 2007
    Beans
    68

    Re: Grub 2 Basics

    I don't think that really worked, when i reboot, it goes straight to ubuntu, doesn't even show grub.

    here is a short vid of the last step i did in terminal:

    http://www.youtube.com/watch?v=uKeUHrh30t4


    I forgot to mention this but i was running a 64bit version of win 7, and this version of ubuntu is also 64bit.

    there seems to be something wrong.. i did use a software to build the windows partition which was a 400GB disk which i split in half, one side for backup and the other side to host win 7.

  6. #306
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub 2 Basics

    I'm really surprised that testdisk did not fix this problem:

    According to the info in the boot sector, sdb5 starts
    at sector 1. But according to the info from fdisk,
    sdb5 starts at sector 398540583.

    Then i reboot, it goes straight to ubuntu, doesn't even show grub.
    Did you run "sudo update-grub" yet and rebooted after that?
    If not, do it now.
    If yes, run the boot info script and post the RESULTS.txt again.

  7. #307
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub 2 Basics

    I forgot to ask:

    I did use a software to build the windows partition which was a 400GB disk which i split in half, one side for backup and the other side to host win 7.
    Were you able to boot into Window 7 before you installed Ubuntu?

  8. #308
    Join Date
    Jul 2007
    Beans
    68

    Re: Grub 2 Basics

    I was able to boot into windows just fine. Had 2 entries in there, one for the old win 7 setup (noew linux) and one for the newer and stable setup (a partition of my 400GB drive) which i really need to access

    I did run update-grub multiple times, no signs of windows yet.

    should i try manually add the windows entrie to the grub config file??

    Code:
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #1 for /boot/grub.
     => Paragon is installed in the MBR of /dev/sdb
     => Windows is installed in the MBR of /dev/sdc
     => Windows is installed in the MBR of /dev/sdd
    sda1: _________________________________________________________________________
    
        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
    
    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 Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /bootmgr /BOOT/bcd
    
    sdb2: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sdb5: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files/dirs:   /etc/lilo.conf /Windows/System32/winload.exe
    
    sdc1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    sdd1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 82.3 GB, 82348277760 bytes
    255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xa79fa79f
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63   154,191,869   154,191,807  83 Linux
    /dev/sda2         154,191,870   160,826,714     6,634,845   5 Extended
    /dev/sda5         154,191,933   160,826,714     6,634,782  82 Linux swap / Solaris
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disk /dev/sdb: 400.1 GB, 400088457216 bytes
    255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x01030bc9
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1    *             63   398,540,519   398,540,457   7 HPFS/NTFS
    /dev/sdb2         398,540,520   781,417,664   382,877,145   f W95 Ext d (LBA)
    /dev/sdb5         398,540,583   781,417,664   382,877,082   7 HPFS/NTFS
    
    
    Drive: sdc ___________________ _____________________________________________________
    
    Disk /dev/sdc: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x8e7c4595
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdc1                  63   488,392,064   488,392,002  42 SFS
    
    
    Drive: sdd ___________________ _____________________________________________________
    
    Disk /dev/sdd: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x44fdfe06
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdd1                  63   976,768,064   976,768,002   7 HPFS/NTFS
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/sda1        553f1a69-8331-4577-b2fc-1eac7bc6a8fe   ext4                                     
    /dev/sda5        6ee43b4c-8808-405e-83e2-45510b7fd281   swap                                     
    /dev/sdb1        D42AF0782AF058C6                       ntfs       File Drive 1                  
    /dev/sdb5        A64CD9AB4CD97711                       ntfs                                     
    /dev/sdc1        4EC067F4C067E0A7                       ntfs       Backup Disk                   
    /dev/sdd1        B426069F2606632A                       ntfs       My Book                       
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda1        /                        ext4       (rw,errors=remount-ro)
    /dev/sr1         /media/cdrom0            udf        (ro,nosuid,nodev,utf8,user=ben)
    /dev/sdd1        /media/My Book           fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=512)
    
    
    =========================== sda1/boot/grub/grub.cfg: ===========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s /boot/grub/grubenv ]; then
      have_grubenv=true
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      saved_entry=${prev_saved_entry}
      save_env saved_entry
      prev_saved_entry=
      save_env prev_saved_entry
    fi
    insmod ext2
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    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-19-generic" {
            recordfail=1
            if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    	set quiet=1
    	insmod ext2
    	set root=(hd0,1)
    	search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    	linux	/boot/vmlinuz-2.6.31-19-generic root=UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe ro   quiet splash
    	initrd	/boot/initrd.img-2.6.31-19-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
            recordfail=1
            if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    	insmod ext2
    	set root=(hd0,1)
    	search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    	linux	/boot/vmlinuz-2.6.31-19-generic root=UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe ro single 
    	initrd	/boot/initrd.img-2.6.31-19-generic
    }
    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=(hd0,1)
    	search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe 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=(hd0,1)
    	search --no-floppy --fs-uuid --set 553f1a69-8331-4577-b2fc-1eac7bc6a8fe
    	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe 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 ###
    
    =============================== sda1/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/sda1 during installation
    UUID=553f1a69-8331-4577-b2fc-1eac7bc6a8fe /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=6ee43b4c-8808-405e-83e2-45510b7fd281 none            swap    sw              0       0
    /dev/scd1       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
    
    ============================= sdb5/etc/lilo.conf: =============================
    
    paragon_jboot
    image=/etc/psrdisk
    label="###NdenHden"
    initrd=/etc/psr.img
    append="paragon_lang=en"
    
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################################################################################
    ################=======Devices which don't seem to have a corresponding hard drive==============
    
    sde

  9. #309
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub 2 Basics

    ok some progress. The error message in RESULTS.txt for the sdb5 boot sector disappeared. Did you run "testdisk" more than once?

    You put the boot files onto /dev/sdb1, but they need to be on /dev/sdb5. I don't know why "update-grub" did not detect Window 7. Maybe because the Window 7 boot folder is called "BOOT" instead of "Boot" . So try this in Ubuntu:

    Code:
    cd /mnt
    sudo mkdir  1 5
    sudo mount /dev/sdb1 1
    sudo mount /dev/sdb5 5
    sudo mv 1/bootmgr 5/
    sudo mv 1/BOOT 5/Boot
    sudo update-grub
    if update-grub detects Window 7, reboot and try to boot Window 7.
    if not,let me know and I'll show you how to create a custom entry for Window 7.

  10. #310
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub 2 Basics

    I fixed some typos in my previous post.

Page 31 of 94 FirstFirst ... 2129303132334181 ... 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
  •