On Tue, Apr 22, 2003 at 02:19:17PM +1000, Ken Brick wrote: > I share a PC between W2K and LINUX RH v8. > > I've just re-partitioned a harddrive from the W2K side which added > an additional logical drve before one the swap drive on that > physical drive. Now when I'm booting a command > SWAPON /dev/hda7 > is issued and it isn't the LINUX swap which is now hda8. > > Where is the SWAPON command being issued. Unix and Linux are case sensitive; that should be swapon. You should read up on the Linux boot process. See, e.g, Greg O'Keefe's "From Power Up To Bash Prompt" HOWTO, available at the Linux Documentation Project, http://www.tldp.org/. Or Eric Raymond's "The Unix and Internet Fundamentals HOWTO", also from the LDP. Also, run "man inittab". find /etc/rc.d/ \( -iname "rc.*" -o -iname "[KS]*" \) | xargs grep swapon > > Incidentally changed FSTAB to use hda8 instead of hda7 and it made > no difference Did you run mkswap on the partition? Do you have the correct setup in fstab? I have: /dev/hda6 swap swap defaults 0 0 -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://www.charlescurley.com / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
Attachment:
pgp00844.pgp
Description: PGP signature