Page 1 of 4 123 ... LastLast
Results 1 to 10 of 39

Thread: recover grub.

  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
    350
    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.

  7. #7
    Join Date
    Sep 2012
    Beans
    16

    Re: recover grub.

    YannBuntu Here is a new one.
    http://paste.ubuntu.com/1202659/

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

    Arrow Re: recover grub.

    Much better. Now your RAID is correctly detected and activated.

    The problem now is that grub-install fails:

    Code:
    grub-install --recheck /dev/mapper/isw_dafeaicgej_Volume0
    /usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
    No path or device is specified.
    Try `/usr/sbin/grub-probe --help' for more information.
    Auto-detection of a filesystem module failed.
    Please specify the module with the option `--modules' explicitly.
    You should create a bug report here: https://bugs.launchpad.net/ubuntu/+s...grub2/+filebug

    One question: you wrote in post#1 that your server is 12.04. Are you sure? (there is apparently no 12.04 on this disk, only one 10.04)

  9. #9
    Join Date
    Sep 2012
    Beans
    16

    Re: recover grub.

    Quote Originally Posted by YannBuntu View Post
    Much better. Now your RAID is correctly detected and activated.
    You should create a bug report here: https://bugs.launchpad.net/ubuntu/+s...grub2/+filebug
    ...
    One question: you wrote in post#1 that your server is 12.04. Are you sure? (there is apparently no 12.04 on this disk, only one 10.04)
    Thanks. Ill report.
    After working boot-repair i ran gparted, and make "check" of my Volume0p1, and after reboot i dont saw
    and i see grub loader with 7 systems (5 linuxes with ??????? and 2x Memtest).
    but i saw again
    Code:
    error: incompatible license.
    grub rescue>
    What i can do now to fix my server? work is stopped :[

    Omg, now i even don't sure about version. That server was here wen i came, and old admin said that it is 12.04, but before there was 10.04.

    Thanks!

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

    Arrow Re: recover grub.

    Quote Originally Posted by uadm View Post
    Omg, now i even don't sure about version. That server was here wen i came, and old admin said that it is 12.04, but before there was 10.04.
    ok. So this must be the 10.04 one.

    Let's try to fix it manually:

    1) boot on your Ubuntu-Secure CD
    2) choose "Try Ubuntu"
    3) open a terminal (Ctrl+Alt+T)
    4) type the following commands one by one:
    Code:
    sudo mount /dev/mapper/isw_dafeaicgej_Volume0p1 /mnt
    for w in dev dev/pts proc sys; do sudo mount -B /$w /mnt/$w ;done
    sudo chroot /mnt grub-install --recheck /dev/mapper/isw_dafeaicgej_Volume0
    and tell me their outputs.
    5) Reboot and tell me if better

Page 1 of 4 123 ... 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
  •