GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
I have a 15 gig fat32 partition purly to test out my Radeon 9600XT (been having trouble getting linux drivers working but that's not my issue for now)
I have formatted /dev/hda4 as FAT32 the full thing at 15 GIG. Can I install win 98 to this partition and expect lilo to boot it even though it is so far away from the start of the disk?
I realise the install from win 98 will kill the MBR so I'll have to restore it. But after that, is it technically possible to boot win98 that far into the disk map?
these are from the Partition Magic help file............just an FYI
Quote:
Understanding the 2 GB Boot Code Boundary
An OS's boot code is stored in both the master boot record (MBR) and the partition boot record, enabling the OS to boot properly. In some OSs, however, this boot code is written is such a way that it inadvertently imposes a limit on the location of both the partition boot record and the files needed to boot the OS.
DOS (versions 6.x and earlier) and Windows NT (versions 4.0 and earlier) are both affected by this boot code limitation. When booting these two operating systems, the cylinder-head-sector (CHS) address of the beginning boot code sector must be calculated in order to retrieve the sector's information and load and execute the next part of the boot process. The CHS value for the needed sector is calculated as follows:
Sector Number / Sectors Per Track
Because of the way the boot code is written, the product of this calculation must fit in a 16-bit register. The largest value a 16-bit register can contain is 64K. If the number is larger than 64K, the number is truncated, resulting in an incorrect value that skews the remaining calculations. The boot process fails to load and execute the needed sector, thus preventing the OS from booting.
Most current hard disks have 63 sectors per track, creating a 64K boot code boundary at 2 GB. If your disk is older and/or uses drive overlay software, this boundary may be lower.
If a partition begins or extends beyond this boundary, the CHS value of the partition's boot code sector cannot be correctly calculated; therefore, the partition and its OS cannot boot.
This same limit applies to the DOS IO.SYS file and the Windows NT file, NTLOADER.EXE. If either of these files are installed or moved beyond the 64K boot code boundary, the corresponding OS fails to boot. To boot properly, DOS requires that the first three sectors of IO.SYS be below the 2 GB boot code boundary.
Both the IO.SYS and NTLOADER.EXE files are usually located near the beginning of the partition in which they are installed. When you resize partitions using PartitionMagic, this area of the partition may be vacated to make room for a larger FAT or other file system structures. As a result, IO.SYS or NTLOADER.EXE may be moved beyond the 2 GB boundary, thus preventing the OS from booting.
The disk map in the PartitionMagic main window displays an arrow indicator at the 2 GB boot boundary, so you can see where your partitions are located.
Quote:
Understanding the BIOS 1024 Cylinder Limit
The BIOS 1024 cylinder limitation exists because the start and end cylinder values in the partition table (and some BIOSs) have a maximum value of 1024. Because some operating systems such as DOS 6.22 use the CHS (Cylinder, Head, and Sector) values to address sectors on the disk, they cannot access sectors beyond the 1024 cylinder. When you start your computer the BIOS boots the operating system using the CHS values to locate the first sector of the bootable partition. If the partition starts past the 1024 cylinder, the BIOS may not be able to boot it because it cannot address a cylinder number higher than 1024.
With PartitionMagic, you can safely partition any drive, regardless of the number of cylinders on the drive. In fact, to prevent you from performing partition operations that might cause problems, PartitionMagic is careful to observe the BIOS 1,024 cylinder limit on computer systems where one or more of the following applies:
· The hard disk has a capacity 504 MB or more and the BIOS translation mode is set to Normal or CHS.
· The hard disk has a capacity 504 MB or more and the BIOS was manufactured prior to 1994 (approximately).
· The hard disk has a capacity 8 GB or more.
If you have such a computer system and you use only DOS, neither the DOS FDISK utility nor PartitionMagic lets you see cylinders beyond the 1,024th cylinder or include them in any partition. Space beyond the 1,024th cylinder always remains invisible.
Even if the BIOS 1,024 cylinder limit applies to your system, you can use PartitionMagic without difficulty. The only instance where you may encounter a problem is if all the following criteria apply:
· You use DOS and another OS.
· The other OS can "see" and use disk space past the first 1,024 cylinders on the disk.
· You use PartitionMagic or the FDISK utility of the other OS to create a partition extending beyond the 1,024th cylinder.
· You then run the DOS PartitionMagic executable.
When you run the DOS PartitionMagic executable, you may or may not be able to see the newly-created partition that extends beyond the 1,024 cylinder limit. Even if you can see the partition, you cannot use the DOS PartitionMagic executable to perform any operations on that partition. This restriction applies to both primary and extended partitions that contain space beyond the 1,024th cylinder. If an extended partition exceeds the cylinder limit, you cannot perform operations on any one of the contained logical partitions, even if the logical partition itself does not extend past the 1,024th cylinder.
The disk map in the PartitionMagic main window displays an arrow indicator at the 1024 cylinder boundary (and the 2 GB boot boundary), so you can see where your partitions are located relative to the 1024 cylinder limit. Be sure that all OS partitions on a disk start prior to cylinder 1024. This ensures that you can boot the OS. Also, use caution when moving a bootable partition; if the partition is moved beyond cylinder 1024 it may no longer be bootable. To fix this problem you can move the partition below the 1024 cylinder marker.
Tips
· If you use DOS, but your system has the INT 13 BIOS extensions, PartitionMagic lets you see cylinders past the normal 1,024 limit and perform operations on partitions extending beyond this boundary.
Thanks for the infos guys. I think it's actually working. I boot the windows list and I get INSERT BOOT DISK. Might try installing windows from CD this time (before I just copied windows and boot files from a windows box) and see if it boots.
Ok, I managed to get it working! It's not so hard either. Just as long as you use linux to format the large FAT32 LBA partition, and then install windows 98, it will install to the FAT32 partition nicely.
Of course, the MBR is overwritten with windows. To six this, I used the Fedora CD to boot and typed:
linux rescue
chroot /mnt/sysimage
..to get a reasonable working linux up. Then used:
grub-install /dev/hda
..to reactivate my grub MBR.
Of course, I had to make sure that my /etc/grub.conf was correct.
So I can happily confirm that you can easily dual boot with linux as your first set of paritions and then have windows 98 second edition on a rather large partition (15gig) at the end of the drive successfully and boot either.
Maybe I should document this for the success stories section.
Last edited by sausagejohnson; 04-12-2004 at 09:21 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.