LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-14-2011, 01:42 PM   #1
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Rep: Reputation: 15
Ubuntu login black screen at boot up


I have ubuntu 10.04 installed inside the Window xp.I dont know what went wrong.Today,when i started ubuntu it gives the black screen for login,if i fill correct username and password still black screen is there.I need Gnome-GUI back as it was before.Please somebody help me to fix it.

Thanks in advance

amritpalpathk.blogspot.com
 
Old 07-14-2011, 03:35 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Are you saying that you were greeted with a console prompt instead of the gdm login screen?

If so, try (I'm not sure if the version you are using uses upstart or not so I will list two):

Code:
sudo service gdm restart
or

Code:
sudo /etc/init.d/gdm restart
What graphics card are you using?

Are you using a proprietary driver?

You may also want to edit the title to
Ubuntu [wubi] login black screen at boot
So people will know that you are using wubi.
 
Old 07-15-2011, 12:18 AM   #3
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
I am using Nvida graphics card
 
Old 07-15-2011, 01:06 AM   #4
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
Both commands gives the error

/usr/bin/basename :2:Syntax Error word unexpected (expecting ")")

Thanks
amritpalpathak.blogspot.com
 
Old 07-15-2011, 02:47 AM   #5
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
Well till now i am unable to fix it.I just login into black screen successfully.I can do "cd" to home folder and others too.I tried to copy my important directories from home folder to hard drive but still i gives the strange error.
I did.

sudo cp kannel /media/data
Here data is name of hard drive .It gives following error message.

/bin/cp: /:Syntax Error: word unexpected(expecting")")

Please help me to copy it so then i will again installed my ubuntu(no option left)

Thanks
amritpalpathak.blogspot.com
 
Old 07-15-2011, 08:51 AM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
You installation seems to have a weird problem.

You might be best served using an Ubuntu LiveCD to mount the partitions that contain your data and your data partition and copy the files over from there.
 
Old 07-15-2011, 11:19 AM   #7
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
Now i am using Live cd .Can you please help me how i can save my data ?
I will be greatful to you

amritpalpathak.blogspot.com
 
Old 07-15-2011, 11:27 AM   #8
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
post the output of

Code:
sudo fdisk -l
from the terminal (it is a lowercase l not a 1.)

Last edited by andrewthomas; 07-15-2011 at 11:36 AM.
 
Old 07-15-2011, 12:03 PM   #9
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4a5e4a5e

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1912 15358108+ c W95 FAT32 (LBA)
/dev/sda2 1913 19456 140921607 f W95 Ext'd (LBA)
Partition 2 does not end on cylinder boundary.
/dev/sda5 1913 3824 15358078 7 HPFS/NTFS
/dev/sda6 3825 6374 20482843+ 7 HPFS/NTFS
/dev/sda7 6375 15553 73730286 7 HPFS/NTFS
/dev/sda8 15554 18741 25600000 7 HPFS/NTFS
/dev/sda9 18741 19456 5748736 7 HPFS/NTFS


Thanks
amritpalpathak.blogspot.com
 
Old 07-15-2011, 12:16 PM   #10
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Do you know which partition contains your ubuntu installation?

If you are unsure, go to

http://bootinfoscript.sourceforge.net

follow the instructions and post the RESULTS.txt with your reply.
 
Old 07-15-2011, 12:44 PM   #11
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
Boot Info Script 0.60 from 17 May 2011


============================= Boot Info Summary: ===============================

=> Windows is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot.ini /ntldr /NTDETECT.COM /wubildr /wubildr.mbr

sda2: __________________________________________________________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe /wubildr /wubildr.mbr

sda6: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda6 starts
at sector 63.
Operating System: Windows XP
Boot files:

sda7: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda7 starts
at sector 63.
Operating System:
Boot files:

sda8: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda8 starts
at sector 1151. But according to the info from fdisk,
sda8 starts at sector 249860096.
Operating System:
Boot files: /ubuntu/winboot/wubildr /ubuntu/winboot/wubildr.mbr
/ubuntu/disks/root.disk /ubuntu/disks/swap.disk

sda8/Wubi: _____________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed: mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


sda9: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda9 starts
at sector 2048.
Operating System:
Boot files:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 63 30,716,279 30,716,217 c W95 FAT32 (LBA)
/dev/sda2 30,716,402 312,559,615 281,843,214 f W95 Extended (LBA)
/dev/sda5 30,716,404 61,432,559 30,716,156 7 NTFS / exFAT / HPFS
/dev/sda6 61,432,623 102,398,309 40,965,687 7 NTFS / exFAT / HPFS
/dev/sda7 102,398,373 249,858,944 147,460,572 7 NTFS / exFAT / HPFS
/dev/sda8 249,860,096 301,060,095 51,200,000 7 NTFS / exFAT / HPFS
/dev/sda9 301,062,144 312,559,615 11,497,472 7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 C007-5E58 vfat EXTRA
/dev/sda5 34E4F8E3E4F8A86E ntfs 7
/dev/sda6 0E68D13168D117F3 ntfs xp
/dev/sda7 8A94836194834F1F ntfs data
/dev/sda8 2E041F09041ED425 ntfs ubuntu
/dev/sda9 F8C8F0EFC8F0ACCE ntfs oracle

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda7 /media/data fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sr0 /cdrom iso9660 (ro,noatime)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

C:\wubildr.mbr = "Ubuntu"

--------------------------------------------------------------------------------

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda2

00000000 8c 02 9b e3 fe d4 d1 64 f3 57 6a a6 60 04 ce 41 |.......d.Wj.`..A|
00000010 f4 6a 37 75 fc 3f df 52 19 c7 95 fd 16 b4 07 b4 |.j7u.?.R........|
00000020 6b 79 9f a7 13 3d eb b9 ae 33 5c f9 28 0f 6a 10 |ky...=...3\.(.j.|
00000030 e3 7c 58 a1 40 15 65 4a 7b 74 be cb 56 14 ad f9 |.|X.@.eJ{t..V...|
00000040 21 42 73 b2 7a 1b b7 21 e8 8b 43 19 e6 c3 71 d7 |!Bs.z..!..C...q.|
00000050 2c 5c d7 84 22 44 6a bf c2 a4 50 9a 8a 35 0a 56 |,\.."Dj...P..5.V|
00000060 cb de bb 87 e3 8f dd 54 1e 1a d3 a8 a5 36 8d ea |.......T.....6..|
00000070 74 b7 42 22 b7 24 c3 95 9f 06 f8 36 72 d6 37 6b |t.B".$.....6r.7k|
00000080 36 a8 7c e2 a0 5b 51 db 92 36 27 17 07 96 cf cd |6.|..[Q..6'.....|
00000090 b5 b4 56 6d 53 d0 85 d8 39 bc f4 9e 40 23 6e c9 |..VmS...9...@#n.|
000000a0 cd c4 4a 6c 45 41 ec d8 ad dd db ac d7 17 12 63 |..JlEA.........c|
000000b0 75 f0 0c bc b3 9b 93 ee f8 b1 56 a4 21 b7 5b 8c |u.........V.!.[.|
000000c0 d2 cd a9 0f 65 19 37 e5 b1 d1 65 92 37 42 71 75 |....e.7...e.7Bqu|
000000d0 f6 59 51 15 b1 0a 27 ac cd 81 b2 b7 3b 5b 56 b5 |.YQ...'.....;[V.|
000000e0 46 fd 44 ba ba e9 87 15 2b 27 94 89 35 1b 85 e5 |F.D.....+'..5...|
000000f0 62 ec 6e fd e5 75 0f 3d 92 b2 6f ed a0 0d 44 91 |b.n..u.=..o...D.|
00000100 fd e3 dc 20 4b c4 18 56 4c 4f 1b 51 b2 00 28 23 |... K..VLO.Q..(#|
00000110 ff 4d d2 31 1d 3b 33 27 38 2c 6e c1 b2 86 ab 73 |.M.1.;3'8,n....s|
00000120 60 ab e7 b5 20 0e 69 e3 5b 8b fe f8 d7 3d ef aa |`... .i.[....=..|
00000130 62 95 07 30 50 d6 f5 37 77 74 2d bf 27 62 b2 72 |b..0P..7wt-.'b.r|
00000140 51 65 1c d7 ed 57 c4 19 63 72 f9 ea 3f 2c 39 a5 |Qe...W..cr..?,9.|
00000150 bc b9 4b 6f d1 5a 1f 2c 3a a3 61 45 b2 8e 8c db |..Ko.Z.,:.aE....|
00000160 86 4f 46 cb 0b 19 61 4c 56 cd 80 00 00 01 09 4b |.OF...aLV......K|
00000170 fb 07 6f e3 a5 93 0d b6 9f 46 37 a5 74 ed c2 ee |..o......F7.t...|
00000180 bb 4f 52 87 ca 38 35 b9 c2 e5 95 46 ca 58 6b 2f |.OR..85....F.Xk/|
00000190 d2 bb 39 d7 f3 9b a1 d4 c8 1b 1b f2 88 56 2b 74 |..9..........V+t|
000001a0 46 f2 f5 d0 0e 6d 4a 4e 3f 2f ed b3 71 3d f5 0c |F....mJN?/..q=..|
000001b0 d2 f2 eb d3 29 30 07 8d 5f 7c e4 33 9b 6b 00 01 |....)0.._|.3.k..|
000001c0 fe ff 07 fe ff ff 02 00 00 00 fc b0 d4 01 00 00 |................|
000001d0 c1 ff 05 fe ff ff fe b0 d4 01 76 16 71 02 00 00 |..........v.q...|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
 
Old 07-15-2011, 12:57 PM   #12
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Code:
sudo mkdir /win
sudo mount /dev/sda8 /win
sudo mkdir /vdisk
sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
Once running those commands, open up Places>Computer>Filesystem>vdisk, and you should find the contents of your root.disk in there. Now you can backup your data to external media, and reinstall Ubuntu with Wubi if you like.


You can also try running:
Code:
sudo fsck /win/ubuntu/disks/root.disk
to fix any filesystem errors that may be interfering with the boot
 
Old 07-15-2011, 01:02 PM   #13
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
it is to do from Live cd or black login screen ?
I think from black login screen but not sure.

Thanking you sir
amritpalpathak.blogspot.com
 
Old 07-15-2011, 01:04 PM   #14
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Quote:
Originally Posted by amritpalpathak View Post
it is to do from Live cd or black login screen ?
I think from black login screen but not sure.

Thanking you sir
amritpalpathak.blogspot.com
From the liveCD.

you can also

Code:
sudo mount /dev/sda7 /media/data
and copy your data to there, if that is what you choose


Then, if you still can't boot to the GUI :

Log into your ubuntu install (at the black screen) and try

Code:
sudo apt-get update && sudo apt-get install --reinstall nvidia-common
This could also apply to you:
Quote:
Originally Posted by https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia#Screen Blanks/Monitor Turns Off
Screen Blanks/Monitor Turns Off
Using a laptop with a GeForce Go card, or connecting the sole display via DVI on a dual-head system sometimes results in the screen not receiving a picture. This is caused by the driver outputting video to the VGA port on the graphics card, instead of DVI.

The usual hint that you have this problem is when you hear the startup sound but nothing appears on the screen. If you do not hear any sound, you are more than likely experiencing unrelated problems.

This is a launchpad bug about displays on digital outputs being blank when using NVIDIA binary driver, and can be resolved by editing your /etc/X11/xorg.conf file:

Switch to the console (Try using ctrl+alt+F1, or reboot and select recovery mode from the GRUB menu.)
Use your text editor to open /etc/X11/xorg.conf (try sudo nano /etc/X11/xorg.conf).
Find the line that says Section "Screen"
Insert a new line that says Option "UseDisplayDevice" "DFP".
Save the file. If you had to restart into recovery mode, type reboot, otherwise restart your display using sudo /etc/init.d/gdm restart.

Last edited by andrewthomas; 07-15-2011 at 01:17 PM.
 
Old 07-15-2011, 01:38 PM   #15
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
Thank you very very much Sir.Your saved my life.I got my data.
Can you please explain me what the above commands have done,it might be more helpful for me.

Thanks again

amritpalpathak.blogspot.com
 
  


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
Ubuntu 9.10 upgrade to 10.10 just black screen on boot up RickAD999 Linux - Newbie 3 04-13-2011 09:00 AM
[SOLVED] Ubuntu 10.10 asking for login which I don't know on black screen tamlabam Linux - Newbie 7 12-24-2010 01:56 AM
Ubuntu 10.04 - black screen on boot giammy Ubuntu 8 05-06-2010 08:09 AM
Ubuntu 10.04 encounters black screen on login HMARS Linux - Laptop and Netbook 3 05-02-2010 07:21 PM
dual boot Ubuntu - black screen or (initrompf) bwatkin4 Linux - Newbie 1 04-24-2009 08:11 AM


All times are GMT -5. The time now is 04:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration