Operating Systems > Linux and UNIX
grub over lilo
choasforages:
ahh, try
/sbin/mkbootdisk
another redhack, for some odd reason redhat doesn't think that /sbin and /usr/sbin should be in roots path
voidmain:
"/sbin" and "/usr/sbin" *are* in root's path in RedHat. They are not in the normal user's path which if you notice he is logged in as a normal user because of the "$" prompt. And if you "su" from a normal user to root you are not going to get root's PATH or the rest of root's environment on any *NIX system. In order to do that you need to do a "su -" (notice the "-"). Now that does not explain why he didn't have the "man" page installed. To me that would indicate that he does not have the "mkbootdisk" RPM installed. If he does not he should install it from his RedHat CD.
To make a boot disk I would suggest this:
$ su -
(enter root's password)
# mkbootdisk --device /dev/fd0 2.4.18-14
If "2.4.18-14" is not your current running kernel version then use whatever version you are currently running. You can find out by typing "uname -r". Or just use that command as part of the mkbootdisk command like so:
# mkbootdisk --device /dev/fd0 `uname -r`
Notice the "`" is a left tick (or a starting single quote mark, or whatever the name is. I don't know what the "real" name is for that character).
[ December 05, 2002: Message edited by: void main ]
Agent007:
This is very funny....Cause I'm on RH8 and the mkbootdisk command works fine...I have not installed anything extra nor have changed the path variables. Maybe u need to login as root?
007
quote:Originally posted by Siplus:
well, i have redhat 8.0.....this is what i get:
--- Code: ---
--- End code ---
[/b]
--- End quote ---
Siplus:
quote:Originally posted by void main:
Now that does not explain why he didn't have the "man" page installed. To me that would indicate that he does not have the "mkbootdisk" RPM installed. If he does not he should install it from his RedHat CD.
--- End quote ---
i'm sorry for the misunderstanding void, i said:
"i can type man mkbootdisk, but it doesn't recognise the command mkbootdisk.", what i ment to say was i can type
$man mkbootdisk
and i get the man file, but when i type
$mkbootdisk
it doesn't recognise the command
voidmain:
Then just follow the instructions in my previous note and you should be all set.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version