LinuxQuestions.org
Help answer threads with 0 replies.
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 05-14-2006, 05:53 AM   #1
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
fdisk reports /dev/hda1 (root) as FAT32 !


Mandriva 2005LE, kernel 2.6.11-12mdk

Please take a look at this:
Code:
#fdisk -l

Disk /dev/hda: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         748     6008278+   b  W95 FAT32
/dev/hda2             749        7476    54042660    5  Extended
/dev/hda5             749        1512     6136798+  83  Linux
/dev/hda6            1513        1575      506016   82  Linux swap
/dev/hda7            1576        7476    47399751   83  Linux


#mount
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /sys type sysfs (rw)
/dev/hda7 on /home type ext3 (rw)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--)
I wanted to move some partitions aroumd, so I did an fdisk -l and mount to check what was mounted where, before I started.

/dev/hda1 is my / partition and is formatted as ext3, but it is reported as W95 FAT32 which worries me a lot!

The system is running perfectly however.

I am not sure how I got into this mess (but I wonder if at some stage I had created a FAT32 partition on /dev/hda1, and then just formatted that partition as ext3. Is that possible?)

How should I go ablout restoring it to what it should be?

Thanks.
 
Old 05-14-2006, 06:39 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,392

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Quote:
Originally Posted by tredegar
I am not sure how I got into this mess (but I wonder if at some stage I had created a FAT32 partition on /dev/hda1, and then just formatted that partition as ext3. Is that possible?)

How should I go ablout restoring it to what it should be?
Very likely the cause.
I'd be inclined to just change the type in fdisk.
 
Old 05-14-2006, 12:07 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Original Poster
Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Thank you.
I'd like to report that that fixed it, but it's my brother's computer, & I'm reluctant to do this over ssh in case I mess up his root partition, and then have to get in the car.......
I'll post a follow-up when I've fixed it (couple of weeks probably).
 
Old 05-14-2006, 04:48 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,392

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Changing the type is generally no big deal - take a liveCD (say Knoppix) with you in case the re-boot throws a scare.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
lilo says, "L 01 01 01" and fdisk says, "Unable to seek on /dev/hda1" clausawits Linux - General 3 12-31-2007 09:33 PM
Grub Dual Boot /dev/sda1 /dev/hda1 jono268 Debian 4 01-14-2005 04:54 AM
fdisk reports my HD is half of it actual size, how can I fix it? ricardo_ok Slackware - Installation 4 01-25-2004 06:00 PM
\dev\hda1 ?! maoinchina Linux - General 6 10-06-2003 07:23 AM
/dev/hda1 plisken Linux - General 2 03-14-2003 06:34 PM

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

All times are GMT -5. The time now is 11:32 PM.

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