Results 1 to 10 of 39

Thread: recover grub.

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Beans
    16

    recover grub.

    Hello dear members.
    I wanna ask your help in my grub problem.
    Story: I have Ubuntu 12.04 Server, and wanted to install lm-sensors, but its don't locate any sensors in my system. I read here, that there is a chance that ic can be fixed if ill modify
    Code:
    /etc/default/grub
    with
    Code:
    GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax"
    and than
    Code:
    sudo update-grub2
    . Bu it killed my grub. After reboot i got blackscreen and reboot after login + password.
    I tried to fix it with
    Code:
    boot-repair
    , but it totally killed grub, and i cant start more, all i have is
    Code:
    grub rescue>
    So i run live-cd and tried to reinstall grub like discribed in that article:
    http://odzangba.wordpress.com/2011/05/14/455/
    Code:
    fdisk -l shows
    Code:
    Disk /dev/mapper/isw_dafeaicgej_Volume0: 250.1 GB, 250056151040 bytes
    255 heads, 63 sectors/track, 30400 cylinders, total 488390920 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000513a8
    
                                  Device Boot      Start         End      Blocks   Id  System
    /dev/mapper/isw_dafeaicgej_Volume0p1   *        2048   470753279   235375616   83  Linux
    /dev/mapper/isw_dafeaicgej_Volume0p2       470755326   488390655     8817665    5  Extended
    /dev/mapper/isw_dafeaicgej_Volume0p5       470755328   488390655     8817664   82  Linux swap / Solaris
    
    Disk /dev/mapper/isw_dafeaicgej_Volume0p1: 241.0 GB, 241024630784 bytes
    255 heads, 63 sectors/track, 29302 cylinders, total 470751232 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/mapper/isw_dafeaicgej_Volume0p1 doesn't contain a valid partition table
    
    Disk /dev/mapper/isw_dafeaicgej_Volume0p2: 9029 MB, 9029288960 bytes
    255 heads, 63 sectors/track, 1097 cylinders, total 17635330 sectors
    Units = sectors of 1 * 512 = 512 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/mapper/isw_dafeaicgej_Volume0p2p1               2    17635329     8817664   82  Linux swap / Solaris
    
    Disk /dev/mapper/isw_dafeaicgej_Volume0p5: 9029 MB, 9029287936 bytes
    255 heads, 63 sectors/track, 1097 cylinders, total 17635328 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/mapper/isw_dafeaicgej_Volume0p5 doesn't contain a valid partition table
    
    Disk /dev/sdc: 8103 MB, 8103395328 bytes
    196 heads, 32 sectors/track, 2523 cylinders, total 15826944 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xc3072e18
    Volume0 its my raid1.

    Code:
    sudo grub-install --root-directory=/mnt /dev/mapper/isw_dafeaicgej_Volume0
    Tell me that all was fine, no errors, than i umount partition, rebooting. and i see grub loader with 7 systems (5 linuxes with ??????? and 2x Memtest).

    Please. Help me to recover my system, you are my last hope.
    Sorry for my bad English.
    Thanks.

  2. #2
    Join Date
    Apr 2010
    Beans
    39

    Re: Please, help me to recover grub.

    I have nerver used a raid, but if you have one i think that you should activate it before reparing grub.

    Look these links, i think they may be useful for you:

    http://askubuntu.com/questions/19789...ows-7-wiped-it
    https://help.ubuntu.com/community/Gr...ub2/Installing


    Good luck!

  3. #3
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Please, help me to recover grub.

    Please indicate your Boot-Info URL. https://help.ubuntu.com/community/Boot-Info

  4. #4
    Join Date
    Jul 2007
    Location
    Hamilton Canada
    Beans
    356
    Distro
    Ubuntu Development Release

    Re: Please, help me to recover grub.

    I have used this repair disk 3 or 4 times has always worked all the best.

    http://sourceforge.net/p/boot-repair/home/Home/
    Bill and so it goes

  5. #5
    Join Date
    Sep 2012
    Beans
    16

    Re: Please, help me to recover grub.

    Thanks for answers, guys!
    ibbill ive tried it in first case, it not works for me, like now.
    YannBuntuhttp://paste.ubuntu.com/1202543/ here it is.
    Boot repair said me, that there is no OS found.

  6. #6
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Please, help me to recover grub.

    Quote Originally Posted by uadm View Post
    You have RAID, and Boot-Repair-Disk is based on Debian stable which has too old RAID drivers.

    Please use Boot-Repair from a 64bit Ubuntu-Secure disk. And tell us the new URL that will appear.

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
  •