Page 1 of 1

losetup

Posted: Tue Oct 31, 2006 2:29 pm
by Edward
Hello. I'm new to Linux and have previosly been using M$. I'm trying to create and mound a floppy disk image as describerd here:

http://www.osdev.org/osfaq2/index.php/D ... er%20Linux

However when I try to execute the losetup command bash returns with:
bash: losetup: command not found
I'm using Red Hat 9.
is there a solution to this problem?
Please help. Thankyou.

Posted: Tue Oct 31, 2006 3:00 pm
by Brynet-Inc
A Similar situation was discussed Here..

Apparently in Redhat linux the losetup command is an optional package, You likely need to find the RPM for it.

This might be it, http://rpmfind.net//linux/RPM/redhat/9/ ... .i386.html

Posted: Tue Oct 31, 2006 3:07 pm
by gaf
bash: losetup: command not found
You must have root privileges to use losetup. Either use 'su' to login as root or execute just this command as "sudu losetup".

regards,
gaf

Posted: Thu Nov 02, 2006 2:21 pm
by Edward
Thankyou. It works when I am logged in as root. But is doesn't if i just use su on a terminal when i am logged in as normal. Is there any way to get arround this?

edit:

I fixed it. it was a problem with the bash path.