Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UN1: Partition Mounts Wrong
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Mon Dec 02, 2002 9:54 pm    Post subject: UN1: Partition Mounts Wrong Reply with quote

Navigation: [Uncategorized] [Table of Contents]


UN1: I'm having problems with my newly made partitions. They're only mounting read-only, or I can't make symlinks on them, or tarballs aren't extracting properly, or they're showing up mounted as vfat or ntfs. I'm sure that I used mkfs correctly, but it's not working. Why?

Symptoms:
- /boot partition contains Windows Files
- Errors extracting stageX tarballs
- partition is mounting as vfat instead of ext2 or other fs of choice.

What's the Problem?
- Windows fat table remains on disk even after mke2fs

How to verify the problem:
(if the partition is hda1)
umount /dev/hda1
mount /dev/hda1 /boot
mount
this will show the fs type that the partition was mounted as vfat instead of ext2 or your fs of choice.

Solution:
- Completely wipe out the contents on the partition using dd. (dd if=/dev/zero of=/dev/hdXY)
Be sure to make backups if necessary.

Quickfix:
- Specify the fs type when mounting the partition
(ie. mount -t ext2 /dev/hda1 /boot)

NOTE: If you are installing gentoo where Windows used to be, as a general precaution run dd if=/dev/zero of=/dev/BOOT immediately before mke2fs during the install process. (replace /dev/BOOT With the appropriate device)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Dec 02, 2002 11:30 pm    Post subject: Reply with quote

Post feedback to [FAQF] UN1: Sticky Windows.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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