Wednesday, 5 November 2014

Ubuntu 14.04 installation problem inside Windows

Ubuntu-14.04 64 bit installation inside windows

  1. Get the iso image of ubuntu-14.04-desktop-amd64
  2. Get the wubi.exe. You can extract it from above iso file also.
  3. Keep ubuntu-14.04-desktop-amd64.iso & wubi.exe both in same directory
  4. Run wubi.exe and follow instructions, you can do it easily.
  5. Restart windows.
  6. Wait for completing installation till  restart by itself
  7. When Prompted to select Operating System you want to boot, Select ubuntu Now, Time to solve the Problem
    Serious errors were found while checking the disk for /

  8. As soon as Grub Menu appears, Press 'E' or 'e' 
    • Now you will see contents of grub.cfg
    • Find the line something like "linux /boot/vmlinuz-3.13.0-24-generic root=UUID=[bunch-of-numbers] loop=/ubuntu/disks/root.disk ro rootflags=sync quiet splash"
    • Now Replace ro with rw  
    • Press ctrl+x to boot
  9. Log In to your Ubuntu & Open Terminal.
  10. Run following coomand in terminal
    • sudo su
    • gedit
  11. Now using gedit window opened by terminal, open file '/boot/grub/grub.cfg'
  12. Now search for first occurrence of
     menuentry "Ubuntu........."{
    ...........................

    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=[bunch-of-numbers] loop=/ubuntu/disks/root.disk ro rootflags=sync quiet splash }
  13. Here too, Replace ro with rw  .
  14. You can do same for next two entries of  menuentry "....."{} as they are also to boot ubuntu in advanced mode which is rarely used.
  15. Now save and close gedit window.
  16. That's all.

Ubuntu-14.04 32 bit installation inside windows

wubi.exe is configured to insatll 64 bit ubuntu only, so when we run wubi.exe with ubuntu-14.04-desktop-i386.iso it tries to download ubuntu-14.04-desktop-amd64.iso.
  1. First of all download any Ubuntu iso , may be old, which can be installed inside windows without any problem, and install it But don't Resatrt.
  2. Now copy ubuntu-14.04-desktop-i386.iso to  C:\ubuntu\install  , if installed in C-drive, other wise in X:\ubuntu\install where X is the drive letter.
  3. Now remove the installation.iso from C:\ubuntu\install and Rename ubuntu-14.04-desktop-i386.iso to installation.iso
  4. Mount new  installation.iso and copy vmlinuz  & initrd files(name may slightly differ) to  ubuntu\install\boot. If it ask to replace both files then replace & ignore next line.
  5. Edit  ubuntu\install\boot\grub.cfg  and replace the name of vmlinuz & initrd (old name of kernel files) with new one copied. Infact need to change in three place only, 
    • line with  search ....  vmlinuz...
    • linux ...../boot/vmlinuz...
    • initrd .../boot/initrd....
  6. Now reboot  windows & if needed follow instruction of above article.
Note: It can be used for any linux based on Debian, which has nearly same directory structure in iso. I have used it for Linux Mint 17 x86 & x64, Elementry-x64  and Zorin.

No comments:

Post a Comment

Any Suggestion or Complain

Comment

Feel free to comment/suggest/criticize.

My Blog List