Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fix: Dual Boot: Windows Loading VERY Slow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
metalhedd
l33t
l33t


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

PostPosted: Thu Oct 03, 2002 2:45 am    Post subject: Fix: Dual Boot: Windows Loading VERY Slow Reply with quote

If you've just installed Gentoo and noticed that since then Windows is loading Very slowly. (almost as if it locks up) The problem is most likely the remnants of a fat filesystem on one of your linux partitions. when I had this problem it was /dev/hda1 which was my boot partition. unless I specified -t ext2 on the command line to mount the partition it would mount it as a vfat partition complete with directories called WINNT and Program Files (left over fat table from my previous windows install) in order to fix this I copied the entire contents of /boot to a backup directory and unmounted it.
the next step is to Zero out the entire partition, to do this first run 'df' to determine the exact size of the partition in 1K Blocks. then run
Code:

dd if=/dev/zero of=/dev/hda1 bs=1K count=4567

the count value should be the number of 1k blocks in that partition.

when thats done recreate the original filesystem

Code:

mke2fs /dev/hda1

and copy everything back from the backup directory. if the affected partition was your boot partition you'll have to reinstall grub. but i'm sure theres documentation out there already. so rtfm.

windows should boot normally again and your linux partition should have any problems determining its proper filesystem.

Hope someone finds this useful, I Sure would have earlier.
Back to top
View user's profile Send private message
gemmint10
n00b
n00b


Joined: 01 Oct 2002
Posts: 11

PostPosted: Mon Oct 07, 2002 9:51 pm    Post subject: yes i had a similar thing happen... Reply with quote

+++EDIT+++
don't try this yet, read all posts plsthx
+++/EDIT+++

When I decided to install Gentoo on my 10G drive with 1 fat32 partition I had a strange problem.

After I ran (linux) fdisk, and formatted the 3 new partitions, my /dev/hda1 was full!! All the files that I thought would be gone from win98 were sitting there. BTW, this happened with both ext3 and XFS formats.

My solution was similar except i did this:

Code:
dd if=/dev/zero of=/dev/hda bs=1K


Then about 20 seconds later i figured the partition table had to be thoroughly fscked, so i hit <ctrl> c. Sure enough, I ran fdisk and it alerted me that the table was corrupt and asked me if it could create a new one. 'Why yes, thank you!' =) Problem solved, but I am still puzzled why linux fdisk couldn't do the job alone.

Andy


Last edited by gemmint10 on Tue Oct 08, 2002 2:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Oct 08, 2002 1:24 am    Post subject: Reply with quote

You could hit... O(?) in fdisk to make a new parition table.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
gemmint10
n00b
n00b


Joined: 01 Oct 2002
Posts: 11

PostPosted: Tue Oct 08, 2002 1:48 pm    Post subject: I did check that... I thought Reply with quote

Yea before i posted that i thought I made sure fdisk couldnt write a fresh table...

My mistake, doh!
Back to top
View user's profile Send private message
Narcose
n00b
n00b


Joined: 24 Nov 2002
Posts: 1

PostPosted: Tue Nov 26, 2002 7:59 pm    Post subject: Reply with quote

if this works and it will prolly
THANK YOU
:-)
Back to top
View user's profile Send private message
silver
n00b
n00b


Joined: 28 Nov 2002
Posts: 10

PostPosted: Sat Nov 30, 2002 12:38 am    Post subject: Reply with quote

Good tip, thanks
Back to top
View user's profile Send private message
phoeniceus
n00b
n00b


Joined: 22 Nov 2003
Posts: 42
Location: USA

PostPosted: Fri Feb 27, 2004 11:54 pm    Post subject: 2 boot flags? Reply with quote

edit: sorry, nevermind
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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