LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   booting question (https://www.linuxquestions.org/questions/slackware-14/booting-question-375276/)

donan71 10-20-2005 09:49 PM

booting question
 
WHen i boot my slackware linux just above the console login i have a message the that says
/etc/rc.d.rc.M: line 1: awk: command not found

i am not sure what to do about it it have looked at the rc.M file but i am not exactly sure where to look.

Any info would be helpfull thanks in advance

Been using linux on and off for a while now and i have found what i like Slackware! I am using slackware 10.1 console only on a old IBM 365xd laptop so far so good.

egag 10-20-2005 09:56 PM

is it installed ?
do a " ls /var/log/packages/gawk* "

if it's there, maybe reinstall that package...

egag

nilleso 10-20-2005 10:00 PM

so I assume in line 1 of that file you see awk there somewhere correct?
It doesn't know the path to awk yet since your paths haven't been set up. Use the command: `which awk` to determine the full path to awk (probably /usr/bin/awk).
then just edit the file with the full path. Ie if it is located in /usr/bin .... just replace the awk with /usr/bin/awk

cheers :)

donan71 10-20-2005 10:06 PM

booting question
 
The first line of rc.M is
#!/bin/sh

donan71 10-20-2005 10:10 PM

booting question
 
Whick awk gives me a no awk in ( /usr/local/sbin: /usr/lsbin.....) a bunch of /usr directories

donan71 10-20-2005 10:56 PM

booting questions
 
Reinstalled gawk from the slackware cd then edited the rc.M file left the #!/bin/sh and added #/usr/bin/awk on the second line. No message.

Thanks for all the help.

Permaximus 12-13-2005 12:41 PM

Hey, I know this is off topic, but it seems that your problem has been solved anyway. I just got my hands on a 365xd and was somewhat surprised to hear that you are running slackware 10.1 on it. Have you tried running blackbox or any other minimalist window manager on it? Thanks.

donan71 12-16-2005 07:09 PM

booting question
 
unfortunatey no, the cd-rom has died so i have not done too much with it since that.

Permaximus 12-19-2005 10:24 PM

Ah, thats too bad. Did you use a floppy drive to do the install? I do not have access to one and the machine does not seem to be capable of booting from a cdrom. Just wondering how you did your install. Thanks.

yoron 12-20-2005 04:07 AM

sorry, wrong place ;)

onebuck 12-20-2005 09:47 AM

Quote:

Originally Posted by Permaximus
Ah, thats too bad. Did you use a floppy drive to do the install? I do not have access to one and the machine does not seem to be capable of booting from a cdrom. Just wondering how you did your install. Thanks.

Hi,

You could use the the sbootmgr to boot from any device. Just create it on a floppy disk too make a boot selection. If you already have the cd then goto the /bootdisks directory on cd1. tThere you will find the sbootmgr too create the bootdisk.

HTH!

Permaximus 12-23-2005 11:26 AM

Quote:

Originally Posted by gwsandvik
Hi,

You could use the the sbootmgr to boot from any device. Just create it on a floppy disk too make a boot selection. If you already have the cd then goto the /bootdisks directory on cd1. tThere you will find the sbootmgr too create the bootdisk.

HTH!

It doesn't have a floppy drive.


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