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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-06-2012, 01:33 PM
|
#1
|
LQ Newbie
Registered: Dec 2010
Posts: 8
Rep:
|
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
|
|
|
05-06-2012, 02:11 PM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,020
|
Provide information on your hardware, particularly graphic card.
|
|
|
05-06-2012, 05:15 PM
|
#3
|
Member
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 185
Rep:
|
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
|
|
|
05-07-2012, 10:55 PM
|
#4
|
LQ Newbie
Registered: Dec 2010
Posts: 8
Original Poster
Rep:
|
further to the advice
Quote:
Originally Posted by albinard
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.
|
|
|
05-08-2012, 12:33 PM
|
#5
|
Member
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 185
Rep:
|
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?
|
|
|
05-08-2012, 01:05 PM
|
#6
|
Member
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272
Rep:
|
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.
|
|
|
05-09-2012, 12:59 PM
|
#7
|
LQ Newbie
Registered: Dec 2010
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by yars
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
|
|
|
05-25-2012, 09:11 AM
|
#8
|
LQ Newbie
Registered: Dec 2010
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by ppm2000
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
|
|
|
05-25-2012, 11:12 AM
|
#9
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,020
|
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:
|
|
|
05-27-2012, 08:46 AM
|
#10
|
LQ Newbie
Registered: Dec 2010
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by yancek
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
|
|
|
05-27-2012, 01:54 PM
|
#11
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,020
|
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.
|
|
|
05-28-2012, 02:18 AM
|
#12
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Do you have 2 windows 7 installations?
Was the 2nd installed after ubuntu as the partitions labels show a wins 7 installation at sda8.
|
|
|
All times are GMT -5. The time now is 02:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|