LinuxQuestions.org
Help answer threads with 0 replies.
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 03-15-2013, 02:02 AM   #1
bloodstreetboy
Member
 
Registered: May 2012
Posts: 195
Blog Entries: 3

Rep: Reputation: 37
How to reach on command line to recover ubuntu


My ubuntu does not reach on command line.
If I go on recovery mode, it sticks on checking battery state and it does nothing.
If I boot it normally I face low graphics mode problem.
I want to install lightdm, xserver-xorg and ubuntu-desktop but I am not able to reach on command line, how will I do this?

If I use old kernel to boot or to reach in recovery mode, it does not work too.

I use ctrl+alt+f1, it does not reach on command line.

If I boot it through pendrive and open the desktop (using "open ubuntu without installing" option). Now here I open the terminal and install my packages but I think it does not work, it will not be installed in the /dev/sda1 (my original filesystem), I think they will be installed in pendrive's filesystem, am I correct? I will be more happy if I am wrong here.

I know how to solve this low graphics mode problem, but I am not able to reach on command line then How can i solve this?

Any help will be deeply appreciated.
 
Old 03-15-2013, 09:03 AM   #2
bloodstreetboy
Member
 
Registered: May 2012
Posts: 195
Blog Entries: 3

Original Poster
Rep: Reputation: 37
any suggestion?
 
Old 03-18-2013, 01:48 PM   #3
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
What do you mean by "low graphics mode problem"? If you mean "low resolution", then you need to use xrandr to change it. Press Ctrl+T (or Ctrl+Shift+T, or Ctrl+Alt+T, depending on your version of Ubuntu) to start a terminal and then use xrandr to select an appropriate resolution. Alternatively, press Ctrl+Alt+F1 to change to a virtual terminal and then run use xrandr with the option "-display 0:0".

If you don't mean that, then you need to be far more specific about everything. When you say "X does not work" or "X does not reach command line" you need to tell us about any error messages that are displayed, and any other information that can help us work out what the problem is.

Finally, don't bump threads - you only waited 8 hours or so before posting again, which is rarely enough time for people to see your thread and post a solution. By posting to it again, you remove it from the "Zero-reply threads" list, which dramatically reduces the number of people who will see it.

Regards,
 
Old 03-23-2013, 09:11 AM   #4
bloodstreetboy
Member
 
Registered: May 2012
Posts: 195
Blog Entries: 3

Original Poster
Rep: Reputation: 37
Thanks for your reply.
No one replied till three days so I thought something is wrong with my question when I faced a new problem today and asked a new question then I see your reply.
Thanks again and sorry for my late reply.
I have posted today my new thread after 15 march.I never bumped thread.

The problem is still there on my desktop and I haven't moved an inch even a centimeter.

When I start my system, it sticks on 'checking battery state' message and nothing happens after that.
If I go to in recovery mode, it sticks there on 'checking battery state' message.
I am not able to reach on command line.I can fix it on command line using some commands.
but I am not able to reach there.

It gives boot up from [hd0,0] something and then 'checking battery state'
that's why Ctrl+Alt+T or Ctrl+Alt+F1 is not working.

I was thinking about reinstall ubuntu, but you have replied. thanks again.
 
Old 03-23-2013, 02:46 PM   #5
cbtshare
Member
 
Registered: Jul 2009
Posts: 573

Rep: Reputation: 42
Simply boot your system with a live cd, mount your hard drive then edit the files you need to that will correct the boot issue
 
Old 03-24-2013, 11:52 PM   #6
bloodstreetboy
Member
 
Registered: May 2012
Posts: 195
Blog Entries: 3

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by cbtshare View Post
Simply boot your system with a live cd, mount your hard drive then edit the files you need to that will correct the boot issue
It is not that simple. I do not want to edit the files, I want to install some packages in my hard disc (/dev/sda1) and whenever I do not reach on command line, how can I install those. I stick on checking battery state message and then it gives "Low graphics mode problem", it does not reach on command line. Neither in normal boot nor in recovery mode.
 
Old 03-26-2013, 10:25 AM   #7
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Quote:
Originally Posted by bloodstreetboy View Post
I know how to solve this low graphics mode problem, but I am not able to reach on command line then How can i solve this?
What did you mean by this, then? cbtshare was suggesting a way to get to a command line (on the live CD) so that you can run the commands which would fix the "low graphics problem"...

Can you give the exact error text of the "Low graphics problem", too?
 
Old 03-27-2013, 11:54 PM   #8
bloodstreetboy
Member
 
Registered: May 2012
Posts: 195
Blog Entries: 3

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by Snark1994 View Post
What did you mean by this, then? cbtshare was suggesting a way to get to a command line (on the live CD) so that you can run the commands which would fix the "low graphics problem"...
Thanks for your reply...
The problem is, I am not able to reach on command line using my hard disk's file system whether I use recovery mode or what ever (ctrl+alt+f1 or ctrl+alt+t).
It sticks on checking battery state when I try to reach on command line using recovery mode.
I want to install some packages in my hard disk to solve low graphics mode problem like xserver-xorg-core, gdm & ubuntu-desktop.
I have only way to reach on command line is bootable pen drive but here if I install packages, it installs in pen drive's file system.
I want to install them in hard disk's filesystem. That's why I want to chroot my hard disk's file system so it will become primary and my packages will be installed in it.
but I don't know how to chroot my hard disk's file system. I have googled it but I couldn't find any perfect guide.
 
Old 03-29-2013, 05:22 AM   #9
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
It should just be:

Code:
$ sudo mount /dev/sda1 /mnt
$ sudo chroot /mnt
and then you can run whatever commands you like in the chrooted environment.
 
  


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
In ubuntu i executed svn co command more than onetime , now how to recover alexdb2012 Linux - Newbie 0 07-04-2012 05:03 AM
LXer: Ubuntu CLI : How to List all Users in Ubuntu via Command Line LXer Syndicated Linux News 6 04-11-2012 10:41 AM
[SOLVED] Ubuntu 10.10 and command line scripts? GunNam Linux - Newbie 5 03-27-2011 12:47 AM
[SOLVED] Can't boot Ubuntu to command line fiascosf Linux - Newbie 8 08-11-2010 05:50 AM
Finding command line in ubuntu dhamle Linux - Software 2 09-12-2007 02:00 AM


All times are GMT -5. The time now is 03:47 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