Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost and recreated partition = confused Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
FubarPA
n00b
n00b


Joined: 09 May 2003
Posts: 8
Location: Pennsylvania, USA

PostPosted: Thu Jun 16, 2005 4:07 am    Post subject: Lost and recreated partition = confused Gentoo Reply with quote

A little background info:

I had to reinstall Windows on my dual-boot desktop (Windows died, go figure). So, I reinstall XP Home. Somehow, my swap partition got killed in the process (either by me, or else Windows. I'm guessing Windows on this one :) ). I noticed it was gone, so I attempted to recreate it. I did get a swap partition, but it's now identified differently:

Prior to Windows reinstall I had:

/dev/hda1 - Windows
/dev/hda2 - /boot
/dev/hda3 - swap
/dev/hda4 - /

As of now, the scheme is the same, except /dev/hda4 is now marked as swap, and /dev/hda3 is /, at least according to fdisk. The weird thing is, the start and end (shown in fdisk) for the swap partition is the same. It just renumbered the partitions. I'm booted into Gentoo now, but Gentoo has two issues:

1 - it couldn't turn on the swap (it's trying to do swapon to /dev/hda3, which is now /)
2 - it thinks / is mounted on /dev/hda4, which it's not.

I'm hoping someone out there has encountered this before. Below is also the output the print command from parted:
Code:
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031  61443.918  primary   ntfs        boot
2      61443.918  61498.828  primary   ext2       
4      61498.828  62479.357  primary   linux-swap 
3      62479.358 117796.926  primary   reiserfs   

_________________
Journey inside the mind of a geek
Back to top
View user's profile Send private message
ansient
Guru
Guru


Joined: 22 Jan 2005
Posts: 445
Location: Argentina

PostPosted: Thu Jun 16, 2005 5:09 am    Post subject: Reply with quote

please post the output of fdisk -l

and your fstab
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Thu Jun 16, 2005 5:27 am    Post subject: Reply with quote

And
Code:
dmesg | grep swap
Back to top
View user's profile Send private message
FubarPA
n00b
n00b


Joined: 09 May 2003
Posts: 8
Location: Pennsylvania, USA

PostPosted: Fri Jun 17, 2005 1:12 am    Post subject: Reply with quote

I figured it out this morning. I must have wiped out the changes I had made to switch the partitions. I made the changes again, and now it's working fine. Thanks for the responses, though.
_________________
Journey inside the mind of a geek
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum