Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

gpart guessed partitions

 
   Linux (Home) -> Genreal Discussions RSS
Next:  user name a la /home/username & unmounting th..  
Author Message
UBZ

External


Since: Apr 13, 2004
Posts: 1



(Msg. 1) Posted: Tue Apr 13, 2004 3:42 am
Post subject: gpart guessed partitions
Archived from groups: alt>linux (more info?)

Well, my story is long (if interested look here
http://www.broadbandreports.com/forum/remark,9947636 ) but in short:
1. Had 4 partitions C:WinXP(NTFS) D:Data(FAT32) , Linux swap and
reiserfs.
2.Used "dd if=/dev/zero of=/dev/hda bs=512 count=1"
3.Destroyed partition table and MBR
4.Used gpart, have partitions back, D(FAT32) alright, C: almost(Winxp
tries to boot but ernd with an error, safe mode stop on
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\System32\DRIVERS\agp440.sys

So now I don't know if the partition is corrupt or just windoze files.
So my question is:
Can somebody tell me if this partition table is correct enough? When
booting from WinPE, C: disk is not recognized, get error.

fdisk /dev/hda

The number of cylinders for this disk is set to 77520.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):p

Disk /dev/hda: 40.0 GB, 40007761920 bytes
16 heads, 63 sectors/track, 77520 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 21962 11068752 7 HPFS/NTFS
/dev/hda2 21962 56722 17518851 b W95 FAT32
/dev/hda3 56722 58778 1036192 82 Linux swap
/dev/hda4 58778 77520 9446220 83 Linux

Command (m for help):v
129 unallocated sectors

gpart /dev/hda
.....
Guessed primary partition table:
Primary partition(1)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 10809mb #s(22137504) s(63-22137566)
chs: (0/1/1)-(1023/15/63)d (0/1/1)-(21961/13/60)r

Primary partition(2)
type: 011(0x0B)(DOS or Windows 95 with 32 bit FAT)
size: 17108mb #s(35037702) s(22137633-57175334)
chs: (1023/15/63)-(1023/15/63)d (21961/15/1)-(56721/13/63)r

Primary partition(3)
type: 130(0x82)(Linux swap or Solaris/x86)
size: 1011mb #s(2072384) s(57175335-59247718)
chs: (1023/15/63)-(1023/15/63)d (56721/9/1)-(58777/7/62)r

Primary partition(4)
type: 131(0x83)(Linux native)
size: 9224mb #s(18892440) s(59247720-78140159)
chs: (1023/15/63)-(1023/15/63)d (58777/8/1)-(77519/15/63)r

That's it =]
Can anybody advise me anything?
Thanks in advance.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Partitions have vanished - I have my HD set up as follows: /dev/hda1: NTFS/WinXP /dev/hda2: Gentoo/reiserfs /dev/hda3: VFAT (for exchanging data) /dev/hda4: Linux swap I use lilo to select my OS. Today when I booted into Linux I got an "unable to mount root fs /dev/hda2&qu...

partitions not recognized. - Hi guys, I have a problem when trying to install Suse, in fact any distribution. Maybe it's hardware related, excuse me if this is not the group to post it. I have two hard drives, hda (80 Gb) hdb (40 Gb), In the first one I have a primary partition...

Partitions mounted as readonly - Hi, after upgrading my Debina sarge system my partitions are mounted as read-only with every new reboot. After rebooting I can remount the devices to writable but that's not very convenient. I checked the partitions with fstab, everythings seems to be....

how to get kernel to recognize more than 15 partitions? - I have FC6 installed (kernel 2.6.18). I've done some repartitioning of my 250 GB SATA drive with parted and now have a total of 21 partitions. The problem is, the kernel only recognizes the first 15 (/ dev/sda1 - /dev/sda15) of these. Is there a way to..

Resize partitions for LVM2 setup? - So I am new to Ubuntu (and Linux in general), and I want to set up the free space of my HDs to a LVM2 volume group where my /home will reside. What I got: /dev/mapper/ubuntu-root / 26G1 Bytes (edit: this is on / sda) /dev/sda1 ...
       Linux (Home) -> Genreal Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact