MottS Posted May 13, 2003 Report Share Posted May 13, 2003 Hi all I have the following: hda1 ==> XP is there for my mp3 player (still not recognized by Linux but that's another story) hda5 ==> Datas + Windows longhorn alpha 4015. Here is the ls -l output gd@localhost Datas $ ls -l total 786516 drwxrwxrwx 6 root root 4096 Feb 19 07:33 C++ drwxrwxrwx 4 root root 4096 Apr 14 19:57 Distro drwxrwxrwx 6 root root 4096 Mar 14 23:17 Documents drwxrwxrwx 7 root root 4096 Mar 31 16:24 Documents and Settings drwxrwxrwx 4 root root 4096 May 11 20:49 Download drwxrwxrwx 5 root root 4096 May 10 17:17 Films drwxrwxrwx 2 root root 4096 Apr 11 00:15 Joe drwxrwxrwx 7 root root 4096 May 11 08:24 Musique drwxrwxrwx 11 root root 4096 Mar 8 23:09 Photos dr-xr-xr-x 17 root root 4096 Mar 31 16:17 Program Files drwxrwxrwx 2 root root 4096 May 11 20:03 Recycled drwxrwxrwx 2 root root 4096 Mar 31 16:23 SyncStaging drwxrwxrwx 6 root root 4096 Mar 24 19:22 VaRiA -rwxrwxrwx 1 root root 2 Mar 31 16:18 autoexec.bat -rwxrwxrwx 1 root root 0 May 12 01:08 clean -rwxrwxrwx 1 root root 2 Mar 31 16:18 config.sys drwxrwxrwx 2 root root 4096 May 11 19:23 idwlog -r-xr-xr-x 1 root root 2 Mar 31 16:18 io.sys -rwxrwxrwx 1 root root 30 May 11 21:56 longhorn.txt -r-xr-xr-x 1 root root 2 Mar 31 16:18 msdos.sys -rwxrwxrwx 1 root root 805306368 May 11 19:39 pagefile.sys drwxrwxrwx 44 root root 8192 Mar 31 16:46 windows You see, C++, Distro, Documents, Download, Films, Joe, Musique, Photos and VaRiA are MY folders while all the others were installed by Longhorn (don't know why it didn't format the partition actually). hda6 ==> Gentoo hda7 ==> Swap Now, how do I configure LILO so that I can choose which OS to boot? Here is my lilo.conf vga=normal message = /boot/xray-blue.boot boot="/dev/hda" prompt map = /boot/System.map lba32 timeout="150" default=Gentoo image="/boot/bzImage" root="/dev/hda6" label="Gentoo" initrd="/boot/initrd" append="quiet" vga="791" read-only other = /dev/hda1 label="Windows_XP" table = /dev/hda other = /dev/hda5 label="Windows_LH" table = /dev/hda and here is what I get when I try to run lilo -v root@localhost gd # lilo -v LILO version 22.3.3, Copyright (C) 1992-1998 Werner Almesberger Development beyond version 21 Copyright (C) 1999-2002 John Coffman Released 30-Aug-2002 and compiled at 19:07:20 on Apr 9 2003. Reading boot sector from /dev/hda Using MENU secondary loader Calling map_insert_data Mapping message file /boot/xray-blue.boot Calling map_insert_file Boot image: /boot/bzImage Mapping RAM disk /boot/initrd Added Gentoo * Boot other: /dev/hda1, on /dev/hda, loader CHAIN Added Windows_XP Boot other: /dev/hda5, on /dev/hda, loader CHAIN Fatal: Partition entry not found. Note that I run Gentoo so forget about MCC and GUI stuff. Plain console for me .. like it this way Thx for any input/advice/suggestion/whatever/yiha! MOttS Quote Link to comment Share on other sites More sharing options...
aru Posted May 13, 2003 Report Share Posted May 13, 2003 Is /dev/hda5 a logical or a primary partiton? I'm not sure if a windows will boot from an extended partiton at all. As the problem is with hda5 which per the name seems a logical partition I guess that the problem is in there (as it is extended it is not somewhat *listed* in the hda partition table). My limited experience with windows have showed me that window$ only boots if it is installed in a primary partition, and if it (window$) thinks that it is booting on "C:" Not related to your problem, but you said that you wanted *any input/advice/suggestion/whatever/yiha!* :mrgreen: and as it is related to *tricky* window$ boots: I have windows in a slave disk so in order to boot it I had to tell lilo to lie about where is window$ thus making window$ feel that he is in "c:" other = /dev/hdb1 label = windows98 table=/dev/hdb map-drive = 0x80 to = 0x81 # makes primary master go to slave map-drive = 0x81 to = 0x80 # makes primary slave go to master maybe something similar can be done in your situation (do some google first to be sure) Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted May 13, 2003 Report Share Posted May 13, 2003 Aru, windows can boot in an extended partition. There are some versions of windows such as 98 that can not (although a boot manager may overcome this). Motts, if I got you right, you have 2 OS's stored on the same partition and want lilo to boot either one. H'aint gonna happen. However, you can try several t hings.. 1. Make a new partition and reinstall one of the OS's there. 2. Use XP's boot manager to handle the two OS's on the same partition. I have no idea if that would work, but I bet there is a configuration since I've seen people install 2 window's os's on the same partition before. Then you would have lilo call XP which in turn would have an entry for XP and Longhorn. Quote Link to comment Share on other sites More sharing options...
aru Posted May 13, 2003 Report Share Posted May 13, 2003 Aru, windows can boot in an extended partition. There are some versions of windows such as 98 that can not (although a boot manager may overcome this). Understand my previous post as an AFAIK :mrgreen: Quote Link to comment Share on other sites More sharing options...
MottS Posted May 13, 2003 Author Report Share Posted May 13, 2003 Hi cannon and aru. Maybe I said it _weirdly_ in my first post but here is the config again: hda1 (primary partition) - NTFS => Windows XP hda5 (extended partition) - FAT32 => Windows Longhorn + lots of datas (music, etc.) hda6 (extended partition) - ReiserFS => Gentoo hda7 (extended partition) - Swap When I start my computer, I'm faced to the Windows boot loader. I can choose either XP or Longhorn. If I want to boot Gentoo, I have to use a floppy disk. So the question is -> Is there a way for Lilo to list the three OSes? MOttS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.