Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
Hi all, Dual boot Ubuntu 12.04 64bit Fedora 17 64bit After running update and upgrade on Ubuntu, on reboot it doesn't popup grub windown automatically. I have to hit left-shift ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763

    Fedora gone after running update and upgrade on Ubuntu


    Hi all,

    Dual boot
    Ubuntu 12.04 64bit
    Fedora 17 64bit

    After running update and upgrade on Ubuntu, on reboot it doesn't popup grub windown automatically. I have to hit left-shift key to start it but Fedora gone.

    Start Ubuntu
    -> Home
    Fedora mounted
    (see attached file : Screenshot_fadora.png)
    but unable to find /boot/menu.lst

    grub also mounted
    (see attached file : Screenshot_grub.png)

    Please help. TIA


    B.R.
    satimis
    Attached Images Attached Images

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi satimis !

    That's strange. Could you post partition structure of you disk? Do both distros share /boot partition?
    Execute this in Ubuntu :
    Code:
    sudo update-grub2
    Does it detect Fedora OS and update GRUB Menu?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763
    Quote Originally Posted by devils casper View Post
    Hi satimis !

    That's strange. Could you post partition structure of you disk? Do both distros share /boot partition?
    Execute this in Ubuntu :
    Code:
    sudo update-grub2
    Does it detect Fedora OS and update GRUB Menu?
    On Ubuntu 12.04
    ===============

    $ sudo update-grub2
    [sudo] password for satimis:
    Code:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.2.0-29-generic
    Found initrd image: /boot/initrd.img-3.2.0-29-generic
    Found linux image: /boot/vmlinuz-3.2.0-23-generic
    Found initrd image: /boot/initrd.img-3.2.0-23-generic
    Found memtest86+ image: /boot/memtest86+.bin
    done
    No further action.

    $ sudo fdisk -l
    Code:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x000bfde6
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   153602047    76800000   83  Linux
    /dev/sda2       296333310   312580095     8123393    5  Extended
    /dev/sda3       153602048   154626047      512000   83  Linux
    /dev/sda4       154626048   296331263    70852608   8e  Linux LVM
    /dev/sda5       296333312   312580095     8123392   82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    
    Disk /dev/mapper/vg-lv_swap: 10.3 GB, 10267656192 bytes
    255 heads, 63 sectors/track, 1248 cylinders, total 20054016 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/vg-lv_swap doesn't contain a valid partition table
    
    Disk /dev/mapper/vg-lv_home: 20.7 GB, 20736638976 bytes
    255 heads, 63 sectors/track, 2521 cylinders, total 40501248 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/vg-lv_home doesn't contain a valid partition table
    
    Disk /dev/mapper/vg-lv_root: 41.5 GB, 41540386816 bytes
    255 heads, 63 sectors/track, 5050 cylinders, total 81133568 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/vg-lv_root doesn't contain a valid partition table
    Now I can't start Fedora 17. The latest record;

    $ sudo fdisk -l
    Code:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x000bfde6
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   153602047    76800000   83  Linux
    /dev/sda2       296333310   312580095     8123393    5  Extended
    /dev/sda3       153602048   154626047      512000   83  Linux
    /dev/sda4       154626048   296331263    70852608   8e  Linux LVM
    /dev/sda5       296333312   312580095     8123392   82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    
    Disk /dev/mapper/vg-lv_swap: 10.3 GB, 10267656192 bytes
    255 heads, 63 sectors/track, 1248 cylinders, total 20054016 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/vg-lv_swap doesn't contain a valid partition table
    
    Disk /dev/mapper/vg-lv_home: 20.7 GB, 20736638976 bytes
    255 heads, 63 sectors/track, 2521 cylinders, total 40501248 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/vg-lv_home doesn't contain a valid partition table
    
    Disk /dev/mapper/vg-lv_root: 41.5 GB, 41540386816 bytes
    255 heads, 63 sectors/track, 5050 cylinders, total 81133568 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/vg-lv_root doesn't contain a valid partition table

    First I installed Ubuntu 12.04 taking up the whole HD. Then I installed Fedora 17 on the same HD after resizing the partition of Ubuntu 12.04. Unfortunately I installed Fedora as LVM and Ubuntu without LVM.

    $ sudo fdisk -l (Ubuntun before)
    Code:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x000bfde6
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   153602047    76800000   83  Linux
    /dev/sda2       296333310   312580095     8123393    5  Extended
    /dev/sda3       153602048   154626047      512000   83  Linux
    /dev/sda4       154626048   296331263    70852608   8e  Linux LVM
    /dev/sda5       296333312   312580095     8123392   82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    Therefore on Fedora I can detect/mount Ubuntu but not vice versa.

    So on Ubuntu I ran;
    sudo apt-get install lvm2
    sudo vgchange -ay

    Then on Ubuntu I can mount Fedora with copy/paste working. Dual boot also worked without problem.

    Afterwards on Ubuntu I ran update and upgrade. It became the present situation.

    There is a thread relating to "Fedora login gone after Ubuntu updates on a dual boot"
    grub2 - Fedora login gone after Ubuntu updates on a dual boot - Ask Ubuntu

    But I couldn't find /boot/menu.lst

    B.R.
    satimis

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Check /dev/sda3 partition. Its /boot partition of Fedora. Check if files exist in that partition.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763
    Quote Originally Posted by devils casper View Post
    Check /dev/sda3 partition. Its /boot partition of Fedora. Check if files exist in that partition.
    My problem is I can't start Fedora.

    On the screenshot_fedora.jpg

    /boot/
    is emtyp

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Mount /dev/sda3 partition in Ubuntu. LVM system, a separate /boot partition is required to keep kernel and other boot conf files. Have you checked /dev/sda3 in Ubuntu?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763
    Quote Originally Posted by devils casper View Post
    Mount /dev/sda3 partition in Ubuntu. LVM system, a separate /boot partition is required to keep kernel and other boot conf files. Have you checked /dev/sda3 in Ubuntu?
    $ sudo mount /dev/sda3 /mnt
    $ ls /mnt/
    Code:
    config-3.3.4-5.fc17.x86_64         initramfs-3.5.4-1.fc17.x86_64.img
    config-3.5.3-1.fc17.x86_64         lost+found
    config-3.5.4-1.fc17.x86_64         memtest86+-4.20
    efi                                System.map-3.3.4-5.fc17.x86_64
    elf-memtest86+-4.20                System.map-3.5.3-1.fc17.x86_64
    grub                               System.map-3.5.4-1.fc17.x86_64
    grub2                              vmlinuz-3.3.4-5.fc17.x86_64
    initramfs-3.3.4-5.fc17.x86_64.img  vmlinuz-3.5.3-1.fc17.x86_64
    initramfs-3.5.3-1.fc17.x86_64.img  vmlinuz-3.5.4-1.fc17.x86_64
    Fedora 17 found

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Ubuntu's GRUB2 should have detected Fedora. All of its boot files are intact. Have you tried to re-install Fedora's GRUB?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763
    Quote Originally Posted by devils casper View Post
    Ubuntu's GRUB2 should have detected Fedora. All of its boot files are intact. Have you tried to re-install Fedora's GRUB?
    No,

    Can I re-generate it?

    Thanks

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    It possible to re-install GRUB2 of Fedora but I have never done it. Lets try to edit Ubuntu's grub.cfg file to add an entry of Fedora. Post the contents of Fedora's grub.cfg file here.
    Code:
    sudo mount /dev/sda3 /mnt
    cd /mnt/grub2
    ls
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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