LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2014, 10:41 PM   #1
lzb
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 01-29-2014, 02:46 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,534

Rep: Reputation: 132Reputation: 132
That's usual Windows behaviour. Put in an ubuntu cd if you have and boot from that. Maybe it offers you a sort of rescue mode that enables you to repair the booting. I do not know the exact procedure in 12.04 but it should work rather easily. Maybe you have to follow the install procedure until Ubuntu detects that there already is a working installation...

Good luck
j

+ Welcome to LQ, lzb!

Last edited by j-ray; 01-29-2014 at 02:50 AM.
 
Old 01-29-2014, 06:29 PM   #3
albinard
Member
 
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 183

Rep: Reputation: 58
If you still have the Live 12.04 CD (or DVD), boot from it and follow this process:

Mount the Ubuntu partition: sudo mount /dev/sdaX /mnt

Run grub-install: sudo grub-install –root-directory=/mnt/ /dev/sda

Reboot, then run sudo update-grub

The reinstallation of Windows reset the boot order and hid your Ubuntu partition. This will bring it to the fore.
 
Old 01-29-2014, 09:22 PM   #4
lzb
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you j-ray, albinard
after entering the command, an error popup

sudo grub-install --root-directory-/mnt /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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount Windows share in Ubuntu m0by Linux - Networking 4 08-14-2013 12:55 PM
ubuntu 11.10 cdrom/dvd unable to mount israel Linux - Newbie 14 01-13-2012 01:49 AM
Unable to mount a network drive on Ubuntu 10.04 suryaemlinux Ubuntu 1 11-09-2010 02:34 PM
Unable to mount external HD on Dell Mini/Ubuntu 8.04 jdb777 Linux - Newbie 3 12-30-2009 05:42 PM
Unable to mount new usb hdd on ubuntu laptop vrata Linux - Hardware 1 09-26-2009 03:29 PM


All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration