Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Calum on 3 February 2003, 17:36

Title: Debian Text only install
Post by: Calum on 3 February 2003, 17:36
how do i install debian in a text only (no GUI) way? my video card is not compatible with whatever GUI debian tries to open during the install, and i'm wondering what to type at the very first prompt to get it to install textually.

thanks in advance.......
Title: Debian Text only install
Post by: creedon on 3 February 2003, 19:10
You must have an unusual card; I've never had a problem setting up X; but if you feel you must, simply don't configure X- then you'll have text only, or better still, don't even install the X-window packages.
Title: Debian Text only install
Post by: flap on 3 February 2003, 19:36
I don't think Debian has graphical installer, does it? I can't really remember but surely there are instructions on-screen when you get to the prompt?
Title: Debian Text only install
Post by: Pantso on 3 February 2003, 20:46
Eh, since when does Debian have a graphical installer? I recently installed Debian 3.0 in text mode only with no option for a graphical installation. I'm confused.   :confused:
Title: Debian Text only install
Post by: Calum on 3 February 2003, 21:28
thanks, but neither of those are too helpful to me. here is the full story:

i have a SiS630 video card on this particular computer which was broken in red hat up to 7.2 and mandrake up to 8.2. I just installed freeBSd too and LUCKILY it has a text only install as default. X failed in much the same way as with Debian (when you try and startx you get nothing but a black screen and must ctrl-alt-backspace to see the 'x has crashed' message) when i tested it but running xf86config and selecting the SiS620 driver worked fine (there's no SiS630 driver in FreeBSD 4.7 like there is in mandrake 9 and red hat 8).

Now when i try and boot from the debian CD the following happens:

i get the lovely TEXTUAL starting screen telling me i can choose what type of install i want to go for, eg i can type different things depending on whether i want support for older kit, newer kit, minimal kit, bog-standard kit, whatever BUT there's no way to specify a text only install as far as i can see.

When you install mandrake or red hat, the FIRST screen you see offers you a GUI installation or a textual installation. if you choose the GUI install, they try and run X, if that fails, they try and run X via the framebuffer, if that fails, you get a non GUI install regardless. This choice is NOT given to me on the first screen of Debian and hence the following happens:

i try and start the installation by selecting the default or one of the other preset things that you type in, and then hit enter. the screen goes black. I immediately recognise the symptoms of X trying to work with my inherently faulty video card (this is a known hardware bug that some distros have worked around, i hasten to add, not a fault with freeBSD or Debian, although it was pretty easy to get it going in freeBSD).

I am flummoxed and flabbergasted to hear that debian does not offer a non-X install. this means that if your video card doesn't work with X right out of the box, you can't install debian! useless! i really didn't think, what with its reputation, that debian could allow such a huge error. also, i am highly surprised to hear that it has no text based install considering how all the GUI freaks moan about how bad its install process is, i assumed they were just bitching about the lack of a gUI!

anyway, are you sure there's no way to install debian without having a video card that works with X out of the box? i just simply cannot believe that this is the case.
Title: Debian Text only install
Post by: flap on 3 February 2003, 21:33
No, we're saying the opposite of that, i.e. that it *has no* graphical install, and *only* has a text mode install.
Title: Debian Text only install
Post by: Calum on 3 February 2003, 21:34
quote:
Originally posted by Panos:
Eh, since when does Debian have a graphical installer? I recently installed Debian 3.0 in text mode only with no option for a graphical installation. I'm confused.    :confused:  


hey! this reply and the one before it came in after i wrote that post of mine above, well i assumed it had a graphical installer since the symptoms of X not working have happened all too often before on this laptop when trying to install various linuces.

So if it's a text only install, why am i getting this problem with the black screen???????
Title: Debian Text only install
Post by: Calum on 3 February 2003, 21:56
quote:
Originally posted by flap:
No, we're saying the opposite of that, i.e. that it *has no* graphical install, and *only* has a text mode install.


!!!!!!!!!! we're all posting at once!!!!!11

i know that now! i was typing while you were posting.

all i want to know is how to get it to NOT have that horrible black screen. i get a prompt that looks like this:
Code: [Select]
and whatever i type, the screen goes black, and you can't ctrl-alt-f*, you can't ctrl-alt-backspace, you can't ctrl-c, you can't see anything except blackness. this is exactly what happened on red hat 7.0 when you tried to startx. red hat would install okay, but this would happen when you try to startx, and it's a video card problem. BUT I AM NOT DOING startx HERE! i am TRYING to boot the debian installer.

this was always an annoying problem because unlike a real server crash, the system doesn't actually figure out that X isn't working, and you just get a frozen black screen - the end.

it sucks.

no ideas then?
Title: Debian Text only install
Post by: Pantso on 3 February 2003, 22:08
After the boot prompt and if you pressed Enter, you should be able to see the kernel booting and immediately after the Debian text installer. Since the kernel does not even boot then I would assume that there's something wrong with the CDs you're trying to install Debian from. As you wrote, even if a distro's installer fails to detect your graphics card or controller (in your case the SiS chipset), it would automatically choose the VESA framebuffer driver and continue with that.

[ February 03, 2003: Message edited by: Panos ]

Title: Debian Text only install
Post by: flap on 3 February 2003, 22:13
Try the same thing on another machine and see if you get any further.
Title: Debian Text only install
Post by: Calum on 3 February 2003, 22:33
quote:
Originally posted by Panos:
After the boot prompt and if you pressed Enter, you should be able to see the kernel booting and immediately after the Debian text installer. Since the kernel does not even boot then I would assume that there's something wrong with the CDs you're trying to install Debian from. As you wrote, even if a distro's installer fails to detect your graphics card or controller (in your case the SiS chipset), it would automatically choose the VESA framebuffer driver and continue with that.

[ February 03, 2003: Message edited by: Panos ]



i do see it start to boot, then the black screen you see when you startx comes up but the screen stays black. I have seen this before with this video card, the kernel has booted under that black screen i am sure of it.

will take flap's advice and post again tomorrow.
thanks for your help, chaps!
Title: Debian Text only install
Post by: Pantso on 3 February 2003, 22:48
Sorry, for not mentioning earlier but you could just type text at the boot prompt, but I don't know if it'll work with Debian.
Title: Debian Text only install
Post by: Calum on 3 February 2003, 22:50
ok:

results were EXACTLY as i expected.

booted debian install disk from other machine, works like a charm. i see kernel booting, screen goes black for a second BECAUSE THAT'S WHAT HAPPENS WHEN AN X SERVER STARTS and then i see the kernel booting up and all the start messages scrolling down the screen beneath a picture of Tux holding what looks like a paintbrush. he is obviously some sort of GUI, and i do not see him on the dodgy video card machine even though i know he is there. Next, screen goes white for a split second (dead giveaway there's an X server) and then i get what looks like a text based install. I suspect it is NOT a text based install. it just does not feel like a proper text based install of linux. i think it is an X based install that looks like a text based one.

SO how do i install debian without needing an X compatible video card????? this is driving me nuts.
Title: Debian Text only install
Post by: Pantso on 3 February 2003, 23:02
Does typing
Code: [Select]
at the boot prompt do anything?

PS I also posted that at void's forums a couple of minutes ago.
Title: Debian Text only install
Post by: flap on 3 February 2003, 23:06
It's using the framebuffer device. I don't know how you'd tell it not to, though.
Title: Debian Text only install
Post by: Pantso on 3 February 2003, 23:07
If that's so, then
Code: [Select]
should do it.
Title: Debian Text only install
Post by: Calum on 3 February 2003, 23:13
could not find kernel image: text
could not find kernel image: nofb

and when i try to put in 'linux text' or 'linux nofb' it just boots the 'linux' kernel and goes straight to the blackscreen again.  :(
Title: Debian Text only install
Post by: Pantso on 3 February 2003, 23:18
F**k! I really don't know. How about
boot:lowres
These are actually installation kernel parameters in RedHat but again I don't know about Debian.   :rolleyes:
Title: Debian Text only install
Post by: Calum on 4 February 2003, 13:59
fuck indeed!
well, i'm at work now, and i am fiddling with another OS at the moment, but i think what i need to do is read the docs fully and thoroughly on the debian CD and then when they don't mention anything about this i'll post to my LUG list and search for debian forums.

thanks for your continued perseverance.
Title: Debian Text only install
Post by: Master of Reality on 4 February 2003, 17:18
ahhh... yes... i should have read this earlier. Of course its the framebuffer. I had the same problem after i installed slackware, but it didnt use framebuffer in the install only aftwards and i had to ssh into slackware to fix it. But of course that wont work here.
Title: Debian Text only install
Post by: Calum on 4 February 2003, 18:10
yes i know it's the framebuffer but fergodsssake how'dyou fix it so it doesn't do a GUI?
Title: Debian Text only install
Post by: Master of Reality on 4 February 2003, 18:44
it isnt really a GUI, it jsut uses the framebuffer to run the console.
Title: Debian Text only install
Post by: Calum on 4 February 2003, 19:49
the worst of both worlds, eh? so, eh, just to change the subject... any idea how to get it to STOP doing that?
Title: Debian Text only install
Post by: Master of Reality on 4 February 2003, 20:53
well. once you stop it, then it will be fixed. I know I had to change the lilo options. hmmmm.... i'm thinking about dling debian and seeing about this myself as i think i have a spare computer.
Title: Debian Text only install
Post by: flap on 4 February 2003, 21:11
ok, I just booted from my Debian cd and looked at the help. To boot without using the framebuffer just type this at the boot prompt:

linux video=vga16:off

[ February 04, 2003: Message edited by: flap ]

Title: Debian Text only install
Post by: Calum on 4 February 2003, 21:26
thank you very very much flap!

coincidentally void main just told me the exact same thing on his forums. i feel a bit dumb that i didn't see it in the docs of my debian cd. where on the CD is that information, if you don't mind?
Title: Debian Text only install
Post by: flap on 4 February 2003, 21:48
When you boot up you can press F1 for help. Then if you press F5 (I think) you get a list of additional boot parameters.
Title: Debian Text only install
Post by: Master of Reality on 5 February 2003, 03:39
...do they actually let you on the internet in the institution? Read the fucking thread.

[ February 04, 2003: Message edited by: The Master of Reality / Bob ]

Title: Debian Text only install
Post by: Calum on 5 February 2003, 15:10
quote:
Originally posted by X11: I pop a cap in yo ass:
[QB]Debian uses a frame buffer driver which your graphic card is not liking. Its also a crap graphic card and you would be able to get a Geforce2 for a nice price these days ;).
it's a laptop, and the framebuffer thing has been pointed out already thanks.

 
quote:
There should be a option to turn off frame buffer.
there is. i pushed f5 on the first install screen, as told, and sure enough there were the instructions i needed.  
quote:
Also it may be your monitor not liking whatever resolution you put it in.

