|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Doesn't find swap partition on boot up
I am a new Linux user.
I have just installed Linux Redhat 9 on my single hard drive along with two MS Windows OSs. After some initial problems all 3 systems are booting from the WindowsXP, NTFS, "boot.ini" file and all seem to working well except for the following Linux boot issue. While booting to Linux I see one line of text that has red letters announcing an error with the swap partition, with part of the text saying "Activating Swap Partition swapon: /dev/hda9: invalid argument". My swap partition is on hda7 So it appears that Linux is looking on the wrong partition for the swap. I get this error when booting from a floppy or from the mbr to GRUB which is on "/boot". How can I change things so it looks for swap on hda7? A little related info that I don't understand, but may help someone else to understand what is going on here, is that after installation my boot floppy would boot Linux but later stopped working to boot Linux. After looking at the floppy I found is was looking for root on hda9(same as above) so I edited it to look at hda6 and now it works. I suspect I may have more problems like this but I have not seen any yet. ![]() |
|
#2
|
||||
|
||||
|
What order did you install your operating systems? You should always install linux last. Then just use lilo or grub. Both will boot both windows versions just fine. Windows boot manager however, doesnt like to boot linux. You might just try reinstalling and install linux as the very last thing.
-Mr.K |
|
#3
|
|||
|
|||
|
Linux was the last OS installed.
It would be easy enough for me to reinstall Linux and I may do that but I thought that some place within Linux it is looking for the swap partition in the wrong place and if I could find it I could change "hda9" to "hda7". The boot floppy does the same thing as booting from Windows so it seems my problem would be within Linux. Edit: I found the answer I was looking for, "gedit /etc/fstab". Thanks anyway Last edited by aJohn : July 4th, 2003 at 11:42 AM. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Doesn't find swap partition on boot up |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|