On Wed, Feb 14, 2001 at 14:31, hanasaki wrote: > I have a HD with > > /boot > / => a complete install of debian > > I wish to install a second debian on another partion(s). > > How do i do this so that lilo.conf refects both debians? Wont the 2nd > install make its own /etc/lilo.conf and thus make a lilo boot prompt > only for the 2nd install?
Here is a very crude response (but it's from a working system). Basically, I make a subdirectory under /boot for every Debian system (probably Linux system) I want to boot. All these systems share /boot. In every system /etc/lilo.conf is a symlink to /boot/lilo/lilo.conf. lrwxrwxrwx 1 root root 20 Dec 9 08:36 /etc/lilo.conf -> /boot/lilo/lilo.conf /boot: total 68 -rw-r--r-- 1 root root 515 Dec 10 10:28 README -rw-r--r-- 1 root root 512 Dec 2 19:14 boot.0300 lrwxrwxrwx 1 root root 13 Dec 10 08:16 boot.b -> potato/boot.b lrwxrwxrwx 1 root root 14 Dec 10 08:16 chain.b -> potato/chain.b drwxr-xr-x 3 root root 1024 Jan 20 13:20 lilo drwxr-xr-x 2 root root 12288 Dec 9 10:21 lost+found -rw------- 1 root root 49664 Jan 20 13:20 map lrwxrwxrwx 1 root root 12 Dec 10 08:16 mbr.b -> potato/mbr.b lrwxrwxrwx 1 root root 14 Dec 10 08:16 os2_d.b -> potato/os2_d.b drwxr-xr-x 2 root root 1024 Jan 20 13:18 potato drwxr-xr-x 2 root root 1024 Dec 10 08:13 rescue drwxr-xr-x 2 root root 1024 Nov 24 09:23 rescue.OLD /boot/lilo: total 7 drwxr-xr-x 2 root root 1024 Jan 20 13:20 RCS -rw-r----- 1 root root 5226 Jan 20 13:20 lilo.conf /boot/lilo/RCS: total 8 -r--r----- 1 root root 7314 Jan 20 13:20 lilo.conf,v /boot/lost+found: total 0 /boot/potato: total 1984 -rw-r--r-- 1 root root 170238 Jan 20 13:10 System.map-2.2.17 -rw-r--r-- 1 root root 265635 Sep 17 10:11 System.map-2.2.17-old -rw-r--r-- 1 root root 4568 Sep 25 19:20 boot.b -rw-r--r-- 1 root root 612 Sep 25 19:20 chain.b -rw-r--r-- 1 root root 10452 Jan 20 13:02 config-2.2.17 -rw-r--r-- 1 root root 12648 Sep 17 10:11 config-2.2.17-old -rw-r--r-- 1 root root 512 Sep 25 19:20 mbr.b -rw-r--r-- 1 root root 640 Sep 25 19:20 os2_d.b -rw-r--r-- 1 root root 506758 Jan 20 13:10 vmlinuz-2.2.17 -rw-r--r-- 1 root root 1042807 Sep 17 10:11 vmlinuz-2.2.17-old /boot/rescue: total 1308 -rw-r--r-- 1 root root 149 Dec 10 08:13 README -rw-r--r-- 1 root root 265635 Dec 9 10:48 System.map-2.2.17 -rw-r--r-- 1 root root 4568 Dec 9 10:59 boot.b -rw-r--r-- 1 root root 612 Dec 9 10:59 chain.b -rw-r--r-- 1 root root 12648 Dec 9 10:48 config-2.2.17 -rw-r--r-- 1 root root 512 Dec 9 10:59 mbr.b -rw-r--r-- 1 root root 640 Dec 9 10:59 os2_d.b -rwxr-xr-x 1 root root 1042807 Dec 9 10:48 vmlinuz-2.2.17 /boot/rescue.OLD: total 2026 -rw-r--r-- 1 root root 161419 Jul 5 2000 System.map-2.2.17 -rw-r--r-- 1 root root 327163 Jul 1 2000 System.map-2.2.17-compact -rw-r--r-- 1 root root 512 Jul 1 2000 boot.0300 -rw-r--r-- 1 root root 4568 Jul 1 2000 boot.b -rw-r--r-- 1 root root 612 Jul 1 2000 chain.b -rw-r--r-- 1 root root 10710 Jul 5 2000 config-2.2.17 -rw-r--r-- 1 root root 4915 Jul 1 2000 config-2.2.17-compact -rw------- 1 root root 37888 Oct 31 07:20 map -rw-r--r-- 1 root root 512 Jul 1 2000 mbr.b -rw-r--r-- 1 root root 640 Jul 1 2000 os2_d.b -rw-r--r-- 1 root root 494666 Jul 5 2000 vmlinuz-2.2.17 -rwxr-xr-x 1 root root 1012567 Jul 1 2000 vmlinuz-2.2.17-compact Luck, Pann -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^