DSL Install in existing dual boot

Forum: HD Install
Topic: DSL Install in existing dual boot
started by: tigertim71

Posted by tigertim71 on Mar. 12 2009,18:01

I have a test pc and am using Win 7 & Ubuntu. GRUB is the bootloader.

I have had problems trying to install DSL and get GRUB to recognise DSL.

The first thing I did is to create a 1GB partition and mount dsl to hda 7. I selected multi-booting but not to select a bootloader.

The problem I am having at the moment is writing in the kernel path in GRUB (how do I find it?), so I just copied and changed something from grub in Ubuntu and wrote:

title      DSL
root      (hd0,6)
kernel   /vmlinuz root=/dev/hda7 ro

The problem is that I don't know how to confirm this kernel path or if what I'm doing is right. Could someone please explain the correct procedure (in order) for this.


Posted by mikshaw on Mar. 12 2009,19:01
the kernel and initrd are probably both in the boot directory of hda7:
root (hd0,6)
kernel /boot/linux24 root=/dev/hda7 dsl blah blah blah
initrd /boot/minirt24.gz

Posted by tigertim71 on Mar. 13 2009,13:26
OK - do you know how I find this kernel path, ie. what is the command to find it once I have mounted dsl to hda7?
Posted by mikshaw on Mar. 14 2009,13:41
In a terminal you could do "sudo ls /mnt/hda7/boot/linux24".
You might not need sudo at the beginning, depending on your setup.  Also, if mounted in Ubuntu, "mnt" might be some other directory name (not likely though).
If it's there it should show the filename, otherwise an error saying "No such file or directory".

Or you can open emelfm and browse to that directory.

It might also be helpfl if you told us how you installed DSL.  It's possible that the files are not in the right place.
All I did to install it, since I already had grub installed in another distro, was to mount the ISO, copy the files onto an ext partition, and add an entry to grub.

In my case the ext partition is /dev/hda3 and grub is on /dev/hda1.  I mounted the DSL iso and /dev/hda3 in the hda1 system (can also be done from DSL liveCD).  Then I copied the KNOPPIX and boot directories from the iso's mount point to /mnt/hda3.  Then I added an entry to /boot/grub/menu.lst (or /mnt/hda1/boot/grub/menu.lst if you are doing it from liveCD):

Code Sample
title DSL 4.4
root (hd0,2)
kernel /boot/linux24 root=/dev/hda3 vga=791 dsl syslog legacy noapm dma noscsi frugal
initrd /boot/minirt24.gz

This has been edited to remove some things that are specific to my setup (and to shorten the line display)

Posted by tigertim71 on Mar. 16 2009,00:10
Thanks for this - not as simple as an Ubuntu installation! Have spent all weekend working on my systems and will let you know the outcome once I do this on a test hard drive.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.