LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2006, 03:34 PM   #1
RazvanZ
Member
 
Registered: Apr 2004
Location: Romania
Distribution: Gentoo
Posts: 63

Rep: Reputation: 15
fdisk partitioning trouble


Hi! I have a big problem: I wanted to install gentoo linux 2006 and I used fdisk to create a linux root partition and now somehow I can't find my windows partitions!! Please help me!! What can I do. I haven't formated anything yet so I think there is still hope!!!
 
Old 04-07-2006, 03:49 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
What do you mean you used fdisk to create a root partition? Do you mean you created a Linux partition that you plan to mount at /? Exactly what did you do? Are you following the installation instructions provided by www.gentoo.org? If so, what step did you complete last?
 
Old 04-07-2006, 03:54 PM   #3
RazvanZ
Member
 
Registered: Apr 2004
Location: Romania
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
Well it's like this: on my hdd I have 3 windows partitions and 2 linux partitions. I have one with windows xp - it's a primary partitions, and 2 logical partitions in the extended logical partition, I also have a swap partition and i used to have a linux partition but i deleted it with fdisk and then I tried to create it again and when it asked me what type of partition I want (primary or logical), I chose a logical partition and I saved the changes, but I didn't format anything...
 
Old 04-07-2006, 04:02 PM   #4
Sören Schneider
Member
 
Registered: Apr 2005
Location: Brazil
Distribution: SUSE 9.0 Pro, SUSE OSS 10.0, KDE 3.4.2
Posts: 156

Rep: Reputation: 30
can you at least see your primary partion WinXP)?
 
Old 04-07-2006, 04:03 PM   #5
Sören Schneider
Member
 
Registered: Apr 2005
Location: Brazil
Distribution: SUSE 9.0 Pro, SUSE OSS 10.0, KDE 3.4.2
Posts: 156

Rep: Reputation: 30
We should chat about this on ICQ
 
Old 04-07-2006, 04:09 PM   #6
RazvanZ
Member
 
Registered: Apr 2004
Location: Romania
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
Yes the primary partition is visible, but I cant see what's in the extended partition.
 
Old 04-07-2006, 04:23 PM   #7
Sören Schneider
Member
 
Registered: Apr 2005
Location: Brazil
Distribution: SUSE 9.0 Pro, SUSE OSS 10.0, KDE 3.4.2
Posts: 156

Rep: Reputation: 30
You may try "gpart" and see what's the result.

ICQ #117685894
 
Old 04-07-2006, 04:30 PM   #8
RazvanZ
Member
 
Registered: Apr 2004
Location: Romania
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
When i use gpart it shows me the partitions like they should be
 
Old 04-07-2006, 04:32 PM   #9
RazvanZ
Member
 
Registered: Apr 2004
Location: Romania
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
what's your screen name in icq?

Last edited by RazvanZ; 04-07-2006 at 04:37 PM.
 
Old 04-07-2006, 04:38 PM   #10
RazvanZ
Member
 
Registered: Apr 2004
Location: Romania
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
this is what I get using gpart:
####################################
Begin scan...
Possible partition(Windows NT/W2K FS), size(4094mb), offset(0mb)
Possible extended partition at offset(4094mb)
Possible partition(Windows NT/W2K FS), size(61443mb), offset(4094mb)
Possible partition(Windows NT/W2K FS), size(114753mb), offset(65538mb)
Possible partition(Linux swap), size(251mb), offset(180291mb)
Possible partition(ReiserFS filesystem), size(10236mb), offset(180542mb)
End scan.

Checking partitions...

* Warning: more than 4 primary partitions: 5.
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Partition(Linux swap or Solaris/x86): primary
Partition(Linux ext2 filesystem): invalid primary
Ok.

Guessed primary partition table:
Primary partition(1)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 4094mb #s(8385864) s(63-8385926)
chs: (0/1/1)-(521/254/60)d (0/1/1)-(521/254/60)r

Primary partition(2)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 61443mb #s(125837080) s(8385993-134223072)
chs: (522/1/1)-(1023/254/63)d (522/1/1)-(8354/254/61)r

Primary partition(3)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 114753mb #s(235014816) s(134223138-369237953)
chs: (1023/254/63)-(1023/254/63)d (8355/1/1)-(22983/254/57)r

Primary partition(4)
type: 130(0x82)(Linux swap or Solaris/x86)
size: 251mb #s(514080) s(369237960-369752039)
chs: (1023/254/63)-(1023/254/63)d (22984/0/1)-(23015/254/63)r
 
Old 04-07-2006, 05:57 PM   #11
RazvanZ
Member
 
Registered: Apr 2004
Location: Romania
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
I've solved my problem using testdisk. Thank u Sören Schneider and all the others for their help!
 
  


Reply



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
a quickie on fdisk and partitioning Hex29A Linux - General 4 09-06-2004 04:52 AM
Gentoo dual boot, fdisk partitioning. Nz_Boy_2004 Linux - Software 7 09-06-2004 02:13 AM
Partitioning a windows drive for Slack 9.1 using cfdisk or fdisk sxa Linux - Newbie 2 02-06-2004 09:01 PM
how to avoid '+' in fdisk partitioning devershetty Linux - Newbie 2 11-30-2003 11:14 PM
fdisk/partitioning in general question weedwacker Linux - Newbie 2 08-13-2002 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 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
Open Source Consulting | Domain Registration