LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-10-2004, 04:15 PM   #1
blkmage
LQ Newbie
 
Registered: Nov 2003
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
Filesystems and Partition Tables


When I first installed Linux, my drive was partitioned into 4:
/dev/hda1 NTFS
/dev/hda5 FAT32
/dev/hda6 Swap
/dev/hda7 ext3 on /

One day, I decided to get rid of Windows. I just used mkfs.ext3 on /dev/hda1, so now my partitions are so:
/dev/hda1 ext3 on /home
/dev/hda5 FAT32
/dev/hda6 Swap
/dev/hda7 ext3 on /

Now then, I needed to install Windows again for one app, so I use an older Windows, 98. I move my partitions around by moving the data and changing all the filesystems using mkfs. Now, I had this:
/dev/hda1 FAT32
/dev/hda5 ext3 on /home
/dev/hda6 swap
/dev/hda7 ext3 on /

However, when I went to install Windows, C: was pointing to /dev/hda5!

As it turns out, the partition table still reads this (in fdisk and cfdisk):
/dev/hda1 NTFS
/dev/hda5 FAT32
/dev/hda6 Swap
/dev/hda7 ext3 on /

I'm able to mount all of these as what they're supposed to be.

Even gpart can tell that the partition table is wrong.

So, I want to use gpart to write a new partition table. If I do, will it destroy my existing partitions or data? And, should I unmount my partitions to do this?
 
  


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
Partition tables, multiboot and Linux javier030664 Linux - General 1 06-15-2005 06:22 PM
Fedora 3/winXP corrupted partition tables frankinmerth Linux - Newbie 4 04-13-2005 04:06 PM
dual boot problem -- partition tables bad? quarter_ethan Linux - Newbie 11 07-17-2004 02:20 PM
windows filesystems vs. linux filesystems irfanhab General 8 05-25-2004 07:21 AM
How do I recover old partition tables in linux? PsychoFarmer Linux - Software 5 01-04-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:26 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