PDA

View Full Version : Can't get dual boot going



MillTek
05-15-2004, 03:50 PM
Hi,
Initially I had a Linspire (used to be called Lindows) version of linux on my hda1. (Its the first Linux I loaded) .

The I loaded Knoppix onto hda3. I've been trying to get Lilo to have a Linspire option in the boot menu so I can boot either but every time I try modding lilo.conf I am told that "hda1 does not contain a valid boot signature'.

I have tried reading the various dual boot posts and procedures but either I don't understand them or I am getting the instructions wrong. (One of the joys of noob-iness!!)

The machine has only one actual hard drive. Here's how it's partitioned and used;

hda1 >>>> Linspire (used to be Lindows)
hda3 >>>> Knoppix
hda5 >>>> a FAT32 partition for file and data storage
hda6 >>>> my Linux swap partition.

Here is the portion of the standard LILO.CONF file from Knoppix. (The rest of it is totally unchanged so I haven't pasted it to save space) You can see where I pasted entried from the other OS.


# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the 'other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3
other=/dev/hda1
image=/boot/vmlinuz-2.4.24
label=Linspire
vga=0xf04
root=/dev/hda1
initrd=/boot/initrd-2.4.24.gz
append="mem=nopentium resume=/dev/hda1 resume_block=0x2014"


Can anyone help? If I have to reload either OS I don't mind.

Thanks
Jim

user unknown
05-16-2004, 09:57 AM
Perhaps image and initrd need to point to /dev/hda1 too?


image=/mnt/hda1/boot/vmlinuz-2.4.24
initrd=/mnt/hda1/boot/initrd-2.4.24


I don't use initrd - what is it good for? - so I don't know, whether /mnt or /dev should be the prefix.

baldyeti
05-16-2004, 10:52 AM
Since you don't appear to have a dedicated /boot partition, what you're seeing under /boot when running lindows is not the same directory as /boot under knoppix. Assuming you want to add lindows to your knoppix lilo, you need to refer to /mnt/hda1/boot/somekernel (and similarly for initrd).

When you've adapted your /etc/lilo.conf, run "lilo -v" and pay attention to possible error messages. Lilo will complain if you refer to unreachable files.

Initrd stands for "initial root disk" (or somesuch) and is only necessary if your system needs modules that have not been statically included in the kernel in order to boot (eg scsi drivers or reiserfs support...) For most IDE-only systems sticking to ext2/ext3 FS, one can dispense with it.

MillTek
05-17-2004, 06:38 AM
Thanks guys.

I got it wworking.

Jim :lol: