LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-23-2002, 02:24 PM   #1
GATTACA
Member
 
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Rep: Reputation: 32
Unhappy RH7.2 dual boot issues


Hello, I'm new to the world of linux so if my question is rather dump please forgive me.

I've got a dual boot DELL 4000 laptop with Win2K and Red Hat linux 7.2. After installing RedHat 7.2 and getting all of the updates for it, the Linux side is fine (not surprising). But Win2k now takes FOREVER to boot! Each time I boot into Win2k, it tells me that it wants to check one of my partitions (the ones with linux on them). I have to cancel the check each time.

Plus, overall system speed is also extremely slow (30 seconds to open an MS Word window). I've disabled autochk.exe in w2k but that doesn't help. It's as if w2k is scanning all of the partitions, even though it shouldn't be looking at the Linux partitions at all. Has anyone seen this problem before? Can anyone suggests a way to fix it?

I would appreciate any and all hlep.

Thanks
:smash:
 
Old 02-24-2002, 05:45 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Hi,
Which bootloader do you use? This one coming with Linux or Windows 2000 one?
Windows has general problems beeing with other os on the same hd, so it's a good idea to use Windows boot loader in your situation.

Mara
 
Old 02-24-2002, 07:52 AM   #3
GATTACA
Member
 
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Original Poster
Rep: Reputation: 32
Using NTLoader

I'm using Windows 2000's bootloader.
 
Old 02-24-2002, 08:33 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

Hi,
I think it will be good to run defrag and scandisk under Windows.
Have you resized your Windows partition?

Mara
 
Old 03-01-2002, 05:47 AM   #5
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
Re: RH7.2 dual boot issues

Quote:
Originally posted by GATTACA
But Win2k now takes FOREVER to boot! Each time I boot into Win2k, it tells me that it wants to check one of my partitions (the ones with linux on them). I have to cancel the check each time.
I had exactly the same problem. I have Win2K installed on the first HD with LILO as bootloader and Linux on the 2nd HD.
What fixed the checking/slow booting problem for me is disabling the second harddisk in Win2K. (Open the explorer -> properties of C: -> go to hardware tab -> properties of 2nd hard drive -> set device usage to: "do not use this device (disable)" )

But this was not the only problem I had. After having installed 2K, it seemed to have screwed up my linux partition. If I boot into linux, this is what I get:

Quote:
/dev/hdb1: Note: if there is several inode or block bitmap blocks
which require relocation, or one part of the inode table
which must be moved, you may wish to try running e2fsck
with the '-b 32769' option first. The problem may lie only
with the primary block group descriptor, and the backup
block group descriptor may be OK.

/dev/hdb1: Inode bitmap for group 384 is not in group. (block 2147483647)
running e2fsck manually with -b 32769 gives:
Quote:
e2fsck: Bad magic number in super-block while trying to open /dev/hdb1
(null):
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fdisk -l (in linux) outputs:
Quote:
Disk /dev/hda: 255 heads, 63 sectors, 2491 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 644 5172898+ c Win95 FAT32 (LBA)
/dev/hda2 645 2491 14836027+ 5 Extended
/dev/hda5 645 1090 3582463+ 83 Linux
/dev/hda6 1091 1121 248976 82 Linux swap
/dev/hda7 1122 2491 11004493+ 83 Linux

Disk /dev/hdb: 255 heads, 63 sectors, 9964 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 9964 80035798+ 83 Linux
How do i fix this? Is mke2fs -S really the only option? And what chance do I have this will save my data? The odd thing is that I can still access /dev/hdb1 normally from Win2K using explore2fs.

P.S.: Not that it really matters, but I'm using Mandrake 7.2andahalf (new kernel and all)

Last edited by Griffon26; 03-01-2002 at 06:51 AM.
 
Old 03-01-2002, 06:10 AM   #6
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
Oh, btw, I forgot. If you disable the drive in 2K, you can no longer use something like explore2fs to read your linux partition from 2K.

It might not be a problem for you, but it sorta is for me =/
 
Old 03-03-2002, 04:41 AM   #7
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
Ok, I found out why e2fsck -b wouldn't work. It turns out my superblocks are located on 32678, etc and not on 32769.

To find out where your backup superblocks are, you can run mke2fs -n on the partition. This will not actually change anything, but it will simulate normal operation and write to the screen where it would write backup superblocks.

After that you should use e2fsck -p -b <number of backup superblock> and wait a while.

That fixed it for me. Although I'm still not sure how I can safely access (even read-only) the ext2 partition from 2K.

Can this problem have something to do with the odd location of my superblocks? I suppose that if superblocks are normally @ 8K + 1, then the first would be at 1 and 0 would be unused. In my case this means that the first superblock is at 0. Does 2K do anything with this one that wouldn't have any effect if my first superblock was at 1?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot RH7.3/WinXP jwarner Linux - Software 3 10-17-2004 09:32 AM
XP/RH7.3 dual boot to grub> awdoyle Linux - Software 8 09-11-2002 05:04 AM
Dual Boot Win Me and RH7.2 tonylowry Linux - Software 1 02-15-2002 02:07 PM
Win2K/RH7.1 Dual, RH won't boot from boot disk after install marktaff Linux - Software 4 08-24-2001 05:29 PM
dual boot Win2000 & Rh7 happy hippo Linux - Software 7 05-23-2001 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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