LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-20-2005, 09:49 PM   #1
donan71
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
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.
 
Old 10-20-2005, 09:56 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
is it installed ?
do a " ls /var/log/packages/gawk* "

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

egag
 
Old 10-20-2005, 10:00 PM   #3
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
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
 
Old 10-20-2005, 10:06 PM   #4
donan71
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
booting question

The first line of rc.M is
#!/bin/sh
 
Old 10-20-2005, 10:10 PM   #5
donan71
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
booting question

Whick awk gives me a no awk in ( /usr/local/sbin: /usr/lsbin.....) a bunch of /usr directories
 
Old 10-20-2005, 10:56 PM   #6
donan71
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Smile 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.
 
Old 12-13-2005, 12:41 PM   #7
Permaximus
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
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.
 
Old 12-16-2005, 07:09 PM   #8
donan71
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
booting question

unfortunatey no, the cd-rom has died so i have not done too much with it since that.
 
Old 12-19-2005, 10:24 PM   #9
Permaximus
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
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.
 
Old 12-20-2005, 04:07 AM   #10
yoron
Member
 
Registered: Nov 2005
Posts: 120

Rep: Reputation: 15
sorry, wrong place

Last edited by yoron; 12-21-2005 at 03:59 AM.
 
Old 12-20-2005, 09:47 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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!
 
Old 12-23-2005, 11:26 AM   #12
Permaximus
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
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.
 
  


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
booting from a floppy question 0perat0r Linux - Newbie 13 05-09-2005 12:25 PM
Knoppix Booting Question. rvijay Debian 6 02-13-2005 11:47 AM
Question about Linux booting vijeesh_ep Linux - General 0 01-18-2005 12:47 PM
Dual-booting question Renaxgade Linux - Software 1 10-20-2003 07:41 PM
question about auto booting agassi999 Linux - General 0 10-08-2002 10:02 PM

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

All times are GMT -5. The time now is 06:16 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