LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 11-04-2018, 07:55 AM   #1
juniq
LQ Newbie
 
Registered: Nov 2018
Posts: 1

Rep: Reputation: Disabled
How can I boot Wary Puppy 5.3 without GUI (x) ?


I've tested many things and googled around the globe.

I wanna boot Wary Puppy 5.3 (full installation on a harddrive) without any GUI. only commandline. but still be able to startx later if I need to.

I've read a tip to edit /etc/inittab and change the runlevel. but in my /etc/inittab file is no line like this:

this is my inittab file:

::sysinit:/etc/rc.d/rc.sysinit
tty1::respawn:/sbin/mingetty --autologin root tty1
tty2::respawn:/sbin/getty 38400 tty2
tty3::respawn:/sbin/getty 38400 tty3
::ctrlaltdel:/sbin/reboot

I have also edited the boot entry in GRUB and added the parameter pfix=nox

doesn't work.

How can I make it booting into commandline?

I have searched for things like "exec xwin" or "startx" in sysinit file but found nothing.

HEELP :'(
 
Old 11-04-2018, 12:46 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
That's the most spartan inittab I've ever seen! Clearly Puppy doesn't use runlevels like normal distros do. But I think there is a key in that tty1 line.

That autologin instruction will cause whatever .profile or .bash_profile or .bashrc files are in root's personal directory to be executed. Have a look at those files and I think you will find a startx command in one of them. Remove it and you will have a text login.
 
Old 11-13-2018, 10:40 AM   #3
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
@ juniq:-

Ah-a.....the good old boot parameters. Well, hazel's absolutely on the money; Puppy is indeed very different from standard, 'mainstream' distros. Doesn't need any of that stuff you've just mentioned.

For another thing, we don't use GRUB2. Urrrgghh!!! Dreadful thing... (*vomits*) Puppy uses a specially-tweaked version of Grub4DOS (legacy GRUB, if you like). And before you may say it, no.....Pup's version is up-to-date, and regularly 'patched'. (Unlike the original that it's based on, which has been unmaintained for some years). And the reason it's used in preference to GRUB2 is quite simple; it's the only one that works correctly with Pup's unique way of booting, where everything is decompressed into RAM from 'read-only', ' Squash File System' packages at boot time, then runs from a virtual 'ram-disk' for the duration of the session.

If you're booting, initially from a LiveCD, do the following:-

The INSTANT the Puppy splash screen appears (and you have 5 seconds to do this), start typing

Code:
puppy pfix=nox
This will boot Pup to the console.

If you want this to work at every boot, once you've installed Wary (and you'll have to do this with 'X' the first time, simply because it's quicker & easier for me to tell you. Me no wizard with the command-line, I'm afraid!), then you need to locate the Grub4DOS 'menu.lst' (that's a small 'L', not a '1'), which is located at /mnt/home. Open it with your preferred text-editor (Geany and Leafpad are usually installed by default), and add

Code:
pfix=nox
....to the end of the kernel line (the one that starts 'kernel /xxxxxxx whatever...') Puppy will then boot to the terminal, every time.

Please be aware that Puppy runs as 'root' by default. Pup doesn't use 'sudo'.....(no need for it!) Also be aware that this may not be what you really want, since Puppy uses Busybox, which has a somewhat limited subset of the standard 'bash' commands that you might normally expect to find. See this post on the Puppy Forums for details...

http://www.murga-linux.com/puppy/vie...=999089#999089

If, at any time, you wish to start the graphical 'X' interface, then simply type:-

Code:
xwin jwm
That'll start the 'X' window session, running JWM (which is the default window manager. The desktop is actually a 'pinboard', generated by the FM, ROX-Filer).

Quite simple, when you know how...


Mike.

Last edited by Mike_Walsh; 11-14-2018 at 06:07 AM.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] Wary 5.3 on USB: 'boot: puppy pfix=ram' >> "could not find kernel image: puppy" frog82 Linux - Newbie 3 09-17-2014 06:16 AM
Not able to boot puppy 5.5 wary from live CD. kpcool95 Linux - Newbie 5 06-25-2014 05:35 PM
[SOLVED] I can't type in my password when I try to boot Wary Puppy from my USB shijm Linux - Newbie 7 02-28-2014 12:15 PM
Old Sony Vaio and Puppy Wary distro won't boot ihaterain5620 Linux - Laptop and Netbook 6 08-25-2013 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 07:50 PM.

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
Open Source Consulting | Domain Registration