[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /bin/sh: permission denied -- fstab error?




On Wed, 28 Apr 2004, [iso-8859-1] Thomas Adam wrote:

>  --- David Piniella <dpiniell@newssun.med.miami.edu> wrote: 
> 
> > /etc/init.d/rcS: /etc/rcS.D/S70xfree86-common: /bin/sh: bad interpreter:
> > 
> > Permission Denied"
> 
> This might be the result of a malformed magic line.

if you can boot with standalone cdrom or floppy
	boot:  linux  root=/dev/hda1 1
	boot:  linux  init=/bin/bash
	...

than try:  sh /etc/rcS.D/S70xfree86-common

if it works, than you probably mixed and matched unix vs dos cr/lf
characters
	- you ned to strip \r from that file

c ya
alvin
  
> > when I boot into a gnoppix live CD and mount /dev/hda1 as /mnt/hda1 and 
> > chroot /mnt/hda1 and run /etc/init.d/rcS I still get the same errors, 
> > even though mount tells me that /dev/hda1 is mounted as rw. I thought 
> > that maybe /bin/sh could have become corrupted, so I copied over a new 
> > /bin/sh from the gnoppix CD onto /dev/hda1's /bin/ dir but still no
> > luck.
> 



Reply to: