LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   DamnSmallLinux (https://www.linuxquestions.org/questions/damnsmalllinux-42/)
-   -   Triple boot DSL in GRUB (https://www.linuxquestions.org/questions/damnsmalllinux-42/triple-boot-dsl-in-grub-710555/)

tigertim71 03-10-2009 01:59 PM

Triple boot DSL in GRUB
 
I have a test Windows 7b, Ubuntu 8.04 dual boot.

Yesterday I added a new ext2 partition through gparted (1GB) and installed DSL onto it (and reconfirmed that this had installed later).

DSL was going to restart but this didn't work so then I then went into GRUB and wrote this:

Code:

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

after the Ubuntu distro info but before the Other Operating Systems.

Am not sure what's wrong and why this isn't booting through GRUB. Is it that I am following an incorrect procedure or is the entry to GRUB wrong?

Also what does
Code:

quiet
in the code mean?

I just copied the kernel path from notes in GRUB (although hd0, 6 & hda7 is right), but I don't really understand if the above is a correct default for all Linux o/s.

yancek 03-10-2009 02:08 PM

Did you install Grub to mbr with DSL or are you using the Ubuntu Grub?

If you are using Ubuntu Grub, mount DSL partition and go to /boot/grub/menu.lst file and copy the entry for DSL to your Ubuntu menu.lst file. Did you run "fdisk -l" command as root to verify correct partition (hd0,6)?

tigertim71 03-10-2009 02:27 PM

Triple boot DSL
 
I'm using Ubuntu GRUB and I think basically did what you mentioned i.e.

create partition in gparted
install (mount) to hda7 (root at -1)

I checked the partition name in gparted (and imagine it's the same as using "fdisk- l"). There isn't an exact example for DSL, but just one for Windows and Linux (see below):

Code:

#
# examples
#
# title                Windows 95/98/NT/2000
# root                (hd0,0)
# makeactive
# chainloader        +1
#
# title                Linux
# root                (hd0,1)
# kernel        /vmlinuz root=/dev/hda2 ro
#

(of course I omitted the comments).

Perhaps I should create the addition to GRUB before mounting (installing) as (I think) a restart was interrupted?

yancek 03-10-2009 04:39 PM

I have DSL 4.2 and the kernel file name is linux24. You should be able to mount DSL partition in Ubuntu but I think it would be easier if you went to a terminal in Ubuntu and entered the fdisk -l command:

sudo fdisk -l

and post the results. You need to have an entry in Ubuntu menu.lst pointing to the kernel in DSL and that kernel file must exist there. You need the exact name.

tigertim71 03-11-2009 08:23 AM

OK - I will try and let you know.

Just another question. Do I select 'n' for creating a bootloader in dsl if I already have GRUB on my system? (ie there's no point in having 2 GRUB or 1 GRUB + 1 LILO).

It's just that when I tried dsl on its own and selected 'n', it didn't reboot and complete installation (although I'm sure it mounted on hda7).

yancek 03-11-2009 09:42 AM

If you are booting with Grub from the Ubuntu menu.lst, you will need a title entry in the menu.lst file pointing to the DSL kernel which is probably Linux24. You need to mount DSL from Ubuntu to check to see that file is actually there.


All times are GMT -5. The time now is 03:37 PM.