Find the answer to your Linux question:
Results 1 to 6 of 6
After successfully reinstalled windows 7 without reformat, I was unable to boot into ubuntu 12.04 OS. The error message was : <initramfs> Unable to find a medium containing a live ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    lzb
    lzb is offline
    Just Joined!
    Join Date
    Jan 2014
    Posts
    3

    Unable to Mount into Ubuntu 12.04


    After successfully reinstalled windows 7 without reformat, I was unable to boot into ubuntu 12.04 OS.

    The error message was :
    <initramfs> Unable to find a medium containing a live file system

    My pc is a dual-boot machine which consist of windows 7 pro and ubuntu 12.04.

    Please guide me to resolve this problem, thank you.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    A standard installation of windows will overwrite the code in the master boot record. You won't be asked or informed that this is happening. In order to boot a Linux distribution from windows you will need third party software such as EasyBCD. Or you could reinstall Grub for Ubuntu which should enable you to boot both. See the link below which explains how to do this from the medium you used to install Ubuntu:

    https://help.ubuntu.com/community/Gr...iveCD_terminal

  3. #3
    lzb
    lzb is offline
    Just Joined!
    Join Date
    Jan 2014
    Posts
    3
    hi yancheck, following your link and following the steps with live CD terminal,
    an error message return as follows,
    mount: mount point /mnt/boot does not exist

  4. #4
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    924
    Quote Originally Posted by lzb View Post
    hi yancheck, following your link and following the steps with live CD terminal,
    an error message return as follows,
    mount: mount point /mnt/boot does not exist
    If no /mnt/boot they just create one and mount to it. It will just be an empty directory after you unmount or reboot.

  5. #5
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    Did you create a separate /boot partition? If you just have a root partition for the Ubuntu system files, you would need to change it. First as suggested above, create a mount point. In the examples below, I am using sda4 so you will need to change that to whatever your root partition is. After typing each line, hit the Enter key

    sudo mkdir /mnt/sda4
    sudo mount -t ext4 /dev/sda4 /mnt/sda4
    sudo grub-install --root-directory=/mnt/sda4 /dev/sda
    If that doesn't work for some reason, post back and also post the output of this command: sudo fdisk -l(Lower case Letter L in the command).

  6. #6
    lzb
    lzb is offline
    Just Joined!
    Join Date
    Jan 2014
    Posts
    3
    Quote Originally Posted by yancek View Post
    If that doesn't work for some reason, post back and also post the output of this command: sudo fdisk -l(Lower case Letter L in the command).
    sudo grub-install --root-directory=/mnt/sda4 /dev/sda4
    grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition, this is BAD idea..
    grub-setup: warn: Embedding is not possible GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discourage..
    grub-setup: error: will not proceed with blocklists.

    sudo fdisk -l
    Disk /dev /sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 64 sectors/track, 121601 cylinders, total 1953525168 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: 0x00003947
    Device Boot Start End Blocks Id System
    /dev/sda1 2048 206847 102400 7 HPFS/NTFS/exFAT
    /dev/sda2 * 976762880 1492686039 257961580 7 HPFS/NTFS/exFAT
    /dev/sda3 208894 976762879 488276993 5 Extended
    /dev/sda4 1492686848 1953523711 230418432 83 Linux
    /dev/sda5 208896 951601151 475696128 83 Linux
    /dev/sda6 951603200 976762879 12579840 82 Linux swap / Solaris

    Partition Table entries are not in disk order

Posting Permissions

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