LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
 
Search this Thread
Old 01-15-2008, 02:05 PM   #1
ashjas
LQ Newbie
 
Registered: Jan 2008
Posts: 13

Rep: Reputation: 0
fedora doesnot detect swap after deletion of a partition


New Note 4



Hello,



i had windows on my system,installed suse then fedora 8.

for some reason deleted suse and increased the ext3 partition of fedora to acquire the free space of suse partition by using a third party partioner.



now fedora doesnot detect the swap...may be because the sda number of both swap and the ext3 partition got changed??as i had to reinstall grub changing the partition number from where grub loads fedora...though i am able to boot fedora up,but my problem is that i need to enable swap detection at boot time.



but something stange is there...gparted shows swap to be at sda5:




http://img90.imageshack.us/my.php?image=26088062fo3.png


and /boot/grub/menu.lst shows that the partition from which the grub loads up fedora is hd0,5 that is sda5..

http://img221.imageshack.us/my.php?i...3458323rd8.png





so how can one partitions be alloted sda5 at boot time and other when fedora loads??



please help me.



Thanks.
 
Old 01-15-2008, 02:18 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Pay attention to GRUB's naming convention: (hd0,5) is the equivalent of sda6. In GRUB configuration the numbers count from zero upwards; that is, first partition is partition number 0, second is number 1 and so on.

So:
sda1 = (hd0,0)
sda2 = (hd0,1)
sda3 = (hd0,2)
sda4 = (hd0,3)
sda5 = (hd0,4)
...

Swap not being loaded is probably beceause of the changed partition table..is fstab information correct?

You can use swapon to enable swap.
 
Old 01-16-2008, 10:12 AM   #3
ashjas
LQ Newbie
 
Registered: Jan 2008
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the help...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 2 doesnot detect Realtex AC'97 sound card/codecs mhbengal Linux - Software 5 05-25-2004 04:12 AM
Fedora Core 2 doesnot detect Realtex AC'97 sound card/codecs mhbengal Linux - Hardware 1 05-24-2004 10:57 PM
Fedora Core 2 doesnot detect Realtex AC'97 sound card/codecs mhbengal Linux - Wireless Networking 2 05-23-2004 10:24 PM
Fedora 2 doesnot detect US Robotics 5416 PCI wireless card mhbengal Linux - Wireless Networking 0 05-23-2004 02:01 AM
SWAP partition /dev/hdb2 fails to detect/mount after memory upgrade. Sgaileach1 Linux - Hardware 2 02-06-2004 03:29 PM


All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration