LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-06-2012, 12:33 PM   #1
ppm2000
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Rep: Reputation: 0
dual boot--win7 and ubuntu 12.04 -ubuntu not booting


i have tried dual boot win7 and ubuntu 12.04 -details bellow
1)1st win7 was installed
2)in extended partition- with root and swap partitions ubuntu 12.04 was installed from live cd.
after completion of the ubuntu install on reboot got the boot choice screen --on selecting either win7 -nothing happening
--on ubuntu selection-got the screen with username/passord screen but on entering the same nothing after that only black screen with cuusor,
1)tried to use the boot-repair command after installing the same thru live cd, still nothing
2)tried super grub live cd--attempted to repair, got the windows7 loading, but the ubuntu is still doing the same--
that is, after entering the user name/password -only black screen. can you suggest what corrective actions to take please?-pravin
 
Old 05-06-2012, 01:11 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,505

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Provide information on your hardware, particularly graphic card.
 
Old 05-06-2012, 04:15 PM   #3
albinard
Member
 
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 185

Rep: Reputation: 59
You might try a sort of fast-fix:
Boot the LiveCD
Mount the Ubuntu partition: sudo mount /dev/sdaX /mnt (X being the Ubuntu partition number)
Run grub-install: sudo grub-install --root-directory=/mnt/ /dev/sda
Reboot, then run sudo update-grub
 
Old 05-07-2012, 09:55 PM   #4
ppm2000
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Original Poster
Rep: Reputation: 0
further to the advice

Quote:
Originally Posted by albinard View Post
You might try a sort of fast-fix:
Boot the LiveCD
Mount the Ubuntu partition: sudo mount /dev/sdaX /mnt (X being the Ubuntu partition number)
Run grub-install: sudo grub-install --root-directory=/mnt/ /dev/sda
Reboot, then run sudo update-grub
i tried this, but after first line of command the display said==unable to find sda5 look in , the main words were-- etc or fstab
while i am able to manually mount the sda5 and the installation folders are visible there.
also i tried to do boot-repair thru live cd. and the end note said quote this for further advice
==http:://paste.ubuntu.com/973948==
also after the boot-repair finish tried to select load unbuntu option on boot choice screen ==it advanced upto the username /password input screen on entering the username/password --black screen with cursor.
 
Old 05-08-2012, 11:33 AM   #5
albinard
Member
 
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 185

Rep: Reputation: 59
Maybe it would help to see what is actually on your hard drive in the way of partitions. To do that, you can boot the LiveCD, and in a terminal run:
sudo parted /dev/sda print
That will give you the view of what is where on your hard drive, so when you do the fast-fix you can pick the correct partition.
By the way, I hope it isn't a matter of hda vs. sda?
 
Old 05-08-2012, 12:05 PM   #6
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 249

Rep: Reputation: 24
Quote:
sudo parted /dev/sda print
Or sudo fdisk -l...
Quote:
after entering the user name/password -only black screen
Also, this is possible if you a video card does not identified correctly. Do you have a file /var/log/Xorg.0.log? If so, provide it, please.
 
Old 05-09-2012, 11:59 AM   #7
ppm2000
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yars View Post
Or sudo fdisk -l...

Also, this is possible if you a video card does not identified correctly. Do you have a file /var/log/Xorg.0.log? If so, provide it, please.
before installing, i tried it in the live cd and all operations were normal ,
and have to go out of town for 2weeks due to my my work schedule, will revert back after that. -pravin
 
Old 05-25-2012, 08:11 AM   #8
ppm2000
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ppm2000 View Post
before installing, i tried it in the live cd and all operations were normal ,
and have to go out of town for 2weeks due to my my work schedule, will revert back after that. -pravin
hi, back home today.
tried to do as suggested, got this back on the screen
on: sudo mount /dev/sda5/mnt
cant find /dev/sda5/mnt in /etc/fstab or /etc/mtab
2)also tried to run fdisk -l
report is attached
if i open sda5 manually the ubuntu folders are visible there
Attached Files
File Type: txt ubuntu_screen.txt (1.2 KB, 18 views)
 
Old 05-25-2012, 10:12 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,505

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Quote:
sudo mount /dev/sda5/mnt
You entered the above command incorrectly which is why you got the message showing. Correct way needs a space before /mnt like:

Quote:
sudo mount /dev/sda5 /mnt
You seem to be able to do this already. If you are using the Grub bootloader for Ubuntu and get to the login screen from its boot menu, it is probably not a bootloader problem. More likely graphics. Try running the command below to get output on your graphics card to post:

Quote:
lspci -v | grep -i vga
 
Old 05-27-2012, 07:46 AM   #10
ppm2000
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
You entered the above command incorrectly which is why you got the message showing. Correct way needs a space before /mnt like:



You seem to be able to do this already. If you are using the Grub bootloader for Ubuntu and get to the login screen from its boot menu, it is probably not a bootloader problem. More likely graphics. Try running the command below to get output on your graphics card to post:
tried to do that, but i got some error,
on 1st attempt the note said confirm the device for grub is mounted--then i had typed sda5-- so tried again with only sda but the note said it is already mounted.
tried to run the update grub command--no success
what i typed and got back is attached.
2) in the 2nd part of advice--for the details of graphic card--the command includes a verticle line or bar --how do i type that--please explain.
==ppm
Attached Files
File Type: txt report1.txt (557 Bytes, 10 views)
 
Old 05-27-2012, 12:54 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,505

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
The problem you initially reported was not being unable to boot Ubuntu from Grub. You said you could boot Ubuntu but had a black screen. I don't see how reinstalling the Grub bootloader is going to change that.

If you are using a Live CD of Ubuntu to run the update-grub command, it won't work. It's a read-only filesystem and to reinstall Grub, use the command given above by albinard. You need to make sure it is mounted as you need to mount every time you reboot. In the txt file you posted, this was accomplished using: sudo mount /dev/sda5 /mnt

Quote:
sudo grub-install --root-directory=/mnt/ /dev/sda
Again, Grub doesn't seem to be your problem as you indicated from the beginning you could boot Ubuntu but could not see the screen.

Quote:
in the 2nd part of advice--for the details of graphic card--the command includes a verticle line or bar --how do i type that--please explain.
On my keyboard, American-English it is above-right of the Enter key. You need to hold the shift key down at the same time.
 
Old 05-28-2012, 01:18 AM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Do you have 2 windows 7 installations?
Was the 2nd installed after ubuntu as the partitions labels show a wins 7 installation at sda8.
 
  


Reply



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
[SOLVED] Win7 Ubuntu 11.04 dual boot-Unable to set up. michaelproctorr Linux - Newbie 2 06-06-2011 10:35 AM
Sharing files from a dual boot Ubuntu/Fedora with Win7 brizboy Linux - Server 4 01-26-2011 07:34 PM
Dual boot problem with Win7 and Ubuntu n7mog Linux - Newbie 5 01-26-2011 12:28 AM
[SOLVED] dual boot Ubuntu meerkat and win7 johnh10000 Linux - General 3 01-09-2011 03:21 AM
[SOLVED] Lost my dual boot Win7 and Ubuntu in new install b75025 Linux - Newbie 1 07-16-2010 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 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
Open Source Consulting | Domain Registration