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. |
any suggestion?
|
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, |
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. |
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
|
Quote:
|
Quote:
Can you give the exact error text of the "Low graphics problem", too? |
Quote:
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. |
It should just be:
Code:
$ sudo mount /dev/sda1 /mnt |
All times are GMT -5. The time now is 10:44 PM. |