Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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)
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.