Re: [expert] It doesn't work - Multiple Linux systems on one hard disk?
On 14/04/00 17:55, Edward [EMAIL PROTECTED] is reported to have said: >It is a nuisance creating the lilo.conf file for several distributions >because you have to mount all the /boot partitions so lilo can find the >kernels. I mount them in /etc/fstab as, for example, /mnt/redhatboot and >then they are always there and not in the way. I wondered if this was why I couldn't get Lilo to write the info to the boot sector correctly, but I mounted all the partitions, and it did not change anything. I still get the message No images have been defined. Kirk vice versa Translations - French to English, English to French | Technical Writing Traductions francais-anglais, anglais-francais | Redaction technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [EMAIL PROTECTED]http://www.mcelhearn.com Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France
Re: [expert] It doesn't work - Multiple Linux systems on one hard disk?
On Fri, 14 Apr 2000, you wrote: > Well, after all, I cannot boot off of anything on the second disk. > >snip > > Then I tried Lilo, and that doesn't work either. I have the following: > hdb1 is my Mandrake 2 /boot partition > hdb11 is my Mandrake 2 / partition > >snip > > Lilo won't accept anything I try for the second disk. I have tried: > > image=/boot/vmlinuz > root=/dev/hdb1 > label=md > No, this is wrong (unless you have mistyped in the Email) You need image=/wherever hdb1 is mounted in the RUNNING version/vmlinuz root=/dev/hdb11 label=mandrake read-only Note that hdb1 must be mounted in the version that you use to run lilo and 'image' points to the full path to the kernel, or to the link that points to the kernel. 'root' points to the partition (not the mount point, it need not be mounted) where the / directory for the installation is. In reply to another comment which I think is the same thread, anyway it is relevant: I have three different distributions installed on this PC, each with its own /boot and / partitions, sharing /usr/local = /opt, swap and /home partitions. I had no serious problems in installing RedHat 5.0 and 6.0, Caldera 2.?, SuSE 6.2 or Mandrake 6.0 and 7.0 (not all at once!) using this setup. Corel failed because I couldn't find out how to make it use the existing partitions. At the moment I have lilo on a floppy, but there is no problem in having lilo on the boot sectors of hda, booting Linux on hdb. You just need boot=/dev/fd0 or boot=/dev/hda in the global section of lilo.conf It is a nuisance creating the lilo.conf file for several distributions because you have to mount all the /boot partitions so lilo can find the kernels. I mount them in /etc/fstab as, for example, /mnt/redhatboot and then they are always there and not in the way. I don't recommend the shared /home partition. I tried to get over the problem of different .*rc and similar files for different distributions by calling myself by a different username with each distribution, but then you have files owned by a user who doesn't exist for that distribution - not a disaster, but confusion. Good luck, keep trying! Edward [EMAIL PROTECTED]
Re: [expert] It doesn't work - Multiple Linux systems on one hard disk?
Kirksure it works with seperate / and /boot. Here's one of my multiboot systems that uses scsi drives to boot Dos 6.22, Mandrake 7.0, Storm 2000 and Windows 98 SE. Device BootStart EndBlocks Id System /dev/sda1 * 126208813+ 6 FAT16 /dev/sda227 1106 86751005 Extended /dev/sda52728 16033+ 83 Linux /dev/sda62944128488+ 82 Linux swap /dev/sda745 566 4192933+ 83 Linux /dev/sda8 567 568 16033+ 83 Linux /dev/sda9 569 584128488+ 82 Linux swap /dev/sda10 585 1106 4192933+ 83 Linux Device BootStart EndBlocks Id System /dev/sdb1 * 1 553 4441941b Win95 FAT32 ...and here's another that uses ide drives to boot WinNt 4.0, Mandrake 7.0, and Win98. Device BootStart EndBlocks Id System /dev/hda1 * 1 260 2088418+ 6 FAT16 /dev/hda2 393 784 31487405 Extended /dev/hda5 393 395 24066 83 Linux /dev/hda6 396 404 72261 82 Linux swap /dev/hda7 405 784 3052318+ 83 Linux Device BootStart EndBlocks Id System /dev/hdb1 * 1 1023 2062336+ b Win95 FAT32 Neither of my systems are as complex as your design, but the scsi one boots 4 different operating systems on two seperate drives and I'm just about to add BEos to the ide machine to make it also boot 4 operating systems on two seperate drives. I use BootMagic rather than lilo to control the multiple booting. Alan Kirk McElhearn wrote: > > Well, after all, I cannot boot off of anything on the second disk. > > I first tried a boot manager called gag, that runs off a floppy. I > figured that this would be easier than messing with liloconf. No dice, > it does not seem to want to boot off the second HD. I suspect it has > something to do with the fact that I have the /boot on one partition and > the / on another. > > Then I tried Lilo, and that doesn't work either. I have the following: > > hda1 is my win partition > hda6 is my Mandrake 1 partition > > These two can boot fine > > hdb1 is my Mandrake 2 /boot partition > hdb11 is my Mandrake 2 / partition > > Lilo won't accept anything I try for the second disk. I have tried: > > image=/boot/vmlinuz > root=/dev/hdb1 > label=md > > I thought this would tell it to look in the /boot partition and find the > right kernel, but no dice. I get a message saying there is no init. > > Can this really work with seperate /boot and / partitions? > > Kirk > >vice versa > Translations - French to English, English to French | Technical Writing > Traductions francais-anglais, anglais-francais | Redaction technique > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > [EMAIL PROTECTED]http://www.mcelhearn.com > Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France
Re: [expert] It doesn't work - Multiple Linux systems on one hard disk?
Kirk McElhearn wrote: > [snipped] > Then I tried Lilo, and that doesn't work either. I have the following: > > hda1 is my win partition > hda6 is my Mandrake 1 partition What's a Mandrake 1, 2, ... partition? Actually, you explained 2 below, kind of, but even that's not clear to me. What's this 1 and 2 represent? > These two can boot fine > > hdb1 is my Mandrake 2 /boot partition > hdb11 is my Mandrake 2 / partition > > Lilo won't accept anything I try for the second disk. I have tried: > image=/boot/vmlinuz > root=/dev/hdb1 Your root partition is /dev/hdb11, instead of /dev/hdb1, which is your /boot partition. > label=md > > I thought this would tell it to look in the /boot partition and find the > right kernel, but no dice. I get a message saying there is no init. The init is in your / partition. Also, if that's all you have for configurations in your lilo.conf file and you plan to make this the information for lilo booting from the hdd, then you should add your other OSs or configurations before running lilo. mike
Re: [expert] It doesn't work - Multiple Linux systems on one hard disk?
On Fri, Apr 14, 2000 at 11:18:11AM +0200, Kirk McElhearn wrote: -> Well, after all, I cannot boot off of anything on the second disk. -> -> I first tried a boot manager called gag, that runs off a floppy. I -> figured that this would be easier than messing with liloconf. No dice, -> it does not seem to want to boot off the second HD. I suspect it has -> something to do with the fact that I have the /boot on one partition and -> the / on another. -> -> Then I tried Lilo, and that doesn't work either. I have the following: -> -> hda1 is my win partition -> hda6 is my Mandrake 1 partition -> -> These two can boot fine -> -> hdb1 is my Mandrake 2 /boot partition -> hdb11 is my Mandrake 2 / partition -> -> Lilo won't accept anything I try for the second disk. I have tried: -> -> image=/boot/vmlinuz -> root=/dev/hdb1 -> label=md -> -> I thought this would tell it to look in the /boot partition and find the -> right kernel, but no dice. I get a message saying there is no init. -> -> Can this really work with seperate /boot and / partitions? -> -> Kirk You may need a special "loader" line for booting from other hard drives. This stanza is from an old lilo.conf, of ancient vintage (the file is dated 13 Oct 1996): # DOS bootable partition config begins other = /dev/hdb1 label = dos # use the d: drive loader. loader = /boot/any_d.b table = /dev/hdb # DOS bootable partition config ends -> -> -> ->vice versa -> Translations - French to English, English to French | Technical Writing -> Traductions francais-anglais, anglais-francais | Redaction technique -> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -> [EMAIL PROTECTED]http://www.mcelhearn.com -> Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France -- -- C^2 No windows were crashed in the making of this email. Looking for fine software and/or web pages? http://w3.trib.com/~ccurley
[expert] It doesn't work - Multiple Linux systems on one hard disk?
Well, after all, I cannot boot off of anything on the second disk. I first tried a boot manager called gag, that runs off a floppy. I figured that this would be easier than messing with liloconf. No dice, it does not seem to want to boot off the second HD. I suspect it has something to do with the fact that I have the /boot on one partition and the / on another. Then I tried Lilo, and that doesn't work either. I have the following: hda1 is my win partition hda6 is my Mandrake 1 partition These two can boot fine hdb1 is my Mandrake 2 /boot partition hdb11 is my Mandrake 2 / partition Lilo won't accept anything I try for the second disk. I have tried: image=/boot/vmlinuz root=/dev/hdb1 label=md I thought this would tell it to look in the /boot partition and find the right kernel, but no dice. I get a message saying there is no init. Can this really work with seperate /boot and / partitions? Kirk vice versa Translations - French to English, English to French | Technical Writing Traductions francais-anglais, anglais-francais | Redaction technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [EMAIL PROTECTED]http://www.mcelhearn.com Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France