LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 10.10 booting into console (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-10-10-booting-into-console-867439/)

Seniorshot 03-13-2011 01:18 PM

OK Following on from your suggestion I read that having a root password is not advisable (certainly not until the user knows what he's doing - and I don't !)

Your thought that this may not work seems to be correct......
So using SUDO and entering password the response was:
mv: cannot stat '/etc/X11/xorg.conf': No such file or directory

repo 03-13-2011 01:28 PM

Seems ubuntu doesn't use xorg.conf anymore by default.
You can however try to create the file, to see if the error goes away
Code:

cd /etc/X11
sudo X -configure
sudo mv xorg.conf.new xorg.conf

Kind regards

ButterflyMelissa 03-13-2011 01:33 PM

@ jefro - I had the explicit choice during install (I use Arch) to have sudo installed or not, I dont like the idea of "too many cooks in the kitchen" as the Flemmish saying goes...and sudo might just be a blank invitation to the "kitchen"... :D
@ Seniorshot

Quote:

OK Following on from your suggestion I read that having a root password is not advisable
Quite the contrary! You need the root password, but use it wisely...like spice on a dish, just enough... ;)
Just use the day-to-day password, and the root password when need be...

Eh...you get the drift :)

Seniorshot 03-13-2011 02:02 PM

Ok thanks for all the comments but I'm getting a little confused here as to what I should try to do next..

Remembering my problem, and that I am currently in user mode in the terminal after booting into Recovery mode and fail safe graphic mode
Should I :

1. Create a root password is so how do I do that ?
2. How do I move from day to day User mode to root mode from my current position ?
3. Try to find the location of the xorg.conf file (bear in mind I am trying to remove this file). How do I locate it from my current position ?

repo 03-13-2011 02:20 PM

Quote:

1. Create a root password is so how do I do that ?
Not needed, you can use sudo
Quote:

2. How do I move from day to day User mode to root mode from my current position ?
By using sudo
Code:

sudo <command>
Quote:

3. Try to find the location of the xorg.conf file (bear in mind I am trying to remove this file). How do I locate it from my current position ?
You posted the content of the file before.
Quote:

I have managed to review and set the /etc/X11/xorg.conf to my laptop monitor screen settings but still booting into console.
To find the file
Code:

sudo find / -name xorg.conf
Could be it's called Xorg.conf in ubuntu though
Code:

sudo find / -name Xorg.conf
Kind regards

ButterflyMelissa 03-13-2011 03:07 PM

Okay Seniorshot, I must apologise somewhat...repo's option is the best. The program "sudo" allows you to safely "hop" to root mode and back, but I have assumed you were familiar with that command/program. I dont have it installed for other reasons...
Sorry...
I managed to dig up some info about sudo for you, though:
http://www.linuxmanpages.com/man8/sudo.8.php
and
http://www.gratisoft.us/sudo/intro.html

The examples provided by repo should nudge this adventure in the right direction. Just...dotn give up, the pad is the destination, here! ;)

Seniorshot 03-13-2011 03:53 PM

Ok the command sudo find / -name xorg.conf returned :
/user/share/doc/xserver-xorg-video-nouveau/examples/xorg.conf

the command sudo find / -name Xorg.conf
returned me back to prompt without finding anything.

repo 03-13-2011 03:55 PM

Where did you find the xorg.conf file you posted before?

Kind regards

repo 03-13-2011 04:02 PM

Found this regarding your video card, you need to add some parameters to grub
Code:

sudo vi /boot/grub/menu.lst
add
Code:

irqpoll
at the end of the line containing
Code:

kernel          /boot/vmlinuz-2.6.15-26-386 root=/dev/hda1 ro quiet splash
So it looks like
Code:

kernel          /boot/vmlinuz-2.6.15-26-386 root=/dev/hda1 ro quiet splash irqpoll
note,
vmlinuz-2.6.15-26-386 and root=/dev/hda1 can be different at your system, just add irqpoll at the end of the line

Press
Code:

<esc> :wq
To leave vi
reboot

Kind regards

Seniorshot 03-13-2011 04:04 PM

Please see post number 7. This was from my first attempt at installing Ubuntu where I could not boot into the GUI only into terminal.
Since then I have done a complete reinstall of both Ubuntu and Xp onto this laptop. Yes, something appears to be different on this install, (don't ask we why)
but at least I can now get into the GUI in reduced graphic mode.

Seniorshot 03-13-2011 04:31 PM

Repo .....Just seen your last post so I'll try that and report back.

Seniorshot 03-13-2011 04:40 PM

AHHHHH

Entered sudo vi /boot/grub/menu.1st and it opened up a flashing cursor at the top of the screen
and the message "/boot/grub/menu.1st" [New File] at the bottom.

Is it possible to edit this grubfile any other way ?

repo 03-13-2011 04:43 PM

Quote:

/boot/grub/menu.1st
It's
Code:

/boot/grub/menu.lst
l (like linux), not 1

After you made the changes,
Code:

press esc, then type :wq

Kind regards

Seniorshot 03-13-2011 05:03 PM

Sorry Repo I'm having trouble with my typo

I've just entered : sudo vi /boot/grub/menu.lst

but its still saying: "/boot/grub/menu.lst" [New File]

(Note In the terminal the l character does not quite look like l but has a curly base)

repo 03-13-2011 05:17 PM

Seems ubuntu uses grub2
try
Code:

sudo vi /boot/grub/grub.cfg
You can however make the changes just for 1 boot, whitout editing the file

Reboot, when grub appears, use the arrow keys to select the item you want to boot, press
Code:

ESC
to edit individual menu entries directly.
press
Code:

e
use the arrow keys to navigate to the kernel part,
press
Code:

e
and add
Code:

irqpoll
to the end of the line
press
Code:

enter
press
Code:

e
to boot with the new parameters

Kind regards


All times are GMT -5. The time now is 06:34 PM.