it's not but i think that might be a problem i am having in lycoris desktop l/x, but that's another story.

As an update, i can install debian fine now without using the framebuffer, but then on first boot it uses the framebuffer  :(  so i suppose i now have to give the vga... option to the kernel on bootup (in whatever bootloader i use) to get it to work.
Title: Debian Text only install
Post by: Pantso on 5 February 2003, 18:17
quote:
Originally posted by Calum: Member # 81:

it's not but i think that might be a problem i am having in lycoris desktop l/x, but that's another story.

As an update, i can install debian fine now without using the framebuffer, but then on first boot it uses the framebuffer   :(   so i suppose i now have to give the vga... option to the kernel on bootup (in whatever bootloader i use) to get it to work.



Yep, unfortunately you have to pass that parameter to the kernel each time before booting, unless you can edit some file (I really don't know which especially in Debian), which could be a major pain in the arse. Isn't there any similar case in Debian's page?
Title: Debian Text only install
Post by: Calum on 5 February 2003, 18:55
well, i'll be able to stick it in the bootloader i hope if i use grub or lilo (planning to use grub because i am more familiar with lilo and i want to learn).
Title: Debian Text only install
Post by: Master of Reality on 5 February 2003, 20:46
i'm not sure,but i think lilo has an option to choose which framebuffer to use.. anyway i fixed mine somehow in the bootloader when i had that problem so at least you know where to look.
Title: Debian Text only install
Post by: Calum on 5 February 2003, 22:41
yeah, you can do that in lilo, with mandrake it adds a non-framebuffer option to lilo by default, which is nice. anyway, i'm assuming grub has that too because of all the trumpets about how it's better than lilo et c.
Title: Debian Text only install
Post by: Pantso on 6 February 2003, 02:53
If you use GRUB, you should search for the menu.lst file which is by default located at /boot/grub/menu.lst. I don't know however how you could pass such a parameter to GRUB.