Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A quick question...

Status
Not open for further replies.

Spinicus

Technical User
Oct 24, 2001
7
US
I have two hard drives (20GB and 10GB). I'm dual-booting Win98 (Partition 1) and Win2K (Partition 2) on the 20GB with a third partition for program files, downloads and documents.

My question is: Can I install Linux on the second hard drive (10GB), and still get Linux to be bootable?

I know that Win98, and Win2K have to be on sequencial partitions (i.e., C: & D:), but does Linux have to be on the next partition or just anywhere I can fit it within the first 8GB of either hard disk?

Thanks a lot for any help you guys can give me!
 
LILO will boot LINUX from any bootable partion. The lilo.conf will use the partion designation to boot to/from sucha as /dev/hda1, /dev/hda4, /dev/hdd1,or even scsci drive partitions. It is a good Idea to have a boot disk because Windoze takes over the Master Boot Record during intsallation so that installing Windoze after Linux ruins the dual boot until you start Linux and rerun lilo. Windoze will only install on the first hard drive, connected to the Primary IDE master or the first SCSI drive. Of course, you could always switch jumpers, cables, and BIOS settings to fool the machine until Windoze is installed.
 
Hi,

Yes, as said above, Linux can pretty much be installed anywhere. On older PCs you may come up against the 1024 cylinder limit. This is where the bios code on such machines does not accommodate reading cylinders > 1024 and so cannot read a boot sector at such a location. It doesn't mean that you can't access those cylinders at all - only at boot time.

Also, it is not true to say that win98 & win2k have to be on sequential partitions. The way windows operating systems allocate disk letters is based on (i) reading the partition table of each physical disk (ii) determining the partition id of each partition (iii) allocating a drive letter for each primary partition type it recognises on disk1, disk2, disk3, disk4 and then going back to disk1 and allocating letters for each logical partition on disk1, disk2, disk3, disk4.

So, say you had a 4gb win98 partition followed by a 16gb w2k partition. If you had spare space on the w2k partition you could reduce it in size and insert a linux ext2 partition in the middle. Windows would still allocate C: and D: as before because it would just ignore the ext2 partition as unrecognised (i.e. not fat16, fat32, ntfs, unformatted).

When you have multiple operating systems you would need a suitable boot-loader in the master boot record (/dev/hda in linux terminology). This could be lilo or grub from linux (which you can config to load win98 & w2k) or you can also use the w2k/nt boot loader to chain load lilo or grub. If you do it that way you'd install lilo/grub in the linux '/boot' partition and not in /dev/hda .

Hope this helps


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top