Tech Support > Operating Systems > Linux / Variants > Partition Table & FSTAB mismatch
Partition Table & FSTAB mismatch
Posted by TroyC on March 4th, 2004


I converted my laptop from win2k to Suse a while back. Initially I kept a
couple of my NTFS partitions so I could transfer files to the new linux
partitions. Along the way as I migrated data off the NTFS, I 're-claimed'
the partition as a linux partition. However on the 1st of 2 NTFS part. I
forgot to change the partition type prior to mkfs-ing. Now that partition
has data on it [/dev/hda5] as an ext3 type.

Should I change the 'type' of partition? If I do will I loose data?

Also, any idea why the 2nd swap partition is marked '+' ?

Thanks,

TroyC


Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 4 32098+ de Dell Utility
/dev/hda2 5 2454 19679625 83 Linux
/dev/hda3 2555 7296 38090115 f Win95 Ext'd (LBA)
/dev/hda4 2455 2554 803250 82 Linux swap
/dev/hda5 2555 3829 10241406 7 HPFS/NTFS
/dev/hda6 3830 6262 19543041 83 Linux
/dev/hda7 6263 6390 1028128+ 82 Linux swap
/dev/hda8 6391 7296 7277413+ 83 Linux
======
more /etc/fstab
/dev/hda8 / reiserfs defaults 1 1
/dev/hda2 /usr ext3 defaults 1 2
/dev/hda5 /vmware ext3 defaults 0 0
/dev/hda4 swap swap pri=42 0 0
/dev/hda7 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
---------
No bits were hurt during this transmission.


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---

Posted by Eric Moors on March 5th, 2004


No, you can change it safely
change hda3 in the process as well. make it 0x85

The size is not an integer number of blocks.
try `sfdisk -l -uS` it are the partitions with an odd number
of sectors. It is not a problem.

Eric

Posted by TroyC on March 5th, 2004


Eric Moors wrote:

many thanks. Yea, hda3 bothered me as well.
--
---------
No bits were hurt during this transmission.


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---


Similar Posts