LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What do after view Text Editor (https://www.linuxquestions.org/questions/linux-newbie-8/what-do-after-view-text-editor-444828/)

dalebo 05-14-2006 09:05 PM

What do after view Text Editor
 
After successfully installing the kernel and before I install the GRUB bootloader, it asks me to review the configuration file which I did. Then what? How do I save then exit the editor and then install the bootloader? There are no instructions to save and exit the editor. Thanks.

Simon Bridge 05-14-2006 09:20 PM

Which distro is this, and how are you installing it?
What have you tried? (Usually pressing "enter" or "esc" will do what you want.)
What is the "text editor"? (Presumably not a gui since save and exit are in the menues - perhaps this is emacs or vi?)

Nothing is standard in linux. You have to be specific.

for vi, the ":" starts the cammand options.

":help"<enter> gets help
":q"<enter> quits

I've never used emacs

dalebo 05-15-2006 06:40 PM

Help after Text Editor
 
I'm so new to Linux that I am not sure of your questions; hope this helps. I am using the CD to HD install of Arch Linux 0.7.1 (Noodle)
There is no save or exit option on the screen of the editor after I scroll all the way down after inspection. When I go to the Help menu it does have a list of things including (I think but am not home to verify at present) ^XY to Save; I believe but am not sure what that means. ESC does nothing for me. I am so close to finishing the insatll as I have ONLY the bootloader IF I can get past and saving and then exiting from the Text Editor. Thanks. Hope this helps.

ethics 05-15-2006 07:05 PM

hold ctrl, press X and then Y that'll save and quit Nano (the 'easy' editor option arch gives you).

dalebo 05-16-2006 09:09 PM

When I used the NANO editor and pressed CTRL XY it went on to save and then I was able to exit, install the GRUB bootloader, leave the install CD in and then reboot. It told me that all was fine, I rebooted again without the CD, it started OK then gave me a recurring (among other things) DriveReday SeekComplete Errors, ide:failed opcode was unknown and DriveStatusError BadCRC. Any suggestions? Thanks again

AwesomeMachine 05-16-2006 09:16 PM

Crc
 
Quote:

Originally Posted by dalebo
When I used the NANO editor and pressed CTRL XY it went on to save and then I was able to exit, install the GRUB bootloader, leave the install CD in and then reboot. It told me that all was fine, I rebooted again without the CD, it started OK then gave me a recurring (among other things) DriveReday SeekComplete Errors, ide:failed opcode was unknown and DriveStatusError BadCRC. Any suggestions? Thanks again

CRC errors are usually caused by a bad drive, or a drive writing to bad sectors. You should check the drive with the manufacturers utility for verifying drive integrity.

dalebow 05-17-2006 06:50 AM

Actually, I'm dalebo
 
I WAS able to install Win XP on the computer so I don't know why I would get disk errors while trying to install Linux. Is there a different version of Linux I should try? I burned the ISO for this one but maybe a different one would be better?

dalebo 05-17-2006 10:03 PM

Help please
 
OK. I started over with Debian Linux on the hard drive from CDD and active Internet connection. I went through the complete install, it prompted for my login and password successfully. Now I am at the prompt dale@debian:~$. What do I do now? Reboot or what. Everything seemed to fine on the instakll. Help ! Thanks.

Wim Sturkenboom 05-18-2006 12:40 AM

Now you can start using Linux :) using the CLI (command line interpreter). It's like in the old DOS days. Some :study: will help. The linux documentation project might be of interest.

Some usefull commands in the CLI:
ls to list the content of a directory
cd to change directory
cp to copy a file
mv to move a file
rm to remove a file
man manual pages (help); i.e. type man ls and press <enter>

You probably want some graphical stuff. Type startx and press <enter>. If you have installed X, it should give you a graphical user interface.
If that works, it will probably not have the correct resolutions and refresh rates. <ctrl><alt>+ and <ctrl><alt>- will allow you to cycle trough the resolutions.

There are a lot of things that you have to figure out. One of them probably to get better refreshrates and next to get X started automatically. Another one to get printers to work as well as scanners and other stuff. Sometimes it's easy as it's already supported, sometimes lots of research, sweating and swearing will do the trick; but the satisfaction can be great when you manage to get something to work.

You can always come back here with questions.

Enjoy Linux

dalebo 05-18-2006 09:07 PM

I guess I'm in OK
 
So I am to assume (since I have never even seen Linux before) that it is normal after I login to see a prompt to go further? And since when I typed in startx and nothing happened that I do not have the GUI interface already loaded in? If all this is true, where do I go from here?

Simon Bridge 05-18-2006 09:39 PM

Prompt to go further? What does it look like?

For me, with no GUI, the prompt says "Login" or something like that.
I enter my username at the prompt, then enter my password (nothing gets echoed to the screen for password - not even a row of asterisks). Then I get a prompt which shows my username and a "$" sign. Then I can enter "startx".

Wim Sturkenboom 05-19-2006 12:00 AM

Quote:

Originally Posted by dalebo
So I am to assume (since I have never even seen Linux before) that it is normal after I login to see a prompt to go further?

Yes, if you've never used Linux before, you don't know what to expect so you can think that it's normal or you can think that it's abnormal (when you expect a gui).
Some distro's offer you an option during install to boot to X or not.

Quote:

Originally Posted by dalebo
And since when I typed in startx and nothing happened that I do not have the GUI interface already loaded in? If all this is true, where do I go from here?

startx loads the graphical environment. It might however not be installed.
When you type startx, something must happen. Either it being an error message from the shell that it can't find the command or an error message from X that something is wrong or a (hopefully, but not in your case yet) it starts the graphical environment.

So as 'nothing' happens, what is the error that you get?

Simon Bridge 05-19-2006 12:29 AM

But if the prompt says "continue (Y/n):" then this would not be normal - and it could be described as "a prompt to continue", and typing "startx" there would be the wrong thing to do. If the prompt says "dalebo@localhost [~]:" ... this would be better. If it says "simon@indigo-prime [~]" then this is very wrong and he should log out of my computer immediatly :) However, I see it is "dale@debian [~]:" which is excellent and expected.

Possibly /sbin/startx will work? But I agree - we want to see the error message.

A GUI is normal for the default install from practically all major distros.

I am curious that some information is missing that most debian folk would include: which debian release is this? Is this the stable or unstable tree? Is this a workstation or server install?

For eg. there is an installation manual at: http://www.debian.org/
These details are covered therein. Particularily:
http://www.debian.org/releases/stable/i386/ch07.html.en

It looks like Dale has gone through the base-config system: sets up time zone, users and groups etc. Including this bit:
Quote:

7.2.5. Package Installation

Next you will be offered a number of pre-rolled software configurations offered by Debian. You could always choose, package by package, what you want to install on your new machine. This is the purpose of the aptitude program, described below. But this can be a long task with around 15250 packages available in Debian!
... at least one of these pre-rolled packages includes a gui.

At this point - presumably "aptitude install gdm" or "aptitude install kde" will install the gui system and everything it depends on (like the x server)... then startx will work.

This is where debian diverges strongly from slackware - the packages tend to be pre-compiled binaries installed through a dedicated package manager. Practically everything is done via this. Direct manipulation of configuration files tends to be de-emphasised.

dalebo2 05-19-2006 10:55 AM

No GUI
 
Wow; a lot of stuff. Anyway there is no GUI already installed. I guess I'll habve to go back and find and install one of the packages to get me the GUI. I used a stable, workstation release using all default installs.

deroB 05-19-2006 11:32 AM

to install a desktop environemnt in Debain is real easy:).

you need to be root so do this:
Code:

dale@debian:~$ su
[su gives you root privillages]
root@debian:~$ apt-get update
root@debian:~$ apt-get install kde
or
root@debian:~# apt-get install gnome

after this exit from root and startx
Code:

root@debian# exit
root@debian:~$ startx

if you want a graphical login manager you can then install kdm or gdm
Code:

# apt-get install kdm //for kde
# apt-get install gdm //for gnome

good luck

ps. there are many other window managers but gnome and kde are probably easiest for newbies.

edit:
when i first installed debian i didn't realise the space bar toggled the option for installing desktop enviroments during the install... so i had the same problem of no gui
:)

edit2
just fully read the post from Simon Bride..
oops, .
but he's right..the good thing about debian is there is no need to edit anything after installing, aptitude will sort out the config files and you should have x working.

if you want to use a GUI package manager you can install synaptic, which is a front end for apt.

Michael_aust 05-19-2006 11:35 AM

to get the gui up in debian type:

if you are running srage (stable)

su
your root password
apt-get install x-window-system xserver-xfree86 kde (if you are wanting a kde desktop) OR (dont type this bit) gnomedesktopenviroment (if you want a gnome desktop)

if you are using tsting (etch) then do the same but replace xserver-xfree86 with xserver-xorg

wait a while then it will ask you to set up the xserver all you ahve to do is tell it your launguage most of it should be ok with its default then choose the right driver for your graphcs if you have no idea choose vesa this will work with all graphics card/chips.

all this then should get you a gui up and running in debian, next time you start it will load up into a graphiphical log in screen.

dalebo 05-19-2006 10:14 PM

Want complete setup
 
Thanks for all the info and I am working on your suggestions but can anyone give me a link to an all-in-one download that will include the GUI and nay other neccessary things so I won't have to immediately go out and get them now. I have successfully burned two different ISO images with successul setups. I really want to get Linux up and going so I can experiment with it and then download other parts as I go along. Hope this makes sense.

lotusjps46 05-19-2006 11:18 PM

Since you have the CD burned already you might just start the install over, and watch for where in the install it asks if you want the system to boot into graphical mode, and where it sets up the graphics card and monitor. You are very close to making this work, and since you have done the install once, doing it again should be easier then getting a whole new distro.

Some more user-friendly distros are Umbuntu and Vector Linux, in case you want to start with something different. Damn Small Linux is fun, easy to install, and only 50megs to download.

Good luck.

C

dalebo 05-19-2006 11:56 PM

Complete package
 
I will work on your suggestions but in the mean time is there a link to a package that has EVERYTHING I need including a GUI that I can download and install (maybe as an ISO image I can burn to CD)that will get me up and running now? Thanks.

dalebo 05-20-2006 10:03 AM

Reinstall
 
At what point in the reinstall will I look for it to ask me about a boot into graphical mode?

lotusjps46 05-20-2006 02:34 PM

Try this:

Go here:
http://www.ubuntu.com/download

Click on one of the "United States" links, and then click this file:
ubuntu-5.10-install-i386.iso

It is about a 650meg download. That is the current Ubuntu. It has everything. It looks alot like an Apple interface (not much like MS Windows), but it is very easy to install and configure. It will almost certainly boot up into a GUI the first time, unless you have a strange video card or monitor.

Do not get discouraged. Debian is probably not the easiest distro to install. Come back and let everyone know how it goes. Good luck.

C

Simon Bridge 05-20-2006 06:03 PM

http://www.gnome.org/start/getstable.html

dalebo 05-21-2006 07:30 PM

Worked great
 
Thanks all. I used the Ubuntu 5.1 i386 and all went great. Now I guess I start the task of finding more software. Any thoughts on places to find it? Again, thanks for all the help.

Simon Bridge 05-21-2006 07:45 PM

http://easylinux.info/wiki/Ubuntu


All times are GMT -5. The time now is 10:24 AM.