Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 3rd, 2003, 02:15 PM
aJohn aJohn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 aJohn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old July 3rd, 2003, 03:07 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 8
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

Reply With Quote
  #3  
Old July 3rd, 2003, 08:23 PM
aJohn aJohn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 aJohn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Doesn't find swap partition on boot up


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT